docs: Update changelog and definitions for version 0.9.0

This commit is contained in:
Antonio Niño Díaz 2023-10-19 01:49:39 +01:00
parent 98995f4561
commit 88a1e20393
4 changed files with 43 additions and 6 deletions

View File

@ -1,6 +1,43 @@
Changelog
=========
Version 0.9.0 (2023-10-19)
--------------------------
- Introduce two new dual 3D modes. They are resilient and they will always show
the same output on both screens even if the framerate drops. This isn't the
case with the previous dual 3D mode.
- Fix 2D projection used to display 3D sprites. The Y coordinate didn't work
correctly for numbers close to 192. This means that an ugly hack to apply an
offset to the texture coordinates of 2D polygons is no longer needed.
- Fix initialization of the library. Sometimes, depending on the loader, the
game would start in a different time in the screen rendering cycle. This would
swap the images of the screens until the framerate dropped when loading
assets, for example.
- The code that switches between screens in dual 3D mode has been more reliable.
Nitro Engine now swaps screens after they are actually drawn, not in the
vertical blanking interrupt handler, when it switched every frame even if no
new frame had been drawn by the game.
- Switch a lot of assert() in the library into permanent runtime checks. Several
functions now return error codes instead of not returning any value.
- Use safe DMA copy functions if the libnds of the toolchain provides them (they
are only available in BlocksDS at the moment).
- The library now supports sending display lists to the GPU in different ways to
work around a hardware bug in the ARM9 DMA when it is set to GFX FIFO mode.
- Fix debug build of the library.
- Fix build of the NFlib template with devkitPro libraries.
- Update examples and add some more, particularly about comparisons between dual
3D modes.
Version 0.8.2 (2023-04-20)
--------------------------

View File

@ -38,7 +38,7 @@ PROJECT_NAME = "Nitro Engine"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.8.2
PROJECT_NUMBER = 0.9.0
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
//
// Copyright (c) 2008-2011, 2019, 2022 Antonio Niño Díaz
// Copyright (c) 2008-2011, 2019, 2022-2023 Antonio Niño Díaz
//
// This file is part of Nitro Engine
@ -43,9 +43,9 @@ extern "C" {
/// Major version of Nitro Engine
#define NITRO_ENGINE_MAJOR (0)
/// Minor version of Nitro Engine
#define NITRO_ENGINE_MINOR (8)
#define NITRO_ENGINE_MINOR (9)
/// Patch version of Nitro Engine
#define NITRO_ENGINE_PATCH (2)
#define NITRO_ENGINE_PATCH (0)
/// Full version of Nitro Engine
#define NITRO_ENGINE_VERSION ((NITRO_ENGINE_MAJOR << 16) | \
@ -53,7 +53,7 @@ extern "C" {
(NITRO_ENGINE_PATCH))
/// String with the version of Nitro Engine
#define NITRO_ENGINE_VERSION_STRING "0.8.2"
#define NITRO_ENGINE_VERSION_STRING "0.9.0"
/// @}

View File

@ -1,5 +1,5 @@
###################
Nitro Engine v0.8.2
Nitro Engine v0.9.0
###################
Introduction