mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 15:11:23 +02:00
made all the shifts and type checks use defines, so it can be changed easier, and put it back to normal with a shift of 8.
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
#define MAXSIGNS 16
|
||||
#define TAG_MAX 256
|
||||
|
||||
#define PS 8 //the particle number shift that also determines element limit
|
||||
#define TYPE (int)pow(2,PS)-1 //where the type of the particle is stored in pmap
|
||||
|
||||
#define ZSIZE_D 16
|
||||
#define ZFACTOR_D 8
|
||||
extern unsigned char ZFACTOR;
|
||||
|
Reference in New Issue
Block a user