> second best idea to use IFF/ILBM files in 2020... I should put the resulting PNG files into the repository to prevent the hassle of dealing with ancient image file conversion... :D
I was going to object that some old levels might also use IFF, but -- well, none in my huge collection do...
In fact, looks like graphics/gfx_classic/Makefile converts *.ilbm to *.png, except it needs help from code in RnD to expand the template for custom elements. Is there something special about RocksCE-template.ilbm that wouldn't work if it were RocksCE-template.png (pcx, bmp, whatever) in the first place? The thing where the makefile runs RnD to emit the .bmp CE image, then converts it to .ilbm, so the next target can convert it to .png, is ... funky :)
===
Unrelated, but I was reminded by doing `git pull` and then comparing remaining diffs in my tree: I have in src/events.c,
Code: Select all
fprintf(program.log_file_default[LOG_ERR_ID], "%s", newline);
+#if !defined(PLATFORM_WIN32)
+ fprintf(program.log_file_default[LOG_ERR_ID], "%s", "\r");
+#endif
which actually might be much better expressed as:
Code: Select all
- fprintf(program.log_file_default[LOG_ERR_ID], "%s", newline);
+ fprintf(program.log_file_default[LOG_ERR_ID], "%s", STRING_NEWLINE_DOS);
(or even more explicitly "\r\n", or STRING_NEWLINE_UNIVERSAL or something...)
The point of this is: this is writing to stderr, to a terminal; and my terminals spend a lot of their time in raw mode where plain newlines cause stairstepping (specifically: sitting in `vim` editing something or other). It is not harmful to emit CRLF to a Unix terminal when LF would have been sufficient, and sometimes it is anyway not sufficient.
[the other remaining diff is an added:
Error(ERR_INFO, "GetKeyModState() = %x, KMOD_Valid = %x, masked = %x\r",GetKeyModState(),KMOD_Valid,GetKeyModState()&KMOD_Valid);
in src/events.c:HandleKeysDebug(), because I am *still* having occasional cases where some modkey gets 'stuck on' as far as RnD is concerned, causing number keys to change the game speed when I'm not holding any modifier...]