Szilárd Biró
Szilárd Biró
I'm not at my usual setup so I tried to use WSL2 to test my changes. It turns out Ubuntu Bionic only has CMake 3.10.2 so I tried to use...
> > Maybe I put this in the wrong place? > > Because you're using `add_compile_options` (and not `target_compile_options( PUBLIC )`), you need to do the `add_compile_options` BEFORE any `add_library`...
It's nothing to write home about, but here's one where it's not immediately obvious that I didn't do any clipping:
Of course, if you think it's interesting feel free to post it. I'll rebase the PR and implement the changes you have suggested.
The name readLE32 implies some kind of I/O for me, also these functions are used for saving too, e.g. for DARKPILO.CFG. I didn't put much tought into the naming convention...
I renamed the functions and rebased the PR. The float variants had no Linux kernel equivalents, so I took some liberties there. Let me know what you think.
I'm working on a custom Amiga port, TFE's own formats are currently not endian swapped, but I can add it there as well.
Just rebased this to the latest head. Let me know if there's anything else I should change/add before it can be merged.
The shareware probably won't work due to the missing content, but as of commit 983cc9c the Steam release does in addition to the original retail version.
You are right, it's a better solution to filter these out, and allow only Amiga-style paths.