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
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
36435076c7
library: Improve documentation
2022-10-20 22:34:27 +01:00
Antonio Niño Díaz
82cc89df4c
examples: Cleanup filesystem_animated_model example
2022-10-20 22:12:58 +01:00
Antonio Niño Díaz
82a4ab39f0
examples: Remove paletted_bmp example
...
This is redundant because other examples show how to load palettes
from the filesystem or from RAM, and using BMP textures isn't
recommended anyway.
2022-10-20 22:05:07 +01:00
Antonio Niño Díaz
c71313ca88
examples: Clean filesystem_multiple_textures example
2022-10-20 22:04:01 +01:00
Antonio Niño Díaz
db13ce3f71
library: Check return value of DSMA library
2022-10-20 02:28:37 +01:00
Antonio Niño Díaz
7f360d88d3
docs: Update readme
2022-10-20 02:28:23 +01:00
Antonio Niño Díaz
8ee3c2acd0
docs: Update screenshots in readme
2022-10-20 02:06:53 +01:00
Antonio Niño Díaz
527f524e7c
tools: Remove nitro_texture_converter
...
This has been replaced by img2ds, which supports more image formats as
input and is more maintainable.
2022-10-20 02:03:30 +01:00
Antonio Niño Díaz
a800ffbb5a
tools: img2ds: Improve documentation and output
2022-10-20 02:02:12 +01:00
Antonio Niño Díaz
3ebcac15ba
library: examples: Add enums for texture formats and parameters
...
This helps discover the possible options.
2022-10-20 01:51:19 +01:00
Antonio Niño Díaz
2d81e88dec
examples: Cleanup last example
2022-10-20 01:03:40 +01:00
Antonio Niño Díaz
5c0b1a5bef
tools: img2ds: Support DEPTHBMP
...
Port code from Nitro Texture Exporter.
2022-10-20 01:01:19 +01:00
Antonio Niño Díaz
185d477271
examples: Cleanup almost all remaining examples
2022-10-20 00:14:36 +01:00
Antonio Niño Díaz
4babec1292
examples: Cleanup more examples
2022-10-19 22:57:35 +01:00
Antonio Niño Díaz
331611abae
examples: Update more examples
2022-10-19 20:57:11 +01:00
Fewnity
5415e41cce
Add SetFov function
2022-10-19 19:58:42 +02:00
Antonio Niño Díaz
139c44e04e
examples: Add assets script to more examples
2022-10-19 02:44:01 +01:00
Antonio Niño Díaz
30363ef0aa
examples: Refactor examples
...
- Provide the original assets for everything used in the examples. Add
scripts to convert the original assets into the formats used by the DS
instead of only providing the pre-converted files. The pre-converted
assets are still provided for convenience.
- Move away from BMP files in the examples: They aren't a realistic way
to use Nitro Engine to load textures. Use pre-converted PNG files
instead.
2022-10-19 02:32:04 +01:00
Antonio Niño Díaz
40be9293ec
tools: Introduce prototype of img2ds
...
This is a tool that allows the user to generate NDS textures from common
formats like PNG.
2022-10-19 02:20:48 +01:00
Antonio Niño Díaz
65b40841c2
docs: Update readme
2022-10-18 11:28:43 +01:00
Antonio Niño Díaz
327b862c77
docs: Update readme
2022-10-18 01:03:20 +01:00
Antonio Niño Díaz
50a0716938
examples: Add example of blended animations
2022-10-18 00:59:29 +01:00
Antonio Niño Díaz
ae9cd56387
library: Support blending two animations
2022-10-18 00:59:16 +01:00
Antonio Niño Díaz
2870eeb1c8
docs: Replace screenshot in the readme
2022-10-17 18:42:35 +01:00
Antonio Niño Díaz
bc8e64e4a4
library: Refactor organization of animation information
...
This is done in preparation to have two animations in one model.
2022-10-17 01:03:33 +01:00
Antonio Niño Díaz
da2be26de1
examples: Change license to CC0-1.0
2022-10-16 22:55:06 +01:00
Antonio Niño Díaz
238b930c7f
examples: Remove outdated examples
2022-10-16 22:26:51 +01:00
Antonio Niño Díaz
db8add4d7e
example: Cleanup source files
2022-10-16 22:03:41 +01:00
Antonio Niño Díaz
ccc8a67caf
library: Cleanup the final source files
2022-10-16 13:55: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
d45d217c5f
library: Fix documentation of some definitions
2022-10-16 02:45:46 +01:00
Antonio Niño Díaz
1b4d3270dc
library: Cleanup code and add missing enum entries
2022-10-16 02:35:54 +01:00
Antonio Niño Díaz
e8b3c80060
library: Use NE_Model* instead of void*
2022-10-15 19:53:29 +01:00
Antonio Niño Díaz
5bc3abd71b
library: Cleanup more source files
2022-10-15 19:51:04 +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
36a3f17e41
library: Clean more source files
2022-10-15 13:25:36 +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
40a7c202d4
dsma: Update to version 0.2.0
2022-10-15 00:36:52 +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
c05b5ab2e1
library: Clean code and documentation of some files
2022-10-14 02:50:35 +01:00
Antonio Niño Díaz
74ca718594
examples: Update format
2022-10-14 02:32:33 +01:00
Antonio Niño Díaz
3412e33f30
docs: Update Doxyfile
2022-10-14 02:32:33 +01:00
Antonio Niño Díaz
2f30d24b97
readme: licenses: Update readme and remove unused GPLv3.0
2022-10-13 23:26:50 +01:00
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