From 69765de4330f9bf66d9a02e20dd904ef2b6166d2 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 20 Apr 2014 05:34:15 +1000 Subject: [PATCH] Removed the TODO file; I think it's fairly stable again --- client/scenes/in_world.cpp | 2 +- server/server_application.cpp | 5 ++--- todo.txt | 17 ----------------- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 todo.txt diff --git a/client/scenes/in_world.cpp b/client/scenes/in_world.cpp index 62ad57c..415c811 100644 --- a/client/scenes/in_world.cpp +++ b/client/scenes/in_world.cpp @@ -467,7 +467,7 @@ void InWorld::UpdateMap() { ++it; } - //TODO: make the region units official + //TODO: make the region units official? int regionUnitX = REGION_WIDTH * tileSheet.GetTileW(); int regionUnitY = REGION_HEIGHT * tileSheet.GetTileH(); diff --git a/server/server_application.cpp b/server/server_application.cpp index 78e42b7..e8868cc 100644 --- a/server/server_application.cpp +++ b/server/server_application.cpp @@ -32,6 +32,7 @@ //------------------------- 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; //initial setup @@ -84,9 +85,7 @@ void ServerApplication::Init(int argc, char** argv) { regionPager.GetFormat()->SetLuaState(luaState); //TODO: config parameter 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 << "\tsizeof(NetworkPacket): " << sizeof(NetworkPacket) << std::endl; std::cout << "\tPACKET_BUFFER_SIZE: " << PACKET_BUFFER_SIZE << std::endl; diff --git a/todo.txt b/todo.txt deleted file mode 100644 index 7e60edd..0000000 --- a/todo.txt +++ /dev/null @@ -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