mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-10 10:24:07 +02:00
make XCNTR / YCNTR not hardcoded
Alexwall request
This commit is contained in:
@@ -118,8 +118,8 @@
|
|||||||
#define YRES 384
|
#define YRES 384
|
||||||
#define NPART XRES*YRES
|
#define NPART XRES*YRES
|
||||||
|
|
||||||
#define XCNTR 306
|
#define XCNTR XRES/2
|
||||||
#define YCNTR 192
|
#define YCNTR YRES/2
|
||||||
|
|
||||||
#define WINDOWW (XRES+BARSIZE)
|
#define WINDOWW (XRES+BARSIZE)
|
||||||
#define WINDOWH (YRES+MENUSIZE)
|
#define WINDOWH (YRES+MENUSIZE)
|
||||||
|
Reference in New Issue
Block a user