Commit Graph

465 Commits

Author SHA1 Message Date
Antonio Niño Díaz
aa022b2a28 examples: Update example to use nitroFS 2022-10-13 22:00:20 +01:00
Antonio Niño Díaz
794e961274 examples: Rename examples 2022-10-13 21:55:01 +01:00
Antonio Niño Díaz
37395b0ed6 examples: Update examples of animated models
- Use DSM/DSA files instead of NEA files.
- Use nitroFS instead of FAT.
2022-10-13 21:43:31 +01:00
Antonio Niño Díaz
008aac16cc library: Silence warning
This only happens with the BMP writing code.
2022-10-13 21:03:18 +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
94216bedc4 dsma: Import DSMA 2022-10-13 02:19:15 +01:00
Antonio Niño Díaz
954a62d997 library: Fix typos 2022-10-13 01:12:42 +01:00
Antonio Niño Díaz
6e344141e3 tools: Remove old tools and integrate md5_to_dsma
MD2 is a very awkward format to use, with few tools that can read it or
write it. Relying on it is a bad idea. The replacements are:

- OBJ: Extremely common, but it only supports static models.

- MD5: Very easy to read, supports skeletal animations, reasonably good
  support in Blender. For more information, check its repository:

    https://github.com/AntonioND/dsma-library
2022-10-11 01:38:58 +01:00
Antonio Niño Díaz
395e3672e1 gitignore: Add more files 2022-10-11 00:43:42 +01:00
Antonio Niño Díaz
85d11153df tools: obj2dl: Support quads 2022-09-10 15:48:41 +01:00
Antonio Niño Díaz
507b0b2e16 tools: obj2dl: Fix error and warning messages 2022-09-10 15:25:48 +01:00
Antonio Niño Díaz
3114d3b204 tools: Introduce obj2dl
This can be used to convert Wavefront OBJ files into NDS display lists.
2022-09-09 02:48:48 +01:00
Antonio Niño Díaz
e89e363594 Clean code of md2_to_bin 2022-08-13 03:18:27 +01:00
Antonio Niño Díaz
424448d369 Fix typos and whitespace in md2_to_nea 2022-08-13 03:18:02 +01:00
Antonio Niño Díaz
17dceb8489 Refactor types of md2_to_nea 2022-08-13 02:51:33 +01:00
Antonio Niño Díaz
5850ae5d59 Update PNG reading code in nitro_texture_converter 2022-01-21 01:04:20 +00:00
Antonio Niño Díaz
e98698febf Update Makefiles to the ones used by devkitARM now
Fetched from:

    6afa09b205

Reported by lifehackerhansol:

    https://github.com/DS-Homebrew/TWiLightMenu/issues/1753
2022-01-18 18:23:23 +00:00
Antonio Niño Díaz
38f419d94d Add some notes to examples that use BMP files 2021-08-24 02:34:07 +01:00
Antonio Niño Díaz
543a08781e Delete precompiled Linux binary 2019-06-14 15:01:42 +01:00
Antonio Niño Díaz
585e4933af Reorganize screenshots in readme 2019-06-14 14:53:53 +01:00
Antonio Niño Díaz
f41b922a75 Add script to generate documentation
Also, add compiled documentation to gitignore.
2019-06-14 14:33:38 +01:00
Antonio Niño Díaz
07b253c102 Add screenshots to readme 2019-06-14 14:30:18 +01:00
Antonio Niño Díaz
4eed1f9cb1 Update readme 2019-06-14 14:30:07 +01:00
Antonio Niño Díaz
2211b1f6ff Fix warning in printf 2019-06-14 14:01:47 +01:00
Antonio Niño Díaz
feca3549a4 Add gitignore to dlfixer 2019-06-14 14:01:38 +01:00
Antonio Niño Díaz
07330a0c7b Update copyright notice of tool 2019-06-14 14:00:47 +01:00
Antonio Niño Díaz
1969c648bc Fix Makefile of dlfixer 2019-06-14 14:00:33 +01:00
Antonio Niño Díaz
43cd753e6c Fix printf format specifier 2019-06-14 13:26:13 +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
f6fb5c405e Increase version number to v0.7.0
Prepare for the next release.
2019-06-14 12:53:57 +01:00
Antonio Niño Díaz
08e83072bf Update Doxygen configuration
Remove inclusion graphs as they are useless in this project.

Set correct tab width.

Update version number.
2019-06-14 12:47:06 +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
ace5c0ce0d Fix gitignore files in tools folders 2019-06-13 18:16:05 +01:00
Antonio Niño Díaz
f824025ff3 Fix version information in tools 2019-06-13 18:14:33 +01:00
Antonio Niño Díaz
edb62f88f9 Add targets to cross compile tools for Windows 2019-06-13 18:03:05 +01:00
Antonio Niño Díaz
13a8b879af Clarify definition of 3D register 2019-06-13 17:24:48 +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
ea18da8320 Define not-set values to -1
Rather than having arbitrarily high numbers, -1 works for any number of
allocated elements.
2019-06-13 01:53:55 +01:00
Antonio Niño Díaz
3d58fcd273 Fix name of variable for consistency 2019-06-13 00:31:51 +01:00
Antonio Niño Díaz
77dda1b28d Rename md2_2_bin and md2_2_nea
Also, some small code style fixes.
2019-06-12 15:45:33 +01:00
Antonio Niño Díaz
80facfcb45 Don't link with libnds in main Makefile
This isn't needed here, it has to be done in the project where Nitro
Engine is used.
2019-06-12 00:39:30 +01:00
Antonio Niño Díaz
a73d0f9218 Sort includes alphabetically 2019-06-12 00:35:30 +01:00
Antonio Niño Díaz
ffa52a7223 Rename enums for consistency 2019-06-11 18:50:04 +01:00
Antonio Niño Díaz
34f058997f Remove unneeded definitions 2019-06-11 18:46:00 +01:00
Antonio Niño Díaz
1714b724ab Cleanup types in NEPolygon to prevent casts 2019-06-11 18:44:56 +01:00
Antonio Niño Díaz
d8eaaf2562 Remove unneeded casts 2019-06-10 17:17:19 +01:00
Antonio Niño Díaz
fd95ee34fe Replace malloc() by calloc() where it makes sense
If the memory is going to be cleared right away it is better to use
calloc(), as it does it automatically.
2019-06-10 17:17:08 +01:00
Antonio Niño Díaz
8314245958 Small cleanup of physics subsystem 2019-06-10 16:57:13 +01:00
Antonio Niño Díaz
f98d45922a Clean code style of general subsystem 2019-06-10 16:48:03 +01:00