Changeset 1907 for code/trunk/src/network/GamestateManager.h
- Timestamp:
- Oct 12, 2008, 7:40:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/GamestateManager.h
r1785 r1907 81 81 void removeClient(ClientInformation *client); 82 82 private: 83 void cleanup(); // "garbage handler"83 // void cleanup(); // "garbage handler" 84 84 bool processGamestate(packet::Gamestate *gs); 85 85 86 std::map<int, packet::Gamestate*> gamestateMap; //map gsID to gamestate* 87 std::map<int, int> gamestateUsed; // save the number of clients, that use the specific gamestate 86 std::map<unsigned int, std::map<int, packet::Gamestate*> > gamestateMap_; 87 //std::map<int, packet::Gamestate*> gamestateMap; //map gsID to gamestate* 88 //std::map<int, int> gamestateUsed; // save the number of clients, that use the specific gamestate 88 89 std::map<int, packet::Gamestate*> gamestateQueue; 89 90 packet::Gamestate *reference;
Note: See TracChangeset
for help on using the changeset viewer.