Free Hero Mesh

instruc.h at [49e106bc44]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

File instruc.h artifact 4594caa8a8 part of check-in 49e106bc44


#define OP_BITCONSTANT 34792
#define OP_BITCONSTANT_LAST 34815
#define OP_STOP 0
#define OP_ONCE 1
#define OP_LOOP 2
#define OP_OSC 8
#define OP_OSCLOOP 10
#define OP_DROP 32768
#define OP_DROP_D 40960
#define OP_DUP 32769
#define OP_SWAP 32770
#define OP_NIP 32771
#define OP_TUCK 32772
#define OP_ROT 32773
#define OP_ROTBACK 32774
#define OP_PICK 32775
#define OP_OVER 32776
#define OP_IF 32777
#define OP_ELSE 32778
#define OP_THEN 32779
#define OP_EL 32780
#define OP_BEGIN 32781
#define OP_AGAIN 32782
#define OP_UNTIL 32783
#define OP_WHILE 32784
#define OP_REPEAT 32785
#define OP_FOR 32786
#define OP_NEXT 32787
#define OP_GOTO 32788
#define OP_CALLSUB 32789
#define OP_RET 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_LSH 32797
#define OP_RSH 32798
#define OP_RSH_C 34846
#define OP_BAND 32799
#define OP_BOR 32800
#define OP_BXOR 32801
#define OP_BNOT 32802
#define OP_BIT 32803
#define OP_LAND 32804
#define OP_LOR 32805
#define OP_LXOR 32806
#define OP_LNOT 32807
#define OP_EQ 32808
#define OP_NE 32809
#define OP_GT 32810
#define OP_GT_C 34858
#define OP_LT 32811
#define OP_LT_C 34859
#define OP_GE 32812
#define OP_GE_C 34860
#define OP_LE 32813
#define OP_LE_C 34861
#define OP_IS 32814
#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_ANIMATEDEAD 32901
#define OP_ASSASSINATE 32902
#define OP_ASSASSINATE_C 34950
#define OP_BROADCAST 32903
#define OP_BROADCAST_D 41095
#define OP_BROADCASTCLASS 32904
#define OP_BROADCASTEX 32905
#define OP_BROADCASTEX_D 41097
#define OP_BROADCASTSUM 32906
#define OP_BROADCASTSUMEX 32907
#define OP_CHAIN 32908
#define OP_CREATE 32909
#define OP_CREATE_D 41101
#define OP_DELINVENTORY 32910
#define OP_DELTA 32911
#define OP_DESTROY 32912
#define OP_DESTROY_C 34960
#define OP_DESTROY_D 41104
#define OP_DESTROY_CD 43152
#define OP_FLUSHCLASS 32913
#define OP_FLUSHOBJ 32914
#define OP_FLUSHOBJ_C 34962
#define OP_GETINVENTORY 32915
#define OP_HEIGHTAT 32916
#define OP_IGNOREKEY 32917
#define OP_INTMOVE 32918
#define OP_INTMOVE_C 34966
#define OP_INTMOVE_D 41110
#define OP_INTMOVE_CD 43158
#define OP_JUMPTO 32919
#define OP_JUMPTO_C 34967
#define OP_JUMPTO_D 41111
#define OP_JUMPTO_CD 43159
#define OP_LOC 32920
#define OP_LOC_C 34968
#define OP_LOCATEME 32921
#define OP_LOSELEVEL 32922
#define OP_MAXINVENTORY 32923
#define OP_MOVE 32924
#define OP_MOVE_C 34972
#define OP_MOVE_D 41116
#define OP_MOVE_CD 43164
#define OP_MOVEPLUS 32925
#define OP_MOVEPLUS_C 34973
#define OP_MOVEPLUS_D 41117
#define OP_MOVEPLUS_CD 43165
#define OP_MOVETO 32926
#define OP_MOVETO_C 34974
#define OP_MOVETO_D 41118
#define OP_MOVETO_CD 43166
#define OP_NEWX 32927
#define OP_NEWXY 32928
#define OP_NEWY 32929
#define OP_OBJABOVE 32930
#define OP_OBJABOVE_C 34978
#define OP_OBJBELOW 32931
#define OP_OBJBELOW_C 34979
#define OP_OBJBOTTOMAT 32932
#define OP_OBJCLASSAT 32933
#define OP_OBJDIR 32934
#define OP_OBJDIR_C 34982
#define OP_OBJLAYERAT 32935
#define OP_OBJTOPAT 32936
#define OP_POPUP 32937
#define OP_POPUPARGS 32938
#define OP_QUEUETURN 32939
#define OP_SEND 32940
#define OP_SEND_C 34988
#define OP_SEND_D 41132
#define OP_SEND_CD 43180
#define OP_SENDEX 32941
#define OP_SENDEX_C 34989
#define OP_SENDEX_D 41133
#define OP_SENDEX_CD 43181
#define OP_SETINVENTORY 32942
#define OP_SOUND 32943
#define OP_SYNCHRONIZE 32944
#define OP_TRACE 32945
#define OP_VOLUMEAT 32946
#define OP_WINLEVEL 32947
#define OP_XDIR 32948
#define OP_XDIR_C 34996
#define OP_XYDIR 32949
#define OP_YDIR 32950
#define OP_YDIR_C 34998
#define OP_MARK 32951
#define OP_TMARK 32952
#define OP_IN 32953
#define OP_NIN 32954
#define OP_MBEGIN 32955
#define OP_ARRAY 32956
#define OP_GETARRAY 32957
#define OP_INITARRAY 32958
#define OP_SETARRAY 32959
#define OP_ARRAYCELL 32960
#define OP_FUNCTION 32961
#define OP_LOCAL 32962
#define OP_LABEL 32963
#define OP_STRING 32964
#define OP_INT16 32965
#define OP_INT32 32966
#define OP_DISPATCH 32967
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486937},
{"+",8421399},
{"-",8421400},
{"-rot",8421382},
{".",10518528},
{"/",8486938},
{"ANHH",8389394},
{"ARRIVED",8389124},
{"Animate",8421508},
{"AnimateDead",8421509},
{"Arg1",8552565},
{"Arg2",8552566},
{"Arg3",8552567},
{"Array",8683708},
{"ArrayCell",8421568},
{"Arrivals",8618083},
{"Arrived",8618081},
{"Assassinate",8487046},
{"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",10518663},
{"BroadcastEx",10518665},
{"BroadcastSum",8421514},
{"BroadcastSumEx",8421515},
{"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",10518669},
{"DEEP_POP",8389417},
{"DEPARTED",8389125},
{"DESTROY",8389122},
{"DESTROYED",8389136},
{"DINK",8389390},
{"DOOR",8389378},
{"DRLRLRINK",8389398},
{"DYUPE",8389413},
{"DefaultImage",8683648},
{"DelInventory",8421518},
{"Delta",8421519},
{"Density",9142339},
{"Departed",8618082},
{"Departures",8618084},
{"Destroy",10584208},
{"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",8421521},
{"FlushObj",8487058},
{"From",8421492},
{"GLASS",8389379},
{"GLISSANT",8389419},
{"GetArray",8421565},
{"GetInventory",8421523},
{"HAWK",8389425},
{"HEARTBEAT",8389407},
{"HIT",8389134},
{"HITBY",8389135},
{"Hard",8618063},
{"Height",9142345},
{"HeightAt",8421524},
{"Help",8683649},
{"INIT",8389120},
{"IgnoreKey",8421525},
{"Image",8618046},
{"InPlace",8683647},
{"Inertia",9142335},
{"InitArray",8421566},
{"Input",8683645},
{"IntMove",10584214},
{"Invisible",8618086},
{"JAYAYAYNG",8389416},
{"JUMPED",8389128},
{"JumpTo",10584215},
{"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",8487064},
{"LocateMe",8421529},
{"LoseLevel",8421530},
{"MOVED",8389127},
{"MOVING",8389130},
{"MaxInventory",8421531},
{"Misc1",9142355},
{"Misc2",9142357},
{"Misc3",9142359},
{"Misc4",9142361},
{"Misc5",9142363},
{"Misc6",9142365},
{"Misc7",9142367},
{"Move",10584220},
{"Move+",10584221},
{"MoveNumber",8421496},
{"MoveTo",10584222},
{"Moved",8618092},
{"Msg",8421491},
{"N",9437186},
{"NE",9437185},
{"NW",9437187},
{"NewX",8421535},
{"NewXY",8421536},
{"NewY",8421537},
{"OLDPHONE",8389402},
{"ONCE",8388609},
{"OSC",8388616},
{"OSCLOOP",8388618},
{"ObjAbove",8487074},
{"ObjBelow",8487075},
{"ObjBottomAt",8421540},
{"ObjClassAt",8421541},
{"ObjDir",8487078},
{"ObjLayerAt",8421543},
{"ObjTopAt",8421544},
{"PLAYERMOVING",8389133},
{"POSTINIT",8389138},
{"POUR",8389377},
{"POWER",8389386},
{"Player",8487023},
{"PopUp",8421545},
{"QueueTurn",8421547},
{"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",10584236},
{"SendEx",10584237},
{"SetArray",8421567},
{"SetInventory",8421550},
{"Shape",8618042},
{"ShapeDir",8618065},
{"Sharp",8618064},
{"Shovable",8618066},
{"Sound",8421551},
{"Stealthy",8618091},
{"Strength",9142349},
{"Synchronize",8421552},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"Temperature",9142328},
{"Trace",8421553},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618088},
{"UserState",8618089},
{"VACUUM",8389411},
{"VisualOnly",8618090},
{"Volume",9142341},
{"VolumeAt",8421554},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142343},
{"WinLevel",8421555},
{"XDir",8487092},
{"XYDir",8421557},
{"Xloc",8486971},
{"YDir",8487094},
{"YEEHAW",8389401},
{"Yloc",8486972},
{"_",8421559},
{"a?",8421430},
{"again",8683534},
{"band",8421407},
{"begin",8683533},
{"bit",8683555},
{"bit0",8388609},
{"bit1",8388610},
{"bit10",8423402},
{"bit11",8423403},
{"bit12",8423404},
{"bit13",8423405},
{"bit14",8423406},
{"bit15",8423407},
{"bit16",8423408},
{"bit17",8423409},
{"bit18",8423410},
{"bit19",8423411},
{"bit2",8388612},
{"bit20",8423412},
{"bit21",8423413},
{"bit22",8423414},
{"bit23",8423415},
{"bit24",8423416},
{"bit25",8423417},
{"bit26",8423418},
{"bit27",8423419},
{"bit28",8423420},
{"bit29",8423421},
{"bit3",8388616},
{"bit30",8423422},
{"bit31",8423423},
{"bit4",8388624},
{"bit5",8388640},
{"bit6",8388672},
{"bit7",8388736},
{"bit8",8423400},
{"bit9",8423401},
{"bnot",8421410},
{"bor",8421408},
{"bxor",8421409},
{"c?",8421424},
{"chain",8421516},
{"cz?",8421425},
{"dup",8421377},
{"el",8683532},
{"else",8683530},
{"eq",8421416},
{"for",8683538},
{"ge",8486956},
{"gt",8486954},
{"if",8683529},
{"in",8421561},
{"is",8421422},
{"land",8421412},
{"le",8486957},
{"lnot",8421415},
{"lor",8421413},
{"lsh",8421405},
{"lt",8486955},
{"lxor",8421414},
{"m?",8421426},
{"mbegin",8683707},
{"mod",8486939},
{"n?",8421423},
{"ne",8421417},
{"neg",8421404},
{"next",8683539},
{"nin",8421562},
{"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",8421560},
{"tuck",8421380},
{"until",8683535},
{"while",8683536},
};
#define N_OP_NAMES 300
#endif