Sector sizes

This commit is contained in:
Sergeanur 2021-01-09 01:22:50 +02:00
parent 4a7b3d6d7b
commit 2ce925caba

View file

@ -4,14 +4,14 @@
#include "Lists.h" #include "Lists.h"
#include "PlayerInfo.h" #include "PlayerInfo.h"
/* Sectors span from -2400 to 1600 in x and -2000 to 2000 y. /* Sectors span from -2000 to 2000 in x and y.
* With 80x80 sectors, each is 50x50 units. */ * With 100x100 sectors, each is 40x40 units. */
#define SECTOR_SIZE_X (50.0f) #define SECTOR_SIZE_X (40.0f)
#define SECTOR_SIZE_Y (50.0f) #define SECTOR_SIZE_Y (40.0f)
#define NUMSECTORS_X (80) #define NUMSECTORS_X (100)
#define NUMSECTORS_Y (80) #define NUMSECTORS_Y (100)
#define WORLD_SIZE_X (NUMSECTORS_X * SECTOR_SIZE_X) #define WORLD_SIZE_X (NUMSECTORS_X * SECTOR_SIZE_X)
#define WORLD_SIZE_Y (NUMSECTORS_Y * SECTOR_SIZE_Y) #define WORLD_SIZE_Y (NUMSECTORS_Y * SECTOR_SIZE_Y)