Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2007, 12:28:19 AM (16 years ago)
Author:
scheusso
Message:

PacketDecoder:

Extended Class to make inheriting easier…

-added virtual function, that can be implemented by lower classes

Client:

Added some function, changed some things (input, gamestate, connectionhandling)

Server:

same as client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/Client.h

    r337 r369  
    1818#include "ClientConnection.h"
    1919#include "PacketManager.h"
     20#include "GameStateManager.h"
    2021
    2122
     
    4344  bool addKeyboard(char key_code);
    4445
     46  bool sendPackets();
     47 
    4548  void update();
    4649
     
    4851  ClientConnection client_connection;
    4952  PacketGenerator pck_gen;
    50 
    51   //const char *server_address;
    52   //int port;
     53  GameStateManager gamestate;
    5354  bool isConnected;
     55 
     56  // implement data processing functions of PacketDecoder
     57  void processGamestate( GameState *data);
    5458};
    5559
Note: See TracChangeset for help on using the changeset viewer.