Free Hero Mesh

Check-in [56fff32581]
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:Add names for Transform, TRANSFORMING, and TRANSFORMED; not implemented yet
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 56fff32581d24208ceb9bb99843c296ce12f2824
User & Date: user on 2020-11-30 21:37:41
Other Links: manifest | tags
Context
2020-12-01
22:09
Add traceAll resource check-in: 165d3cd4f7 user: user tags: trunk
2020-11-30
21:37
Add names for Transform, TRANSFORMING, and TRANSFORMED; not implemented yet check-in: 56fff32581 user: user tags: trunk
2020-11-29
23:50
Implement message tracing, fix a few mistakes, start to implement level initialization check-in: d1b2616e10 user: user tags: trunk
Changes

Modified instruc from [c6fac498bb] to [38f6970dd1].

221
222
223
224
225
226
227

228
229
230
231
232
233
234
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235







+







*PopUpArgs ; for (PopUp [number])
QueueTurn ; queue another turn that automatically occurs after this one
.,Send
.,SendEx ; send with three arguments
SetInventory
Sound
Trace
,Transform
VolumeAt
WinLevel
,XDir
,YDir

; Specials
*Function

Modified instruc.h from [a4453a3ab4] to [f3d6a8eac9].

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
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







+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+







#define OP_SENDEX 32922
#define OP_SENDEX_C 34970
#define OP_SENDEX_D 41114
#define OP_SENDEX_CD 43162
#define OP_SETINVENTORY 32923
#define OP_SOUND 32924
#define OP_TRACE 32925
#define OP_TRANSFORM 32926
#define OP_TRANSFORM_C 34974
#define OP_VOLUMEAT 32926
#define OP_WINLEVEL 32927
#define OP_XDIR 32928
#define OP_XDIR_C 34976
#define OP_YDIR 32929
#define OP_YDIR_C 34977
#define OP_FUNCTION 32930
#define OP_LOCAL 32931
#define OP_LABEL 32932
#define OP_STRING 32933
#define OP_INT16 32934
#define OP_INT32 32935
#define OP_VOLUMEAT 32927
#define OP_WINLEVEL 32928
#define OP_XDIR 32929
#define OP_XDIR_C 34977
#define OP_YDIR 32930
#define OP_YDIR_C 34978
#define OP_FUNCTION 32931
#define OP_LOCAL 32932
#define OP_LABEL 32933
#define OP_STRING 32934
#define OP_INT16 32935
#define OP_INT32 32936
#ifdef HEROMESH_CLASS
static const Op_Names op_names[]={
{"*",8486933},
{"+",8421395},
{"-",8421396},
{".",10518528},
{"/",8486934},
364
365
366
367
368
369
370

371
372
373
374
375
376
377
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380







+







{"Arrived",8618069},
{"Assassinate",8487030},
{"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",8683629},
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
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







+
+


+








-
+




-
-
+
+

-
+







{"Sound",8421532},
{"Stealthy",8618079},
{"Strength",9142337},
{"TAHTASHH",8389409},
{"THMP_thmp",8389405},
{"THWIT",8389384},
{"TICK",8389391},
{"TRANSFORMED",8389145},
{"TRANSFORMING",8389144},
{"Temperature",9142316},
{"Trace",8421533},
{"Transform",8487070},
{"UH_OH",8389382},
{"UNCORK",8389414},
{"UNHH",8389381},
{"UserSignal",8618076},
{"UserState",8618077},
{"VACUUM",8389411},
{"VisualOnly",8618078},
{"Volume",9142329},
{"VolumeAt",8421534},
{"VolumeAt",8421535},
{"W",9437188},
{"WAHOO",8389400},
{"WHACK",8389423},
{"Weight",9142331},
{"WinLevel",8421535},
{"XDir",8487072},
{"WinLevel",8421536},
{"XDir",8487073},
{"Xloc",8486959},
{"YDir",8487073},
{"YDir",8487074},
{"YEEHAW",8389401},
{"Yloc",8486960},
{"again",8683530},
{"band",8421403},
{"begin",8683529},
{"bit",8683551},
{"bit0",8388609},
614
615
616
617
618
619
620
621

622
620
621
622
623
624
625
626

627
628







-
+

{"rsh",8486938},
{"swap",8421378},
{"then",8683527},
{"tuck",8421380},
{"until",8683531},
{"while",8683532},
};
#define N_OP_NAMES 268
#define N_OP_NAMES 272
#endif

Modified names.h from [dc5ce5565f] to [1fdff19683].

19
20
21
22
23
24
25


26
27
28
29
30
31
32
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34







+
+







#define MSG_CREATED 17
#define MSG_POSTINIT 18
#define MSG_END_TURN 19
#define MSG_CLEANUP 20
#define MSG_COLLIDING 21
#define MSG_COLLIDE 22
#define MSG_BIZARRO_SWAP 23
#define MSG_TRANSFORMING 24
#define MSG_TRANSFORMED 25
#ifdef HEROMESH_MAIN
const char*const standard_message_names[]={
 "INIT",
 "CREATE",
 "DESTROY",
 "BEGIN_TURN",
 "ARRIVED",
45
46
47
48
49
50
51


52
53
54
55
56
57
58
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62







+
+







 "CREATED",
 "POSTINIT",
 "END_TURN",
 "CLEANUP",
 "COLLIDING",
 "COLLIDE",
 "BIZARRO_SWAP",
 "TRANSFORMING",
 "TRANSFORMED",
};
#endif
#define SND_SPLASH 0
#define SND_POUR 1
#define SND_DOOR 2
#define SND_GLASS 3
#define SND_BANG 4

Modified names.js from [98abace569] to [f2de6d4d8c].

24
25
26
27
28
29
30


31
32
33
34
35
36
37
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39







+
+







 18 = POSTINIT
 19 = END_TURN
 // New
 20 = CLEANUP
 21 = COLLIDING
 22 = COLLIDE
 23 = BIZARRO_SWAP
 24 = TRANSFORMING
 25 = TRANSFORMED
`.split("\n").map(x=>/^ *([0-9]+) = ([^ ]*) *$/.exec(x)).filter(x=>x);
const standard_sound_names=[];
`
 SPLASH
 POUR
 DOOR
 GLASS