Commit Graph

61 Commits

Author SHA1 Message Date
Antonio Niño Díaz
f834dd6bcb docs: library: Update changelog and version number to 1.1.9 2025-03-26 18:11:06 +00:00
Antonio Niño Díaz
fc762cb9c3 docs: library: Update changelog and update version 2025-02-28 01:24:15 +00:00
Antonio Niño Díaz
b80d754974 docs: library: Update changelog and update version number to 1.1.7 2025-01-15 18:22:34 +00:00
Antonio Niño Díaz
62df61ca36 docs: library: Update changelog and bump version to 1.1.6 2024-12-23 00:45:34 +01:00
BG2CNT
bedb6b1b3a sprite256: Fix doc typo in NF_VramSpritePal 2024-09-27 17:56:21 +01:00
Antonio Niño Díaz
67f129bc1e docs: library: Update changelog and bump version number 2024-09-10 18:23:38 +01:00
Antonio Niño Díaz
50437c3839 docs: library: Update changelog and bump version to 1.1.4 2024-07-06 12:44:47 +01:00
Antonio Niño Díaz
418791f8f2 library: Update extensions of custom maps and fonts
It's better to use the natural extensions of grit rather than the modified
extensions of NFLib. Update the documentation to reflect that.

Also, remove references to bat scripts.
2024-06-20 01:22:50 +01:00
BG2CNT
92007d25f8
library: Fix version number 2024-06-17 16:33:22 +01:00
Antonio Niño Díaz
30bdb320c8 docs: library: Update version to 1.1.1 2024-01-28 02:45:31 +00:00
Antonio Niño Díaz
ba8ba3c3b3 library: Add helper to detect if a file exists 2023-12-24 03:05:33 +01:00
Antonio Niño Díaz
edc0326f1a docs: library: Update changelog and version number to 1.1.0 2023-11-16 02:51:07 +00:00
Antonio Niño Díaz
33e9ba783e library: Remove unused collision map fields
They don't have a palette.
2023-05-30 22:51:53 +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
021a5a0048 library: Cleanup and translate the remaining source files 2023-05-29 23:15:53 +01:00
Antonio Niño Díaz
18fc4a63ba library: Cleanup and translate more source files 2023-05-28 02:09:25 +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
5280f3fe64 library: Cleanup affine background source files 2023-05-25 21:56:27 +01:00
Antonio Niño Díaz
2f13ecd7b8 library: Cleanup and translate 256 color sprite module 2023-05-24 02:53:36 +01:00
Antonio Niño Díaz
e1506cc74f library: Cleanup of types
Types like u8 and u16 aren't always a good idea. For example:

    void function(u8 x, u8 y)
    {
        u32 value = (x << 16) | y;
    }

The left shift of x will overflow because x is 8 bits wide. It is better
to make both arguments 32 bit wide.

It may also cause the compiler to introduce bit masking operations at
the caller side because the caller doesn't know how the function
behaves internally.

In order to prevent this kind of issues, it's better to use 32 bit
variables unless there is a very good reason to use smaller types (like
in structs, to save RAM).
2023-05-24 02:53:36 +01:00
Antonio Niño Díaz
5150862e16 library: Translate and cleanup more source files 2023-05-22 01:02:17 +01:00
Antonio Niño Díaz
dc67afb8c9 library: Translate and cleanup some source files 2023-05-21 22:29:57 +01:00
Antonio Niño Díaz
c3d6122d95 library: Mark NF_Error as noreturn 2023-05-21 22:23:21 +01:00
Antonio Niño Díaz
b31a3e7d20 library: Make some functions static inline 2023-05-15 02:15:02 +01:00
Antonio Niño Díaz
1246d11d74 examples: Remove font templates
There are many examples with sample fonts.
2023-05-13 17:32:28 +01:00
Antonio Niño Díaz
b441773a3e library: Small improvement of grit commands documentation 2023-05-13 14:17:14 +01:00
Antonio Niño Díaz
9e31687288 library: Start using semver
The library has never had a version number based on semver, so the
first tagged release will be 1.0.0 and it will define the first stable
API.

This versioning strategy makes it easier to detect incompatibilities
between library versions.

Information about semver 2.0.0: https://semver.org/
2023-05-12 00:01:37 +01:00
Antonio Niño Díaz
64768e92d8 library: Fix header guards
Symbols that start with two underscores plus an uppercase letter are
reserved by the C standard.
2023-05-11 23:55:01 +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
57cc1d519c library: Cleanup headers 2023-05-11 23:36:27 +01:00
Antonio Niño Díaz
63ca9c5a2f doxygen: Fix comments 2023-05-02 02:26:03 +01:00
Antonio Niño Díaz
080a46a5bd Fix warning incorrect type warning 2023-05-02 02:23:16 +01:00
Antonio Niño Díaz
5bac142de7 doxygen: Document WiFi helpers in header
Remove the old PDF files as they are no longer needed (and they were
both in Spanish, anyway).
2023-05-02 02:23:16 +01:00
Antonio Niño Díaz
7e65d659a4 Add missing C++ header guards 2023-05-02 02:23:16 +01:00
Antonio Niño Díaz
fc0d3365b6 Move wifi helpers to the main library 2023-05-02 02:23:16 +01:00
Antonio Niño Díaz
d9d06081ca Remove PAlib definitions and use libnds instead 2023-05-01 03:17:37 +01:00
Antonio Niño Díaz
b8e80a70dd doxygen: Fix comments 2023-05-01 03:04:30 +01:00
Antonio Niño Díaz
92f39078a1 library: Fix typo in function name 2023-05-01 03:02:26 +01:00
Antonio Niño Díaz
7dd92e646b doxygen: Document remaining functions 2023-05-01 03:00:01 +01:00
Antonio Niño Díaz
0456094207 doxygen: Replace HTML tags by markdown 2023-05-01 01:33:43 +01:00
Antonio Niño Díaz
035b8bb49e doxygen: Document affine backgrounds functions 2023-05-01 01:00:59 +01:00
Antonio Niño Díaz
d88ba43731 doxygen: Document bitmap background functions 2023-05-01 00:17:42 +01:00
Antonio Niño Díaz
be55199098 doxygen: Document collision and sound modules 2023-04-30 15:47:47 +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
Antonio Niño Díaz
02b0eff087 doxygen: Document 8x16 font text functions 2023-04-30 14:44:05 +01:00
Antonio Niño Díaz
59b9cb02ec doxygen: Add 2D functions to a doxygen group 2023-04-30 03:09:18 +01:00
Antonio Niño Díaz
1b344843f4 doxygen: Document text functions 2023-04-30 03:03:12 +01:00
Antonio Niño Díaz
9dde256592 doxygen: Create documentation groups 2023-04-30 02:15:43 +01:00