Free Hero Mesh

Check-in [26495d20a1]
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:Change coordinates for ObjClassAt to 16-bits (fixes knights in CHESSMAZ puzzle set)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 26495d20a1960736fa20d12ed90c1019847d21fe
User & Date: user on 2021-06-18 04:21:35
Other Links: manifest | tags
Context
2021-06-20
19:57
Mention the IRC in the README file check-in: af13ae66e0 user: user tags: trunk
2021-06-18
04:21
Change coordinates for ObjClassAt to 16-bits (fixes knights in CHESSMAZ puzzle set) check-in: 26495d20a1 user: user tags: trunk
00:28
Display yellow level numbers in solution replay mode check-in: d803d36742 user: user tags: trunk
Changes

Modified exec.c from [57a0eefbcc] to [94a86764bd].

416
417
418
419
420
421
422
423

424
425
426
427
428
429
430
416
417
418
419
420
421
422

423
424
425
426
427
428
429
430







-
+







  while(i!=VOIDLINK) {
    if(!(objects[i]->oflags&(OF_DESTROYED|OF_VISUALONLY))) return i;
    i=objects[i]->up;
  }
  return VOIDLINK;
}

static Uint32 obj_class_at(Uint32 c,Uint32 x,Uint32 y) {
static Uint32 obj_class_at(Uint32 c,Uint16 x,Uint16 y) {
  Uint32 i;
  if(x<1 || x>pfwidth || y<1 || y>pfheight) return VOIDLINK;
  i=playfield[x+y*64-65];
  if(c && (classes[c]->cflags&CF_GROUP)) {
    Uint16 k;
    while(i!=VOIDLINK) {
      if(!(objects[i]->oflags&OF_DESTROYED)) {