Commit Graph

21 Commits

Author SHA1 Message Date
Antonio Niño Díaz
2c1144af66 library: docs: example: Refactor debug mode builds
Instead of asking the user to rebuild the library, now it is possible
to build the library in both release and debug modes and to have both
versions of the library compiled at the same time.
2022-10-21 00:50:13 +01:00
Antonio Niño Díaz
36435076c7 library: Improve documentation 2022-10-20 22:34:27 +01:00
Fewnity
5415e41cce Add SetFov function 2022-10-19 19:58:42 +02: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
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
b748685c12 Final touches to documentation 2019-06-14 13:15:52 +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
f98d45922a Clean code style of general subsystem 2019-06-10 16:48:03 +01:00
Antonio Niño Díaz
395de70e7d Use REG_BG0HOFS define and remove hack
REG_BGOFFSETS isn't a define meant to be used for the scroll of BG0.
2019-06-10 16:44:04 +01:00
Antonio Niño Díaz
b0282eecd8 Rename enum for consistency 2019-06-10 16:41:09 +01:00
Antonio Niño Díaz
60b38de9e6 Rename NE_Input struct 2019-06-10 16:35:38 +01:00
Antonio Niño Díaz
226cba25d4 Use the right types for storing keys states 2019-06-09 17:20:22 +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
a9ae923fff Simplify NE_Assert messages
The function name is now part of the macro.
2019-06-05 14:06:10 +01:00
Antonio Niño Díaz
d6a4a14e2b Simplify NE_AssertMinMax messages
The function name is now part of the macro.
2019-06-05 13:48:30 +01:00
Antonio Niño Díaz
700971beef Simplify NE_AssertPointer messages
Now the name of the function is added as part of the macro.
2019-06-05 13:41:35 +01:00
Antonio Niño Díaz
087d19ab00 Print newline in assert helpers
Rather than making the print function insert a newline after every
message, send the newline from the engine.

Custom error message handlers need to be adapted for this change. If
they were inserting a newline after every message, it is no longer
needed.
2019-06-05 03:12:04 +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
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
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