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:
Cracker64
2011-01-19 13:48:59 -05:00
parent 5c65d69dac
commit ff01973658
4 changed files with 786 additions and 783 deletions

View File

@@ -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;