1 | 97c97
|
---|
2 | <
|
---|
3 | ---
|
---|
4 | > #define ATOWITHLASTPAREN (1<<25)
|
---|
5 | 663a664,666
|
---|
6 | > if (args & ATOWITHLASTPAREN) {
|
---|
7 | > buf = strecpy(buf, ")");
|
---|
8 | > }
|
---|
9 | 805c808
|
---|
10 | < // case 0x0F: buf=do_tok(buf, "PaletteList", A1LIST); break;
|
---|
11 | ---
|
---|
12 | > // case 0x0F: buf=do_tok(buf, "PaletteList", A1LIST); break;
|
---|
13 | 1094c1097
|
---|
14 | < do_tok(buf, "RoomScroll", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2W) | ANOENDSEMICOLON);
|
---|
15 | ---
|
---|
16 | > do_tok(buf, "RoomScroll", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2W));
|
---|
17 | 1097c1100
|
---|
18 | < do_tok(buf, "RoomColor", ANOENDSEMICOLON);
|
---|
19 | ---
|
---|
20 | > do_tok(buf, "RoomColor", 0);
|
---|
21 | 1100c1103
|
---|
22 | < do_tok(buf, "SetScreen", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2W) | ANOENDSEMICOLON);
|
---|
23 | ---
|
---|
24 | > do_tok(buf, "SetScreen", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2W));
|
---|
25 | 1108c1111
|
---|
26 | < buf = do_tok(buf, NULL, ASTARTCOMMA | ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1B));
|
---|
27 | ---
|
---|
28 | > buf = do_tok(buf, NULL, ASTARTCOMMA | ANOFIRSTPAREN | ((opcode & 0x80) ? A1V : A1B));
|
---|
29 | 1111c1114
|
---|
30 | < do_tok(buf, "ShakeOn", ANOENDSEMICOLON);
|
---|
31 | ---
|
---|
32 | > do_tok(buf, "ShakeOn", 0);
|
---|
33 | 1114c1117
|
---|
34 | < do_tok(buf, "ShakeOff", ANOENDSEMICOLON);
|
---|
35 | ---
|
---|
36 | > do_tok(buf, "ShakeOff", 0);
|
---|
37 | 1117c1120
|
---|
38 | < do_tok(buf, "Unused", ANOENDSEMICOLON);
|
---|
39 | ---
|
---|
40 | > do_tok(buf, "Unused", 0);
|
---|
41 | 1123c1126
|
---|
42 | < ((opcode & 0x20) ? A3V : A3B) | ANOENDSEMICOLON);
|
---|
43 | ---
|
---|
44 | > ((opcode & 0x20) ? A3V : A3B));
|
---|
45 | 1126c1129
|
---|
46 | < buf = do_tok(buf, "saveLoad", ((opcode & 0x80) ? A1V : A1B) | ((opcode & 0x40) ? A2V : A2B) | ANOENDSEMICOLON);
|
---|
47 | ---
|
---|
48 | > buf = do_tok(buf, "saveLoad", ((opcode & 0x80) ? A1V : A1B) | ((opcode & 0x40) ? A2V : A2B));
|
---|
49 | 1129c1132
|
---|
50 | < buf = do_tok(buf, "screenEffect", ((opcode & 0x80) ? A1V : A1W) | ANOENDSEMICOLON);
|
---|
51 | ---
|
---|
52 | > buf = do_tok(buf, "screenEffect", ((opcode & 0x80) ? A1V : A1W));
|
---|
53 | 1140c1143
|
---|
54 | < ASTARTCOMMA | ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1B) |
|
---|
55 | ---
|
---|
56 | > ASTARTCOMMA | ANOFIRSTPAREN | ((opcode & 0x80) ? A1V : A1B) |
|
---|
57 | 1153c1156
|
---|
58 | < ASTARTCOMMA | ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1B) |
|
---|
59 | ---
|
---|
60 | > ASTARTCOMMA | ANOFIRSTPAREN | ((opcode & 0x80) ? A1V : A1B) |
|
---|
61 | 1158c1161
|
---|
62 | < do_tok(buf, "saveString", ((opcode & 0x80) ? A1V : A1B) | A2ASCII | ANOENDSEMICOLON);
|
---|
63 | ---
|
---|
64 | > do_tok(buf, "saveString", ((opcode & 0x80) ? A1V : A1B) | A2ASCII);
|
---|
65 | 1161c1164
|
---|
66 | < do_tok(buf, "loadString", ((opcode & 0x80) ? A1V : A1B) | A2ASCII | ANOENDSEMICOLON);
|
---|
67 | ---
|
---|
68 | > do_tok(buf, "loadString", ((opcode & 0x80) ? A1V : A1B) | A2ASCII);
|
---|
69 | 1177c1180
|
---|
70 | < do_tok(buf, "colorCycleDelay", ((opcode & 0x80) ? A1V : A1B) | ((opcode & 0x40) ? A2V : A2B) | ANOENDSEMICOLON);
|
---|
71 | ---
|
---|
72 | > do_tok(buf, "colorCycleDelay", ((opcode & 0x80) ? A1V : A1B) | ((opcode & 0x40) ? A2V : A2B));
|
---|
73 | 1183,1184d1185
|
---|
74 | <
|
---|
75 | < strcat(buf, ");");
|
---|
76 | 2038c2039
|
---|
77 | < do_tok(buf, "classOfIs", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2B) | ATO);
|
---|
78 | ---
|
---|
79 | > do_tok(buf, "classOfIs", ((opcode & 0x80) ? A1V : A1W) | ((opcode & 0x40) ? A2V : A2B) | ATO | ATOWITHLASTPAREN);
|
---|
80 | 2977c2978
|
---|
81 | < ANOLASTPAREN | ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1W) |
|
---|
82 | ---
|
---|
83 | > ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1W) |
|
---|
84 | 2981c2982
|
---|
85 | < do_tok(buf, ", setImage(", ANOLASTPAREN | ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1W));
|
---|
86 | ---
|
---|
87 | > do_tok(buf, ", setImage(", ANOFIRSTPAREN | ANOENDSEMICOLON | ((opcode & 0x80) ? A1V : A1W));
|
---|
88 | 2984c2985
|
---|
89 | < strcat(buf, "));");
|
---|
90 | ---
|
---|
91 | > strcat(buf, ");");
|
---|
92 | 3112c3113
|
---|
93 | < do_tok(buf, "classOfIs", ((opcode & 0x80) ? A1V : A1W) | A2LIST | ATO);
|
---|
94 | ---
|
---|
95 | > do_tok(buf, "classOfIs", ((opcode & 0x80) ? A1V : A1W) | A2LIST | ATO | ATOWITHLASTPAREN);
|
---|