Free Hero Mesh

Check-in [e0a86ed98a]
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 the "a?" and "ArrayCell" instructions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e0a86ed98abe73ba9e2172c1811c0654183ec1f4
User & Date: user on 2021-03-21 06:42:56
Other Links: manifest | tags
Context
2021-03-21
20:34
Implement bit23 for HIT/HITBY to prevent cascading after shoving check-in: b572dd834c user: user tags: trunk
06:42
Implement the "a?" and "ArrayCell" instructions check-in: e0a86ed98a user: user tags: trunk
03:51
Implement the .autoSave resource. check-in: 694a67346e user: user tags: trunk
Changes

Modified class.doc from [115e6950b7] to [613227b86c].

965
966
967
968
969
970
971




972
973
974
975
976
977
978

,/  ( in1 in2 -- out )
  Signed divide in1 by in2 producing the quotient.

_  ( -- mark )
  Add a mark to the stack.





Animate  ( flag start end delay -- ) **
  Start or stop an animation for this object. This also sets the Image
  variable equal to the start value. The flag can be STOP to stop an
  animation, ONCE to play the animation once (and to queue a LASTIMAGE
  event if the animation isn't changed before that happens; note that
  the message is sent even before the animation is actually visible),
  LOOP to play it in a loop, or OSCLOOP for an oscillating loop. The







>
>
>
>







965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982

,/  ( in1 in2 -- out )
  Signed divide in1 by in2 producing the quotient.

_  ( -- mark )
  Add a mark to the stack.

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

Animate  ( flag start end delay -- ) **
  Start or stop an animation for this object. This also sets the Image
  variable equal to the start value. The flag can be STOP to stop an
  animation, ONCE to play the animation once (and to queue a LASTIMAGE
  event if the animation isn't changed before that happens; note that
  the message is sent even before the animation is actually visible),
  LOOP to play it in a loop, or OSCLOOP for an oscillating loop. The
999
1000
1001
1002
1003
1004
1005





1006
1007
1008
1009
1010
1011
1012
  The third message argument. If the message was sent with only two
  arguments, then this value is zero by default.

=Arg3  ( value -- )
  Allows setting the third message argument. This will last until the
  current message returns, and does not affect further messages sent; it
  allows Arg3 to be used as a mutable local variable.






Assassinate  ( -- ) **
  Destroy this object without sending any messages. The object is marked
  as destroyed, but its variables are still accessible until the garbage
  collector runs (during the trigger step for combatible objects, and
  during the cleanup step for all objects). Assassination always succeeds,
  so there is no result value to indicate success or not.







>
>
>
>
>







1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
  The third message argument. If the message was sent with only two
  arguments, then this value is zero by default.

=Arg3  ( value -- )
  Allows setting the third message argument. This will last until the
  current message returns, and does not affect further messages sent; it
  allows Arg3 to be used as a mutable local variable.

ArrayCell  ( array row column -- array )
  Make a reference to a single cell of an array. The new reference is
  treated as a reference to a 1x1 array, which aliases the original array.
  Coordinates are zero-based.

Assassinate  ( -- ) **
  Destroy this object without sending any messages. The object is marked
  as destroyed, but its variables are still accessible until the garbage
  collector runs (during the trigger step for combatible objects, and
  during the cleanup step for all objects). Assassination always succeeds,
  so there is no result value to indicate success or not.

Modified exec.c from [3e66eb8ad9] to [d5095c8102].

1173
1174
1175
1176
1177
1178
1179









1180
1181
1182
1183
1184
1185
1186
  Uint32 s;
  if(ar.t!=TY_ARRAY) Throw("Type mismatch");
  s=ar.u&0xFFFF;
  if(y>((ar.u>>16)&0x3FF) || x>((ar.u>>26)&0x3F)) Throw("Array index out of bounds");
  s+=x+y+((ar.u>>26)&0x3F)*y;
  array_data[s]=v;
}










static void v_set_popup(Uint32 from,int argc) {
  const unsigned char*t;
  const unsigned char*u;
  sqlite3_str*s;
  Value v;
  int argi=1;







>
>
>
>
>
>
>
>
>







1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
  Uint32 s;
  if(ar.t!=TY_ARRAY) Throw("Type mismatch");
  s=ar.u&0xFFFF;
  if(y>((ar.u>>16)&0x3FF) || x>((ar.u>>26)&0x3F)) Throw("Array index out of bounds");
  s+=x+y+((ar.u>>26)&0x3F)*y;
  array_data[s]=v;
}

static Value v_array_cell(Value ar,Uint32 x,Uint32 y) {
  Uint32 s;
  if(ar.t!=TY_ARRAY) Throw("Type mismatch");
  s=ar.u&0xFFFF;
  if(y>((ar.u>>16)&0x3FF) || x>((ar.u>>26)&0x3F)) Throw("Array index out of bounds");
  s+=x+y+((ar.u>>26)&0x3F)*y;
  return UVALUE(s,TY_ARRAY);
}

static void v_set_popup(Uint32 from,int argc) {
  const unsigned char*t;
  const unsigned char*u;
  sqlite3_str*s;
  Value v;
  int argi=1;
1398
1399
1400
1401
1402
1403
1404

1405
1406
1407
1408
1409
1410
1411
    case OP_ANIMATE: StackReq(4,0); t4=Pop(); Numeric(t4); t3=Pop(); Numeric(t3); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); animate(obj,t1.u,t2.u,t3.u,t4.u); break;
    case OP_ARG1: StackReq(0,1); Push(msgvars.arg1); break;
    case OP_ARG1_E: StackReq(1,0); msgvars.arg1=Pop(); break;
    case OP_ARG2: StackReq(0,1); Push(msgvars.arg2); break;
    case OP_ARG2_E: StackReq(1,0); msgvars.arg2=Pop(); break;
    case OP_ARG3: StackReq(0,1); Push(msgvars.arg3); break;
    case OP_ARG3_E: StackReq(1,0); msgvars.arg3=Pop(); break;

    case OP_ARRIVALS: StackReq(0,1); Push(NVALUE(o->arrivals&0x1FFFFFF)); break;
    case OP_ARRIVALS_C: StackReq(1,1); Push(GetVariableOrAttributeOf(arrivals&0x1FFFFFF,NVALUE)); break;
    case OP_ARRIVALS_E: NoIgnore(); StackReq(1,0); t1=Pop(); Numeric(t1); o->arrivals=t1.u; break;
    case OP_ARRIVALS_EC: NoIgnore(); StackReq(2,0); t1=Pop(); Numeric(t1); i=v_object(Pop()); if(i!=VOIDLINK) objects[i]->arrivals=t1.u; break;
    case OP_ARRIVED: StackReq(0,1); Push(NVALUE(o->arrived&0x1FFFFFF)); break;
    case OP_ARRIVED_C: StackReq(1,1); Push(GetVariableOf(arrived&0x1FFFFFF,NVALUE)); break;
    case OP_ARRIVED_E: NoIgnore(); StackReq(1,0); t1=Pop(); Numeric(t1); o->arrived=t1.u; break;







>







1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
    case OP_ANIMATE: StackReq(4,0); t4=Pop(); Numeric(t4); t3=Pop(); Numeric(t3); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); animate(obj,t1.u,t2.u,t3.u,t4.u); break;
    case OP_ARG1: StackReq(0,1); Push(msgvars.arg1); break;
    case OP_ARG1_E: StackReq(1,0); msgvars.arg1=Pop(); break;
    case OP_ARG2: StackReq(0,1); Push(msgvars.arg2); break;
    case OP_ARG2_E: StackReq(1,0); msgvars.arg2=Pop(); break;
    case OP_ARG3: StackReq(0,1); Push(msgvars.arg3); break;
    case OP_ARG3_E: StackReq(1,0); msgvars.arg3=Pop(); break;
    case OP_ARRAYCELL: StackReq(3,1); t3=Pop(); Numeric(t3); t2=Pop(); Numeric(t2); t1=Pop(); Push(v_array_cell(t1,t2.u,t3.u)); break;
    case OP_ARRIVALS: StackReq(0,1); Push(NVALUE(o->arrivals&0x1FFFFFF)); break;
    case OP_ARRIVALS_C: StackReq(1,1); Push(GetVariableOrAttributeOf(arrivals&0x1FFFFFF,NVALUE)); break;
    case OP_ARRIVALS_E: NoIgnore(); StackReq(1,0); t1=Pop(); Numeric(t1); o->arrivals=t1.u; break;
    case OP_ARRIVALS_EC: NoIgnore(); StackReq(2,0); t1=Pop(); Numeric(t1); i=v_object(Pop()); if(i!=VOIDLINK) objects[i]->arrivals=t1.u; break;
    case OP_ARRIVED: StackReq(0,1); Push(NVALUE(o->arrived&0x1FFFFFF)); break;
    case OP_ARRIVED_C: StackReq(1,1); Push(GetVariableOf(arrived&0x1FFFFFF,NVALUE)); break;
    case OP_ARRIVED_E: NoIgnore(); StackReq(1,0); t1=Pop(); Numeric(t1); o->arrived=t1.u; break;
1602
1603
1604
1605
1606
1607
1608

1609
1610
1611
1612
1613
1614
1615
    case OP_OBJTOPAT: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_top_at(t1.u,t2.u); Push(OVALUE(i)); break;
    case OP_OVER: StackReq(2,3); t2=Pop(); t1=Pop(); Push(t1); Push(t2); Push(t1); break;
    case OP_PICK: StackReq(0,1); t1=Pop(); Numeric(t1); if(t1.u>=vstackptr) Throw("Stack index out of range"); t1=vstack[vstackptr-t1.u-1]; Push(t1); break;
    case OP_PLAYER: StackReq(0,1); if(classes[o->class]->cflags&CF_PLAYER) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_PLAYER_C: StackReq(1,1); GetClassFlagOf(CF_PLAYER); break;
    case OP_POPUP: StackReq(1,0); v_set_popup(obj,0); break;
    case OP_POPUPARGS: i=code[ptr++]; StackReq(i+1,0); v_set_popup(obj,i); break;

    case OP_QC: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_CLASS) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QCZ: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_CLASS || (t1.t==TY_NUMBER && !t1.u)) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QM: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_MESSAGE) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QN: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_NUMBER) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QO: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t>TY_MAXTYPE) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QOZ: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t>TY_MAXTYPE || (t1.t==TY_NUMBER && !t1.u)) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QS: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_STRING || t1.t==TY_LEVELSTRING) Push(NVALUE(1)); else Push(NVALUE(0)); break;







>







1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
    case OP_OBJTOPAT: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_top_at(t1.u,t2.u); Push(OVALUE(i)); break;
    case OP_OVER: StackReq(2,3); t2=Pop(); t1=Pop(); Push(t1); Push(t2); Push(t1); break;
    case OP_PICK: StackReq(0,1); t1=Pop(); Numeric(t1); if(t1.u>=vstackptr) Throw("Stack index out of range"); t1=vstack[vstackptr-t1.u-1]; Push(t1); break;
    case OP_PLAYER: StackReq(0,1); if(classes[o->class]->cflags&CF_PLAYER) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_PLAYER_C: StackReq(1,1); GetClassFlagOf(CF_PLAYER); break;
    case OP_POPUP: StackReq(1,0); v_set_popup(obj,0); break;
    case OP_POPUPARGS: i=code[ptr++]; StackReq(i+1,0); v_set_popup(obj,i); break;
    case OP_QA: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_ARRAY) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QC: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_CLASS) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QCZ: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_CLASS || (t1.t==TY_NUMBER && !t1.u)) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QM: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_MESSAGE) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QN: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_NUMBER) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QO: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t>TY_MAXTYPE) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QOZ: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t>TY_MAXTYPE || (t1.t==TY_NUMBER && !t1.u)) Push(NVALUE(1)); else Push(NVALUE(0)); break;
    case OP_QS: StackReq(1,1); t1=Pop(); NotSound(t1); if(t1.t==TY_STRING || t1.t==TY_LEVELSTRING) Push(NVALUE(1)); else Push(NVALUE(0)); break;

Modified instruc from [e8dca82c5d] to [759d434e25].

129
130
131
132
133
134
135

136
137
138
139
140
141
142
qn "n?"
qc "c?"
qcz "cz?"
qm "m?"
qs "s?"
qo "o?"
qoz "oz?"


; Standard variables
,Class
,=!Temperature
,=Shape
,Xloc
,Yloc







>







129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
qn "n?"
qc "c?"
qcz "cz?"
qm "m?"
qs "s?"
qo "o?"
qoz "oz?"
qa "a?"

; Standard variables
,Class
,=!Temperature
,=Shape
,Xloc
,Yloc
259
260
261
262
263
264
265

266
267
268
269
270
271
272
273
274
275
-mbegin

; Arrays
-Array
GetArray
InitArray
SetArray


; Specials
*Function
*Local
*Label
*String
*Int16
*Int32
*Dispatch








>










260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
-mbegin

; Arrays
-Array
GetArray
InitArray
SetArray
ArrayCell

; Specials
*Function
*Local
*Label
*String
*Int16
*Int32
*Dispatch

Modified instruc.h from [6daa55039f] to [f997fef66a].

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
#define OP_QN 32815
#define OP_QC 32816
#define OP_QCZ 32817
#define OP_QM 32818
#define OP_QS 32819
#define OP_QO 32820
#define OP_QOZ 32821

#define OP_CLASS 32822
#define OP_CLASS_C 34870
#define OP_TEMPERATURE 32823
#define OP_TEMPERATURE_C 34871
#define OP_TEMPERATURE_E 36919
#define OP_TEMPERATURE_EC 38967
#define OP_TEMPERATURE_EC16 38968
#define OP_TEMPERATURE_E16 36920
#define OP_SHAPE 32825
#define OP_SHAPE_C 34873
#define OP_SHAPE_E 36921
#define OP_SHAPE_EC 38969
#define OP_XLOC 32826
#define OP_XLOC_C 34874
#define OP_YLOC 32827
#define OP_YLOC_C 34875
#define OP_DIR 32828
#define OP_DIR_C 34876
#define OP_DIR_E 36924
#define OP_DIR_EC 38972
#define OP_IMAGE 32829
#define OP_IMAGE_C 34877
#define OP_IMAGE_E 36925
#define OP_IMAGE_EC 38973
#define OP_INERTIA 32830
#define OP_INERTIA_C 34878
#define OP_INERTIA_E 36926
#define OP_INERTIA_EC 38974
#define OP_INERTIA_EC16 38975
#define OP_INERTIA_E16 36927
#define OP_DISTANCE 32832
#define OP_DISTANCE_C 34880
#define OP_DISTANCE_E 36928
#define OP_DISTANCE_EC 38976
#define OP_DISTANCE_EC16 38977
#define OP_DISTANCE_E16 36929
#define OP_DENSITY 32834
#define OP_DENSITY_C 34882
#define OP_DENSITY_E 36930
#define OP_DENSITY_EC 38978
#define OP_DENSITY_EC16 38979
#define OP_DENSITY_E16 36931
#define OP_VOLUME 32836
#define OP_VOLUME_C 34884
#define OP_VOLUME_E 36932
#define OP_VOLUME_EC 38980
#define OP_VOLUME_EC16 38981
#define OP_VOLUME_E16 36933
#define OP_WEIGHT 32838
#define OP_WEIGHT_C 34886
#define OP_WEIGHT_E 36934
#define OP_WEIGHT_EC 38982
#define OP_WEIGHT_EC16 38983
#define OP_WEIGHT_E16 36935
#define OP_HEIGHT 32840
#define OP_HEIGHT_C 34888
#define OP_HEIGHT_E 36936
#define OP_HEIGHT_EC 38984
#define OP_HEIGHT_EC16 38985
#define OP_HEIGHT_E16 36937
#define OP_CLIMB 32842
#define OP_CLIMB_C 34890
#define OP_CLIMB_E 36938
#define OP_CLIMB_EC 38986
#define OP_CLIMB_EC16 38987
#define OP_CLIMB_E16 36939
#define OP_STRENGTH 32844
#define OP_STRENGTH_C 34892
#define OP_STRENGTH_E 36940
#define OP_STRENGTH_EC 38988
#define OP_STRENGTH_EC16 38989
#define OP_STRENGTH_E16 36941
#define OP_HARD 32846
#define OP_HARD_C 34894
#define OP_HARD_E 36942
#define OP_HARD_EC 38990
#define OP_SHARP 32847
#define OP_SHARP_C 34895
#define OP_SHARP_E 36943
#define OP_SHARP_EC 38991
#define OP_SHAPEDIR 32848
#define OP_SHAPEDIR_C 34896
#define OP_SHAPEDIR_E 36944
#define OP_SHAPEDIR_EC 38992
#define OP_SHOVABLE 32849
#define OP_SHOVABLE_C 34897
#define OP_SHOVABLE_E 36945
#define OP_SHOVABLE_EC 38993
#define OP_MISC1 32850
#define OP_MISC1_C 34898
#define OP_MISC1_E 36946
#define OP_MISC1_EC 38994
#define OP_MISC1_EC16 38995
#define OP_MISC1_E16 36947
#define OP_MISC2 32852
#define OP_MISC2_C 34900
#define OP_MISC2_E 36948
#define OP_MISC2_EC 38996
#define OP_MISC2_EC16 38997
#define OP_MISC2_E16 36949
#define OP_MISC3 32854
#define OP_MISC3_C 34902
#define OP_MISC3_E 36950
#define OP_MISC3_EC 38998
#define OP_MISC3_EC16 38999
#define OP_MISC3_E16 36951
#define OP_MISC4 32856
#define OP_MISC4_C 34904
#define OP_MISC4_E 36952
#define OP_MISC4_EC 39000
#define OP_MISC4_EC16 39001
#define OP_MISC4_E16 36953
#define OP_MISC5 32858
#define OP_MISC5_C 34906
#define OP_MISC5_E 36954
#define OP_MISC5_EC 39002
#define OP_MISC5_EC16 39003
#define OP_MISC5_E16 36955
#define OP_MISC6 32860
#define OP_MISC6_C 34908
#define OP_MISC6_E 36956
#define OP_MISC6_EC 39004
#define OP_MISC6_EC16 39005
#define OP_MISC6_E16 36957
#define OP_MISC7 32862
#define OP_MISC7_C 34910
#define OP_MISC7_E 36958
#define OP_MISC7_EC 39006
#define OP_MISC7_EC16 39007
#define OP_MISC7_E16 36959
#define OP_ARRIVED 32864
#define OP_ARRIVED_C 34912
#define OP_ARRIVED_E 36960
#define OP_ARRIVED_EC 39008
#define OP_DEPARTED 32865
#define OP_DEPARTED_C 34913
#define OP_DEPARTED_E 36961
#define OP_DEPARTED_EC 39009
#define OP_ARRIVALS 32866
#define OP_ARRIVALS_C 34914
#define OP_ARRIVALS_E 36962
#define OP_ARRIVALS_EC 39010
#define OP_DEPARTURES 32867
#define OP_DEPARTURES_C 34915
#define OP_DEPARTURES_E 36963
#define OP_DEPARTURES_EC 39011
#define OP_BUSY 32868
#define OP_BUSY_C 34916
#define OP_BUSY_E 36964
#define OP_BUSY_EC 39012
#define OP_INVISIBLE 32869
#define OP_INVISIBLE_C 34917
#define OP_INVISIBLE_E 36965
#define OP_INVISIBLE_EC 39013
#define OP_KEYCLEARED 32870
#define OP_KEYCLEARED_C 34918
#define OP_KEYCLEARED_E 36966
#define OP_KEYCLEARED_EC 39014
#define OP_USERSIGNAL 32871
#define OP_USERSIGNAL_C 34919
#define OP_USERSIGNAL_E 36967
#define OP_USERSIGNAL_EC 39015
#define OP_USERSTATE 32872
#define OP_USERSTATE_C 34920
#define OP_USERSTATE_E 36968
#define OP_USERSTATE_EC 39016
#define OP_VISUALONLY 32873
#define OP_VISUALONLY_C 34921
#define OP_VISUALONLY_E 36969
#define OP_VISUALONLY_EC 39017
#define OP_STEALTHY 32874
#define OP_STEALTHY_C 34922
#define OP_STEALTHY_E 36970
#define OP_STEALTHY_EC 39018
#define OP_MOVED 32875
#define OP_MOVED_C 34923
#define OP_MOVED_E 36971
#define OP_MOVED_EC 39019
#define OP_DONE 32876
#define OP_DONE_C 34924
#define OP_DONE_E 36972
#define OP_DONE_EC 39020
#define OP_DESTROYED 32877
#define OP_DESTROYED_C 34925
#define OP_PLAYER 32878
#define OP_PLAYER_C 34926
#define OP_COMPATIBLE 32879
#define OP_COMPATIBLE_C 34927
#define OP_COLLISIONLAYERS 32880
#define OP_COLLISIONLAYERS_C 34928
#define OP_SELF 32881
#define OP_MSG 32882
#define OP_FROM 32883
#define OP_ARG1 32884
#define OP_ARG1_E 36980
#define OP_ARG2 32885
#define OP_ARG2_E 36981
#define OP_ARG3 32886
#define OP_ARG3_E 36982
#define OP_MOVENUMBER 32887
#define OP_LEVEL 32888
#define OP_KEY 32889
#define OP_FINISHED 32890
#define OP_FINISHED_E 36986
#define OP_BACKGROUND 32891
#define OP_INPUT 32892
#define OP_QUIZ 32893
#define OP_INPLACE 32894
#define OP_DEFAULTIMAGE 32895
#define OP_HELP 32896
#define OP_EDITORHELP 32897
#define OP_SUBS 32898
#define OP_ANIMATE 32899
#define OP_ASSASSINATE 32900
#define OP_ASSASSINATE_C 34948
#define OP_BROADCAST 32901
#define OP_BROADCAST_D 41093
#define OP_BROADCASTCLASS 32902
#define OP_BROADCASTEX 32903
#define OP_BROADCASTEX_D 41095
#define OP_BROADCASTSUM 32904
#define OP_BROADCASTSUMEX 32905
#define OP_CHAIN 32906
#define OP_CREATE 32907
#define OP_CREATE_D 41099
#define OP_DELINVENTORY 32908
#define OP_DELTA 32909
#define OP_DESTROY 32910
#define OP_DESTROY_C 34958
#define OP_DESTROY_D 41102
#define OP_DESTROY_CD 43150
#define OP_FLUSHCLASS 32911
#define OP_FLUSHOBJ 32912
#define OP_FLUSHOBJ_C 34960
#define OP_GETINVENTORY 32913
#define OP_HEIGHTAT 32914
#define OP_IGNOREKEY 32915
#define OP_INTMOVE 32916
#define OP_INTMOVE_C 34964
#define OP_INTMOVE_D 41108
#define OP_INTMOVE_CD 43156
#define OP_JUMPTO 32917
#define OP_JUMPTO_C 34965
#define OP_JUMPTO_D 41109
#define OP_JUMPTO_CD 43157
#define OP_LOC 32918
#define OP_LOC_C 34966
#define OP_LOCATEME 32919
#define OP_LOSELEVEL 32920
#define OP_MAXINVENTORY 32921
#define OP_MOVE 32922
#define OP_MOVE_C 34970
#define OP_MOVE_D 41114
#define OP_MOVE_CD 43162
#define OP_MOVEPLUS 32923
#define OP_MOVEPLUS_C 34971
#define OP_MOVEPLUS_D 41115
#define OP_MOVEPLUS_CD 43163
#define OP_MOVETO 32924
#define OP_MOVETO_C 34972
#define OP_MOVETO_D 41116
#define OP_MOVETO_CD 43164
#define OP_NEWX 32925
#define OP_NEWXY 32926
#define OP_NEWY 32927
#define OP_OBJABOVE 32928
#define OP_OBJABOVE_C 34976
#define OP_OBJBELOW 32929
#define OP_OBJBELOW_C 34977
#define OP_OBJBOTTOMAT 32930
#define OP_OBJCLASSAT 32931
#define OP_OBJDIR 32932
#define OP_OBJDIR_C 34980
#define OP_OBJLAYERAT 32933
#define OP_OBJTOPAT 32934
#define OP_POPUP 32935
#define OP_POPUPARGS 32936
#define OP_QUEUETURN 32937
#define OP_SEND 32938
#define OP_SEND_C 34986
#define OP_SEND_D 41130
#define OP_SEND_CD 43178
#define OP_SENDEX 32939
#define OP_SENDEX_C 34987
#define OP_SENDEX_D 41131
#define OP_SENDEX_CD 43179
#define OP_SETINVENTORY 32940
#define OP_SOUND 32941
#define OP_SYNCHRONIZE 32942
#define OP_TRACE 32943
#define OP_VOLUMEAT 32944
#define OP_WINLEVEL 32945
#define OP_XDIR 32946
#define OP_XDIR_C 34994
#define OP_XYDIR 32947
#define OP_YDIR 32948
#define OP_YDIR_C 34996
#define OP_MARK 32949
#define OP_TMARK 32950
#define OP_IN 32951
#define OP_NIN 32952
#define OP_MBEGIN 32953
#define OP_ARRAY 32954
#define OP_GETARRAY 32955
#define OP_INITARRAY 32956
#define OP_SETARRAY 32957

#define OP_FUNCTION 32958
#define OP_LOCAL 32959
#define OP_LABEL 32960
#define OP_STRING 32961
#define OP_INT16 32962
#define OP_INT32 32963
#define OP_DISPATCH 32964
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486937},
{"+",8421399},
{"-",8421400},
{"-rot",8421382},
{".",10518528},
{"/",8486938},
{"ANHH",8389394},
{"ARRIVED",8389124},
{"Animate",8421507},
{"Arg1",8552564},
{"Arg2",8552565},
{"Arg3",8552566},
{"Array",8683706},

{"Arrivals",8618082},
{"Arrived",8618080},
{"Assassinate",8487044},
{"B",9437196},
{"BANG",8389380},
{"BEDOINGNG",8389406},
{"BEEDEEP",8389404},
{"BEGIN_TURN",8389123},
{"BIZARRO_SWAP",8389143},
{"BOOOM",8389410},
{"BOUNCE",8389415},
{"BRRREEET",8389396},
{"BRRRT",8389395},
{"BUZZER",8389420},
{"BWEEP",8389397},
{"Background",8683643},
{"Broadcast",10518661},
{"BroadcastEx",10518663},
{"BroadcastSum",8421512},
{"BroadcastSumEx",8421513},
{"Busy",8618084},
{"CHEEP",8389393},
{"CHYEW",8389392},
{"CLEANUP",8389140},
{"CLICK",8389388},
{"COLLIDE",8389142},
{"COLLIDEBY",8389141},
{"CREATE",8389121},
{"CREATED",8389137},
{"Class",8486966},
{"Climb",9142346},
{"CollisionLayers",8487024},
{"Compatible",8487023},
{"Create",10518667},
{"DEEP_POP",8389417},
{"DEPARTED",8389125},
{"DESTROY",8389122},
{"DESTROYED",8389136},
{"DINK",8389390},
{"DOOR",8389378},
{"DRLRLRINK",8389398},
{"DYUPE",8389413},
{"DefaultImage",8683647},
{"DelInventory",8421516},
{"Delta",8421517},
{"Density",9142338},
{"Departed",8618081},
{"Departures",8618083},
{"Destroy",10584206},
{"Destroyed",8487021},
{"Dir",8618044},
{"Distance",9142336},
{"Done",8618092},
{"E",9437184},
{"END_TURN",8389139},
{"EditorHelp",8683649},
{"F",9437192},
{"FAROUT",8389421},
{"FFFFTT",8389399},
{"FLOATED",8389132},
{"FROG",8389383},
{"Finished",8552570},
{"FlushClass",8421519},
{"FlushObj",8487056},
{"From",8421491},
{"GLASS",8389379},
{"GLISSANT",8389419},
{"GetArray",8421563},
{"GetInventory",8421521},
{"HAWK",8389425},
{"HEARTBEAT",8389407},
{"HIT",8389134},
{"HITBY",8389135},
{"Hard",8618062},
{"Height",9142344},
{"HeightAt",8421522},
{"Help",8683648},
{"INIT",8389120},
{"IgnoreKey",8421523},
{"Image",8618045},
{"InPlace",8683646},
{"Inertia",9142334},
{"InitArray",8421564},
{"Input",8683644},
{"IntMove",10584212},
{"Invisible",8618085},
{"JAYAYAYNG",8389416},
{"JUMPED",8389128},
{"JumpTo",10584213},
{"KEWEL",8389422},
{"KEY",8389129},
{"KLECK",8389387},
{"KLINKK",8389385},
{"Key",8421497},
{"KeyCleared",8618086},
{"L",9437194},
{"LASTIMAGE",8389126},
{"LB",9437195},
{"LF",9437193},
{"LOCK",8389408},
{"LOOP",8388610},
{"Level",8421496},
{"Loc",8487062},
{"LocateMe",8421527},
{"LoseLevel",8421528},
{"MOVED",8389127},
{"MOVING",8389130},
{"MaxInventory",8421529},
{"Misc1",9142354},
{"Misc2",9142356},
{"Misc3",9142358},
{"Misc4",9142360},
{"Misc5",9142362},
{"Misc6",9142364},
{"Misc7",9142366},
{"Move",10584218},
{"Move+",10584219},
{"MoveNumber",8421495},
{"MoveTo",10584220},
{"Moved",8618091},
{"Msg",8421490},
{"N",9437186},
{"NE",9437185},
{"NW",9437187},
{"NewX",8421533},
{"NewXY",8421534},
{"NewY",8421535},
{"OLDPHONE",8389402},
{"ONCE",8388609},
{"OSC",8388616},
{"OSCLOOP",8388618},
{"ObjAbove",8487072},
{"ObjBelow",8487073},
{"ObjBottomAt",8421538},
{"ObjClassAt",8421539},
{"ObjDir",8487076},
{"ObjLayerAt",8421541},
{"ObjTopAt",8421542},
{"PLAYERMOVING",8389133},
{"POSTINIT",8389138},
{"POUR",8389377},
{"POWER",8389386},
{"Player",8487022},
{"PopUp",8421543},
{"QueueTurn",8421545},
{"Quiz",8683645},
{"R",9437198},
{"RATCHET1",8389418},
{"RATCHET2",8389412},
{"RATTLE",8389403},
{"RB",9437197},
{"RF",9437199},
{"S",9437190},
{"SE",9437191},
{"SMALL_POP",8389389},
{"SPLASH",8389376},
{"STEAM",8389424},
{"STOP",8388608},
{"SUBS",8683650},
{"SUNK",8389131},
{"SW",9437189},
{"Self",8421489},
{"Send",10584234},
{"SendEx",10584235},
{"SetArray",8421565},
{"SetInventory",8421548},
{"Shape",8618041},
{"ShapeDir",8618064},
{"Sharp",8618063},
{"Shovable",8618065},
{"Sound",8421549},
{"Stealthy",8618090},
{"Strength",9142348},
{"Synchronize",8421550},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"Temperature",9142327},
{"Trace",8421551},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618087},
{"UserState",8618088},
{"VACUUM",8389411},
{"VisualOnly",8618089},
{"Volume",9142340},
{"VolumeAt",8421552},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142342},
{"WinLevel",8421553},
{"XDir",8487090},
{"XYDir",8421555},
{"Xloc",8486970},
{"YDir",8487092},
{"YEEHAW",8389401},
{"Yloc",8486971},
{"_",8421557},

{"again",8683534},
{"band",8421407},
{"begin",8683533},
{"bit",8683555},
{"bit0",8388609},
{"bit1",8388610},
{"bit10",8423402},







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










|
|
|
|
|
>
|
|
|












|
|
|
|
|
|








|
|
|
|
|








|
|
|
|
|
|
|
|
|
|
|


|





|
|
|
|


|
|




|
|
|
|

|
|
|
|
|
|
|
|


|




|
|






|
|
|
|


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



|
|
|




|
|
|
|
|
|
|




|
|
|
|












|


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




|
|



|
|

|
|
|



|
|
|
|
|
|

|
|
>







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
#define OP_QN 32815
#define OP_QC 32816
#define OP_QCZ 32817
#define OP_QM 32818
#define OP_QS 32819
#define OP_QO 32820
#define OP_QOZ 32821
#define OP_QA 32822
#define OP_CLASS 32823
#define OP_CLASS_C 34871
#define OP_TEMPERATURE 32824
#define OP_TEMPERATURE_C 34872
#define OP_TEMPERATURE_E 36920
#define OP_TEMPERATURE_EC 38968
#define OP_TEMPERATURE_EC16 38969
#define OP_TEMPERATURE_E16 36921
#define OP_SHAPE 32826
#define OP_SHAPE_C 34874
#define OP_SHAPE_E 36922
#define OP_SHAPE_EC 38970
#define OP_XLOC 32827
#define OP_XLOC_C 34875
#define OP_YLOC 32828
#define OP_YLOC_C 34876
#define OP_DIR 32829
#define OP_DIR_C 34877
#define OP_DIR_E 36925
#define OP_DIR_EC 38973
#define OP_IMAGE 32830
#define OP_IMAGE_C 34878
#define OP_IMAGE_E 36926
#define OP_IMAGE_EC 38974
#define OP_INERTIA 32831
#define OP_INERTIA_C 34879
#define OP_INERTIA_E 36927
#define OP_INERTIA_EC 38975
#define OP_INERTIA_EC16 38976
#define OP_INERTIA_E16 36928
#define OP_DISTANCE 32833
#define OP_DISTANCE_C 34881
#define OP_DISTANCE_E 36929
#define OP_DISTANCE_EC 38977
#define OP_DISTANCE_EC16 38978
#define OP_DISTANCE_E16 36930
#define OP_DENSITY 32835
#define OP_DENSITY_C 34883
#define OP_DENSITY_E 36931
#define OP_DENSITY_EC 38979
#define OP_DENSITY_EC16 38980
#define OP_DENSITY_E16 36932
#define OP_VOLUME 32837
#define OP_VOLUME_C 34885
#define OP_VOLUME_E 36933
#define OP_VOLUME_EC 38981
#define OP_VOLUME_EC16 38982
#define OP_VOLUME_E16 36934
#define OP_WEIGHT 32839
#define OP_WEIGHT_C 34887
#define OP_WEIGHT_E 36935
#define OP_WEIGHT_EC 38983
#define OP_WEIGHT_EC16 38984
#define OP_WEIGHT_E16 36936
#define OP_HEIGHT 32841
#define OP_HEIGHT_C 34889
#define OP_HEIGHT_E 36937
#define OP_HEIGHT_EC 38985
#define OP_HEIGHT_EC16 38986
#define OP_HEIGHT_E16 36938
#define OP_CLIMB 32843
#define OP_CLIMB_C 34891
#define OP_CLIMB_E 36939
#define OP_CLIMB_EC 38987
#define OP_CLIMB_EC16 38988
#define OP_CLIMB_E16 36940
#define OP_STRENGTH 32845
#define OP_STRENGTH_C 34893
#define OP_STRENGTH_E 36941
#define OP_STRENGTH_EC 38989
#define OP_STRENGTH_EC16 38990
#define OP_STRENGTH_E16 36942
#define OP_HARD 32847
#define OP_HARD_C 34895
#define OP_HARD_E 36943
#define OP_HARD_EC 38991
#define OP_SHARP 32848
#define OP_SHARP_C 34896
#define OP_SHARP_E 36944
#define OP_SHARP_EC 38992
#define OP_SHAPEDIR 32849
#define OP_SHAPEDIR_C 34897
#define OP_SHAPEDIR_E 36945
#define OP_SHAPEDIR_EC 38993
#define OP_SHOVABLE 32850
#define OP_SHOVABLE_C 34898
#define OP_SHOVABLE_E 36946
#define OP_SHOVABLE_EC 38994
#define OP_MISC1 32851
#define OP_MISC1_C 34899
#define OP_MISC1_E 36947
#define OP_MISC1_EC 38995
#define OP_MISC1_EC16 38996
#define OP_MISC1_E16 36948
#define OP_MISC2 32853
#define OP_MISC2_C 34901
#define OP_MISC2_E 36949
#define OP_MISC2_EC 38997
#define OP_MISC2_EC16 38998
#define OP_MISC2_E16 36950
#define OP_MISC3 32855
#define OP_MISC3_C 34903
#define OP_MISC3_E 36951
#define OP_MISC3_EC 38999
#define OP_MISC3_EC16 39000
#define OP_MISC3_E16 36952
#define OP_MISC4 32857
#define OP_MISC4_C 34905
#define OP_MISC4_E 36953
#define OP_MISC4_EC 39001
#define OP_MISC4_EC16 39002
#define OP_MISC4_E16 36954
#define OP_MISC5 32859
#define OP_MISC5_C 34907
#define OP_MISC5_E 36955
#define OP_MISC5_EC 39003
#define OP_MISC5_EC16 39004
#define OP_MISC5_E16 36956
#define OP_MISC6 32861
#define OP_MISC6_C 34909
#define OP_MISC6_E 36957
#define OP_MISC6_EC 39005
#define OP_MISC6_EC16 39006
#define OP_MISC6_E16 36958
#define OP_MISC7 32863
#define OP_MISC7_C 34911
#define OP_MISC7_E 36959
#define OP_MISC7_EC 39007
#define OP_MISC7_EC16 39008
#define OP_MISC7_E16 36960
#define OP_ARRIVED 32865
#define OP_ARRIVED_C 34913
#define OP_ARRIVED_E 36961
#define OP_ARRIVED_EC 39009
#define OP_DEPARTED 32866
#define OP_DEPARTED_C 34914
#define OP_DEPARTED_E 36962
#define OP_DEPARTED_EC 39010
#define OP_ARRIVALS 32867
#define OP_ARRIVALS_C 34915
#define OP_ARRIVALS_E 36963
#define OP_ARRIVALS_EC 39011
#define OP_DEPARTURES 32868
#define OP_DEPARTURES_C 34916
#define OP_DEPARTURES_E 36964
#define OP_DEPARTURES_EC 39012
#define OP_BUSY 32869
#define OP_BUSY_C 34917
#define OP_BUSY_E 36965
#define OP_BUSY_EC 39013
#define OP_INVISIBLE 32870
#define OP_INVISIBLE_C 34918
#define OP_INVISIBLE_E 36966
#define OP_INVISIBLE_EC 39014
#define OP_KEYCLEARED 32871
#define OP_KEYCLEARED_C 34919
#define OP_KEYCLEARED_E 36967
#define OP_KEYCLEARED_EC 39015
#define OP_USERSIGNAL 32872
#define OP_USERSIGNAL_C 34920
#define OP_USERSIGNAL_E 36968
#define OP_USERSIGNAL_EC 39016
#define OP_USERSTATE 32873
#define OP_USERSTATE_C 34921
#define OP_USERSTATE_E 36969
#define OP_USERSTATE_EC 39017
#define OP_VISUALONLY 32874
#define OP_VISUALONLY_C 34922
#define OP_VISUALONLY_E 36970
#define OP_VISUALONLY_EC 39018
#define OP_STEALTHY 32875
#define OP_STEALTHY_C 34923
#define OP_STEALTHY_E 36971
#define OP_STEALTHY_EC 39019
#define OP_MOVED 32876
#define OP_MOVED_C 34924
#define OP_MOVED_E 36972
#define OP_MOVED_EC 39020
#define OP_DONE 32877
#define OP_DONE_C 34925
#define OP_DONE_E 36973
#define OP_DONE_EC 39021
#define OP_DESTROYED 32878
#define OP_DESTROYED_C 34926
#define OP_PLAYER 32879
#define OP_PLAYER_C 34927
#define OP_COMPATIBLE 32880
#define OP_COMPATIBLE_C 34928
#define OP_COLLISIONLAYERS 32881
#define OP_COLLISIONLAYERS_C 34929
#define OP_SELF 32882
#define OP_MSG 32883
#define OP_FROM 32884
#define OP_ARG1 32885
#define OP_ARG1_E 36981
#define OP_ARG2 32886
#define OP_ARG2_E 36982
#define OP_ARG3 32887
#define OP_ARG3_E 36983
#define OP_MOVENUMBER 32888
#define OP_LEVEL 32889
#define OP_KEY 32890
#define OP_FINISHED 32891
#define OP_FINISHED_E 36987
#define OP_BACKGROUND 32892
#define OP_INPUT 32893
#define OP_QUIZ 32894
#define OP_INPLACE 32895
#define OP_DEFAULTIMAGE 32896
#define OP_HELP 32897
#define OP_EDITORHELP 32898
#define OP_SUBS 32899
#define OP_ANIMATE 32900
#define OP_ASSASSINATE 32901
#define OP_ASSASSINATE_C 34949
#define OP_BROADCAST 32902
#define OP_BROADCAST_D 41094
#define OP_BROADCASTCLASS 32903
#define OP_BROADCASTEX 32904
#define OP_BROADCASTEX_D 41096
#define OP_BROADCASTSUM 32905
#define OP_BROADCASTSUMEX 32906
#define OP_CHAIN 32907
#define OP_CREATE 32908
#define OP_CREATE_D 41100
#define OP_DELINVENTORY 32909
#define OP_DELTA 32910
#define OP_DESTROY 32911
#define OP_DESTROY_C 34959
#define OP_DESTROY_D 41103
#define OP_DESTROY_CD 43151
#define OP_FLUSHCLASS 32912
#define OP_FLUSHOBJ 32913
#define OP_FLUSHOBJ_C 34961
#define OP_GETINVENTORY 32914
#define OP_HEIGHTAT 32915
#define OP_IGNOREKEY 32916
#define OP_INTMOVE 32917
#define OP_INTMOVE_C 34965
#define OP_INTMOVE_D 41109
#define OP_INTMOVE_CD 43157
#define OP_JUMPTO 32918
#define OP_JUMPTO_C 34966
#define OP_JUMPTO_D 41110
#define OP_JUMPTO_CD 43158
#define OP_LOC 32919
#define OP_LOC_C 34967
#define OP_LOCATEME 32920
#define OP_LOSELEVEL 32921
#define OP_MAXINVENTORY 32922
#define OP_MOVE 32923
#define OP_MOVE_C 34971
#define OP_MOVE_D 41115
#define OP_MOVE_CD 43163
#define OP_MOVEPLUS 32924
#define OP_MOVEPLUS_C 34972
#define OP_MOVEPLUS_D 41116
#define OP_MOVEPLUS_CD 43164
#define OP_MOVETO 32925
#define OP_MOVETO_C 34973
#define OP_MOVETO_D 41117
#define OP_MOVETO_CD 43165
#define OP_NEWX 32926
#define OP_NEWXY 32927
#define OP_NEWY 32928
#define OP_OBJABOVE 32929
#define OP_OBJABOVE_C 34977
#define OP_OBJBELOW 32930
#define OP_OBJBELOW_C 34978
#define OP_OBJBOTTOMAT 32931
#define OP_OBJCLASSAT 32932
#define OP_OBJDIR 32933
#define OP_OBJDIR_C 34981
#define OP_OBJLAYERAT 32934
#define OP_OBJTOPAT 32935
#define OP_POPUP 32936
#define OP_POPUPARGS 32937
#define OP_QUEUETURN 32938
#define OP_SEND 32939
#define OP_SEND_C 34987
#define OP_SEND_D 41131
#define OP_SEND_CD 43179
#define OP_SENDEX 32940
#define OP_SENDEX_C 34988
#define OP_SENDEX_D 41132
#define OP_SENDEX_CD 43180
#define OP_SETINVENTORY 32941
#define OP_SOUND 32942
#define OP_SYNCHRONIZE 32943
#define OP_TRACE 32944
#define OP_VOLUMEAT 32945
#define OP_WINLEVEL 32946
#define OP_XDIR 32947
#define OP_XDIR_C 34995
#define OP_XYDIR 32948
#define OP_YDIR 32949
#define OP_YDIR_C 34997
#define OP_MARK 32950
#define OP_TMARK 32951
#define OP_IN 32952
#define OP_NIN 32953
#define OP_MBEGIN 32954
#define OP_ARRAY 32955
#define OP_GETARRAY 32956
#define OP_INITARRAY 32957
#define OP_SETARRAY 32958
#define OP_ARRAYCELL 32959
#define OP_FUNCTION 32960
#define OP_LOCAL 32961
#define OP_LABEL 32962
#define OP_STRING 32963
#define OP_INT16 32964
#define OP_INT32 32965
#define OP_DISPATCH 32966
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486937},
{"+",8421399},
{"-",8421400},
{"-rot",8421382},
{".",10518528},
{"/",8486938},
{"ANHH",8389394},
{"ARRIVED",8389124},
{"Animate",8421508},
{"Arg1",8552565},
{"Arg2",8552566},
{"Arg3",8552567},
{"Array",8683707},
{"ArrayCell",8421567},
{"Arrivals",8618083},
{"Arrived",8618081},
{"Assassinate",8487045},
{"B",9437196},
{"BANG",8389380},
{"BEDOINGNG",8389406},
{"BEEDEEP",8389404},
{"BEGIN_TURN",8389123},
{"BIZARRO_SWAP",8389143},
{"BOOOM",8389410},
{"BOUNCE",8389415},
{"BRRREEET",8389396},
{"BRRRT",8389395},
{"BUZZER",8389420},
{"BWEEP",8389397},
{"Background",8683644},
{"Broadcast",10518662},
{"BroadcastEx",10518664},
{"BroadcastSum",8421513},
{"BroadcastSumEx",8421514},
{"Busy",8618085},
{"CHEEP",8389393},
{"CHYEW",8389392},
{"CLEANUP",8389140},
{"CLICK",8389388},
{"COLLIDE",8389142},
{"COLLIDEBY",8389141},
{"CREATE",8389121},
{"CREATED",8389137},
{"Class",8486967},
{"Climb",9142347},
{"CollisionLayers",8487025},
{"Compatible",8487024},
{"Create",10518668},
{"DEEP_POP",8389417},
{"DEPARTED",8389125},
{"DESTROY",8389122},
{"DESTROYED",8389136},
{"DINK",8389390},
{"DOOR",8389378},
{"DRLRLRINK",8389398},
{"DYUPE",8389413},
{"DefaultImage",8683648},
{"DelInventory",8421517},
{"Delta",8421518},
{"Density",9142339},
{"Departed",8618082},
{"Departures",8618084},
{"Destroy",10584207},
{"Destroyed",8487022},
{"Dir",8618045},
{"Distance",9142337},
{"Done",8618093},
{"E",9437184},
{"END_TURN",8389139},
{"EditorHelp",8683650},
{"F",9437192},
{"FAROUT",8389421},
{"FFFFTT",8389399},
{"FLOATED",8389132},
{"FROG",8389383},
{"Finished",8552571},
{"FlushClass",8421520},
{"FlushObj",8487057},
{"From",8421492},
{"GLASS",8389379},
{"GLISSANT",8389419},
{"GetArray",8421564},
{"GetInventory",8421522},
{"HAWK",8389425},
{"HEARTBEAT",8389407},
{"HIT",8389134},
{"HITBY",8389135},
{"Hard",8618063},
{"Height",9142345},
{"HeightAt",8421523},
{"Help",8683649},
{"INIT",8389120},
{"IgnoreKey",8421524},
{"Image",8618046},
{"InPlace",8683647},
{"Inertia",9142335},
{"InitArray",8421565},
{"Input",8683645},
{"IntMove",10584213},
{"Invisible",8618086},
{"JAYAYAYNG",8389416},
{"JUMPED",8389128},
{"JumpTo",10584214},
{"KEWEL",8389422},
{"KEY",8389129},
{"KLECK",8389387},
{"KLINKK",8389385},
{"Key",8421498},
{"KeyCleared",8618087},
{"L",9437194},
{"LASTIMAGE",8389126},
{"LB",9437195},
{"LF",9437193},
{"LOCK",8389408},
{"LOOP",8388610},
{"Level",8421497},
{"Loc",8487063},
{"LocateMe",8421528},
{"LoseLevel",8421529},
{"MOVED",8389127},
{"MOVING",8389130},
{"MaxInventory",8421530},
{"Misc1",9142355},
{"Misc2",9142357},
{"Misc3",9142359},
{"Misc4",9142361},
{"Misc5",9142363},
{"Misc6",9142365},
{"Misc7",9142367},
{"Move",10584219},
{"Move+",10584220},
{"MoveNumber",8421496},
{"MoveTo",10584221},
{"Moved",8618092},
{"Msg",8421491},
{"N",9437186},
{"NE",9437185},
{"NW",9437187},
{"NewX",8421534},
{"NewXY",8421535},
{"NewY",8421536},
{"OLDPHONE",8389402},
{"ONCE",8388609},
{"OSC",8388616},
{"OSCLOOP",8388618},
{"ObjAbove",8487073},
{"ObjBelow",8487074},
{"ObjBottomAt",8421539},
{"ObjClassAt",8421540},
{"ObjDir",8487077},
{"ObjLayerAt",8421542},
{"ObjTopAt",8421543},
{"PLAYERMOVING",8389133},
{"POSTINIT",8389138},
{"POUR",8389377},
{"POWER",8389386},
{"Player",8487023},
{"PopUp",8421544},
{"QueueTurn",8421546},
{"Quiz",8683646},
{"R",9437198},
{"RATCHET1",8389418},
{"RATCHET2",8389412},
{"RATTLE",8389403},
{"RB",9437197},
{"RF",9437199},
{"S",9437190},
{"SE",9437191},
{"SMALL_POP",8389389},
{"SPLASH",8389376},
{"STEAM",8389424},
{"STOP",8388608},
{"SUBS",8683651},
{"SUNK",8389131},
{"SW",9437189},
{"Self",8421490},
{"Send",10584235},
{"SendEx",10584236},
{"SetArray",8421566},
{"SetInventory",8421549},
{"Shape",8618042},
{"ShapeDir",8618065},
{"Sharp",8618064},
{"Shovable",8618066},
{"Sound",8421550},
{"Stealthy",8618091},
{"Strength",9142349},
{"Synchronize",8421551},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"Temperature",9142328},
{"Trace",8421552},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618088},
{"UserState",8618089},
{"VACUUM",8389411},
{"VisualOnly",8618090},
{"Volume",9142341},
{"VolumeAt",8421553},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142343},
{"WinLevel",8421554},
{"XDir",8487091},
{"XYDir",8421556},
{"Xloc",8486971},
{"YDir",8487093},
{"YEEHAW",8389401},
{"Yloc",8486972},
{"_",8421558},
{"a?",8421430},
{"again",8683534},
{"band",8421407},
{"begin",8683533},
{"bit",8683555},
{"bit0",8388609},
{"bit1",8388610},
{"bit10",8423402},
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
{"bit7",8388736},
{"bit8",8423400},
{"bit9",8423401},
{"bnot",8421410},
{"bor",8421408},
{"bxor",8421409},
{"c?",8421424},
{"chain",8421514},
{"cz?",8421425},
{"dup",8421377},
{"el",8683532},
{"else",8683530},
{"eq",8421416},
{"for",8683538},
{"ge",8486956},
{"gt",8486954},
{"if",8683529},
{"in",8421559},
{"is",8421422},
{"land",8421412},
{"le",8486957},
{"lnot",8421415},
{"lor",8421413},
{"lsh",8421405},
{"lt",8486955},
{"lxor",8421414},
{"m?",8421426},
{"mbegin",8683705},
{"mod",8486939},
{"n?",8421423},
{"ne",8421417},
{"neg",8421404},
{"next",8683539},
{"nin",8421560},
{"nip",8421379},
{"o?",8421428},
{"over",8421384},
{"oz?",8421429},
{"pick",8421383},
{"repeat",8683537},
{"ret",8421398},
{"rot",8421381},
{"rsh",8486942},
{"s?",8421427},
{"swap",8421378},
{"then",8683531},
{"tmark",8421558},
{"tuck",8421380},
{"until",8683535},
{"while",8683536},
};
#define N_OP_NAMES 297
#endif







|









|









|





|












|




|

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
689
{"bit7",8388736},
{"bit8",8423400},
{"bit9",8423401},
{"bnot",8421410},
{"bor",8421408},
{"bxor",8421409},
{"c?",8421424},
{"chain",8421515},
{"cz?",8421425},
{"dup",8421377},
{"el",8683532},
{"else",8683530},
{"eq",8421416},
{"for",8683538},
{"ge",8486956},
{"gt",8486954},
{"if",8683529},
{"in",8421560},
{"is",8421422},
{"land",8421412},
{"le",8486957},
{"lnot",8421415},
{"lor",8421413},
{"lsh",8421405},
{"lt",8486955},
{"lxor",8421414},
{"m?",8421426},
{"mbegin",8683706},
{"mod",8486939},
{"n?",8421423},
{"ne",8421417},
{"neg",8421404},
{"next",8683539},
{"nin",8421561},
{"nip",8421379},
{"o?",8421428},
{"over",8421384},
{"oz?",8421429},
{"pick",8421383},
{"repeat",8683537},
{"ret",8421398},
{"rot",8421381},
{"rsh",8486942},
{"s?",8421427},
{"swap",8421378},
{"then",8683531},
{"tmark",8421559},
{"tuck",8421380},
{"until",8683535},
{"while",8683536},
};
#define N_OP_NAMES 299
#endif