kichikuou / xsystem35-sdl2

Multi-platform implementation of AliceSoft's System3.x game engine.
https://kichikuou.github.io/web/
GNU General Public License v2.0
57 stars 8 forks source link

Allow loading multiple .xsys35rc files #15

Closed nunuhara closed 4 years ago

nunuhara commented 4 years ago

Load .xsys35rc from $HOME, and then from the CWD.

I've also fixed an operator precedence bug here:

-if (iscntrl(*q) || (is_flag == TRUE)?*q == '\n':isspace(*q))
+if (iscntrl(*q) || (!is_flag && isspace(*q)))

which caused a syntax error when reading files with DOS line endings ("\r\n").

Closes #14

kichikuou commented 4 years ago

Thanks!