The server is building, but still needs work

There is some missing character creation/unloading code, and there are a
few other issues highlighted by TODO tags, see below.

In general, 'mapIndex' has been renamed to 'roomIndex'. Multiple rooms
have not been fully implemented yet, but I'm working on it.

Other issues:

* FileFormat needs to be changed to MapLoader
* Server's character movement is still slaved to the clients

The client does not build.
This commit is contained in:
Kayne Ruse
2014-06-07 02:12:40 +10:00
parent cac273da5e
commit 63be0ee70d
10 changed files with 85 additions and 56 deletions
+4 -9
View File
@@ -30,11 +30,6 @@
#include "enemy_manager.hpp"
#include "room_manager.hpp"
//maps
#include "map_allocator.hpp"
#include "map_file_format.hpp"
#include "region_pager.hpp"
//common utilities
#include "udp_network_utility.hpp"
#include "config_utility.hpp"
@@ -76,15 +71,15 @@ private:
//TODO: combat management
//character management
void HandleCharacterNew(SerialPacket* const);
void HandleCharacterDelete(SerialPacket* const);
void HandleCharacterUpdate(SerialPacket* const);
void HandleCharacterNew(CharacterPacket* const);
void HandleCharacterDelete(CharacterPacket* const);
void HandleCharacterUpdate(CharacterPacket* const);
//enemy management
//TODO: enemy management
//mismanagement
void HandleSynchronize(SerialPacket* const);
void HandleSynchronize(ClientPacket* const);
//utility methods
//TODO: a function that only sends to characters in a certain proximity