Free Hero Mesh

Check-in [3ac276fa11]
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:When using -C switch, also list all user-defined messages, too.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3ac276fa11e348db0d7f75fb3aca1a39533fd3c6
User & Date: user on 2022-03-08 00:47:58
Other Links: manifest | tags
Context
2022-03-09
04:05
In the picture editor, ensure the pick function works even if caps lock and/or num lock is activated. check-in: cc72ae321f user: user tags: trunk
2022-03-08
00:47
When using -C switch, also list all user-defined messages, too. check-in: 3ac276fa11 user: user tags: trunk
2022-03-07
00:50
More elaborate information about making contributions check-in: 5ea4595ba3 user: user tags: trunk
Changes

Modified class.c from [a2182d0a94] to [9d875090a8].

2647
2648
2649
2650
2651
2652
2653
2654





2655
2656
2657
2658
2659
2660
2661
      }
    } else {
      ParseError("Invalid top level definition\n");
    }
  }
  done:
  fclose(classfp);
  if(main_options['C']) dump_class(0,gloptr,glolocalhash);





  if(main_options['H']) {
    for(i=0;i<HASH_SIZE;i++) if(glohash[i].id) printf("\"%s\": %04X\n",glohash[i].txt,glohash[i].id);
    for(i=0;i<LOCAL_HASH_SIZE;i++) if(glolocalhash[i].id) printf(" \"%s\": %04X\n",glolocalhash[i].txt,glolocalhash[i].id);
  }
  for(i=0;i<LOCAL_HASH_SIZE;i++) free(glolocalhash[i].txt);
  free(glolocalhash);
  for(i=0;i<num_functions;i++) if(functions[i]==0xFFFF) {







|
>
>
>
>
>







2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
      }
    } else {
      ParseError("Invalid top level definition\n");
    }
  }
  done:
  fclose(classfp);
  if(main_options['C']) {
    dump_class(0,gloptr,glolocalhash);
    printf("<<<User-defined Messages>>>\n");
    for(i=0;i<0x4000;i++) if(messages[i]) printf("  %d = #%s\n",i+256,messages[i]);
    printf("---\n\n");
  }
  if(main_options['H']) {
    for(i=0;i<HASH_SIZE;i++) if(glohash[i].id) printf("\"%s\": %04X\n",glohash[i].txt,glohash[i].id);
    for(i=0;i<LOCAL_HASH_SIZE;i++) if(glolocalhash[i].id) printf(" \"%s\": %04X\n",glolocalhash[i].txt,glolocalhash[i].id);
  }
  for(i=0;i<LOCAL_HASH_SIZE;i++) free(glolocalhash[i].txt);
  free(glolocalhash);
  for(i=0;i<num_functions;i++) if(functions[i]==0xFFFF) {