Free Hero Mesh

Check-in [3427b010ff]
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:Implement removing quiz text
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3427b010ffc3d1deb3103bcfbedb6383a877ca35
User & Date: user on 2020-12-17 03:39:00
Other Links: manifest | tags
Context
2020-12-17
06:33
Some more implementation of diagonal move check-in: 0090f92a2f user: user tags: trunk
03:39
Implement removing quiz text check-in: 3427b010ff user: user tags: trunk
03:29
Change FlushObj to ,FlushObj to make the instruction set more consistent check-in: 7a253eb1d0 user: user tags: trunk
Changes

Modified exec.c from [873b6b076a] to [8099116229].

1477
1478
1479
1480
1481
1482
1483










1484
1485
1486
1487
1488
1489
1490

const char*execute_turn(int key) {
  Uint32 m,n;
  Value v;
  int i;
  if(!key) return 0;
  if(setjmp(my_env)) return my_error;










  changed=0;
  key_ignored=0;
  all_flushed=0;
  lastimage_processing=0;
  vstackptr=0;
  current_key=key;
  for(n=0;n<nobjects;n++) if(objects[n]) {







>
>
>
>
>
>
>
>
>
>







1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500

const char*execute_turn(int key) {
  Uint32 m,n;
  Value v;
  int i;
  if(!key) return 0;
  if(setjmp(my_env)) return my_error;
  if(quiz_text) {
    sqlite3_free(quiz_text);
    quiz_text=0;
    if(key_ignored) {
      if(quiz_obj.t) quiz_obj=NVALUE(0); else return 0;
    } else if(!quiz_obj.t) {
      move_number++;
      return 0;
    }
  }
  changed=0;
  key_ignored=0;
  all_flushed=0;
  lastimage_processing=0;
  vstackptr=0;
  current_key=key;
  for(n=0;n<nobjects;n++) if(objects[n]) {