RegionPager can now be instanciated with template parameters
* Fixed Region::GetX() and Region::GetY() * Replaced calls to std::find_if with regular for loops * Changed typing of RegionPager::regionList ** regionList now holds pointers rather than the objects themselves * Added vestigial classes MapFileFormat and MapGenerator ** MapGenerator creates and destroys the region objects * I'm leaving in the debugging code for now ** This includes trace statements and a basterdized main() function in /editor/main.cpp
This commit is contained in:
@@ -35,8 +35,8 @@ public:
|
||||
int GetWidth() { return width; }
|
||||
int GetHeight() { return height; }
|
||||
int GetDepth() { return depth; }
|
||||
int GetX() { return width; }
|
||||
int GetY() { return width; }
|
||||
int GetX() { return x; }
|
||||
int GetY() { return y; }
|
||||
private:
|
||||
const int width;
|
||||
const int height;
|
||||
|
||||
Reference in New Issue
Block a user