Skip to content

Commit

Permalink
v1.16.0-stable
Browse files Browse the repository at this point in the history
[ESP]
- Se ha corregido un error ortográfico en el mensaje de error del tipo de archivo desconocido en la clase NGN_Resources.
- Se han añadido métodos a la clase NGN_Resources para eliminar un recurso específico de un repositorio.
- En la versión para Windows, se han vuelto a compilar la biblioteca y las utilidades con la última versión disponible de MinGW (gcc-13.2.0).
- En las versiones para Linux y Raspberry Pi OS, se han vuelto a compilar la biblioteca y las utilidades con las últimas versiones disponibles.
- Se han actualizado todos los templates para compilar con el flag -std=c++20.

[ENG]
- An orthographic error in the unknown file type error message has been corrected in the NGN_Resources class.
- Methods have been added to the NGN_Resources class to remove a specific resource from a repository.
- In the Windows version, the library and utilities have been recompiled with the latest available version of MinGW (gcc-13.2.0).
- In the Linux and Raspberry Pi OS versions, the library and utilities have been recompiled with the latest available versions.
- All templates have been updated to compile with the -std=c++20 flag.
  • Loading branch information
knightfox75 committed Mar 16, 2024
1 parent 0b5c7d6 commit 1cb00ba
Show file tree
Hide file tree
Showing 295 changed files with 914 additions and 523 deletions.
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_camera [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_CAMERA.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_canvas [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_CANVAS.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_collisions [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_COLLISIONS.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_disk [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_DISK.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_graphics [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_GRAPHICS.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_image [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_IMAGE.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_input [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_INPUT.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_load [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_LOAD.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_log [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_LOG.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_math [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_MATH.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_render [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_RENDER.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
19 changes: 18 additions & 1 deletion Docs/[ENG] User manual/ngn_resources [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_RESOURCES.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -128,6 +128,23 @@ NGN_SpriteData* bullet = ngn->resources->GetSprite(“local”, “arrow”);

--------------------------------------------------------------------------------

- Method
bool RemoveTexture(std::string repo_name, std::string resource_name);
bool RemoveTiledbg(std::string repo_name, std::string resource_name);
bool RemoveSprite(std::string repo_name, std::string resource_name);
bool RemoveCmap(std::string repo_name, std::string resource_name);
bool RemoveSfx(std::string repo_name, std::string resource_name);
bool RemoveTxt(std::string repo_name, std::string resource_name);
bool RemoveTypeface(std::string repo_name, std::string resource_name);

- Description
Deletes the resource with the specified name and repository from memory. If the resource or the repository is not found, it returns FALSE.

- Example
bool erase_ok = ngn->resources->RemoveTexture("local", "main_background");

--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_sound [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SOUND.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_sprite [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SPRITE.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_system [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SYSTEM.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_text_layer [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TEXT_LAYER.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_texture [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TEXTURE.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_tiledbg [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TILEDBG.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ENG] User manual/ngn_toolbox [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TOOLBOX.H
v1.15.0-stable
v1.16.0-stable
English

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_camera [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_CAMERA.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_canvas [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_CANVAS.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_collisions [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_COLLISIONS.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_disk [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_DISK.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_graphics [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_GRAPHICS.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_image [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_IMAGE.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_input [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_INPUT.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_load [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_LOAD.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_log [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_LOG.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_math [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_MATH.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_render [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_RENDER.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
21 changes: 19 additions & 2 deletions Docs/[ESP] Manual del usuario/ngn_resources [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_RESOURCES.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -108,7 +108,7 @@ if (!ngn->resources->Load("local", "data/resources.txt")) return false;

--------------------------------------------------------------------------------

- Método
- Métodos
NGN_TextureData* GetTexture(std::string repo_name, std::string resource_name);
NGN_TiledBgData* GetTiledbg(std::string repo_name, std::string resource_name);
NGN_SpriteData* GetSprite(std::string repo_name, std::string resource_name);
Expand All @@ -126,6 +126,23 @@ NGN_SpriteData* bullet = ngn->resources->GetSprite(“local”, “arrow”);

--------------------------------------------------------------------------------

- Métodos
bool RemoveTexture(std::string repo_name, std::string resource_name);
bool RemoveTiledbg(std::string repo_name, std::string resource_name);
bool RemoveSprite(std::string repo_name, std::string resource_name);
bool RemoveCmap(std::string repo_name, std::string resource_name);
bool RemoveSfx(std::string repo_name, std::string resource_name);
bool RemoveTxt(std::string repo_name, std::string resource_name);
bool RemoveTypeface(std::string repo_name, std::string resource_name);

- Descripción
Elimina de la memoria el recurso con el nombre y el repositorio especificados. Si el recurso o el repositorio no se encuentran, devuelve FALSE.

- Ejemplo
bool erase_ok = ngn->resources->RemoveTexture("local", "main_background");

--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_sound [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SOUND.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_sprite [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SPRITE.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_system [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_SYSTEM.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_text_layer [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TEXT_LAYER.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_texture [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TEXTURE.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_tiledbg [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TILEDBG.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Docs/[ESP] Manual del usuario/ngn_toolbox [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NGN_TOOLBOX.H
v1.15.0-stable
v1.16.0-stable
Español

--------------------------------------------------------------------------------
Expand Down
10 changes: 10 additions & 0 deletions Docs/changelog [ENG].txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
--------------------------------------------------------------------------------
2024-03-16 Ver.1.16.0-Stable
--------------------------------------------------------------------------------
- An orthographic error in the unknown file type error message has been corrected in the NGN_Resources class.
- Methods have been added to the NGN_Resources class to remove a specific resource from a repository.
- In the Windows version, the library and utilities have been recompiled with the latest available version of MinGW (gcc-13.2.0).
- In the Linux and Raspberry Pi OS versions, the library and utilities have been recompiled with the latest available versions.
- All templates have been updated to compile with the -std=c++20 flag.


--------------------------------------------------------------------------------
2023-12-12 Ver.1.15.0-stable
--------------------------------------------------------------------------------
Expand Down
10 changes: 10 additions & 0 deletions Docs/changelog [ESP].txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
--------------------------------------------------------------------------------
2024-03-16 Ver.1.16.0-estable
--------------------------------------------------------------------------------
- Se ha corregido un error ortográfico en el mensaje de error del tipo de archivo desconocido en la clase NGN_Resources.
- Se han añadido métodos a la clase NGN_Resources para eliminar un recurso específico de un repositorio.
- En la versión para Windows, se han vuelto a compilar la biblioteca y las utilidades con la última versión disponible de MinGW (gcc-13.2.0).
- En las versiones para Linux y Raspberry Pi OS, se han vuelto a compilar la biblioteca y las utilidades con las últimas versiones disponibles.
- Se han actualizado todos los templates para compilar con el flag -std=c++20.


--------------------------------------------------------------------------------
2023-12-12 Ver.1.15.0-stable
--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Examples/01_texture_loading/Texture_Loading.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
</Compiler>
<Unit filename="resource/resource.rc">
<Option compilerVar="WINDRES" />
Expand Down
2 changes: 1 addition & 1 deletion Examples/02_move_textures/Move_Textures.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
</Compiler>
<Unit filename="resource/resource.rc">
<Option compilerVar="WINDRES" />
Expand Down
2 changes: 1 addition & 1 deletion Examples/03_tiled_backgrounds/Tiled_Backgrounds.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
</Compiler>
<Unit filename="resource/resource.rc">
<Option compilerVar="WINDRES" />
Expand Down
Loading

0 comments on commit 1cb00ba

Please sign in to comment.