Overview
Comment: | Add the "pick" instruction |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
23f422335e2d6b97a822041e33d4b6f8 |
User & Date: | user on 2021-02-11 23:59:16 |
Other Links: | manifest | tags |
Context
2021-02-13
| ||
04:46 | Add Misc/Dir editing check-in: 94aad6dd1b user: user tags: trunk | |
2021-02-11
| ||
23:59 | Add the "pick" instruction check-in: 23f422335e user: user tags: trunk | |
22:51 | Always use objtrash to free objects in editor, not free check-in: b8f0f5f65a user: user tags: trunk | |
Changes
Modified class.doc from [244ac935c1] to [d804ddb1d2].
︙ | ︙ | |||
1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 | zero if that location is vacant or out of range. oz? ( any -- bool ) True if the value is an object or zero, or false if it is neither an object nor zero. (Even if the object has been garbage collected, it is still true.) Error if it is a sound. PopUp ( value -- ) Displays a popup message. Normally, the value is a string, but it can be another type, and it will try to display it. If the text contains any \q commands, then dismissing the popup message will send a KEY message to the object which created the popup message. If there is already another existing popup message, only the first one set up will be displayed, and the others will be ignored. IgnoreKey also affects what happens when a | > > > > | 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 | zero if that location is vacant or out of range. oz? ( any -- bool ) True if the value is an object or zero, or false if it is neither an object nor zero. (Even if the object has been garbage collected, it is still true.) Error if it is a sound. pick ( index -- any ) Copy a value from the specified index from the top of the stack, where 0 means the top of the stack, 1 means the one below, etc. PopUp ( value -- ) Displays a popup message. Normally, the value is a string, but it can be another type, and it will try to display it. If the text contains any \q commands, then dismissing the popup message will send a KEY message to the object which created the popup message. If there is already another existing popup message, only the first one set up will be displayed, and the others will be ignored. IgnoreKey also affects what happens when a |
︙ | ︙ |
Modified exec.c from [7a4d702d39] to [ec9055087c].
︙ | ︙ | |||
1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 | case OP_OBJBELOW_C: StackReq(1,1); i=obj_below(v_object(Pop())); Push(OVALUE(i)); break; case OP_OBJBOTTOMAT: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_bottom_at(t1.u,t2.u); Push(OVALUE(i)); break; case OP_OBJCLASSAT: StackReq(3,1); t3=Pop(); t2=Pop(); t1=Pop(); Push(v_obj_class_at(t1,t2,t3)); break; case OP_OBJDIR: StackReq(1,1); t2=Pop(); Numeric(t2); i=obj_dir(obj,t2.u); Push(OVALUE(i)); break; case OP_OBJDIR_C: StackReq(2,1); t2=Pop(); Numeric(t2); i=obj_dir(v_object(Pop()),t2.u); Push(OVALUE(i)); break; case OP_OBJLAYERAT: StackReq(3,1); t3=Pop(); Numeric(t3); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_layer_at(t1.u,t2.u,t3.u); Push(OVALUE(i)); break; 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_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; | > | 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 | case OP_OBJBELOW_C: StackReq(1,1); i=obj_below(v_object(Pop())); Push(OVALUE(i)); break; case OP_OBJBOTTOMAT: StackReq(2,1); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_bottom_at(t1.u,t2.u); Push(OVALUE(i)); break; case OP_OBJCLASSAT: StackReq(3,1); t3=Pop(); t2=Pop(); t1=Pop(); Push(v_obj_class_at(t1,t2,t3)); break; case OP_OBJDIR: StackReq(1,1); t2=Pop(); Numeric(t2); i=obj_dir(obj,t2.u); Push(OVALUE(i)); break; case OP_OBJDIR_C: StackReq(2,1); t2=Pop(); Numeric(t2); i=obj_dir(v_object(Pop()),t2.u); Push(OVALUE(i)); break; case OP_OBJLAYERAT: StackReq(3,1); t3=Pop(); Numeric(t3); t2=Pop(); Numeric(t2); t1=Pop(); Numeric(t1); i=obj_layer_at(t1.u,t2.u,t3.u); Push(OVALUE(i)); break; 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_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; |
︙ | ︙ |
Modified instruc from [9318f5d8d4] to [5a715995c3].
︙ | ︙ | |||
70 71 72 73 74 75 76 77 78 79 80 81 82 83 | .drop "." ,dup swap nip tuck rot rotback "-rot" ; Flow controls -if -else -then -el -begin | > | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | .drop "." ,dup swap nip tuck rot rotback "-rot" pick ; Flow controls -if -else -then -el -begin |
︙ | ︙ |
Modified instruc.h from [99711f673d] to [a26fee81cf].
︙ | ︙ | |||
10 11 12 13 14 15 16 | #define OP_DUP 32769 #define OP_DUP_C 34817 #define OP_SWAP 32770 #define OP_NIP 32771 #define OP_TUCK 32772 #define OP_ROT 32773 #define OP_ROTBACK 32774 | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 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 | #define OP_DUP 32769 #define OP_DUP_C 34817 #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_IF 32776 #define OP_ELSE 32777 #define OP_THEN 32778 #define OP_EL 32779 #define OP_BEGIN 32780 #define OP_AGAIN 32781 #define OP_UNTIL 32782 #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_LSH 32796 #define OP_RSH 32797 #define OP_RSH_C 34845 #define OP_BAND 32798 #define OP_BOR 32799 #define OP_BXOR 32800 #define OP_BNOT 32801 #define OP_BIT 32802 #define OP_LAND 32803 #define OP_LOR 32804 #define OP_LXOR 32805 #define OP_LNOT 32806 #define OP_EQ 32807 #define OP_NE 32808 #define OP_GT 32809 #define OP_GT_C 34857 #define OP_LT 32810 #define OP_LT_C 34858 #define OP_GE 32811 #define OP_GE_C 34859 #define OP_LE 32812 #define OP_LE_C 34860 #define OP_IS 32813 #define OP_QN 32814 #define OP_QC 32815 #define OP_QCZ 32816 #define OP_QM 32817 #define OP_QS 32818 #define OP_QO 32819 #define OP_QOZ 32820 #define OP_CLASS 32821 #define OP_CLASS_C 34869 #define OP_TEMPERATURE 32822 #define OP_TEMPERATURE_C 34870 #define OP_TEMPERATURE_E 36918 #define OP_TEMPERATURE_EC 38966 #define OP_TEMPERATURE_EC16 38967 #define OP_TEMPERATURE_E16 36919 #define OP_SHAPE 32824 #define OP_SHAPE_C 34872 #define OP_SHAPE_E 36920 #define OP_SHAPE_EC 38968 #define OP_XLOC 32825 #define OP_XLOC_C 34873 #define OP_YLOC 32826 #define OP_YLOC_C 34874 #define OP_DIR 32827 #define OP_DIR_C 34875 #define OP_DIR_E 36923 #define OP_DIR_EC 38971 #define OP_IMAGE 32828 #define OP_IMAGE_C 34876 #define OP_IMAGE_E 36924 #define OP_IMAGE_EC 38972 #define OP_INERTIA 32829 #define OP_INERTIA_C 34877 #define OP_INERTIA_E 36925 #define OP_INERTIA_EC 38973 #define OP_INERTIA_EC16 38974 #define OP_INERTIA_E16 36926 #define OP_DISTANCE 32831 #define OP_DISTANCE_C 34879 #define OP_DISTANCE_E 36927 #define OP_DISTANCE_EC 38975 #define OP_DISTANCE_EC16 38976 #define OP_DISTANCE_E16 36928 #define OP_DENSITY 32833 #define OP_DENSITY_C 34881 #define OP_DENSITY_E 36929 #define OP_DENSITY_EC 38977 #define OP_DENSITY_EC16 38978 #define OP_DENSITY_E16 36930 #define OP_VOLUME 32835 #define OP_VOLUME_C 34883 #define OP_VOLUME_E 36931 #define OP_VOLUME_EC 38979 #define OP_VOLUME_EC16 38980 #define OP_VOLUME_E16 36932 #define OP_WEIGHT 32837 #define OP_WEIGHT_C 34885 #define OP_WEIGHT_E 36933 #define OP_WEIGHT_EC 38981 #define OP_WEIGHT_EC16 38982 #define OP_WEIGHT_E16 36934 #define OP_HEIGHT 32839 #define OP_HEIGHT_C 34887 #define OP_HEIGHT_E 36935 #define OP_HEIGHT_EC 38983 #define OP_HEIGHT_EC16 38984 #define OP_HEIGHT_E16 36936 #define OP_CLIMB 32841 #define OP_CLIMB_C 34889 #define OP_CLIMB_E 36937 #define OP_CLIMB_EC 38985 #define OP_CLIMB_EC16 38986 #define OP_CLIMB_E16 36938 #define OP_STRENGTH 32843 #define OP_STRENGTH_C 34891 #define OP_STRENGTH_E 36939 #define OP_STRENGTH_EC 38987 #define OP_STRENGTH_EC16 38988 #define OP_STRENGTH_E16 36940 #define OP_HARD 32845 #define OP_HARD_C 34893 #define OP_HARD_E 36941 #define OP_HARD_EC 38989 #define OP_SHARP 32846 #define OP_SHARP_C 34894 #define OP_SHARP_E 36942 #define OP_SHARP_EC 38990 #define OP_SHAPEDIR 32847 #define OP_SHAPEDIR_C 34895 #define OP_SHAPEDIR_E 36943 #define OP_SHAPEDIR_EC 38991 #define OP_SHOVABLE 32848 #define OP_SHOVABLE_C 34896 #define OP_SHOVABLE_E 36944 #define OP_SHOVABLE_EC 38992 #define OP_MISC1 32849 #define OP_MISC1_C 34897 #define OP_MISC1_E 36945 #define OP_MISC1_EC 38993 #define OP_MISC1_EC16 38994 #define OP_MISC1_E16 36946 #define OP_MISC2 32851 #define OP_MISC2_C 34899 #define OP_MISC2_E 36947 #define OP_MISC2_EC 38995 #define OP_MISC2_EC16 38996 #define OP_MISC2_E16 36948 #define OP_MISC3 32853 #define OP_MISC3_C 34901 #define OP_MISC3_E 36949 #define OP_MISC3_EC 38997 #define OP_MISC3_EC16 38998 #define OP_MISC3_E16 36950 #define OP_MISC4 32855 #define OP_MISC4_C 34903 #define OP_MISC4_E 36951 #define OP_MISC4_EC 38999 #define OP_MISC4_EC16 39000 #define OP_MISC4_E16 36952 #define OP_MISC5 32857 #define OP_MISC5_C 34905 #define OP_MISC5_E 36953 #define OP_MISC5_EC 39001 #define OP_MISC5_EC16 39002 #define OP_MISC5_E16 36954 #define OP_MISC6 32859 #define OP_MISC6_C 34907 #define OP_MISC6_E 36955 #define OP_MISC6_EC 39003 #define OP_MISC6_EC16 39004 #define OP_MISC6_E16 36956 #define OP_MISC7 32861 #define OP_MISC7_C 34909 #define OP_MISC7_E 36957 #define OP_MISC7_EC 39005 #define OP_MISC7_EC16 39006 #define OP_MISC7_E16 36958 #define OP_ARRIVED 32863 #define OP_ARRIVED_C 34911 #define OP_ARRIVED_E 36959 #define OP_ARRIVED_EC 39007 #define OP_DEPARTED 32864 #define OP_DEPARTED_C 34912 #define OP_DEPARTED_E 36960 #define OP_DEPARTED_EC 39008 #define OP_ARRIVALS 32865 #define OP_ARRIVALS_C 34913 #define OP_ARRIVALS_E 36961 #define OP_ARRIVALS_EC 39009 #define OP_DEPARTURES 32866 #define OP_DEPARTURES_C 34914 #define OP_DEPARTURES_E 36962 #define OP_DEPARTURES_EC 39010 #define OP_BUSY 32867 #define OP_BUSY_C 34915 #define OP_BUSY_E 36963 #define OP_BUSY_EC 39011 #define OP_INVISIBLE 32868 #define OP_INVISIBLE_C 34916 #define OP_INVISIBLE_E 36964 #define OP_INVISIBLE_EC 39012 #define OP_KEYCLEARED 32869 #define OP_KEYCLEARED_C 34917 #define OP_KEYCLEARED_E 36965 #define OP_KEYCLEARED_EC 39013 #define OP_USERSIGNAL 32870 #define OP_USERSIGNAL_C 34918 #define OP_USERSIGNAL_E 36966 #define OP_USERSIGNAL_EC 39014 #define OP_USERSTATE 32871 #define OP_USERSTATE_C 34919 #define OP_USERSTATE_E 36967 #define OP_USERSTATE_EC 39015 #define OP_VISUALONLY 32872 #define OP_VISUALONLY_C 34920 #define OP_VISUALONLY_E 36968 #define OP_VISUALONLY_EC 39016 #define OP_STEALTHY 32873 #define OP_STEALTHY_C 34921 #define OP_STEALTHY_E 36969 #define OP_STEALTHY_EC 39017 #define OP_MOVED 32874 #define OP_MOVED_C 34922 #define OP_MOVED_E 36970 #define OP_MOVED_EC 39018 #define OP_DONE 32875 #define OP_DONE_C 34923 #define OP_DONE_E 36971 #define OP_DONE_EC 39019 #define OP_DESTROYED 32876 #define OP_DESTROYED_C 34924 #define OP_PLAYER 32877 #define OP_PLAYER_C 34925 #define OP_COMPATIBLE 32878 #define OP_COMPATIBLE_C 34926 #define OP_COLLISIONLAYERS 32879 #define OP_COLLISIONLAYERS_C 34927 #define OP_SELF 32880 #define OP_MSG 32881 #define OP_FROM 32882 #define OP_ARG1 32883 #define OP_ARG1_E 36979 #define OP_ARG2 32884 #define OP_ARG2_E 36980 #define OP_ARG3 32885 #define OP_ARG3_E 36981 #define OP_MOVENUMBER 32886 #define OP_LEVEL 32887 #define OP_KEY 32888 #define OP_BACKGROUND 32889 #define OP_INPUT 32890 #define OP_QUIZ 32891 #define OP_INPLACE 32892 #define OP_DEFAULTIMAGE 32893 #define OP_HELP 32894 #define OP_EDITORHELP 32895 #define OP_SUBS 32896 #define OP_ANIMATE 32897 #define OP_ASSASSINATE 32898 #define OP_ASSASSINATE_C 34946 #define OP_BROADCAST 32899 #define OP_BROADCAST_D 41091 #define OP_BROADCASTCLASS 32900 #define OP_BROADCASTEX 32901 #define OP_BROADCASTEX_D 41093 #define OP_BROADCASTSUM 32902 #define OP_BROADCASTSUMEX 32903 #define OP_CREATE 32904 #define OP_CREATE_D 41096 #define OP_DELINVENTORY 32905 #define OP_DELTA 32906 #define OP_DESTROY 32907 #define OP_DESTROY_C 34955 #define OP_DESTROY_D 41099 #define OP_DESTROY_CD 43147 #define OP_FLUSHCLASS 32908 #define OP_FLUSHOBJ 32909 #define OP_FLUSHOBJ_C 34957 #define OP_GETINVENTORY 32910 #define OP_HEIGHTAT 32911 #define OP_IGNOREKEY 32912 #define OP_INTMOVE 32913 #define OP_INTMOVE_C 34961 #define OP_INTMOVE_D 41105 #define OP_INTMOVE_CD 43153 #define OP_JUMPTO 32914 #define OP_JUMPTO_C 34962 #define OP_JUMPTO_D 41106 #define OP_JUMPTO_CD 43154 #define OP_LOC 32915 #define OP_LOC_C 34963 #define OP_LOCATEME 32916 #define OP_LOSELEVEL 32917 #define OP_MAXINVENTORY 32918 #define OP_MOVE 32919 #define OP_MOVE_C 34967 #define OP_MOVE_D 41111 #define OP_MOVE_CD 43159 #define OP_MOVEPLUS 32920 #define OP_MOVEPLUS_C 34968 #define OP_MOVEPLUS_D 41112 #define OP_MOVEPLUS_CD 43160 #define OP_MOVETO 32921 #define OP_MOVETO_C 34969 #define OP_MOVETO_D 41113 #define OP_MOVETO_CD 43161 #define OP_NEWX 32922 #define OP_NEWXY 32923 #define OP_NEWY 32924 #define OP_OBJABOVE 32925 #define OP_OBJABOVE_C 34973 #define OP_OBJBELOW 32926 #define OP_OBJBELOW_C 34974 #define OP_OBJBOTTOMAT 32927 #define OP_OBJCLASSAT 32928 #define OP_OBJDIR 32929 #define OP_OBJDIR_C 34977 #define OP_OBJLAYERAT 32930 #define OP_OBJTOPAT 32931 #define OP_POPUP 32932 #define OP_POPUPARGS 32933 #define OP_QUEUETURN 32934 #define OP_SEND 32935 #define OP_SEND_C 34983 #define OP_SEND_D 41127 #define OP_SEND_CD 43175 #define OP_SENDEX 32936 #define OP_SENDEX_C 34984 #define OP_SENDEX_D 41128 #define OP_SENDEX_CD 43176 #define OP_SETINVENTORY 32937 #define OP_SOUND 32938 #define OP_SYNCHRONIZE 32939 #define OP_TRACE 32940 #define OP_VOLUMEAT 32941 #define OP_WINLEVEL 32942 #define OP_XDIR 32943 #define OP_XDIR_C 34991 #define OP_XYDIR 32944 #define OP_YDIR 32945 #define OP_YDIR_C 34993 #define OP_FUNCTION 32946 #define OP_LOCAL 32947 #define OP_LABEL 32948 #define OP_STRING 32949 #define OP_INT16 32950 #define OP_INT32 32951 #define OP_DISPATCH 32952 #ifdef HEROMESH_CLASS static const Op_Names op_names[]={ {"*",8486936}, {"+",8421398}, {"-",8421399}, {"-rot",8421382}, {".",10518528}, {"/",8486937}, {"ANHH",8389394}, {"ARRIVED",8389124}, {"Animate",8421505}, {"Arg1",8552563}, {"Arg2",8552564}, {"Arg3",8552565}, {"Arrivals",8618081}, {"Arrived",8618079}, {"Assassinate",8487042}, {"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",8683641}, {"Broadcast",10518659}, {"BroadcastEx",10518661}, {"BroadcastSum",8421510}, {"BroadcastSumEx",8421511}, {"Busy",8618083}, {"CHEEP",8389393}, {"CHYEW",8389392}, {"CLEANUP",8389140}, {"CLICK",8389388}, {"COLLIDE",8389142}, {"COLLIDEBY",8389141}, {"CREATE",8389121}, {"CREATED",8389137}, {"Class",8486965}, {"Climb",9142345}, {"CollisionLayers",8487023}, {"Compatible",8487022}, {"Create",10518664}, {"DEEP_POP",8389417}, {"DEPARTED",8389125}, {"DESTROY",8389122}, {"DESTROYED",8389136}, {"DINK",8389390}, {"DOOR",8389378}, {"DRLRLRINK",8389398}, {"DYUPE",8389413}, {"DefaultImage",8683645}, {"DelInventory",8421513}, {"Delta",8421514}, {"Density",9142337}, {"Departed",8618080}, {"Departures",8618082}, {"Destroy",10584203}, {"Destroyed",8487020}, {"Dir",8618043}, {"Distance",9142335}, {"Done",8618091}, {"E",9437184}, {"END_TURN",8389139}, {"EditorHelp",8683647}, {"F",9437192}, {"FAROUT",8389421}, {"FFFFTT",8389399}, {"FLOATED",8389132}, {"FROG",8389383}, {"FlushClass",8421516}, {"FlushObj",8487053}, {"From",8421490}, {"GLASS",8389379}, {"GLISSANT",8389419}, {"GetInventory",8421518}, {"HAWK",8389425}, {"HEARTBEAT",8389407}, {"HIT",8389134}, {"HITBY",8389135}, {"Hard",8618061}, {"Height",9142343}, {"HeightAt",8421519}, {"Help",8683646}, {"INIT",8389120}, {"IgnoreKey",8421520}, {"Image",8618044}, {"InPlace",8683644}, {"Inertia",9142333}, {"Input",8683642}, {"IntMove",10584209}, {"Invisible",8618084}, {"JAYAYAYNG",8389416}, {"JUMPED",8389128}, {"JumpTo",10584210}, {"KEWEL",8389422}, {"KEY",8389129}, {"KLECK",8389387}, {"KLINKK",8389385}, {"Key",8421496}, {"KeyCleared",8618085}, {"L",9437194}, {"LASTIMAGE",8389126}, {"LB",9437195}, {"LF",9437193}, {"LOCK",8389408}, {"LOOP",8388610}, {"Level",8421495}, {"Loc",8487059}, {"LocateMe",8421524}, {"LoseLevel",8421525}, {"MOVED",8389127}, {"MOVING",8389130}, {"MaxInventory",8421526}, {"Misc1",9142353}, {"Misc2",9142355}, {"Misc3",9142357}, {"Misc4",9142359}, {"Misc5",9142361}, {"Misc6",9142363}, {"Misc7",9142365}, {"Move",10584215}, {"Move+",10584216}, {"MoveNumber",8421494}, {"MoveTo",10584217}, {"Moved",8618090}, {"Msg",8421489}, {"N",9437186}, {"NE",9437185}, {"NW",9437187}, {"NewX",8421530}, {"NewXY",8421531}, {"NewY",8421532}, {"OLDPHONE",8389402}, {"ONCE",8388609}, {"OSC",8388616}, {"OSCLOOP",8388618}, {"ObjAbove",8487069}, {"ObjBelow",8487070}, {"ObjBottomAt",8421535}, {"ObjClassAt",8421536}, {"ObjDir",8487073}, {"ObjLayerAt",8421538}, {"ObjTopAt",8421539}, {"PLAYERMOVING",8389133}, {"POSTINIT",8389138}, {"POUR",8389377}, {"POWER",8389386}, {"Player",8487021}, {"PopUp",8421540}, {"QueueTurn",8421542}, {"Quiz",8683643}, {"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",8683648}, {"SUNK",8389131}, {"SW",9437189}, {"Self",8421488}, {"Send",10584231}, {"SendEx",10584232}, {"SetInventory",8421545}, {"Shape",8618040}, {"ShapeDir",8618063}, {"Sharp",8618062}, {"Shovable",8618064}, {"Sound",8421546}, {"Stealthy",8618089}, {"Strength",9142347}, {"Synchronize",8421547}, {"TAHTASHH",8389409}, {"THMP_thmp",8389405}, {"THWIT",8389384}, {"TICK",8389391}, {"Temperature",9142326}, {"Trace",8421548}, {"UH_OH",8389382}, {"UNCORK",8389414}, {"UNHH",8389381}, {"UserSignal",8618086}, {"UserState",8618087}, {"VACUUM",8389411}, {"VisualOnly",8618088}, {"Volume",9142339}, {"VolumeAt",8421549}, {"W",9437188}, {"WAHOO",8389400}, {"WHACK",8389423}, {"Weight",9142341}, {"WinLevel",8421550}, {"XDir",8487087}, {"XYDir",8421552}, {"Xloc",8486969}, {"YDir",8487089}, {"YEEHAW",8389401}, {"Yloc",8486970}, {"again",8683533}, {"band",8421406}, {"begin",8683532}, {"bit",8683554}, {"bit0",8388609}, {"bit1",8388610}, {"bit10",8423402}, {"bit11",8423403}, {"bit12",8423404}, {"bit13",8423405}, {"bit14",8423406}, |
︙ | ︙ | |||
610 611 612 613 614 615 616 | {"bit31",8423423}, {"bit4",8388624}, {"bit5",8388640}, {"bit6",8388672}, {"bit7",8388736}, {"bit8",8423400}, {"bit9",8423401}, | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > | | | | | | | | | 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 | {"bit31",8423423}, {"bit4",8388624}, {"bit5",8388640}, {"bit6",8388672}, {"bit7",8388736}, {"bit8",8423400}, {"bit9",8423401}, {"bnot",8421409}, {"bor",8421407}, {"bxor",8421408}, {"c?",8421423}, {"cz?",8421424}, {"dup",8486913}, {"el",8683531}, {"else",8683529}, {"eq",8421415}, {"for",8683537}, {"ge",8486955}, {"gt",8486953}, {"if",8683528}, {"is",8421421}, {"land",8421411}, {"le",8486956}, {"lnot",8421414}, {"lor",8421412}, {"lsh",8421404}, {"lt",8486954}, {"lxor",8421413}, {"m?",8421425}, {"mod",8486938}, {"n?",8421422}, {"ne",8421416}, {"neg",8421403}, {"next",8683538}, {"nip",8421379}, {"o?",8421427}, {"oz?",8421428}, {"pick",8421383}, {"repeat",8683536}, {"ret",8421397}, {"rot",8421381}, {"rsh",8486941}, {"s?",8421426}, {"swap",8421378}, {"then",8683530}, {"tuck",8421380}, {"until",8683534}, {"while",8683535}, }; #define N_OP_NAMES 285 #endif |