Antonio Niño Díaz
82171bbf69
chore: Simplify copyright years in notices
...
Instead of listing every individual year, keep only the first and last
years.
2024-03-09 01:42:29 +00:00
Antonio Niño Díaz
e6e27fed0a
library: Remove unnecessary DC_FlushAll()
...
The buffer that is passed to fwrite() is written by the CPU, not by DMA.
It isn't needed to do anything to the cache.
2024-01-02 01:10:42 +01:00
Antonio Niño Díaz
6fde18d712
library: examples: Use stdint.h types
2023-11-17 01:00:40 +01:00
Antonio Niño Díaz
056042cd31
library: Check for errors properly in FAT functions
2023-11-12 01:23:51 +00:00
Antonio Niño Díaz
334c1aa9ab
library: Fix fseek() by changing the fopen() mode
...
fseek() seems to fail when the file is open in "rb+" mode. However,
there is no reason to use this mode, and "rb" is enough.
2023-11-12 01:23:48 +00:00
Antonio Niño Díaz
95e6a16a89
library: Fix FAT load function
...
"rb+" isn't required, "rb" is more correct.
Also, it is important to check the result of fread().
2023-11-11 18:34:21 +00:00
Antonio Niño Díaz
e1662b7357
library: Refactor library initialization state handling
...
Now that there are 4 different possibilities (not initialized, single
screen 3D mode, dual 3D mode, safe dual 3D mode) it is better to have an
enum instead of multiple bools.
2023-10-09 01:32:06 +01:00
Antonio Niño Díaz
76ccdc379e
library: Cleanup source code files
2022-10-16 02:58:48 +01:00
Antonio Niño Díaz
ae7e4104d4
library: Cleanup some more files
2022-10-15 00:36:28 +01:00
Antonio Niño Díaz
937c1ed1cf
library: Support DSMA and remove NEA support
...
Rendering NEA files has a terrible performance. Instead of trying to
support both formats, remove NEA and replace it by DSMA.
Some function signatures have changed to adapt to the new system.
"NE_ANIM_UPDOWN" has been removed because it's redundant: Just modify
the animation before exporting it from Blender.
2022-10-13 21:03:02 +01:00
Antonio Niño Díaz
727c64026a
Rename BMP structs for consistency
2019-06-14 12:45:38 +01:00
Antonio Niño Díaz
9f4f184bd7
Cleanup to FAT subsystem
2019-06-09 21:02:35 +01:00
Antonio Niño Díaz
976cf4d4c6
Simplify NE_DebugPrint messages
...
The function name is now part of the macro.
2019-06-05 14:19:04 +01:00
Antonio Niño Díaz
68d90b44c9
Remove occurrences of inline keyword
...
Let the compiler decide about it.
2019-06-04 18:24:22 +01:00
Antonio Niño Díaz
5be032ed44
Fix coding style of library
...
With a bit of help of `indent -linux`, but mostly by hand. Also used
`iconv -f ISO-8859-1 -t UTF-8//TRANSLIT` to convert to UTF-8.
There is still some refactoring left to do.
2019-06-04 01:02:56 +01:00
Antonio Niño Díaz
8f8bf4d249
Run dos2unix on library source files
2019-05-30 18:45:00 +01:00
Antonio Niño Díaz
f042d0be3e
Initial dump of code of v0.6.1
...
This commit is a simple dump of the files of [1]. This needs to undergo
some reorganization.
[1] http://www.skylyrac.net/old-site/nitroengine.html
2019-05-29 01:01:57 +01:00