Overview
Comment: | Implement user flags (a way to give a name to bits of Misc4-Misc7 and CollisionLayers) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
386d28a9fbd06c05647ac4c71117e8b5 |
User & Date: | user on 2021-03-25 06:31:29 |
Other Links: | manifest | tags |
Context
2021-03-26
| ||
03:55 | Implement the Chebyshev, Manhattan, Rel, and Seek instructions. check-in: 7db27bc31e user: user tags: trunk | |
2021-03-25
| ||
06:31 | Implement user flags (a way to give a name to bits of Misc4-Misc7 and CollisionLayers) check-in: 386d28a9fb user: user tags: trunk | |
2021-03-24
| ||
22:17 | Implement warping in move_dir check-in: 20c6a757c5 user: user tags: trunk | |
Changes
Modified class.c from [e332480536] to [8c2ce69ad5].
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | typedef struct { Uint16 id; char*txt; } Hash; /* Global hash: 2800-2FFF = Variables 8000-BFFF = Functions C000-FFFF = Macros Local hash: 2000-27FF = Variables 8000-FFFF = Labels */ | > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | typedef struct { Uint16 id; char*txt; } Hash; /* Global hash: 1000-10FF = User flags 2800-2FFF = Variables 8000-BFFF = Functions C000-FFFF = Macros Local hash: 2000-27FF = Variables 8000-FFFF = Labels */ |
︙ | ︙ | |||
112 113 114 115 116 117 118 | static TokenList**macros; static LabelStack*labelstack; static Uint16*labelptr; #define ParseError(a,...) fatal("On line %d: " a,linenum,##__VA_ARGS__) static const unsigned char chkind[256]={ | | | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | static TokenList**macros; static LabelStack*labelstack; static Uint16*labelptr; #define ParseError(a,...) fatal("On line %d: " a,linenum,##__VA_ARGS__) static const unsigned char chkind[256]={ ['$']=1, ['!']=1, ['\'']=1, ['#']=1, ['@']=1, ['%']=1, ['&']=1, [':']=1, ['^']=1, ['0'...'9']=2, ['-']=2, ['+']=2, ['A'...'Z']=3, ['a'...'z']=3, ['_']=3, ['?']=3, ['.']=3, ['*']=3, ['/']=3, }; #define MIN_VERSION 0 #define MAX_VERSION 0 |
︙ | ︙ | |||
550 551 552 553 554 555 556 557 558 559 560 561 562 563 | if(heromesh_key_names[i] && !strcmp(heromesh_key_names[i],tokenstr)) { tokenv=i; return; } } ParseError("Invalid Hero Mesh key name: %s\n",tokenstr); break; } } static void define_macro(Uint16 name,Uint8 q) { int i; TokenList**t; if(main_options['M']) printf("M< %04X %04X \"%s\" %d\n",name,glohash[name].id,glohash[name].txt,q); | > > > > | 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 | if(heromesh_key_names[i] && !strcmp(heromesh_key_names[i],tokenstr)) { tokenv=i; return; } } ParseError("Invalid Hero Mesh key name: %s\n",tokenstr); break; case '^': tokent=TF_NAME|TF_ABNORMAL|fl; tokenv=OP_USERFLAG; break; } } static void define_macro(Uint16 name,Uint8 q) { int i; TokenList**t; if(main_options['M']) printf("M< %04X %04X \"%s\" %d\n",name,glohash[name].id,glohash[name].txt,q); |
︙ | ︙ | |||
924 925 926 927 928 929 930 931 932 933 934 935 936 937 | y=tokenv; if(x<1 || x>64 || y<1 || y>1024) ParseError("Array dimension out of range\n"); z=array_size; if(z+x*y>0xFFFE) ParseError("Out of array memory\n"); array_size+=x*y; return z|((y-1)<<16)|((x-1)<<26); } static void begin_label_stack(void) { labelstack=0; labelptr=malloc(0x8000*sizeof(Uint16)); if(!labelptr) fatal("Allocation failed\n"); memset(labelptr,255,0x8000*sizeof(Uint16)); *labelptr=0x8001; | > > > > > > > > > > | 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 | y=tokenv; if(x<1 || x>64 || y<1 || y>1024) ParseError("Array dimension out of range\n"); z=array_size; if(z+x*y>0xFFFE) ParseError("Out of array memory\n"); array_size+=x*y; return z|((y-1)<<16)|((x-1)<<26); } static void define_user_flags(Uint16 ca,Uint16 cb) { for(;;) { nxttok(); if(tokent==TF_CLOSE) break; if(!Tokenf(TF_NAME) || tokenv!=OP_USERFLAG) ParseError("User flag or close parenthesis expected\n"); if(ca>cb) ParseError("Too many user flags of this kind\n"); if(look_hash(glohash,HASH_SIZE,0x1000,0x10FF,ca++,"user flags")) ParseError("Duplicate definition of ^%s\n",tokenstr); } } static void begin_label_stack(void) { labelstack=0; labelptr=malloc(0x8000*sizeof(Uint16)); if(!labelptr) fatal("Allocation failed\n"); memset(labelptr,255,0x8000*sizeof(Uint16)); *labelptr=0x8001; |
︙ | ︙ | |||
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 | break; case OP_MBEGIN: FlowPush(OP_BEGIN); AddInst(OP_TMARK); AddInst(OP_IF); FlowPush(OP_WHILE); peep=++ptr; break; default: if(Tokenf(TF_ABNORMAL)) ParseError("Invalid instruction token\n"); if(compat && Tokenf(TF_COMPAT) && Tokenf(TF_EQUAL)) ++tokenv; AddInstF(tokenv,tokent); } } else if(Tokenf(TF_FUNCTION)) { | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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 | break; case OP_MBEGIN: FlowPush(OP_BEGIN); AddInst(OP_TMARK); AddInst(OP_IF); FlowPush(OP_WHILE); peep=++ptr; break; case OP_USERFLAG: // Opcodes 0x1F00-0x1F1F read a bit; opcodes 0x1F20-0x1F3F set/clear a bit x=look_hash(glohash,HASH_SIZE,0x1000,0x10FF,0,"user flags"); if(!x) ParseError("User flag ^%s not defined\n",tokenstr); if(x<0x1020) y=OP_MISC4; else if(x<0x1040) y=OP_MISC5; else if(x<0x1060) y=OP_MISC6; else if(x<0x1080) y=OP_MISC7; else y=OP_COLLISIONLAYERS; if(Tokenf(TF_EQUAL)) { if(x>=0x1080) ParseError("Flag ^%s is read-only\n",tokenstr); if(Tokenf(TF_COMMA)) { AddInst(OP_OVER); AddInst(y+0x0800); AddInst(0x1F20|(x&0x1F)); AddInst(y+0x1800); } else { AddInst(y); AddInst(0x1F20|(x&0x1F)); AddInst(y+0x1000); } } else if(Tokenf(TF_COMMA)) { AddInst(y+0x0800); AddInst(0x1F00|(x&0x1F)); } else { AddInst(y); AddInst(0x1F00|(x&0x1F)); } break; default: if(Tokenf(TF_ABNORMAL)) ParseError("Invalid instruction token\n"); if(compat && Tokenf(TF_COMPAT) && Tokenf(TF_EQUAL)) ++tokenv; AddInstF(tokenv,tokent); } } else if(Tokenf(TF_FUNCTION)) { |
︙ | ︙ | |||
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 | if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n"); cl->images[tokenv]|=0x8000; } else { ParseError("Expected ( or ) or number\n"); } } } static void class_definition(int cla,sqlite3_stmt*vst) { Hash*hash=calloc(LOCAL_HASH_SIZE,sizeof(Hash)); Class*cl=classes[cla]; int ptr=0; int compat=0; int i; | > > > > > > > > > > | 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 | if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n"); cl->images[tokenv]|=0x8000; } else { ParseError("Expected ( or ) or number\n"); } } } static void class_user_flag(Class*cl) { int x=look_hash(glohash,HASH_SIZE,0x1000,0x10FF,0,"user flags"); if(!x) ParseError("User flag ^%s not defined\n",tokenstr); if(x<0x1020) cl->misc4|=1L<<(x&0x1F); else if(x<0x1040) cl->misc5|=1L<<(x&0x1F); else if(x<0x1060) cl->misc6|=1L<<(x&0x1F); else if(x<0x1080) cl->misc7|=1L<<(x&0x1F); else cl->collisionLayers|=1<<(x&0x1F); } static void class_definition(int cla,sqlite3_stmt*vst) { Hash*hash=calloc(LOCAL_HASH_SIZE,sizeof(Hash)); Class*cl=classes[cla]; int ptr=0; int compat=0; int i; |
︙ | ︙ | |||
1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 | case OP_COMPATIBLE_C: cl->cflags|=CF_COMPATIBLE; break; case OP_QUIZ: cl->cflags|=CF_QUIZ; break; case OP_INVISIBLE: cl->oflags|=OF_INVISIBLE; break; case OP_VISUALONLY: cl->oflags|=OF_VISUALONLY; break; case OP_STEALTHY: cl->oflags|=OF_STEALTHY; break; case OP_USERSTATE: cl->oflags|=OF_USERSTATE; break; case OP_SHOVABLE: cl->shovable=0x55; break; default: ParseError("Invalid directly inside of a class definition\n"); } } else if(Tokenf(TF_CLOSE)) { break; } else { ParseError("Invalid directly inside of a class definition\n"); } | > | 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 | case OP_COMPATIBLE_C: cl->cflags|=CF_COMPATIBLE; break; case OP_QUIZ: cl->cflags|=CF_QUIZ; break; case OP_INVISIBLE: cl->oflags|=OF_INVISIBLE; break; case OP_VISUALONLY: cl->oflags|=OF_VISUALONLY; break; case OP_STEALTHY: cl->oflags|=OF_STEALTHY; break; case OP_USERSTATE: cl->oflags|=OF_USERSTATE; break; case OP_SHOVABLE: cl->shovable=0x55; break; case OP_USERFLAG: class_user_flag(cl); break; default: ParseError("Invalid directly inside of a class definition\n"); } } else if(Tokenf(TF_CLOSE)) { break; } else { ParseError("Invalid directly inside of a class definition\n"); } |
︙ | ︙ | |||
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 | case OP_VOLUME: nxttok(); if(tokent!=TF_INT) ParseError("Number expected\n"); max_volume=tokenv; nxttok(); if(tokent!=TF_CLOSE) ParseError("Expected close parenthesis\n"); break; default: ParseError("Invalid top level definition: %s\n",tokenstr); } } else { ParseError("Invalid top level definition\n"); } } | > > > > > | 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 | case OP_VOLUME: nxttok(); if(tokent!=TF_INT) ParseError("Number expected\n"); max_volume=tokenv; nxttok(); if(tokent!=TF_CLOSE) ParseError("Expected close parenthesis\n"); break; case OP_MISC4: define_user_flags(0x1000,0x101F); break; case OP_MISC5: define_user_flags(0x1020,0x103F); break; case OP_MISC6: define_user_flags(0x1040,0x105F); break; case OP_MISC7: define_user_flags(0x1060,0x107F); break; case OP_COLLISIONLAYERS: define_user_flags(0x1C80,0x1C87); break; default: ParseError("Invalid top level definition: %s\n",tokenstr); } } else { ParseError("Invalid top level definition\n"); } } |
︙ | ︙ |
Modified class.doc from [80ade94c34] to [4888810f01].
︙ | ︙ | |||
40 41 42 43 44 45 46 47 48 49 50 51 52 53 | @ Global variable ' Key code : Label % Local variable # User message ! User sound & User function Comments are also allowed; these start with a semicolon (outside of a string literal) and end at the next line break. === Escapes === | > | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | @ Global variable ' Key code : Label % Local variable # User message ! User sound & User function ^ User flag Comments are also allowed; these start with a semicolon (outside of a string literal) and end at the next line break. === Escapes === |
︙ | ︙ | |||
200 201 202 203 204 205 206 207 208 209 210 211 212 213 | Set the limit for logical animations, from 1 to 255. The default is 32. (Background <number> [<number>]) Set the background colour, from 0 to 255. The default value is 1. You can optionally specify a second number, which is the background colour for the inventory; if not specified, uses the same colour for both. (Synchronize <slot> <length> <speed>) Define an animation slot for synchronized animation. The slot number can be 0 to 7, the length is the number of images in the sequence, and the speed is the number of centiseconds between frames. (Volume <number>) Define the maximum allowed volume for an object to move diagonally | > > > > > > > > > > > > > > > > > > > > | 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 | Set the limit for logical animations, from 1 to 255. The default is 32. (Background <number> [<number>]) Set the background colour, from 0 to 255. The default value is 1. You can optionally specify a second number, which is the background colour for the inventory; if not specified, uses the same colour for both. (CollisionLayers <userflags...>) Define user flags as CollisionLayers bits; the first defined flag is bit0. Up to 8 flags can be defined in this way. (Misc4 <userflags...>) Define user flags as Misc4 bits; the first defined flag is bit0. Up to 32 flags can be defined in this way. (Misc5 <userflags...>) Define user flags as Misc5 bits; the first defined flag is bit0. Up to 32 flags can be defined in this way. (Misc6 <userflags...>) Define user flags as Misc6 bits; the first defined flag is bit0. Up to 32 flags can be defined in this way. (Misc7 <userflags...>) Define user flags as Misc7 bits; the first defined flag is bit0. Up to 32 flags can be defined in this way. (Synchronize <slot> <length> <speed>) Define an animation slot for synchronized animation. The slot number can be 0 to 7, the length is the number of images in the sequence, and the speed is the number of centiseconds between frames. (Volume <number>) Define the maximum allowed volume for an object to move diagonally |
︙ | ︙ | |||
242 243 244 245 246 247 248 249 250 251 252 253 254 255 | Within a class definition, the following definitions can be used. See also the section about variables; many of these definitions are used to specify the initial value for variables of objects of this class. Outside of code blocks, named constants are not normally interchangeable with the numbers having the same value. Abstract (Not implemented yet.) (Arrivals InPlace) This is an abbreviation for (Arrivals 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0). | > > > > > | 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | Within a class definition, the following definitions can be used. See also the section about variables; many of these definitions are used to specify the initial value for variables of objects of this class. Outside of code blocks, named constants are not normally interchangeable with the numbers having the same value. <userflag> Set a user flag bit in the definition of Misc4, Misc5, Misc6, Misc7, or CollisionLayers of this class. You must previously define this user flag as a global definition. Abstract (Not implemented yet.) (Arrivals InPlace) This is an abbreviation for (Arrivals 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0). |
︙ | ︙ | |||
694 695 696 697 698 699 700 701 702 703 704 705 706 707 | %xyz : any A user-defined variable. This variable cannot be accessed on other objects other than this one. You can give it any name with a percentage sign at first. User variables are initialized to zero, and need not be declared anywhere. Arrivals : int32 Only the low 25-bits are used. Each bit which is set indicates that it cares if other objects arrive around it at that relative location, where bit0 is two paces northeast, bit1 is to the west of that, etc, and then bit4 two paces northwest of this object, and bit5 starts on the next row to the south, etc, and bit12 is this object's location. | > > > > > > | 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 | %xyz : any A user-defined variable. This variable cannot be accessed on other objects other than this one. You can give it any name with a percentage sign at first. User variables are initialized to zero, and need not be declared anywhere. ^xyz : bool [c] A user-defined flag, which is one bit in Misc4, Misc5, Misc6, Misc7, or CollisionLayers. If it is CollisionLayers, then it is read-only; other flags are read/write. User defined flags must be defined first (globally) before they can be used. Arrivals : int32 Only the low 25-bits are used. Each bit which is set indicates that it cares if other objects arrive around it at that relative location, where bit0 is two paces northeast, bit1 is to the west of that, etc, and then bit4 two paces northwest of this object, and bit5 starts on the next row to the south, etc, and bit12 is this object's location. |
︙ | ︙ |
Modified exec.c from [b39123f44e] to [09b8696c39].
︙ | ︙ | |||
1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 | case 0x1900 ... 0x197F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u<=(code[ptr-1]&0x7F)?1:0)); break; // le case 0x1980 ... 0x19FF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u>=(code[ptr-1]&0x7F)?1:0)); break; // ge case 0x1A00 ... 0x1A7F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s<(code[ptr-1]&0x7F)?1:0)); break; // ,lt case 0x1A80 ... 0x1AFF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s>(code[ptr-1]&0x7F)?1:0)); break; // ,gt case 0x1B00 ... 0x1B7F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s<=(code[ptr-1]&0x7F)?1:0)); break; // ,le case 0x1B80 ... 0x1BFF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s>=(code[ptr-1]&0x7F)?1:0)); break; // ,ge case 0x1E00 ... 0x1EFF: StackReq(0,1); Push(NVALUE(code[ptr-1]&0xFF)); return; // ret case 0x2000 ... 0x27FF: StackReq(0,1); Push(o->uservars[code[ptr-1]&0x7FF]); break; case 0x2800 ... 0x28FF: StackReq(0,1); Push(globals[code[ptr-1]&0x7FF]); break; case 0x3000 ... 0x37FF: NoIgnore(); StackReq(1,0); o->uservars[code[ptr-1]&0x7FF]=Pop(); break; case 0x3800 ... 0x38FF: NoIgnore(); StackReq(1,0); globals[code[ptr-1]&0x7FF]=Pop(); break; case 0x4000 ... 0x7FFF: StackReq(0,1); Push(CVALUE(code[ptr-1]-0x4000)); break; case 0x87E8 ... 0x87FF: StackReq(0,1); Push(NVALUE(1UL<<(code[ptr-1]&31))); break; case 0xC000 ... 0xFFFF: StackReq(0,1); Push(MVALUE((code[ptr-1]&0x3FFF)+256)); break; | > > | 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 | case 0x1900 ... 0x197F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u<=(code[ptr-1]&0x7F)?1:0)); break; // le case 0x1980 ... 0x19FF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u>=(code[ptr-1]&0x7F)?1:0)); break; // ge case 0x1A00 ... 0x1A7F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s<(code[ptr-1]&0x7F)?1:0)); break; // ,lt case 0x1A80 ... 0x1AFF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s>(code[ptr-1]&0x7F)?1:0)); break; // ,gt case 0x1B00 ... 0x1B7F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s<=(code[ptr-1]&0x7F)?1:0)); break; // ,le case 0x1B80 ... 0x1BFF: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.s>=(code[ptr-1]&0x7F)?1:0)); break; // ,ge case 0x1E00 ... 0x1EFF: StackReq(0,1); Push(NVALUE(code[ptr-1]&0xFF)); return; // ret case 0x1F00 ... 0x1F1F: StackReq(1,1); t1=Pop(); Numeric(t1); Push(NVALUE(t1.u&(1L<<(code[ptr-1]&31))?1:0)); break; // tbit case 0x1F20 ... 0x1F3F: StackReq(2,1); t2=Pop(); t1=Pop(); Numeric(t2); i=code[ptr-1]&31; if(v_bool(t1)) t2.u|=1L<<i; else t2.u&=~(1L<<i); Push(t2); break; // sbit case 0x2000 ... 0x27FF: StackReq(0,1); Push(o->uservars[code[ptr-1]&0x7FF]); break; case 0x2800 ... 0x28FF: StackReq(0,1); Push(globals[code[ptr-1]&0x7FF]); break; case 0x3000 ... 0x37FF: NoIgnore(); StackReq(1,0); o->uservars[code[ptr-1]&0x7FF]=Pop(); break; case 0x3800 ... 0x38FF: NoIgnore(); StackReq(1,0); globals[code[ptr-1]&0x7FF]=Pop(); break; case 0x4000 ... 0x7FFF: StackReq(0,1); Push(CVALUE(code[ptr-1]-0x4000)); break; case 0x87E8 ... 0x87FF: StackReq(0,1); Push(NVALUE(1UL<<(code[ptr-1]&31))); break; case 0xC000 ... 0xFFFF: StackReq(0,1); Push(MVALUE((code[ptr-1]&0x3FFF)+256)); break; |
︙ | ︙ |
Modified instruc from [7610241667] to [ceba8d00b7].
︙ | ︙ | |||
271 272 273 274 275 276 277 278 | *Function *Local *Label *String *Int16 *Int32 *Dispatch | > | 271 272 273 274 275 276 277 278 279 | *Function *Local *Label *String *Int16 *Int32 *Dispatch *UserFlag |
Modified instruc.h from [4594caa8a8] to [af49a4968c].
︙ | ︙ | |||
380 381 382 383 384 385 386 387 388 389 390 391 392 393 | #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}, | > | 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 | #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 #define OP_USERFLAG 32968 #ifdef HEROMESH_CLASS static const Op_Names op_names[]={ {"*",8486937}, {"+",8421399}, {"-",8421400}, {"-rot",8421382}, {".",10518528}, |
︙ | ︙ |