Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 475 for code


Ignore:
Timestamp:
Dec 12, 2007, 6:36:18 PM (17 years ago)
Author:
scheusso
Message:

some improvements in chatserver/client

Location:
code/branches/FICN/src/network
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/CMakeLists.txt

    r448 r475  
    4141TARGET_LINK_LIBRARIES( chatserver
    4242  ${OGRE_LIBRARIES}
    43   ${OIS_LIBRARIES}
    4443  network
    4544  core
     
    5049TARGET_LINK_LIBRARIES( chatclient
    5150  ${OGRE_LIBRARIES}
    52   ${OIS_LIBRARIES}
    5351  network
    5452  core
     
    6058TARGET_LINK_LIBRARIES( client
    6159  ${OGRE_LIBRARIES}
    62   ${OIS_LIBRARIES}
    6360  network
    6461  core
     
    6764TARGET_LINK_LIBRARIES( server
    6865  ${OGRE_LIBRARIES}
    69   ${OIS_LIBRARIES}
    7066  network
    7167  core
  • code/branches/FICN/src/network/ConnectionManager.h

    r436 r475  
    1515#include <iostream>
    1616#include <string>
    17 #include <map>
    18 #include <vector>
    1917// enet library for networking support
    2018#include <enet/enet.h>
     
    2422// headerfiles
    2523#include "ClientInformation.h"
    26 #include "ConnectionManager.h"
    2724#include "PacketBuffer.h"
    2825#include "PacketManager.h"
  • code/branches/FICN/src/network/PacketManager.h

    r440 r475  
    6262  //two functions are note yet implemented!
    6363  //virtual void processGamestate(GameState *state);
    64   virtual void processChat( chat *data, int clientId);
    65   virtual void processClassid( classid *cid);
     64  void processChat( chat *data, int clientId);
     65  void processClassid( classid *cid);
    6666  //virtual void processAck( ack *data);
    6767 
  • code/branches/FICN/src/network/Server.h

    r459 r475  
    1919#include "PacketManager.h"
    2020#include "GameStateManager.h"
    21 #include "enet/enet.h"
    2221#include "ClientInformation.h"
     22//#include "enet/enet.h"
    2323//#include "NetworkFrameListener.h"
    2424
  • code/branches/FICN/src/network/dummyserver3.cc

    r446 r475  
    11#include <iostream>
     2#include "PacketManager.h"
     3//#include "PacketTypes.h"
    24#include "Server.h"
    3 #include "PacketManager.h"
    4 #include "PacketTypes.h"
    55
    66namespace network{
     
    2828  while(true){
    2929    tick();
     30    usleep(100);
    3031  }
    3132}
Note: See TracChangeset for help on using the changeset viewer.