aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/qfiles.h
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-13 14:47:00 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-13 14:47:00 +0000
commit2409247307a2fdf0266a8bd7cd39526f06bea0d3 (patch)
tree3db0f1aeac11c230a2cfeca37c911cb2fec92d04 /code/qcommon/qfiles.h
parent0ef0850cce08475bd990dd1d3e8865e48995b0ee (diff)
downloadioquake3-aero-2409247307a2fdf0266a8bd7cd39526f06bea0d3.tar.gz
ioquake3-aero-2409247307a2fdf0266a8bd7cd39526f06bea0d3.zip
* (Non-trivial) fix to the "opStack corrupted in compiled code" bug
git-svn-id: svn://svn.icculus.org/quake3/trunk@156 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/qfiles.h')
-rw-r--r--code/qcommon/qfiles.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/code/qcommon/qfiles.h b/code/qcommon/qfiles.h
index 3fd44ed..1aab668 100644
--- a/code/qcommon/qfiles.h
+++ b/code/qcommon/qfiles.h
@@ -43,7 +43,8 @@ QVM files
========================================================================
*/
-#define VM_MAGIC 0x12721444
+#define VM_MAGIC 0x12721444
+#define VM_MAGIC_VER2 0x12721445
typedef struct {
int vmMagic;
@@ -56,6 +57,9 @@ typedef struct {
int dataLength;
int litLength; // ( dataLength - litLength ) should be byteswapped on load
int bssLength; // zero filled memory appended to datalength
+
+ //!!! below here is VM_MAGIC_VER2 !!!
+ int jtrgLength; // number of jump table targets
} vmHeader_t;