diff --git a/butano/include/bn_documentation.h b/butano/include/bn_documentation.h index 553a1243f..ff80d39a1 100644 --- a/butano/include/bn_documentation.h +++ b/butano/include/bn_documentation.h @@ -973,7 +973,7 @@ * @tableofcontents * * - * @section changelog_2_0_0 2.0.0 (next release) + * @section changelog_2_0_0 2.0.0 * * * By removing some method overloads, lots of runtime asserts when creating resources have been removed. * * bn::palette_bpp_mode has been renamed to bn::bpp_mode and `bpp_mode()` methods have been renamed to `bpp()`. diff --git a/butano/include/bn_sprite_tiles_ptr.h b/butano/include/bn_sprite_tiles_ptr.h index e1e5b304e..2c8650c37 100644 --- a/butano/include/bn_sprite_tiles_ptr.h +++ b/butano/include/bn_sprite_tiles_ptr.h @@ -181,8 +181,8 @@ class sprite_tiles_ptr * * @param tiles_item sprite_tiles_item which references the tiles to handle. * @param graphics_index Index of the tile set to reference in sprite_tiles_item. - * @return sprite_tiles_ptr which references tiles_item.graphics_tiles_ref(graphics_index) if it could be allocated; - * `nullopt` otherwise. + * @return sprite_tiles_ptr which references tiles_item.graphics_tiles_ref(graphics_index) + * if it could be allocated; `nullopt` otherwise. */ [[nodiscard]] static optional create_new_optional(const sprite_tiles_item& tiles_item, int graphics_index); diff --git a/butano/include/bn_version.h b/butano/include/bn_version.h index 209610430..fd7c37680 100644 --- a/butano/include/bn_version.h +++ b/butano/include/bn_version.h @@ -27,7 +27,7 @@ namespace bn::version */ [[nodiscard]] constexpr int major() { - return 1; + return 2; } /** diff --git a/docs/changelog.html b/docs/changelog.html index 63192d858..b3a68947c 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -52,7 +52,7 @@

Contents

-

2.0.0 (next release)

  • By removing some method overloads, lots of runtime asserts when creating resources have been removed.
  • bn::palette_bpp_mode has been renamed to bn::bpp_mode and bpp_mode() methods have been renamed to bpp().
  • 8 bits per pixel background tiles allocation fixed.

1.0.0

0.4.0

  • btn renamed to bn. No more API breaks will be made between minor releases after 1.0.0, promise.
  • Background tiles manager status can be printed in the log with bn::bg_tiles::log_status(). This is done automatically when a non-optional background tiles allocation fails too.
  • Background regular maps manager status can be printed in the log with bn::bg_maps::log_status(). This is done automatically when a non-optional regular background map allocation fails too.
  • Sprite tiles manager status can be printed in the log with bn::sprite_tiles::log_status(). This is done automatically when a non-optional sprite tiles allocation fails too.
  • Color palettes managers status can be printed in the log with bn::bg_palettes::log_status() and bn::sprite_palettes::log_status(). This is done automatically when a non-optional color palette allocation fails too.
  • Sprites destruction optimized.
  • Setters with an optional parameter added to some classes.
  • Optional components documentation fixed.
  • Other documentation improvements.

0.3.0

  • Sprites update performance improved up to 30% in Butano Fighter thanks to avoid rebuilding sprites list as much as possible.
  • Profiler can show the maximum measured ticks per entry.
  • Assets tools print output binaries size.

0.2.0

  • Performance improved up to 12% in Butano Fighter without -flto thanks to using less build translation units.
  • Documentation improved.

0.1.0

First release.

+

2.0.0

  • By removing some method overloads, lots of runtime asserts when creating resources have been removed.
  • bn::palette_bpp_mode has been renamed to bn::bpp_mode and bpp_mode() methods have been renamed to bpp().
  • 8 bits per pixel background tiles allocation fixed.

1.0.0

0.4.0

  • btn renamed to bn. No more API breaks will be made between minor releases after 1.0.0, promise.
  • Background tiles manager status can be printed in the log with bn::bg_tiles::log_status(). This is done automatically when a non-optional background tiles allocation fails too.
  • Background regular maps manager status can be printed in the log with bn::bg_maps::log_status(). This is done automatically when a non-optional regular background map allocation fails too.
  • Sprite tiles manager status can be printed in the log with bn::sprite_tiles::log_status(). This is done automatically when a non-optional sprite tiles allocation fails too.
  • Color palettes managers status can be printed in the log with bn::bg_palettes::log_status() and bn::sprite_palettes::log_status(). This is done automatically when a non-optional color palette allocation fails too.
  • Sprites destruction optimized.
  • Setters with an optional parameter added to some classes.
  • Optional components documentation fixed.
  • Other documentation improvements.

0.3.0

  • Sprites update performance improved up to 30% in Butano Fighter thanks to avoid rebuilding sprites list as much as possible.
  • Profiler can show the maximum measured ticks per entry.
  • Assets tools print output binaries size.

0.2.0

  • Performance improved up to 12% in Butano Fighter without -flto thanks to using less build translation units.
  • Documentation improved.

0.1.0

First release.

diff --git a/docs_tools/Doxyfile b/docs_tools/Doxyfile index 8265232c5..43653a7d1 100644 --- a/docs_tools/Doxyfile +++ b/docs_tools/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = Butano # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.0.0 +PROJECT_NUMBER = 2.0.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