Free Hero Mesh

Check-in [f4215e7216]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Implement case blocks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f4215e721675079baef54bebd0dc2aeb81bcad35
User & Date: user on 2021-04-26 01:05:54
Other Links: manifest | tags
Context
2021-04-26
03:20
Implement the $KEY_XY SQL host variable, to allow coordinate selection by keyboard, as suggested on IRC. check-in: 8c73b0a17e user: user tags: trunk
01:05
Implement case blocks. check-in: f4215e7216 user: user tags: trunk
2021-04-25
19:54
Remove the "el ... if" block, which wasn't working. (Later, I may add a case block instead.) check-in: 932a5231ed user: user tags: trunk
Changes

Modified class.c from [39a51739c2] to [73ca03c751].

1054
1055
1056
1057
1058
1059
1060























































































































1061
1062
1063
1064
1065
1066
1067
      ParseError("Unexpected end of file\n");
    } else {
      ParseError("Improper token in pattern\n");
    }
    if(ptr>=0xFFEF) ParseError("Out of code space\n");
  }
}
























































































































#define AddInst(x) (cl->codes[ptr++]=(x),prflag=0)
#define AddInst2(x,y) (cl->codes[ptr++]=(x),cl->codes[ptr++]=(y),prflag=0,peep=ptr)
#define AddInstF(x,y) (cl->codes[ptr++]=(x),prflag=(y))
#define ChangeInst(x) (cl->codes[ptr-1]x,prflag=0)
#define InstFlag(x) (peep<ptr && (prflag&(x)))
#define Inst7bit() (peep<ptr && cl->codes[ptr-1]<0x0080)







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
      ParseError("Unexpected end of file\n");
    } else {
      ParseError("Improper token in pattern\n");
    }
    if(ptr>=0xFFEF) ParseError("Out of code space\n");
  }
}

#define CaseT0(t) do{ if(t0!=-1 && t0!=t) ParseError("Type mismatch in case block\n"); t0=t; }while(0)
#define CaseT1(t) do{ if(t1!=-1 && t1!=t) ParseError("Type mismatch in case block\n"); t1=t; }while(0)
static int case_block(int cla,int ptr,Hash*hash) {
  Class*cl=classes[cla];
  int sptr=ptr++;
  Sint8 t0=-1;
  Sint8 t1=-1;
  Uint16 n=0;
  Uint8 e=1;
  Uint8 z=0;
  for(;;) {
    nxttok();
    if(Tokenf(TF_MACRO)) ParseError("Unexpected macro\n");
    if(tokent==TF_OPEN) {
      nxttok();
      if(Tokenf(TF_MACRO)) ParseError("Unexpected macro\n");
      if(n>=256 && tokenv!=OP_ELSE && !Tokenf(TF_NAME)) ParseError("Too many cases\n");
      if(!e) ParseError("Cannot add more cases after the default block\n");
      n++;
      if(Tokenf(TF_INT) || Tokenf(TF_DIR)) {
        if(tokenv) CaseT0(TY_NUMBER);
        cl->codes[ptr++]=tokenv;
      } else if(Tokenf(TF_NAME)) {
        switch(tokenv) {
          case OP_ELSE:
            e=0;
            n--;
            break;
          case 0x0200 ... 0x02FF:
            CaseT0(TY_MESSAGE);
            cl->codes[ptr++]=tokenv+1-0x0200;
            break;
          case 0x4000 ... 0x7FFF:
            CaseT0(TY_CLASS);
            cl->codes[ptr++]=tokenv-0x4000;
            break;
          case 0xC000 ... 0xFFFF:
            CaseT0(TY_MESSAGE);
            cl->codes[ptr++]=(tokenv&0x3FFF)+257;
            break;
          default:
            ParseError("Improper token in case block\n");
            break;
        }
      } else if(Tokenf(TF_EOF)) {
        ParseError("Unexpected end of file\n");
      } else {
        ParseError("Improper token in case block\n");
      }
      nxttok();
      if(Tokenf(TF_MACRO)) ParseError("Unexpected macro\n");
      if(Tokenf(TF_INT) || Tokenf(TF_DIR)) {
        if(tokenv) CaseT1(TY_NUMBER); else z=1;
        if(tokenv&~0xFFFF) ParseError("Number in case block out of range\n");
        cl->codes[ptr++]=tokenv;
      } else if(Tokenf(TF_NAME)) {
        switch(tokenv) {
          case OP_LABEL:
            CaseT1(TY_CODE);
            if(Tokenf(TF_COMMA|TF_EQUAL)) ParseError("Improper token in case block\n");
            tokenv=look_hash(hash,LOCAL_HASH_SIZE,0x8000,0xFFFF,*labelptr,"labels");
            if(!tokenv) tokenv=*labelptr,++*labelptr;
            tokenv-=0x8000;
            cl->codes[ptr++]=labelptr[tokenv];
            if(labelptr[tokenv]==0xFFFF) {
            LabelStack*s=malloc(sizeof(LabelStack));
              if(!s) fatal("Allocation failed\n");
              s->id=tokenv|0x8000;
              s->addr=ptr-1;
              s->next=labelstack;
              labelstack=s;
            }
            break;
          case OP_STRING:
            CaseT1(TY_STRING);
            cl->codes[ptr++]=pool_string(tokenstr)+1;
            break;
          case 0x0200 ... 0x02FF:
            CaseT1(TY_MESSAGE);
            cl->codes[ptr++]=tokenv+1-0x0200;
            break;
          case 0x4000 ... 0x7FFF:
            CaseT1(TY_CLASS);
            cl->codes[ptr++]=tokenv-0x4000;
            break;
          case 0xC000 ... 0xFFFF:
            CaseT1(TY_MESSAGE);
            cl->codes[ptr++]=(tokenv&0x3FFF)+257;
            break;
          default:
            ParseError("Improper token in case block\n");
            break;
        }
      } else if(Tokenf(TF_EOF)) {
        ParseError("Unexpected end of file\n");
      } else {
        ParseError("Improper token in case block\n");
      }
      nxttok();
    } else if(tokent==TF_CLOSE) {
      if(!n) ParseError("Empty case block\n");
      if(z && t1==TY_CODE) ParseError("Type mismatch in case block\n");
      if(e) {
        cl->codes[ptr]=(t1==TY_CODE?ptr+1:0);
        ptr++;
      }
      if(t0==-1) t0=TY_NUMBER;
      if(t1==-1) t1=TY_NUMBER;
      cl->codes[sptr]=(t0<<12)|(t1<<8)|(n-1);
      return ptr;
    } else if(Tokenf(TF_EOF)) {
      ParseError("Unexpected end of file\n");
    } else {
      ParseError("Improper token in case block\n");
    }
    if(ptr>=0xFFEF) ParseError("Out of code space\n");
  }
}

#define AddInst(x) (cl->codes[ptr++]=(x),prflag=0)
#define AddInst2(x,y) (cl->codes[ptr++]=(x),cl->codes[ptr++]=(y),prflag=0,peep=ptr)
#define AddInstF(x,y) (cl->codes[ptr++]=(x),prflag=(y))
#define ChangeInst(x) (cl->codes[ptr-1]x,prflag=0)
#define InstFlag(x) (peep<ptr && (prflag&(x)))
#define Inst7bit() (peep<ptr && cl->codes[ptr-1]<0x0080)
1278
1279
1280
1281
1282
1283
1284




1285
1286
1287
1288
1289
1290
1291
            nxttok();
            if(tokent==TF_CLOSE) break;
            if(Tokenf(TF_MACRO) || !Tokenf(TF_INT)) ParseError("Number or close parenthesis expected\n");
            x|=1<<tokenv;
          }
          tokenv=x;
          goto numeric;




        default:
          ParseError("Invalid parenthesized instruction\n");
      }
    } else if(tokent==TF_CLOSE) {
      if(flowdepth) ParseError("Unterminated flow control structure\n");
      if(peep<ptr && cl->codes[ptr-1]==OP_RET) break;
      if(peep<ptr && (cl->codes[ptr-1]&0xFF00)==0x1E00) break;







>
>
>
>







1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
            nxttok();
            if(tokent==TF_CLOSE) break;
            if(Tokenf(TF_MACRO) || !Tokenf(TF_INT)) ParseError("Number or close parenthesis expected\n");
            x|=1<<tokenv;
          }
          tokenv=x;
          goto numeric;
        case OP_CASE:
          cl->codes[ptr++]=OP_CASE;
          ptr=peep=case_block(cla,ptr,hash);
          break;
        default:
          ParseError("Invalid parenthesized instruction\n");
      }
    } else if(tokent==TF_CLOSE) {
      if(flowdepth) ParseError("Unterminated flow control structure\n");
      if(peep<ptr && cl->codes[ptr-1]==OP_RET) break;
      if(peep<ptr && (cl->codes[ptr-1]&0xFF00)==0x1E00) break;

Modified class.doc from [1132aff02e] to [2e14b5c3b2].

1140
1141
1142
1143
1144
1145
1146





1147
1148
1149
1150
1151
1152
1153
bxor  ( in1 in2 -- out )
  Bitwise XOR.

c?  ( any -- bool )
  True if the value is a class, or false if it is any other type. Error if
  it is a sound.






chain  ( any -- bool )
  If given an object of the same class as the current object, selects that
  object as the current object and continues executing the code with that
  object instead. This new current object is not saved if you return from
  a function or a subroutine call. If it successfully chained, then the
  result is false. If given an object of a different class, an object that
  doesn't exist, or anything other than an object, then it does nothing







>
>
>
>
>







1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
bxor  ( in1 in2 -- out )
  Bitwise XOR.

c?  ( any -- bool )
  True if the value is a class, or false if it is any other type. Error if
  it is a sound.

(case <cases...>)  ( any -- ??? )
  A case block. Read one value from stack; find which case it matches, and
  then push or jump to the result for that case. See the section below
  about case blocks for details.

chain  ( any -- bool )
  If given an object of the same class as the current object, selects that
  object as the current object and continues executing the code with that
  object instead. This new current object is not saved if you return from
  a function or a subroutine call. If it successfully chained, then the
  result is false. If given an object of a different class, an object that
  doesn't exist, or anything other than an object, then it does nothing
1718
1719
1720
1721
1722
1723
1724







































1725
1726
1727
1728
1729
1730
1731
  otherwise it tries the other parts; "else" means always do this if none of
  the previous parts match.

mbegin <body> repeat  ( -- any ) ( -- )
  The "mbegin" instruction is a shortcut for "begin tmark while", and it has
  the same behaviour.









































=== Substitution codes ===

%c
  Display a single character whose code is the low 8-bits of the value.

%C







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
  otherwise it tries the other parts; "else" means always do this if none of
  the previous parts match.

mbegin <body> repeat  ( -- any ) ( -- )
  The "mbegin" instruction is a shortcut for "begin tmark while", and it has
  the same behaviour.


=== Case blocks ===

A case block consists of (case) with the cases listed inside of the () after
the word "case". Each case consists of two tokens inside of their own
parentheses. The first token may be any one of:

* A number or direction (representing a number from 0 to 15); only the low
16-bits of the number will be used

* A class

* A message

* The word "else"; if present, it must be the last one. This is the case if
none of the other cases match. It is optional; if not specified, then the
default is zero or to not jump.

The second token may be any one of:

* A number or direction (representing a number from 0 to 15); this must fit
in 16-bits (unsigned)

* A class

* A message

* A string literal

* A label name (with the colon at first)

All types on the left must be the same as each other, and all types on the
right must be the same as each other, except that zero may be mixed with
other types other than labels.

If the right side is a label, then nothing is pushed to the stack, and it
jumps to the specified label instead. If not, then the result is pushed to
the stack instead.


=== Substitution codes ===

%c
  Display a single character whose code is the low 8-bits of the value.

%C

Modified exec.c from [834664aa2d] to [af40ed6701].

1836
1837
1838
1839
1840
1841
1842











































1843
1844
1845
1846
1847
1848
1849
    if(n!=VOIDLINK) {
      n=v_pattern(code,ptr,n,all);
      if(n!=VOIDLINK && !all) return n;
    }
  }
  return VOIDLINK;
}












































// Here is where the execution of a Free Hero Mesh bytecode subroutine is executed.
#define NoIgnore() do{ changed=1; }while(0)
#define GetVariableOf(a,b) (i=v_object(Pop()),i==VOIDLINK?NVALUE(0):b(objects[i]->a))
#define GetVariableOrAttributeOf(a,b) (t2=Pop(),t2.t==TY_CLASS?NVALUE(classes[t2.u]->a):(i=v_object(t2),i==VOIDLINK?NVALUE(0):b(objects[i]->a)))
#define Numeric(a) do{ if((a).t!=TY_NUMBER) Throw("Type mismatch"); }while(0)
#define DivideBy(a) do{ Numeric(a); if(!(a).u) Throw("Division by zero"); }while(0)







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
    if(n!=VOIDLINK) {
      n=v_pattern(code,ptr,n,all);
      if(n!=VOIDLINK && !all) return n;
    }
  }
  return VOIDLINK;
}

static int v_case(Uint16*code,int ptr,Value v) {
  int n=(code[ptr]&255)+1;
  int t0=(code[ptr]>>12)&15;
  int t1=(code[ptr]>>8)&15;
  int i,j,v0,v1;
  if(v.t==TY_SOUND || v.t==TY_USOUND) Throw("Cannot use sound in case block");
  for(i=0;i<n;i++) {
    v0=code[ptr+i+i+1];
    v1=code[ptr+i+i+2];
    if(!v0 && v.t==TY_NUMBER && !v.u) goto found;
    if(v.t==t0) switch(t0) {
      case TY_NUMBER:
        if(!((v0^v.u)&0xFFFF)) goto found;
        break;
      case TY_CLASS:
        if(v.u==v0) goto found;
        break;
      case TY_MESSAGE:
        if(v.u+1==v0) goto found;
        break;
    }
  }
  v1=code[ptr+n+n+1];
  found:
  switch(t1) {
    case TY_NUMBER:
      Push(NVALUE(v1));
      break;
    case TY_CLASS:
      if(v1) Push(CVALUE(v1)); else Push(NVALUE(0));
      break;
    case TY_MESSAGE:
      if(v1) Push(MVALUE(v1-1)); else Push(NVALUE(0));
      break;
    case TY_STRING:
      if(v1) Push(UVALUE(v1-1,TY_STRING)); else Push(NVALUE(0));
      break;
    case TY_CODE:
      return v1;
  }
  return ptr+n+n+2;
}

// Here is where the execution of a Free Hero Mesh bytecode subroutine is executed.
#define NoIgnore() do{ changed=1; }while(0)
#define GetVariableOf(a,b) (i=v_object(Pop()),i==VOIDLINK?NVALUE(0):b(objects[i]->a))
#define GetVariableOrAttributeOf(a,b) (t2=Pop(),t2.t==TY_CLASS?NVALUE(classes[t2.u]->a):(i=v_object(t2),i==VOIDLINK?NVALUE(0):b(objects[i]->a)))
#define Numeric(a) do{ if((a).t!=TY_NUMBER) Throw("Type mismatch"); }while(0)
#define DivideBy(a) do{ Numeric(a); if(!(a).u) Throw("Division by zero"); }while(0)
1937
1938
1939
1940
1941
1942
1943

1944
1945
1946
1947
1948
1949
1950
    case OP_BROADCASTSUMEX: StackReq(5,1); t5=Pop(); t4=Pop(); t3=Pop(); t2=Pop(); t1=Pop(); Push(v_broadcast(obj,t1,t2,t3,t4,t5,1)); break;
    case OP_BUSY: StackReq(0,1); if(o->oflags&OF_BUSY) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_BUSY_C: StackReq(1,1); GetFlagOf(OF_BUSY); break;
    case OP_BUSY_E: NoIgnore(); StackReq(1,0); if(v_bool(Pop())) o->oflags|=OF_BUSY; else o->oflags&=~OF_BUSY; break;
    case OP_BUSY_EC: NoIgnore(); StackReq(2,0); SetFlagOf(OF_BUSY); break;
    case OP_BXOR: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u^t2.u)); break;
    case OP_CALLSUB: execute_program(code,code[ptr++],obj); break;

    case OP_CHAIN: StackReq(1,1); t1=Pop(); i=v_chain(t1,o->class); if(i==VOIDLINK) { Push(NVALUE(1)); } else { o=objects[obj=i]; Push(NVALUE(0)); } break;
    case OP_CHEBYSHEV: StackReq(1,1); t1=Pop(); i=chebyshev(obj,v_object(t1)); Push(NVALUE(i)); break;
    case OP_CHEBYSHEV_C: StackReq(2,1); t2=Pop(); t1=Pop(); i=chebyshev(v_object(t1),v_object(t2)); Push(NVALUE(i)); break;
    case OP_CLASS: StackReq(0,1); Push(CVALUE(o->class)); break;
    case OP_CLASS_C: StackReq(1,1); Push(GetVariableOf(class,CVALUE)); break;
    case OP_CLIMB: StackReq(0,1); Push(NVALUE(o->climb)); break;
    case OP_CLIMB_C: StackReq(1,1); Push(GetVariableOrAttributeOf(climb,NVALUE)); break;







>







1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
    case OP_BROADCASTSUMEX: StackReq(5,1); t5=Pop(); t4=Pop(); t3=Pop(); t2=Pop(); t1=Pop(); Push(v_broadcast(obj,t1,t2,t3,t4,t5,1)); break;
    case OP_BUSY: StackReq(0,1); if(o->oflags&OF_BUSY) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_BUSY_C: StackReq(1,1); GetFlagOf(OF_BUSY); break;
    case OP_BUSY_E: NoIgnore(); StackReq(1,0); if(v_bool(Pop())) o->oflags|=OF_BUSY; else o->oflags&=~OF_BUSY; break;
    case OP_BUSY_EC: NoIgnore(); StackReq(2,0); SetFlagOf(OF_BUSY); break;
    case OP_BXOR: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u^t2.u)); break;
    case OP_CALLSUB: execute_program(code,code[ptr++],obj); break;
    case OP_CASE: StackReq(1,1); t1=Pop(); ptr=v_case(code,ptr,t1); break;
    case OP_CHAIN: StackReq(1,1); t1=Pop(); i=v_chain(t1,o->class); if(i==VOIDLINK) { Push(NVALUE(1)); } else { o=objects[obj=i]; Push(NVALUE(0)); } break;
    case OP_CHEBYSHEV: StackReq(1,1); t1=Pop(); i=chebyshev(obj,v_object(t1)); Push(NVALUE(i)); break;
    case OP_CHEBYSHEV_C: StackReq(2,1); t2=Pop(); t1=Pop(); i=chebyshev(v_object(t1),v_object(t2)); Push(NVALUE(i)); break;
    case OP_CLASS: StackReq(0,1); Push(CVALUE(o->class)); break;
    case OP_CLASS_C: StackReq(1,1); Push(GetVariableOf(class,CVALUE)); break;
    case OP_CLIMB: StackReq(0,1); Push(NVALUE(o->climb)); break;
    case OP_CLIMB_C: StackReq(1,1); Push(GetVariableOrAttributeOf(climb,NVALUE)); break;

Modified heromesh.h from [e799f3d4f3] to [ca9d66727e].

13
14
15
16
17
18
19

20
21
22
23
24
25
26
#define TY_LEVELSTRING 3
#define TY_STRING 4
#define TY_SOUND 5
#define TY_USOUND 6
#define TY_FOR 7
#define TY_MARK 8
#define TY_ARRAY 9

#define TY_MAXTYPE 15
// The level file format requires type codes 0 to 3 to be as is; other codes may change.

typedef struct {
  union {
    Sint32 s;
    Uint32 u;







>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#define TY_LEVELSTRING 3
#define TY_STRING 4
#define TY_SOUND 5
#define TY_USOUND 6
#define TY_FOR 7
#define TY_MARK 8
#define TY_ARRAY 9
#define TY_CODE 10
#define TY_MAXTYPE 15
// The level file format requires type codes 0 to 3 to be as is; other codes may change.

typedef struct {
  union {
    Sint32 s;
    Uint32 u;

Modified instruc from [567caebc5e] to [80f4b4d00f].

87
88
89
90
91
92
93

94
95
96
97
98
99
100
-while
-repeat
-for
-next
*goto
*CallSub
ret


; Arithmetic
add "+"
sub "-"
,mul "*"
,div "/"
,mod







>







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
-while
-repeat
-for
-next
*goto
*CallSub
ret
-case

; Arithmetic
add "+"
sub "-"
,mul "*"
,div "/"
,mod

Modified instruc.h from [0dfbf47a7b] to [38aa7a3b09].

24
25
26
27
28
29
30

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
#define OP_WHILE 32783
#define OP_REPEAT 32784
#define OP_FOR 32785
#define OP_NEXT 32786
#define OP_GOTO 32787
#define OP_CALLSUB 32788
#define OP_RET 32789

#define OP_ADD 32790
#define OP_SUB 32791
#define OP_MUL 32792
#define OP_MUL_C 34840
#define OP_DIV 32793
#define OP_DIV_C 34841
#define OP_MOD 32794
#define OP_MOD_C 34842
#define OP_NEG 32795
#define OP_MIN 32796
#define OP_MIN_C 34844
#define OP_MAX 32797
#define OP_MAX_C 34845
#define OP_LSH 32798
#define OP_RSH 32799
#define OP_RSH_C 34847
#define OP_BAND 32800
#define OP_BOR 32801
#define OP_BXOR 32802
#define OP_BNOT 32803
#define OP_BIT 32804
#define OP_LAND 32805
#define OP_LOR 32806
#define OP_LXOR 32807
#define OP_LNOT 32808
#define OP_EQ 32809
#define OP_EQ2 32810
#define OP_NE 32811
#define OP_GT 32812
#define OP_GT_C 34860
#define OP_LT 32813
#define OP_LT_C 34861
#define OP_GE 32814
#define OP_GE_C 34862
#define OP_LE 32815
#define OP_LE_C 34863
#define OP_IS 32816
#define OP_QN 32817
#define OP_QC 32818
#define OP_QCZ 32819
#define OP_QM 32820
#define OP_QS 32821
#define OP_QO 32822
#define OP_QOZ 32823
#define OP_QA 32824
#define OP_CLASS 32825
#define OP_CLASS_C 34873
#define OP_TEMPERATURE 32826
#define OP_TEMPERATURE_C 34874
#define OP_TEMPERATURE_E 36922
#define OP_TEMPERATURE_EC 38970
#define OP_TEMPERATURE_EC16 38971
#define OP_TEMPERATURE_E16 36923
#define OP_SHAPE 32828
#define OP_SHAPE_C 34876
#define OP_SHAPE_E 36924
#define OP_SHAPE_EC 38972
#define OP_XLOC 32829
#define OP_XLOC_C 34877
#define OP_YLOC 32830
#define OP_YLOC_C 34878
#define OP_DIR 32831
#define OP_DIR_C 34879
#define OP_DIR_E 36927
#define OP_DIR_EC 38975
#define OP_IMAGE 32832
#define OP_IMAGE_C 34880
#define OP_IMAGE_E 36928
#define OP_IMAGE_EC 38976
#define OP_INERTIA 32833
#define OP_INERTIA_C 34881
#define OP_INERTIA_E 36929
#define OP_INERTIA_EC 38977
#define OP_INERTIA_EC16 38978
#define OP_INERTIA_E16 36930
#define OP_DISTANCE 32835
#define OP_DISTANCE_C 34883
#define OP_DISTANCE_E 36931
#define OP_DISTANCE_EC 38979
#define OP_DISTANCE_EC16 38980
#define OP_DISTANCE_E16 36932
#define OP_DENSITY 32837
#define OP_DENSITY_C 34885
#define OP_DENSITY_E 36933
#define OP_DENSITY_EC 38981
#define OP_DENSITY_EC16 38982
#define OP_DENSITY_E16 36934
#define OP_VOLUME 32839
#define OP_VOLUME_C 34887
#define OP_VOLUME_E 36935
#define OP_VOLUME_EC 38983
#define OP_VOLUME_EC16 38984
#define OP_VOLUME_E16 36936
#define OP_WEIGHT 32841
#define OP_WEIGHT_C 34889
#define OP_WEIGHT_E 36937
#define OP_WEIGHT_EC 38985
#define OP_WEIGHT_EC16 38986
#define OP_WEIGHT_E16 36938
#define OP_HEIGHT 32843
#define OP_HEIGHT_C 34891
#define OP_HEIGHT_E 36939
#define OP_HEIGHT_EC 38987
#define OP_HEIGHT_EC16 38988
#define OP_HEIGHT_E16 36940
#define OP_CLIMB 32845
#define OP_CLIMB_C 34893
#define OP_CLIMB_E 36941
#define OP_CLIMB_EC 38989
#define OP_CLIMB_EC16 38990
#define OP_CLIMB_E16 36942
#define OP_STRENGTH 32847
#define OP_STRENGTH_C 34895
#define OP_STRENGTH_E 36943
#define OP_STRENGTH_EC 38991
#define OP_STRENGTH_EC16 38992
#define OP_STRENGTH_E16 36944
#define OP_HARD 32849
#define OP_HARD_C 34897
#define OP_HARD_E 36945
#define OP_HARD_EC 38993
#define OP_SHARP 32850
#define OP_SHARP_C 34898
#define OP_SHARP_E 36946
#define OP_SHARP_EC 38994
#define OP_SHAPEDIR 32851
#define OP_SHAPEDIR_C 34899
#define OP_SHAPEDIR_E 36947
#define OP_SHAPEDIR_EC 38995
#define OP_SHOVABLE 32852
#define OP_SHOVABLE_C 34900
#define OP_SHOVABLE_E 36948
#define OP_SHOVABLE_EC 38996
#define OP_MISC1 32853
#define OP_MISC1_C 34901
#define OP_MISC1_E 36949
#define OP_MISC1_EC 38997
#define OP_MISC1_EC16 38998
#define OP_MISC1_E16 36950
#define OP_MISC2 32855
#define OP_MISC2_C 34903
#define OP_MISC2_E 36951
#define OP_MISC2_EC 38999
#define OP_MISC2_EC16 39000
#define OP_MISC2_E16 36952
#define OP_MISC3 32857
#define OP_MISC3_C 34905
#define OP_MISC3_E 36953
#define OP_MISC3_EC 39001
#define OP_MISC3_EC16 39002
#define OP_MISC3_E16 36954
#define OP_MISC4 32859
#define OP_MISC4_C 34907
#define OP_MISC4_E 36955
#define OP_MISC4_EC 39003
#define OP_MISC4_EC16 39004
#define OP_MISC4_E16 36956
#define OP_MISC5 32861
#define OP_MISC5_C 34909
#define OP_MISC5_E 36957
#define OP_MISC5_EC 39005
#define OP_MISC5_EC16 39006
#define OP_MISC5_E16 36958
#define OP_MISC6 32863
#define OP_MISC6_C 34911
#define OP_MISC6_E 36959
#define OP_MISC6_EC 39007
#define OP_MISC6_EC16 39008
#define OP_MISC6_E16 36960
#define OP_MISC7 32865
#define OP_MISC7_C 34913
#define OP_MISC7_E 36961
#define OP_MISC7_EC 39009
#define OP_MISC7_EC16 39010
#define OP_MISC7_E16 36962
#define OP_ARRIVED 32867
#define OP_ARRIVED_C 34915
#define OP_ARRIVED_E 36963
#define OP_ARRIVED_EC 39011
#define OP_DEPARTED 32868
#define OP_DEPARTED_C 34916
#define OP_DEPARTED_E 36964
#define OP_DEPARTED_EC 39012
#define OP_ARRIVALS 32869
#define OP_ARRIVALS_C 34917
#define OP_ARRIVALS_E 36965
#define OP_ARRIVALS_EC 39013
#define OP_DEPARTURES 32870
#define OP_DEPARTURES_C 34918
#define OP_DEPARTURES_E 36966
#define OP_DEPARTURES_EC 39014
#define OP_BUSY 32871
#define OP_BUSY_C 34919
#define OP_BUSY_E 36967
#define OP_BUSY_EC 39015
#define OP_INVISIBLE 32872
#define OP_INVISIBLE_C 34920
#define OP_INVISIBLE_E 36968
#define OP_INVISIBLE_EC 39016
#define OP_KEYCLEARED 32873
#define OP_KEYCLEARED_C 34921
#define OP_KEYCLEARED_E 36969
#define OP_KEYCLEARED_EC 39017
#define OP_USERSIGNAL 32874
#define OP_USERSIGNAL_C 34922
#define OP_USERSIGNAL_E 36970
#define OP_USERSIGNAL_EC 39018
#define OP_USERSTATE 32875
#define OP_USERSTATE_C 34923
#define OP_USERSTATE_E 36971
#define OP_USERSTATE_EC 39019
#define OP_VISUALONLY 32876
#define OP_VISUALONLY_C 34924
#define OP_VISUALONLY_E 36972
#define OP_VISUALONLY_EC 39020
#define OP_STEALTHY 32877
#define OP_STEALTHY_C 34925
#define OP_STEALTHY_E 36973
#define OP_STEALTHY_EC 39021
#define OP_MOVED 32878
#define OP_MOVED_C 34926
#define OP_MOVED_E 36974
#define OP_MOVED_EC 39022
#define OP_MOVING 32879
#define OP_MOVING_C 34927
#define OP_MOVING_E 36975
#define OP_MOVING_EC 39023
#define OP_DONE 32880
#define OP_DONE_C 34928
#define OP_DONE_E 36976
#define OP_DONE_EC 39024
#define OP_DESTROYED 32881
#define OP_DESTROYED_C 34929
#define OP_PLAYER 32882
#define OP_PLAYER_C 34930
#define OP_COMPATIBLE 32883
#define OP_COMPATIBLE_C 34931
#define OP_COLLISIONLAYERS 32884
#define OP_COLLISIONLAYERS_C 34932
#define OP_SELF 32885
#define OP_MSG 32886
#define OP_FROM 32887
#define OP_ARG1 32888
#define OP_ARG1_E 36984
#define OP_ARG2 32889
#define OP_ARG2_E 36985
#define OP_ARG3 32890
#define OP_ARG3_E 36986
#define OP_MOVENUMBER 32891
#define OP_LEVEL 32892
#define OP_KEY 32893
#define OP_FINISHED 32894
#define OP_FINISHED_E 36990
#define OP_BACKGROUND 32895
#define OP_CODEPAGE 32896
#define OP_INPUT 32897
#define OP_QUIZ 32898
#define OP_INPLACE 32899
#define OP_DEFAULTIMAGE 32900
#define OP_HELP 32901
#define OP_EDITORHELP 32902
#define OP_SUBS 32903
#define OP_ANIMATE 32904
#define OP_ANIMATEDEAD 32905
#define OP_ASSASSINATE 32906
#define OP_ASSASSINATE_C 34954
#define OP_BROADCAST 32907
#define OP_BROADCAST_D 41099
#define OP_BROADCASTAND 32908
#define OP_BROADCASTANDEX 32909
#define OP_BROADCASTCLASS 32910
#define OP_BROADCASTEX 32911
#define OP_BROADCASTEX_D 41103
#define OP_BROADCASTLIST 32912
#define OP_BROADCASTLISTEX 32913
#define OP_BROADCASTSUM 32914
#define OP_BROADCASTSUMEX 32915
#define OP_CHAIN 32916
#define OP_CHEBYSHEV 32917
#define OP_CHEBYSHEV_C 34965
#define OP_COLOC 32918
#define OP_COLOC_C 34966
#define OP_CREATE 32919
#define OP_CREATE_D 41111
#define OP_DELINVENTORY 32920
#define OP_DELTA 32921
#define OP_DESTROY 32922
#define OP_DESTROY_C 34970
#define OP_DESTROY_D 41114
#define OP_DESTROY_CD 43162
#define OP_FLUSHCLASS 32923
#define OP_FLUSHOBJ 32924
#define OP_FLUSHOBJ_C 34972
#define OP_GETINVENTORY 32925
#define OP_HEIGHTAT 32926
#define OP_IGNOREKEY 32927
#define OP_INTMOVE 32928
#define OP_INTMOVE_C 34976
#define OP_INTMOVE_D 41120
#define OP_INTMOVE_CD 43168
#define OP_JUMPTO 32929
#define OP_JUMPTO_C 34977
#define OP_JUMPTO_D 41121
#define OP_JUMPTO_CD 43169
#define OP_LOC 32930
#define OP_LOC_C 34978
#define OP_LOCATEME 32931
#define OP_LOSELEVEL 32932
#define OP_MANHATTAN 32933
#define OP_MANHATTAN_C 34981
#define OP_MAXINVENTORY 32934
#define OP_MOVE 32935
#define OP_MOVE_C 34983
#define OP_MOVE_D 41127
#define OP_MOVE_CD 43175
#define OP_MOVEPLUS 32936
#define OP_MOVEPLUS_C 34984
#define OP_MOVEPLUS_D 41128
#define OP_MOVEPLUS_CD 43176
#define OP_MOVETO 32937
#define OP_MOVETO_C 34985
#define OP_MOVETO_D 41129
#define OP_MOVETO_CD 43177
#define OP_PLUSMOVE 32938
#define OP_PLUSMOVE_C 34986
#define OP_PLUSMOVE_D 41130
#define OP_PLUSMOVE_CD 43178
#define OP_MINUSMOVE 32939
#define OP_MINUSMOVE_C 34987
#define OP_MINUSMOVE_D 41131
#define OP_MINUSMOVE_CD 43179
#define OP_NEWX 32940
#define OP_NEWXY 32941
#define OP_NEWY 32942
#define OP_OBJABOVE 32943
#define OP_OBJABOVE_C 34991
#define OP_OBJBELOW 32944
#define OP_OBJBELOW_C 34992
#define OP_OBJBOTTOMAT 32945
#define OP_OBJCLASSAT 32946
#define OP_OBJDIR 32947
#define OP_OBJDIR_C 34995
#define OP_OBJLAYERAT 32948
#define OP_OBJMOVINGTO 32949
#define OP_OBJTOPAT 32950
#define OP_POPUP 32951
#define OP_POPUPARGS 32952
#define OP_REL 32953
#define OP_REL_C 35001
#define OP_SEEK 32954
#define OP_SEEK_C 35002
#define OP_SEND 32955
#define OP_SEND_C 35003
#define OP_SEND_D 41147
#define OP_SEND_CD 43195
#define OP_SENDEX 32956
#define OP_SENDEX_C 35004
#define OP_SENDEX_D 41148
#define OP_SENDEX_CD 43196
#define OP_SETINVENTORY 32957
#define OP_SOUND 32958
#define OP_SYNCHRONIZE 32959
#define OP_TARGET 32960
#define OP_TARGET_C 35008
#define OP_TRACE 32961
#define OP_VOLUMEAT 32962
#define OP_WINLEVEL 32963
#define OP_XDIR 32964
#define OP_XDIR_C 35012
#define OP_XYDIR 32965
#define OP_YDIR 32966
#define OP_YDIR_C 35014
#define OP_MARK 32967
#define OP_TMARK 32968
#define OP_IN 32969
#define OP_NIN 32970
#define OP_MBEGIN 32971
#define OP_FLIP 32972
#define OP_ARRAY 32973
#define OP_GETARRAY 32974
#define OP_INITARRAY 32975
#define OP_SETARRAY 32976
#define OP_ARRAYCELL 32977
#define OP_ARRAYSLICE 32978
#define OP_COPYARRAY 32979
#define OP_DOTPRODUCT 32980
#define OP_PATTERN 32981
#define OP_PATTERN_C 35029
#define OP_PATTERN_E 37077
#define OP_PATTERN_EC 39125
#define OP_PATTERNS 32982
#define OP_PATTERNS_C 35030
#define OP_PATTERNS_E 37078
#define OP_PATTERNS_EC 39126
#define OP_FOUR 32983
#define OP_EIGHT 32984
#define OP_CUT 32985
#define OP_FUNCTION 32986
#define OP_LOCAL 32987
#define OP_LABEL 32988
#define OP_STRING 32989
#define OP_INT16 32990
#define OP_INT32 32991
#define OP_DISPATCH 32992
#define OP_USERFLAG 32993
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486936},
{"+",8421398},
{"+Move",10584234},
{"-",8421399},
{"-Move",10584235},
{"-rot",8421382},
{".",10518528},
{"/",8486937},
{"ANHH",8389394},
{"ARRIVED",8389124},
{"Animate",8421512},
{"AnimateDead",8421513},
{"Arg1",8552568},
{"Arg2",8552569},
{"Arg3",8552570},
{"Array",8683725},
{"ArrayCell",8421585},
{"ArraySlice",8421586},
{"Arrivals",8618085},
{"Arrived",8618083},
{"Assassinate",8487050},
{"B",9437196},
{"BANG",8389380},
{"BEDOINGNG",8389406},
{"BEEDEEP",8389404},
{"BEGIN_TURN",8389123},
{"BLOCKED",8389144},
{"BOOOM",8389410},
{"BOUNCE",8389415},
{"BRRREEET",8389396},
{"BRRRT",8389395},
{"BUZZER",8389420},
{"BWEEP",8389397},
{"Background",8683647},
{"Broadcast",10518667},
{"BroadcastAnd",8421516},
{"BroadcastAndEx",8421517},
{"BroadcastEx",10518671},
{"BroadcastList",8421520},
{"BroadcastListEx",8421521},
{"BroadcastSum",8421522},
{"BroadcastSumEx",8421523},
{"Busy",8618087},
{"CHEEP",8389393},
{"CHYEW",8389392},
{"CLICK",8389388},
{"COLLIDE",8389142},
{"COLLIDEBY",8389141},
{"COLLIDING",8389143},
{"CONFLICT",8389140},
{"CREATE",8389121},
{"CREATED",8389137},
{"Chebyshev",8487061},
{"Class",8486969},
{"Climb",9142349},
{"CodePage",8683648},
{"CollisionLayers",8487028},
{"Coloc",8487062},
{"Compatible",8487027},
{"CopyArray",8421587},
{"Create",10518679},
{"DEEP_POP",8389417},
{"DEPARTED",8389125},
{"DESTROY",8389122},
{"DESTROYED",8389136},
{"DINK",8389390},
{"DOOR",8389378},
{"DRLRLRINK",8389398},
{"DYUPE",8389413},
{"DefaultImage",8683652},
{"DelInventory",8421528},
{"Delta",8421529},
{"Density",9142341},
{"Departed",8618084},
{"Departures",8618086},
{"Destroy",10584218},
{"Destroyed",8487025},
{"Dir",8618047},
{"Distance",9142339},
{"Done",8618096},
{"DotProduct",8421588},
{"E",9437184},
{"END_TURN",8389139},
{"EditorHelp",8683654},
{"Eight",8683736},
{"F",9437192},
{"FAROUT",8389421},
{"FFFFTT",8389399},
{"FLOATED",8389132},
{"FROG",8389383},
{"Finished",8552574},
{"FlushClass",8421531},
{"FlushObj",8487068},
{"Four",8683735},
{"From",8421495},
{"GLASS",8389379},
{"GLISSANT",8389419},
{"GetArray",8421582},
{"GetInventory",8421533},
{"HAWK",8389425},
{"HEARTBEAT",8389407},
{"HIT",8389134},
{"HITBY",8389135},
{"Hard",8618065},
{"Height",9142347},
{"HeightAt",8421534},
{"Help",8683653},
{"INIT",8389120},
{"IgnoreKey",8421535},
{"Image",8618048},
{"InPlace",8683651},
{"Inertia",9142337},
{"InitArray",8421583},
{"Input",8683649},
{"IntMove",10584224},
{"Invisible",8618088},
{"JAYAYAYNG",8389416},
{"JUMPED",8389128},
{"JumpTo",10584225},
{"KEWEL",8389422},
{"KEY",8389129},
{"KLECK",8389387},
{"KLINKK",8389385},
{"Key",8421501},
{"KeyCleared",8618089},
{"L",9437194},
{"LASTIMAGE",8389126},
{"LB",9437195},
{"LF",9437193},
{"LOCK",8389408},
{"LOOP",8388610},
{"Level",8421500},
{"Loc",8487074},
{"LocateMe",8421539},
{"LoseLevel",8421540},
{"MOVED",8389127},
{"MOVING",8389130},
{"Manhattan",8487077},
{"MaxInventory",8421542},
{"Misc1",9142357},
{"Misc2",9142359},
{"Misc3",9142361},
{"Misc4",9142363},
{"Misc5",9142365},
{"Misc6",9142367},
{"Misc7",9142369},
{"Move",10584231},
{"Move+",10584232},
{"MoveNumber",8421499},
{"MoveTo",10584233},
{"Moved",8618094},
{"Moving",8618095},
{"Msg",8421494},
{"N",9437186},
{"NE",9437185},
{"NW",9437187},
{"NewX",8421548},
{"NewXY",8421549},
{"NewY",8421550},
{"OLDPHONE",8389402},
{"ONCE",8388609},
{"OSC",8388616},
{"OSCLOOP",8388618},
{"ObjAbove",8487087},
{"ObjBelow",8487088},
{"ObjBottomAt",8421553},
{"ObjClassAt",8421554},
{"ObjDir",8487091},
{"ObjLayerAt",8421556},
{"ObjMovingTo",8421557},
{"ObjTopAt",8421558},
{"P",8880341},
{"P*",8880342},
{"PLAYERMOVING",8389133},
{"POSTINIT",8389138},
{"POUR",8389377},
{"POWER",8389386},
{"Player",8487026},
{"PopUp",8421559},
{"Quiz",8683650},
{"R",9437198},
{"RATCHET1",8389418},
{"RATCHET2",8389412},
{"RATTLE",8389403},
{"RB",9437197},
{"RF",9437199},
{"Rel",8487097},
{"S",9437190},
{"SE",9437191},
{"SMALL_POP",8389389},
{"SPLASH",8389376},
{"STEAM",8389424},
{"STOP",8388608},
{"SUBS",8683655},
{"SUNK",8389131},
{"SW",9437189},
{"Seek",8487098},
{"Self",8421493},
{"Send",10584251},
{"SendEx",10584252},
{"SetArray",8421584},
{"SetInventory",8421565},
{"Shape",8618044},
{"ShapeDir",8618067},
{"Sharp",8618066},
{"Shovable",8618068},
{"Sound",8421566},
{"Stealthy",8618093},
{"Strength",9142351},
{"Synchronize",8421567},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"Target",8487104},
{"Temperature",9142330},
{"Trace",8421569},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618090},
{"UserState",8618091},
{"VACUUM",8389411},
{"VisualOnly",8618092},
{"Volume",9142343},
{"VolumeAt",8421570},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142345},
{"WinLevel",8421571},
{"XDir",8487108},
{"XYDir",8421573},
{"Xloc",8486973},
{"YDir",8487110},
{"YEEHAW",8389401},
{"Yloc",8486974},
{"_",8421575},
{"a?",8421432},
{"again",8683533},
{"band",8421408},
{"begin",8683532},
{"bit",8683556},
{"bit0",8388609},
{"bit1",8388610},
{"bit10",8423402},
{"bit11",8423403},
{"bit12",8423404},
{"bit13",8423405},
{"bit14",8423406},







>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


|
|
|
|
|


|


|
|
|
|
|
|
|
|
|
|
|












|
|
|
|
|
|
|
|
|
|









|
|
|
|
|
|
|
|
|








|
|
|
|
|
|
|
|
|
|
|
|


|
|





|
|
|
|
|


|
|




|
|
|
|

|
|
|
|
|
|
|
|


|




|
|






|
|
|
|


|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|



|
|
|




|
|
|
|
|
|
|
|
|
|




|
|
|






|






|


|
|
|
|
|
|
|
|
|
|
|
|
|
|




|
|
|



|
|

|
|
|



|
|
|
|
|
|

|
|
|

|

|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
#define OP_WHILE 32783
#define OP_REPEAT 32784
#define OP_FOR 32785
#define OP_NEXT 32786
#define OP_GOTO 32787
#define OP_CALLSUB 32788
#define OP_RET 32789
#define OP_CASE 32790
#define OP_ADD 32791
#define OP_SUB 32792
#define OP_MUL 32793
#define OP_MUL_C 34841
#define OP_DIV 32794
#define OP_DIV_C 34842
#define OP_MOD 32795
#define OP_MOD_C 34843
#define OP_NEG 32796
#define OP_MIN 32797
#define OP_MIN_C 34845
#define OP_MAX 32798
#define OP_MAX_C 34846
#define OP_LSH 32799
#define OP_RSH 32800
#define OP_RSH_C 34848
#define OP_BAND 32801
#define OP_BOR 32802
#define OP_BXOR 32803
#define OP_BNOT 32804
#define OP_BIT 32805
#define OP_LAND 32806
#define OP_LOR 32807
#define OP_LXOR 32808
#define OP_LNOT 32809
#define OP_EQ 32810
#define OP_EQ2 32811
#define OP_NE 32812
#define OP_GT 32813
#define OP_GT_C 34861
#define OP_LT 32814
#define OP_LT_C 34862
#define OP_GE 32815
#define OP_GE_C 34863
#define OP_LE 32816
#define OP_LE_C 34864
#define OP_IS 32817
#define OP_QN 32818
#define OP_QC 32819
#define OP_QCZ 32820
#define OP_QM 32821
#define OP_QS 32822
#define OP_QO 32823
#define OP_QOZ 32824
#define OP_QA 32825
#define OP_CLASS 32826
#define OP_CLASS_C 34874
#define OP_TEMPERATURE 32827
#define OP_TEMPERATURE_C 34875
#define OP_TEMPERATURE_E 36923
#define OP_TEMPERATURE_EC 38971
#define OP_TEMPERATURE_EC16 38972
#define OP_TEMPERATURE_E16 36924
#define OP_SHAPE 32829
#define OP_SHAPE_C 34877
#define OP_SHAPE_E 36925
#define OP_SHAPE_EC 38973
#define OP_XLOC 32830
#define OP_XLOC_C 34878
#define OP_YLOC 32831
#define OP_YLOC_C 34879
#define OP_DIR 32832
#define OP_DIR_C 34880
#define OP_DIR_E 36928
#define OP_DIR_EC 38976
#define OP_IMAGE 32833
#define OP_IMAGE_C 34881
#define OP_IMAGE_E 36929
#define OP_IMAGE_EC 38977
#define OP_INERTIA 32834
#define OP_INERTIA_C 34882
#define OP_INERTIA_E 36930
#define OP_INERTIA_EC 38978
#define OP_INERTIA_EC16 38979
#define OP_INERTIA_E16 36931
#define OP_DISTANCE 32836
#define OP_DISTANCE_C 34884
#define OP_DISTANCE_E 36932
#define OP_DISTANCE_EC 38980
#define OP_DISTANCE_EC16 38981
#define OP_DISTANCE_E16 36933
#define OP_DENSITY 32838
#define OP_DENSITY_C 34886
#define OP_DENSITY_E 36934
#define OP_DENSITY_EC 38982
#define OP_DENSITY_EC16 38983
#define OP_DENSITY_E16 36935
#define OP_VOLUME 32840
#define OP_VOLUME_C 34888
#define OP_VOLUME_E 36936
#define OP_VOLUME_EC 38984
#define OP_VOLUME_EC16 38985
#define OP_VOLUME_E16 36937
#define OP_WEIGHT 32842
#define OP_WEIGHT_C 34890
#define OP_WEIGHT_E 36938
#define OP_WEIGHT_EC 38986
#define OP_WEIGHT_EC16 38987
#define OP_WEIGHT_E16 36939
#define OP_HEIGHT 32844
#define OP_HEIGHT_C 34892
#define OP_HEIGHT_E 36940
#define OP_HEIGHT_EC 38988
#define OP_HEIGHT_EC16 38989
#define OP_HEIGHT_E16 36941
#define OP_CLIMB 32846
#define OP_CLIMB_C 34894
#define OP_CLIMB_E 36942
#define OP_CLIMB_EC 38990
#define OP_CLIMB_EC16 38991
#define OP_CLIMB_E16 36943
#define OP_STRENGTH 32848
#define OP_STRENGTH_C 34896
#define OP_STRENGTH_E 36944
#define OP_STRENGTH_EC 38992
#define OP_STRENGTH_EC16 38993
#define OP_STRENGTH_E16 36945
#define OP_HARD 32850
#define OP_HARD_C 34898
#define OP_HARD_E 36946
#define OP_HARD_EC 38994
#define OP_SHARP 32851
#define OP_SHARP_C 34899
#define OP_SHARP_E 36947
#define OP_SHARP_EC 38995
#define OP_SHAPEDIR 32852
#define OP_SHAPEDIR_C 34900
#define OP_SHAPEDIR_E 36948
#define OP_SHAPEDIR_EC 38996
#define OP_SHOVABLE 32853
#define OP_SHOVABLE_C 34901
#define OP_SHOVABLE_E 36949
#define OP_SHOVABLE_EC 38997
#define OP_MISC1 32854
#define OP_MISC1_C 34902
#define OP_MISC1_E 36950
#define OP_MISC1_EC 38998
#define OP_MISC1_EC16 38999
#define OP_MISC1_E16 36951
#define OP_MISC2 32856
#define OP_MISC2_C 34904
#define OP_MISC2_E 36952
#define OP_MISC2_EC 39000
#define OP_MISC2_EC16 39001
#define OP_MISC2_E16 36953
#define OP_MISC3 32858
#define OP_MISC3_C 34906
#define OP_MISC3_E 36954
#define OP_MISC3_EC 39002
#define OP_MISC3_EC16 39003
#define OP_MISC3_E16 36955
#define OP_MISC4 32860
#define OP_MISC4_C 34908
#define OP_MISC4_E 36956
#define OP_MISC4_EC 39004
#define OP_MISC4_EC16 39005
#define OP_MISC4_E16 36957
#define OP_MISC5 32862
#define OP_MISC5_C 34910
#define OP_MISC5_E 36958
#define OP_MISC5_EC 39006
#define OP_MISC5_EC16 39007
#define OP_MISC5_E16 36959
#define OP_MISC6 32864
#define OP_MISC6_C 34912
#define OP_MISC6_E 36960
#define OP_MISC6_EC 39008
#define OP_MISC6_EC16 39009
#define OP_MISC6_E16 36961
#define OP_MISC7 32866
#define OP_MISC7_C 34914
#define OP_MISC7_E 36962
#define OP_MISC7_EC 39010
#define OP_MISC7_EC16 39011
#define OP_MISC7_E16 36963
#define OP_ARRIVED 32868
#define OP_ARRIVED_C 34916
#define OP_ARRIVED_E 36964
#define OP_ARRIVED_EC 39012
#define OP_DEPARTED 32869
#define OP_DEPARTED_C 34917
#define OP_DEPARTED_E 36965
#define OP_DEPARTED_EC 39013
#define OP_ARRIVALS 32870
#define OP_ARRIVALS_C 34918
#define OP_ARRIVALS_E 36966
#define OP_ARRIVALS_EC 39014
#define OP_DEPARTURES 32871
#define OP_DEPARTURES_C 34919
#define OP_DEPARTURES_E 36967
#define OP_DEPARTURES_EC 39015
#define OP_BUSY 32872
#define OP_BUSY_C 34920
#define OP_BUSY_E 36968
#define OP_BUSY_EC 39016
#define OP_INVISIBLE 32873
#define OP_INVISIBLE_C 34921
#define OP_INVISIBLE_E 36969
#define OP_INVISIBLE_EC 39017
#define OP_KEYCLEARED 32874
#define OP_KEYCLEARED_C 34922
#define OP_KEYCLEARED_E 36970
#define OP_KEYCLEARED_EC 39018
#define OP_USERSIGNAL 32875
#define OP_USERSIGNAL_C 34923
#define OP_USERSIGNAL_E 36971
#define OP_USERSIGNAL_EC 39019
#define OP_USERSTATE 32876
#define OP_USERSTATE_C 34924
#define OP_USERSTATE_E 36972
#define OP_USERSTATE_EC 39020
#define OP_VISUALONLY 32877
#define OP_VISUALONLY_C 34925
#define OP_VISUALONLY_E 36973
#define OP_VISUALONLY_EC 39021
#define OP_STEALTHY 32878
#define OP_STEALTHY_C 34926
#define OP_STEALTHY_E 36974
#define OP_STEALTHY_EC 39022
#define OP_MOVED 32879
#define OP_MOVED_C 34927
#define OP_MOVED_E 36975
#define OP_MOVED_EC 39023
#define OP_MOVING 32880
#define OP_MOVING_C 34928
#define OP_MOVING_E 36976
#define OP_MOVING_EC 39024
#define OP_DONE 32881
#define OP_DONE_C 34929
#define OP_DONE_E 36977
#define OP_DONE_EC 39025
#define OP_DESTROYED 32882
#define OP_DESTROYED_C 34930
#define OP_PLAYER 32883
#define OP_PLAYER_C 34931
#define OP_COMPATIBLE 32884
#define OP_COMPATIBLE_C 34932
#define OP_COLLISIONLAYERS 32885
#define OP_COLLISIONLAYERS_C 34933
#define OP_SELF 32886
#define OP_MSG 32887
#define OP_FROM 32888
#define OP_ARG1 32889
#define OP_ARG1_E 36985
#define OP_ARG2 32890
#define OP_ARG2_E 36986
#define OP_ARG3 32891
#define OP_ARG3_E 36987
#define OP_MOVENUMBER 32892
#define OP_LEVEL 32893
#define OP_KEY 32894
#define OP_FINISHED 32895
#define OP_FINISHED_E 36991
#define OP_BACKGROUND 32896
#define OP_CODEPAGE 32897
#define OP_INPUT 32898
#define OP_QUIZ 32899
#define OP_INPLACE 32900
#define OP_DEFAULTIMAGE 32901
#define OP_HELP 32902
#define OP_EDITORHELP 32903
#define OP_SUBS 32904
#define OP_ANIMATE 32905
#define OP_ANIMATEDEAD 32906
#define OP_ASSASSINATE 32907
#define OP_ASSASSINATE_C 34955
#define OP_BROADCAST 32908
#define OP_BROADCAST_D 41100
#define OP_BROADCASTAND 32909
#define OP_BROADCASTANDEX 32910
#define OP_BROADCASTCLASS 32911
#define OP_BROADCASTEX 32912
#define OP_BROADCASTEX_D 41104
#define OP_BROADCASTLIST 32913
#define OP_BROADCASTLISTEX 32914
#define OP_BROADCASTSUM 32915
#define OP_BROADCASTSUMEX 32916
#define OP_CHAIN 32917
#define OP_CHEBYSHEV 32918
#define OP_CHEBYSHEV_C 34966
#define OP_COLOC 32919
#define OP_COLOC_C 34967
#define OP_CREATE 32920
#define OP_CREATE_D 41112
#define OP_DELINVENTORY 32921
#define OP_DELTA 32922
#define OP_DESTROY 32923
#define OP_DESTROY_C 34971
#define OP_DESTROY_D 41115
#define OP_DESTROY_CD 43163
#define OP_FLUSHCLASS 32924
#define OP_FLUSHOBJ 32925
#define OP_FLUSHOBJ_C 34973
#define OP_GETINVENTORY 32926
#define OP_HEIGHTAT 32927
#define OP_IGNOREKEY 32928
#define OP_INTMOVE 32929
#define OP_INTMOVE_C 34977
#define OP_INTMOVE_D 41121
#define OP_INTMOVE_CD 43169
#define OP_JUMPTO 32930
#define OP_JUMPTO_C 34978
#define OP_JUMPTO_D 41122
#define OP_JUMPTO_CD 43170
#define OP_LOC 32931
#define OP_LOC_C 34979
#define OP_LOCATEME 32932
#define OP_LOSELEVEL 32933
#define OP_MANHATTAN 32934
#define OP_MANHATTAN_C 34982
#define OP_MAXINVENTORY 32935
#define OP_MOVE 32936
#define OP_MOVE_C 34984
#define OP_MOVE_D 41128
#define OP_MOVE_CD 43176
#define OP_MOVEPLUS 32937
#define OP_MOVEPLUS_C 34985
#define OP_MOVEPLUS_D 41129
#define OP_MOVEPLUS_CD 43177
#define OP_MOVETO 32938
#define OP_MOVETO_C 34986
#define OP_MOVETO_D 41130
#define OP_MOVETO_CD 43178
#define OP_PLUSMOVE 32939
#define OP_PLUSMOVE_C 34987
#define OP_PLUSMOVE_D 41131
#define OP_PLUSMOVE_CD 43179
#define OP_MINUSMOVE 32940
#define OP_MINUSMOVE_C 34988
#define OP_MINUSMOVE_D 41132
#define OP_MINUSMOVE_CD 43180
#define OP_NEWX 32941
#define OP_NEWXY 32942
#define OP_NEWY 32943
#define OP_OBJABOVE 32944
#define OP_OBJABOVE_C 34992
#define OP_OBJBELOW 32945
#define OP_OBJBELOW_C 34993
#define OP_OBJBOTTOMAT 32946
#define OP_OBJCLASSAT 32947
#define OP_OBJDIR 32948
#define OP_OBJDIR_C 34996
#define OP_OBJLAYERAT 32949
#define OP_OBJMOVINGTO 32950
#define OP_OBJTOPAT 32951
#define OP_POPUP 32952
#define OP_POPUPARGS 32953
#define OP_REL 32954
#define OP_REL_C 35002
#define OP_SEEK 32955
#define OP_SEEK_C 35003
#define OP_SEND 32956
#define OP_SEND_C 35004
#define OP_SEND_D 41148
#define OP_SEND_CD 43196
#define OP_SENDEX 32957
#define OP_SENDEX_C 35005
#define OP_SENDEX_D 41149
#define OP_SENDEX_CD 43197
#define OP_SETINVENTORY 32958
#define OP_SOUND 32959
#define OP_SYNCHRONIZE 32960
#define OP_TARGET 32961
#define OP_TARGET_C 35009
#define OP_TRACE 32962
#define OP_VOLUMEAT 32963
#define OP_WINLEVEL 32964
#define OP_XDIR 32965
#define OP_XDIR_C 35013
#define OP_XYDIR 32966
#define OP_YDIR 32967
#define OP_YDIR_C 35015
#define OP_MARK 32968
#define OP_TMARK 32969
#define OP_IN 32970
#define OP_NIN 32971
#define OP_MBEGIN 32972
#define OP_FLIP 32973
#define OP_ARRAY 32974
#define OP_GETARRAY 32975
#define OP_INITARRAY 32976
#define OP_SETARRAY 32977
#define OP_ARRAYCELL 32978
#define OP_ARRAYSLICE 32979
#define OP_COPYARRAY 32980
#define OP_DOTPRODUCT 32981
#define OP_PATTERN 32982
#define OP_PATTERN_C 35030
#define OP_PATTERN_E 37078
#define OP_PATTERN_EC 39126
#define OP_PATTERNS 32983
#define OP_PATTERNS_C 35031
#define OP_PATTERNS_E 37079
#define OP_PATTERNS_EC 39127
#define OP_FOUR 32984
#define OP_EIGHT 32985
#define OP_CUT 32986
#define OP_FUNCTION 32987
#define OP_LOCAL 32988
#define OP_LABEL 32989
#define OP_STRING 32990
#define OP_INT16 32991
#define OP_INT32 32992
#define OP_DISPATCH 32993
#define OP_USERFLAG 32994
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486937},
{"+",8421399},
{"+Move",10584235},
{"-",8421400},
{"-Move",10584236},
{"-rot",8421382},
{".",10518528},
{"/",8486938},
{"ANHH",8389394},
{"ARRIVED",8389124},
{"Animate",8421513},
{"AnimateDead",8421514},
{"Arg1",8552569},
{"Arg2",8552570},
{"Arg3",8552571},
{"Array",8683726},
{"ArrayCell",8421586},
{"ArraySlice",8421587},
{"Arrivals",8618086},
{"Arrived",8618084},
{"Assassinate",8487051},
{"B",9437196},
{"BANG",8389380},
{"BEDOINGNG",8389406},
{"BEEDEEP",8389404},
{"BEGIN_TURN",8389123},
{"BLOCKED",8389144},
{"BOOOM",8389410},
{"BOUNCE",8389415},
{"BRRREEET",8389396},
{"BRRRT",8389395},
{"BUZZER",8389420},
{"BWEEP",8389397},
{"Background",8683648},
{"Broadcast",10518668},
{"BroadcastAnd",8421517},
{"BroadcastAndEx",8421518},
{"BroadcastEx",10518672},
{"BroadcastList",8421521},
{"BroadcastListEx",8421522},
{"BroadcastSum",8421523},
{"BroadcastSumEx",8421524},
{"Busy",8618088},
{"CHEEP",8389393},
{"CHYEW",8389392},
{"CLICK",8389388},
{"COLLIDE",8389142},
{"COLLIDEBY",8389141},
{"COLLIDING",8389143},
{"CONFLICT",8389140},
{"CREATE",8389121},
{"CREATED",8389137},
{"Chebyshev",8487062},
{"Class",8486970},
{"Climb",9142350},
{"CodePage",8683649},
{"CollisionLayers",8487029},
{"Coloc",8487063},
{"Compatible",8487028},
{"CopyArray",8421588},
{"Create",10518680},
{"DEEP_POP",8389417},
{"DEPARTED",8389125},
{"DESTROY",8389122},
{"DESTROYED",8389136},
{"DINK",8389390},
{"DOOR",8389378},
{"DRLRLRINK",8389398},
{"DYUPE",8389413},
{"DefaultImage",8683653},
{"DelInventory",8421529},
{"Delta",8421530},
{"Density",9142342},
{"Departed",8618085},
{"Departures",8618087},
{"Destroy",10584219},
{"Destroyed",8487026},
{"Dir",8618048},
{"Distance",9142340},
{"Done",8618097},
{"DotProduct",8421589},
{"E",9437184},
{"END_TURN",8389139},
{"EditorHelp",8683655},
{"Eight",8683737},
{"F",9437192},
{"FAROUT",8389421},
{"FFFFTT",8389399},
{"FLOATED",8389132},
{"FROG",8389383},
{"Finished",8552575},
{"FlushClass",8421532},
{"FlushObj",8487069},
{"Four",8683736},
{"From",8421496},
{"GLASS",8389379},
{"GLISSANT",8389419},
{"GetArray",8421583},
{"GetInventory",8421534},
{"HAWK",8389425},
{"HEARTBEAT",8389407},
{"HIT",8389134},
{"HITBY",8389135},
{"Hard",8618066},
{"Height",9142348},
{"HeightAt",8421535},
{"Help",8683654},
{"INIT",8389120},
{"IgnoreKey",8421536},
{"Image",8618049},
{"InPlace",8683652},
{"Inertia",9142338},
{"InitArray",8421584},
{"Input",8683650},
{"IntMove",10584225},
{"Invisible",8618089},
{"JAYAYAYNG",8389416},
{"JUMPED",8389128},
{"JumpTo",10584226},
{"KEWEL",8389422},
{"KEY",8389129},
{"KLECK",8389387},
{"KLINKK",8389385},
{"Key",8421502},
{"KeyCleared",8618090},
{"L",9437194},
{"LASTIMAGE",8389126},
{"LB",9437195},
{"LF",9437193},
{"LOCK",8389408},
{"LOOP",8388610},
{"Level",8421501},
{"Loc",8487075},
{"LocateMe",8421540},
{"LoseLevel",8421541},
{"MOVED",8389127},
{"MOVING",8389130},
{"Manhattan",8487078},
{"MaxInventory",8421543},
{"Misc1",9142358},
{"Misc2",9142360},
{"Misc3",9142362},
{"Misc4",9142364},
{"Misc5",9142366},
{"Misc6",9142368},
{"Misc7",9142370},
{"Move",10584232},
{"Move+",10584233},
{"MoveNumber",8421500},
{"MoveTo",10584234},
{"Moved",8618095},
{"Moving",8618096},
{"Msg",8421495},
{"N",9437186},
{"NE",9437185},
{"NW",9437187},
{"NewX",8421549},
{"NewXY",8421550},
{"NewY",8421551},
{"OLDPHONE",8389402},
{"ONCE",8388609},
{"OSC",8388616},
{"OSCLOOP",8388618},
{"ObjAbove",8487088},
{"ObjBelow",8487089},
{"ObjBottomAt",8421554},
{"ObjClassAt",8421555},
{"ObjDir",8487092},
{"ObjLayerAt",8421557},
{"ObjMovingTo",8421558},
{"ObjTopAt",8421559},
{"P",8880342},
{"P*",8880343},
{"PLAYERMOVING",8389133},
{"POSTINIT",8389138},
{"POUR",8389377},
{"POWER",8389386},
{"Player",8487027},
{"PopUp",8421560},
{"Quiz",8683651},
{"R",9437198},
{"RATCHET1",8389418},
{"RATCHET2",8389412},
{"RATTLE",8389403},
{"RB",9437197},
{"RF",9437199},
{"Rel",8487098},
{"S",9437190},
{"SE",9437191},
{"SMALL_POP",8389389},
{"SPLASH",8389376},
{"STEAM",8389424},
{"STOP",8388608},
{"SUBS",8683656},
{"SUNK",8389131},
{"SW",9437189},
{"Seek",8487099},
{"Self",8421494},
{"Send",10584252},
{"SendEx",10584253},
{"SetArray",8421585},
{"SetInventory",8421566},
{"Shape",8618045},
{"ShapeDir",8618068},
{"Sharp",8618067},
{"Shovable",8618069},
{"Sound",8421567},
{"Stealthy",8618094},
{"Strength",9142352},
{"Synchronize",8421568},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"Target",8487105},
{"Temperature",9142331},
{"Trace",8421570},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618091},
{"UserState",8618092},
{"VACUUM",8389411},
{"VisualOnly",8618093},
{"Volume",9142344},
{"VolumeAt",8421571},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142346},
{"WinLevel",8421572},
{"XDir",8487109},
{"XYDir",8421574},
{"Xloc",8486974},
{"YDir",8487111},
{"YEEHAW",8389401},
{"Yloc",8486975},
{"_",8421576},
{"a?",8421433},
{"again",8683533},
{"band",8421409},
{"begin",8683532},
{"bit",8683557},
{"bit0",8388609},
{"bit1",8388610},
{"bit10",8423402},
{"bit11",8423403},
{"bit12",8423404},
{"bit13",8423405},
{"bit14",8423406},
706
707
708
709
710
711
712
713
714
715
716

717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
{"bit31",8423423},
{"bit4",8388624},
{"bit5",8388640},
{"bit6",8388672},
{"bit7",8388736},
{"bit8",8423400},
{"bit9",8423401},
{"bnot",8421411},
{"bor",8421409},
{"bxor",8421410},
{"c?",8421426},

{"chain",8421524},
{"cut",8683737},
{"cz?",8421427},
{"dup",8421377},
{"else",8683530},
{"eq",8421417},
{"eq2",8421418},
{"flip",8421580},
{"for",8683537},
{"ge",8486958},
{"gt",8486956},
{"if",8683529},
{"in",8421577},
{"is",8421424},
{"land",8421413},
{"le",8486959},
{"lnot",8421416},
{"lor",8421414},
{"lsh",8421406},
{"lt",8486957},
{"lxor",8421415},
{"m?",8421428},
{"max",8486941},
{"mbegin",8683723},
{"min",8486940},
{"mod",8486938},
{"n?",8421425},
{"ne",8421419},
{"neg",8421403},
{"next",8683538},
{"nin",8421578},
{"nip",8421379},
{"o?",8421430},
{"over",8421384},
{"oz?",8421431},
{"pick",8421383},
{"repeat",8683536},
{"ret",8421397},
{"rot",8421381},
{"rsh",8486943},
{"s?",8421429},
{"swap",8421378},
{"then",8683531},
{"tmark",8421576},
{"tuck",8421380},
{"until",8683534},
{"while",8683535},
};
#define N_OP_NAMES 326
#endif







|
|
|
|
>
|
|
|


|
|
|

|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|

|

|




|
|


|




|

707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
{"bit31",8423423},
{"bit4",8388624},
{"bit5",8388640},
{"bit6",8388672},
{"bit7",8388736},
{"bit8",8423400},
{"bit9",8423401},
{"bnot",8421412},
{"bor",8421410},
{"bxor",8421411},
{"c?",8421427},
{"case",8683542},
{"chain",8421525},
{"cut",8683738},
{"cz?",8421428},
{"dup",8421377},
{"else",8683530},
{"eq",8421418},
{"eq2",8421419},
{"flip",8421581},
{"for",8683537},
{"ge",8486959},
{"gt",8486957},
{"if",8683529},
{"in",8421578},
{"is",8421425},
{"land",8421414},
{"le",8486960},
{"lnot",8421417},
{"lor",8421415},
{"lsh",8421407},
{"lt",8486958},
{"lxor",8421416},
{"m?",8421429},
{"max",8486942},
{"mbegin",8683724},
{"min",8486941},
{"mod",8486939},
{"n?",8421426},
{"ne",8421420},
{"neg",8421404},
{"next",8683538},
{"nin",8421579},
{"nip",8421379},
{"o?",8421431},
{"over",8421384},
{"oz?",8421432},
{"pick",8421383},
{"repeat",8683536},
{"ret",8421397},
{"rot",8421381},
{"rsh",8486944},
{"s?",8421430},
{"swap",8421378},
{"then",8683531},
{"tmark",8421577},
{"tuck",8421380},
{"until",8683534},
{"while",8683535},
};
#define N_OP_NAMES 327
#endif