Associate reserved pointers directly to their values, rather than referencing magic SDFs

- String buffer referencing is no longer done via a pointer but instead by a magic value separate from the pointer system (it's still -8 though)
- String buffer now stored in universe instead of scenario
This commit is contained in:
2015-06-07 02:46:57 -04:00
parent 01d317b007
commit 543ccdc670
10 changed files with 81 additions and 105 deletions

View File

@@ -25,14 +25,6 @@
#define NUM_OF_HORSES 30
/* stuff done flags */
#define SDF_SPEC_LOC_X 301][0 // For special nodes to access the trigger location
#define SDF_SPEC_LOC_Y 301][1
#define SDF_SPEC_TER 301][2
#define SDF_SPEC_STRBUF 301][3
#define SDF_SPEC_TRAPLVL 301][4
#define SDF_SPEC_TARGLOC_X 301][5
#define SDF_SPEC_TARGLOC_Y 301][6
#define SDF_SPEC_TARGET 301][7
#define SDF_SKIP_STARTUP 305][4 // preferably deprecated
#define SDF_LESS_SOUND 305][5
#define SDF_NO_TARGET_LINE 305][6