Commit Graph

9 Commits

Author SHA1 Message Date
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
f57fa76576 library: Handle failures correctly
The previous code relied too much on assertions, even for things that
are just regular things that may happen while the application is running
(like running out of memory).

- Many assertions have been turned into permanent checks
- Some functions now return "success" or "failure".
- NE_Init3D() and NE_InitDual3D() (and others) have been reworked to
  handle failures gracefully.
2023-04-21 18:19:02 +01:00
Antonio Niño Díaz
17f026bb8f library: Make many function parameters const
This helps the compiler issue warning if there is some logical error in
the code, and it helps the developer realize if some assumption with
the code is wrong.
2022-10-20 22:36:58 +01:00
Antonio Niño Díaz
d45d217c5f library: Fix documentation of some definitions 2022-10-16 02:45:46 +01:00
Antonio Niño Díaz
3781f15d25 library: Fix documentation of structs and enums 2022-10-15 19:26:31 +01:00
Antonio Niño Díaz
c5b98e2d5e library: Clean more source code files 2022-10-15 03:08:32 +01:00
Antonio Niño Díaz
b1856d453a Minor fixes to comments 2019-06-14 13:03:23 +01:00
Antonio Niño Díaz
ed020174f7 Reduce default number of allocated objects
Rather than wasting memory, allocate a smaller number of elements. If
someone needs more elements they can be allocated at runtime as usual by
reseting the desired subsystem with the desired number of elements.
2019-06-13 01:57:43 +01:00
Antonio Niño Díaz
ea9b88ba5b Rename API subsystem to GUI
Seriously, what was I thinking? This happened about 10 years ago, I
didn't know what things were called like. Sorry.
2019-06-04 16:27:58 +01:00