Differences From Artifact [07a6400988]:
- File edit.c — part of check-in [870cc89301] at 2020-12-15 02:26:58 on branch trunk — Change the command code of the "select level" command from '^L' to 'go' since a ^ command is not helpful for this situation (user: user, size: 11433) [annotate] [blame] [check-ins using]
To Artifact [4ddc1ba4e4]:
- File edit.c — part of check-in [6d402e1175] at 2020-12-19 22:24:37 on branch trunk — Implement command to create a new empty puzzle set (user: user, size: 11879) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
386 387 388 389 390 391 392 |
return;
}
redraw_editor();
break;
}
}
}
| > > > > > > > > > > > > > > > > > > | 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 |
return;
}
redraw_editor();
break;
}
}
}
void write_empty_level_set(FILE*fp) {
static const unsigned char d[]=
"CLASS.DEF\0\x00\x00\x02\x00"
"\x00\x00" // no classes or messages
"LEVEL.IDX\0\x00\x00\x02\x00"
"\x00\x00" // only one level
"0.LVL\0\x00\x00\x0D\x00"
"\x00\x00" // level version
"\x00\x00" // level code
"\x00\x00" // width/height
"Blank\0" // title
"\xFF" // objects
;
fwrite(d,1,sizeof(d)-1,fp);
fflush(fp);
rewind(fp);
}
|