Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1943 for code


Ignore:
Timestamp:
Oct 18, 2008, 11:28:49 PM (16 years ago)
Author:
landauf
Message:

more fixes… damn strings :D

Location:
code/branches/objecthierarchy/src/orxonox/objects/infos
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/infos/LevelInfo.cc

    r1940 r1943  
    6363    void LevelInfo::registerVariables()
    6464    {
    65         REGISTERDATA(name_,         network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::changedName));
    66         REGISTERDATA(description_,  network::direction::toclient);
    67         REGISTERDATA(skybox_,       network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applySkybox));
     65        REGISTERSTRING(name_,         network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::changedName));
     66        REGISTERSTRING(description_,  network::direction::toclient);
     67        REGISTERSTRING(skybox_,       network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applySkybox));
    6868        REGISTERDATA(ambientLight_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applyAmbientLight));
    6969    }
  • code/branches/objecthierarchy/src/orxonox/objects/infos/PlayerInfo.cc

    r1940 r1943  
    7777        this->setObjectMode(network::direction::bidirectional);
    7878
    79         REGISTERDATA(name_,                 network::direction::bidirectional, new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName));
     79        REGISTERSTRING(name_,               network::direction::bidirectional, new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName));
    8080        REGISTERDATA(clientID_,             network::direction::toclient,      new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::checkClientID));
    8181        REGISTERDATA(ping_,                 network::direction::toclient);
Note: See TracChangeset for help on using the changeset viewer.