Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2008, 7:49:26 PM (16 years ago)
Author:
rgrieder
Message:

merged input branch into gui test branch (was about time)
svn save (it's still a mess and CMLs haven't been updated)
I'll have to create a special project to create the tolua_bind files for tolua itself anyway..

Location:
code/branches/gui
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui

  • code/branches/gui/src/network/Client.cc

    r1534 r1638  
    227227  void Client::processClassid(classid *clid){
    228228    orxonox::Identifier *id;
    229     id=ID(std::string(clid->message));
     229    id=GetIdentifier(std::string(clid->message));
    230230    if(id!=NULL)
    231231      id->setNetworkID(clid->clid);
    232232    COUT(4) << "Client: received and set network id: " << clid->clid << "; classname: " << clid->message << std::endl;
    233     COUT(4) << "id(classid)->getName " << ID((unsigned int)clid->clid)->getName() << std::endl;
     233    COUT(4) << "id(classid)->getName " << GetIdentifier((unsigned int)clid->clid)->getName() << std::endl;
    234234    delete clid;
    235235    return;
  • code/branches/gui/src/network/ClientConnection.cc

    r1534 r1638  
    4242#include <iostream>
    4343// boost.thread library for multithreading support
     44#include <boost/thread/thread.hpp>
    4445#include <boost/bind.hpp>
    4546
  • code/branches/gui/src/network/ClientConnection.h

    r1534 r1638  
    4545#include <string>
    4646#include <enet/enet.h>
    47 #include <boost/thread/thread.hpp>
     47#include <boost/thread/recursive_mutex.hpp>
     48#include "PacketBuffer.h"
    4849
    49 #include "PacketBuffer.h"
     50namespace boost { class thread; }
    5051
    5152namespace network
  • code/branches/gui/src/network/ConnectionManager.cc

    r1534 r1638  
    4040#include <iostream>
    4141// boost.thread library for multithreading support
     42#include <boost/thread/thread.hpp>
    4243#include <boost/bind.hpp>
    4344
  • code/branches/gui/src/network/ConnectionManager.h

    r1505 r1638  
    4747// enet library for networking support
    4848#include <enet/enet.h>
    49 #include <boost/thread/thread.hpp>
    5049#include <boost/thread/recursive_mutex.hpp>
    5150
    5251#include "PacketBuffer.h"
    5352#include "PacketManager.h"
     53
     54namespace boost { class thread; }
    5455
    5556namespace std
  • code/branches/gui/src/network/GameStateClient.cc

    r1625 r1638  
    177177          ///sigsegv may happen here again for some reason
    178178          ///sigsegv is receved after the COUT(4) above
    179           orxonox::Identifier* id = ID((unsigned int)sync.classID);
     179          orxonox::Identifier* id = GetIdentifier((unsigned int)sync.classID);
    180180          if(!id){
    181181            COUT(3) << "We could not identify a new object; classid: " << sync.classID << " uint: " << (unsigned int)sync.classID << " objectID: " << sync.objectID << " size: " << sync.length << std::endl;
  • code/branches/gui/src/network/GameStateManager.cc

    r1534 r1638  
    4444#include <iostream>
    4545#include <zlib.h>
    46 #include <assert.h>
     46#include <cassert>
    4747
    4848#include "core/CoreIncludes.h"
     
    278278        COUT(4) << "loadsnapshot: creating new object " << std::endl;
    279279        //COUT(4) << "loadSnapshot:\tclassid: " << sync.classID << ", name: " << ID((unsigned int) sync.classID)->getName() << std::endl;
    280         orxonox::Identifier* id = ID((unsigned int)sync.classID);
     280        orxonox::Identifier* id = GetIdentifier((unsigned int)sync.classID);
    281281        if(!id){
    282282          COUT(4) << "We could not identify a new object; classid: " << sync.classID << std::endl;
  • code/branches/gui/src/network/Server.cc

    r1556 r1638  
    4242
    4343#include <iostream>
     44#include <cassert>
    4445
    4546
     
    370371    if(!client)
    371372      return false;
    372     orxonox::Identifier* id = ID("SpaceShip");
     373    orxonox::Identifier* id = GetIdentifier("SpaceShip");
    373374    if(!id){
    374375      COUT(4) << "We could not create the SpaceShip for client: " << client->getID() << std::endl;
Note: See TracChangeset for help on using the changeset viewer.