summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-09 00:22:50 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-09 00:22:50 +0100
commit2ce925caba549660c6f83b49cdd0e1cac37c3071 (patch)
tree607bf925ca8a2e4d448817f279715e048cbe1c43
parentfix world bounds check for cars (diff)
downloadre3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar.gz
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar.bz2
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar.lz
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar.xz
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.tar.zst
re3-2ce925caba549660c6f83b49cdd0e1cac37c3071.zip
-rw-r--r--src/core/World.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/World.h b/src/core/World.h
index b0e77193..4cc9398e 100644
--- a/src/core/World.h
+++ b/src/core/World.h
@@ -4,14 +4,14 @@
#include "Lists.h"
#include "PlayerInfo.h"
-/* Sectors span from -2400 to 1600 in x and -2000 to 2000 y.
- * With 80x80 sectors, each is 50x50 units. */
+/* Sectors span from -2000 to 2000 in x and y.
+ * With 100x100 sectors, each is 40x40 units. */
-#define SECTOR_SIZE_X (50.0f)
-#define SECTOR_SIZE_Y (50.0f)
+#define SECTOR_SIZE_X (40.0f)
+#define SECTOR_SIZE_Y (40.0f)
-#define NUMSECTORS_X (80)
-#define NUMSECTORS_Y (80)
+#define NUMSECTORS_X (100)
+#define NUMSECTORS_Y (100)
#define WORLD_SIZE_X (NUMSECTORS_X * SECTOR_SIZE_X)
#define WORLD_SIZE_Y (NUMSECTORS_Y * SECTOR_SIZE_Y)