]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/fteqcc-src/pr_comp.h
Update fteqcc source
[voretournament/voretournament.git] / misc / source / fteqcc-src / pr_comp.h
index d6c34a96ed70db5eece3d6c3725236dda3361a26..3559086383ba057f2acfaae14c608b7072b4accf 100644 (file)
@@ -112,9 +112,9 @@ enum qcop_e {
        //these following ones are Hexen 2 constants.
        
        OP_MULSTORE_F,
-       OP_MULSTORE_V,
+       OP_MULSTORE_VF,
        OP_MULSTOREP_F,
-       OP_MULSTOREP_V,
+       OP_MULSTOREP_VF,
 
        OP_DIVSTORE_F,  //70
        OP_DIVSTOREP_F,
@@ -260,8 +260,8 @@ enum qcop_e {
 
        //-------------------------------------
        //string manipulation.
-       OP_ADD_SF,      //(char*)c = (char*)a + (float)b
-       OP_SUB_S,       //(float)c = (char*)a - (char*)b
+       OP_ADD_SF,      //(char*)c = (char*)a + (float)b    add_fi->i
+       OP_SUB_S,       //(float)c = (char*)a - (char*)b    sub_ii->f
        OP_STOREP_C,//(float)c = *(char*)b = (float)a
        OP_LOADP_C,     //(float)c = *(char*)
        //-------------------------------------
@@ -304,7 +304,7 @@ enum qcop_e {
        OP_BOUNDCHECK,
 
 //back to ones that we do use.
-       OP_STOREP_P,
+       OP_UNUSED,      //used to be OP_STOREP_P, which is now emulated with OP_STOREP_I, fteqcc nor fte generated it
        OP_PUSH,        //push 4octets onto the local-stack (which is ALWAYS poped on function return). Returns a pointer.
        OP_POP,         //pop those ones that were pushed (don't over do it). Needs assembler.
 
@@ -350,7 +350,13 @@ enum qcop_e {
        OP_SUBSTORE_FI,
        OP_SUBSTOREP_FI,
 
-       OP_NUMOPS                       //246
+       OP_MULSTORE_VI,
+       OP_MULSTOREP_VI,
+
+       OP_LOADA_STRUCT,
+       OP_STOREP_P,
+
+       OP_NUMOPS
 };
 
 #define        MAX_PARMS       8