Antonio Niño Díaz
06557f1773
library: Support colmaps with extensions .map and .img
...
Currently it is needed to rename the extension of the collision maps
from .img and .map to .dat and .cmp for NFlib to find the files. This
patch makes it also try to load the original extensions so that the
renaming isn't required.
2023-12-24 03:05:46 +01:00
Antonio Niño Díaz
aef2292857
library: Share most code that loads file from the filesystem
...
Instead of repeating the same code whenever a file needs to be loaded,
move it to a function.
2023-05-30 22:50:22 +01:00
Antonio Niño Díaz
470c39d031
library: Add copyright notice
2023-05-29 23:25:36 +01:00
Antonio Niño Díaz
0329934b90
library: Cleanup and translate some source files
2023-05-26 00:54:32 +01:00
Antonio Niño Díaz
0428b7a1ea
library: Translate file headers
2023-05-25 22:11:19 +01:00
Antonio Niño Díaz
c34dbb2912
library: Remove version number from source files
...
This is misleading unless it's updated every single time there is a
commit, which isn't realistic.
2023-05-11 23:49:33 +01:00
Antonio Niño Díaz
0394efbf77
Small cleanup of loop variables
2023-05-03 01:48:58 +01:00
Antonio Niño Díaz
e0296e0856
Remove superfluous comments
2023-05-03 01:48:58 +01:00
Antonio Niño Díaz
54d5435650
Reorganize includes
...
libc includes go first, then libraries like libnds and dswifi, then
NFLib includes.
2023-05-03 01:48:58 +01:00
Antonio Niño Díaz
fe33d66d91
Remove trailing whitespace
2023-05-03 01:21:56 +01:00
Antonio Niño Díaz
027e5579be
Fix typo in "collision" everywhere
...
Some defines have been added to preserve backwards compatibility with
the old names.
2023-04-30 14:53:37 +01:00