Refactored the map system (read more)
The region's width, height and depth are all defined by preprocessor macros. The rest of the map system has been updated to match. The programs proper need to be updated as well. It would be a good idea to include the macros' values as part of the initial communication protocols, so that the clients don't connect to a server that is using the wrong sized regions.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#These were partially scraped from the TODO utility
|
||||
|
||||
1. Implement the preprocessor values throughout the map system
|
||||
*. 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?
|
||||
5. 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
|
||||
|
||||
Reference in New Issue
Block a user