Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

10 lines
555 B
C++

#define FREEANDNULL(x) {if(x){gos_Free(x); x = NULL;}}
#define CALLBACKID ((int) *data)
#define PARAMETER_CHECK(x) Verify (x < count)
#define INTPARM(x) (*((int *) data[x])) //dereferenced int pointer
#define STRPARM(x) (*(char **) data[x]) //pointer to pointer to string
#define VALUEPARM(x) ((int) data[x]) //literal number value
#define STRARRAYPARAM(x) ((char**) data[x]) //array of strings
#define INTARRAYPARAM(x) ((int *) data[x])
#define FLOATARRAYPARAM(x) ((float *) data[x])
#define SCALARARRAYPARAM(x) ((Stuff::Scalar *) data[x])