Free Hero Mesh

Check-in [f1435f4c66]
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 a message that game cannot continue with no objects
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f1435f4c66e0842b0d784127de1dc2945f792e2b
User & Date: user on 2020-12-19 22:31:25
Other Links: manifest | tags
Context
2020-12-20
01:22
Cause visual animations of an object to reset the first time each turn that object sets a logical animation check-in: f263eed6d9 user: user tags: trunk
2020-12-19
22:31
Add a message that game cannot continue with no objects check-in: f1435f4c66 user: user tags: trunk
22:24
Implement command to create a new empty puzzle set check-in: 6d402e1175 user: user tags: trunk
Changes

Modified exec.c from [f29534adc5] to [d24ac241a4].

1670
1671
1672
1673
1674
1675
1676

1677
1678
1679
1680
1681
1682
1683
    }
    n=o->prev;
  }
  if(busy) goto trig;
  // Cleanup phase
  for(n=0;n<nobjects;n++) if(objects[n] && (objects[n]->oflags&OF_DESTROYED)) objtrash(n);
  if(generation_number<=TY_MAXTYPE) return "Too many generations of objects";

  // Finished
  return 0;
}

const char*init_level(void) {
  if(setjmp(my_env)) return my_error;
  if(main_options['t']) {







>







1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
    }
    n=o->prev;
  }
  if(busy) goto trig;
  // Cleanup phase
  for(n=0;n<nobjects;n++) if(objects[n] && (objects[n]->oflags&OF_DESTROYED)) objtrash(n);
  if(generation_number<=TY_MAXTYPE) return "Too many generations of objects";
  if(firstobj==VOIDLINK) return "Game cannot continue with no objects";
  // Finished
  return 0;
}

const char*init_level(void) {
  if(setjmp(my_env)) return my_error;
  if(main_options['t']) {