Removed the TODO file; I think it's fairly stable again

This commit is contained in:
Kayne Ruse
2014-04-20 05:34:15 +10:00
parent 35d463d4ba
commit 69765de433
3 changed files with 3 additions and 21 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ void InWorld::UpdateMap() {
++it; ++it;
} }
//TODO: make the region units official //TODO: make the region units official?
int regionUnitX = REGION_WIDTH * tileSheet.GetTileW(); int regionUnitX = REGION_WIDTH * tileSheet.GetTileW();
int regionUnitY = REGION_HEIGHT * tileSheet.GetTileH(); int regionUnitY = REGION_HEIGHT * tileSheet.GetTileH();
+2 -3
View File
@@ -32,6 +32,7 @@
//------------------------- //-------------------------
void ServerApplication::Init(int argc, char** argv) { void ServerApplication::Init(int argc, char** argv) {
//NOTE: I might need to rearrange the init process so that lua & SQL can interact with the map system as needed.
std::cout << "Beginning startup" << std::endl; std::cout << "Beginning startup" << std::endl;
//initial setup //initial setup
@@ -84,9 +85,7 @@ void ServerApplication::Init(int argc, char** argv) {
regionPager.GetFormat()->SetLuaState(luaState); regionPager.GetFormat()->SetLuaState(luaState);
//TODO: config parameter //TODO: config parameter
regionPager.GetFormat()->SetSaveDir("save/mapname/"); regionPager.GetFormat()->SetSaveDir("save/mapname/");
//TODO: pass args to the generator & format as needed
//NOTE: I might need to rearrange the init process so that lua & SQL can interact
// with the map system as needed.
std::cout << "Initialized the map system" << std::endl; std::cout << "Initialized the map system" << std::endl;
std::cout << "\tsizeof(NetworkPacket): " << sizeof(NetworkPacket) << std::endl; std::cout << "\tsizeof(NetworkPacket): " << sizeof(NetworkPacket) << std::endl;
std::cout << "\tPACKET_BUFFER_SIZE: " << PACKET_BUFFER_SIZE << std::endl; std::cout << "\tPACKET_BUFFER_SIZE: " << PACKET_BUFFER_SIZE << std::endl;
-17
View File
@@ -1,17 +0,0 @@
#These were partially scraped from the TODO utility
*. Implement the preprocessor values throughout the map system
*. Rename MapGenerator to MapAllocator
-. Does the format need to be a functor too?
-. Can the format functor go inside the allocator?
*. lua API
4. in_world.cpp:487 make the region units official
5. region_pager.hpp:50 delete?
16. editor_scene.cpp:99 skip the out-of-bounds regions
24. server_application.cpp:106 config parameter
25. server_application.cpp:108 pass args to the generator & format as needed
31. server_application.cpp:264 compensate for large distances
32. server_application.cpp:270 map?
36. server_application.hpp:77 a function that sends to players in a certain proximity
37. server_application.hpp:90 I need to handle multiple map objects