Free Hero Mesh

Check-in [0da277ed18]
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:If level number specified on command-line exceeds maximum, use maximum level number instead.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0da277ed1874dde8691a355d7d174cabf3d7a202
User & Date: user on 2021-06-27 07:23:20
Other Links: manifest | tags
Context
2021-07-23
03:32
Use a SQL trigger to delete cache sets. check-in: e8493ef846 user: user tags: trunk
2021-06-27
07:23
If level number specified on command-line exceeds maximum, use maximum level number instead. check-in: 0da277ed18 user: user tags: trunk
2021-06-25
04:17
Fix a bug in writing message numbers into CLASS.DEF lump check-in: a0a2d667be user: user tags: trunk
Changes

Modified main.c from [00e076bcbf] to [a2b93bffbe].

935
936
937
938
939
940
941
942




943
944
945
946
947
948
949
935
936
937
938
939
940
941

942
943
944
945
946
947
948
949
950
951
952







-
+
+
+
+







  load_classes();
  load_level_index();
  optionquery[1]=Q_maxObjects;
  max_objects=strtoll(xrm_get_resource(resourcedb,optionquery,optionquery,2)?:"",0,0)?:0xFFFF0000L;
  set_tracing();
  annihilate();
  optionquery[1]=Q_level;
  if(level_ord=strtol(xrm_get_resource(resourcedb,optionquery,optionquery,2)?:"",0,10)) log_if_error(load_level(-level_ord));
  if(level_ord=strtol(xrm_get_resource(resourcedb,optionquery,optionquery,2)?:"",0,10)) {
    if(level_ord>level_nindex) level_ord=level_nindex;
    log_if_error(load_level(-level_ord));
  }
  optionquery[1]=Q_maxTrigger;
  max_trigger=strtol(xrm_get_resource(resourcedb,optionquery,optionquery,2)?:"",0,10);
  if(main_options['a']) run_auto_test();
  if(main_options['x']) {
    if(main_options['f']) {
      flush_usercache();
      return 0;