Moved the snapToBase() utility function to region.*pp
I've also adjusted the TODO file, which really shouldn't be committed. Still, it's there now, so it stays. I don't think the logger is going to be possible any time soon, so I'll probably look into the disconnection handler.
This commit is contained in:
@@ -33,6 +33,9 @@ constexpr int REGION_DEPTH = 3;
|
||||
//the size of the solid map
|
||||
constexpr int REGION_SOLID_FOOTPRINT = ceil(REGION_WIDTH * REGION_HEIGHT / 8.0);
|
||||
|
||||
//utility function
|
||||
int snapToBase(int base, int x);
|
||||
|
||||
class Region {
|
||||
public:
|
||||
typedef unsigned char type_t;
|
||||
|
||||
Reference in New Issue
Block a user