Commit Graph

303 Commits

Author SHA1 Message Date
scawful
102f7b95e0 Add Tilemap functionality with creation, updating, and rendering capabilities; implement data retrieval for individual tiles, enhancing graphics management in the application. 2025-04-29 00:09:32 -04:00
scawful
8c207dc292 Implement SnesColor and SnesPalette constructors for enhanced color initialization; add methods for setting RGB and SNES values in SnesColor, improving color management and conversion capabilities. 2025-04-18 19:04:59 -04:00
scawful
9ad41f9f8b Refactor SnesColor class to use constexpr for constructors and methods, improving compile-time evaluation and performance; include <array> for better type handling. 2025-04-17 21:49:55 -04:00
scawful
44e13cf4bb Refactor bitmap palette management across various components to streamline palette setting and improve error handling; remove unnecessary status checks and enhance consistency in palette application methods. 2025-04-17 21:49:47 -04:00
scawful
a267e18f46 Refactor Bitmap class to improve texture management and memory tracking; implement custom allocators for SDL_Surface and SDL_Texture, enhance bitmap constructors, and add utility functions for tile extraction and pixel manipulation. 2025-04-16 22:35:47 -04:00
scawful
875d3d2bcf Introduce TexturePool for efficient texture reuse. 2025-04-16 22:35:42 -04:00
scawful
5637c20cb5 Add palette constants 2025-04-12 13:24:56 -04:00
scawful
95df0b5d8b Refactor Bitmap class: remove deprecated constructor and update Initialize method signature 2025-03-20 18:17:45 -04:00
scawful
c99a4b0bc4 rename ApplyPalette with SetPalette 2025-03-02 17:06:46 -05:00
scawful
4dc09ad5fc Refactor graphics loading: simplify function calls by removing namespace prefixes and improve header organization in scad_format 2025-02-28 00:46:39 -05:00
scawful
26cda69d44 Refactor common functionality into zelda3 namespace; remove references to core::common 2025-01-22 13:53:01 -05:00
scawful
e0797fee24 Rename snes_color.h to snes.h and consolidate tile structures 2025-01-19 21:00:51 -05:00
scawful
809282edad remove nonstandard type aliases 2025-01-19 20:16:40 -05:00
scawful
20ab684aae Add begin() and end() methods to SnesPalette for improved iteration 2025-01-18 22:01:45 -05:00
scawful
339df53674 Refactor ROM loading methods 2025-01-18 12:33:33 -05:00
scawful
c8883a1e54 Remove unused includes and clean up header files 2025-01-16 03:44:37 -05:00
scawful
65be2d0bd2 move sdl_delete.h to platform 2025-01-06 13:23:07 -05:00
Justin Scofield
cf13d6bf9e Update Bitmap and add Initialize function 2025-01-05 20:55:36 -05:00
scawful
92d6738a5c remove cached converted surface from Bitmap class 2025-01-01 16:08:43 -05:00
scawful
d711a84ed3 refactor Bitmap class: rename ConvertSurfaceToPNG to ConvertSurfaceToPng and streamline GetPngData method 2025-01-01 15:53:17 -05:00
Justin Scofield
ef44313671 housekeeping combo 2024-12-31 20:50:24 -05:00
scawful
a54143cbab Refactor Hyrule Magic compression functions to return std::vector<uint8_t> instead of raw pointers for improved memory management 2024-12-31 18:32:25 -05:00
scawful
308eb4b287 Rename Hyrule Magic compression functions; update deprecation notes 2024-12-31 18:20:18 -05:00
scawful
fd102a5d3c Refactor CompressionPiece constructor to accept string by reference and clean up unused comments 2024-12-31 18:19:49 -05:00
scawful
da36236433 Refactor SnesPalette and PaletteGroup, fix bug with group names 2024-12-31 17:39:25 -05:00
scawful
79a16bbefe mmmm housekeeping 2024-12-30 19:05:16 -05:00
scawful
96095969c6 Refactor GfxContext references to use gfx::GfxContext for consistency 2024-12-30 19:04:20 -05:00
scawful
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
scawful
4da4a48aed Refactor tile data access in Bitmap and update color writing in WriteColor method 2024-12-08 08:09:36 -05:00
scawful
21314702e8 Add EditorContext, refactor utils, add system managers 2024-11-19 23:10:23 -05:00
Justin Scofield
0b9f7ee6fa Refactor includes for improved organization and clarity 2024-11-18 18:01:14 -05:00
scawful
ec85a206b1 Refactor color conversion functions for consistent naming and improved readability 2024-11-18 14:12:46 -05:00
scawful
b336d14233 Refactor include paths and remove redundant headers in core and editor modules 2024-11-15 23:38:44 -05:00
scawful
7798d769a5 Refactor bitmap update methods to remove unnecessary parameters; simplify texture updating in Renderer and Bitmap classes 2024-11-13 09:16:16 -05:00
scawful
d13407c8e2 Refactor tile structures and functions to use snes_tile8; introduce GraphicsBuffer class for better data management 2024-11-13 08:52:12 -05:00
scawful
160a9c4c47 Refactor bitmap and compression headers to remove unused includes for clarity 2024-11-13 08:51:32 -05:00
scawful
089dc4017c Remove unused functions 2024-11-10 21:40:22 -05:00
scawful
0035176f86 Add CopyTile8bpp16 function and refactor usage in OverworldMap 2024-11-10 17:16:46 -05:00
scawful
3a2b2e8c37 Add ModifyTile16 function to handle composition of Tile16 graphics and update tile information management 2024-11-10 15:08:00 -05:00
scawful
03da9d4eaa Add sheet_offset parameter to ComposeTile16 and update sheet ID validation 2024-11-10 11:28:51 -05:00
scawful
744ad03be3 Refactor bitmap and tilesheet classes: improve variable naming, remove unused methods, and add tile data mirroring functionality for enhanced clarity and maintainability 2024-11-10 09:52:58 -05:00
scawful
fd881dc1d3 Refactor snes_palette.h for consistency and readability by adjusting reference styles and removing unnecessary includes 2024-11-08 00:12:30 -05:00
scawful
9657c5c499 add num_sheets arg to SnesTo8bppSheet 2024-10-05 11:06:40 -04:00
scawful
12ce96e533 chore: Refactor CMakeLists.txt and app.cmake files for better organization 2024-08-30 02:57:14 -04:00
scawful
2681e46a7b Refactor file paths for extension headers 2024-08-30 02:22:08 -04:00
scawful
6465486443 Refactor Bitmap class to use shared_ptr for SDL_Surface objects 2024-08-25 14:22:52 -04:00
scawful
c83d0440d8 cleanup snes_palette stuff 2024-08-21 10:13:13 -04:00
scawful
ea8a851539 clang tidy cleanups 2024-08-21 00:37:14 -04:00
scawful
10c46e6db1 housekeeping 2024-08-20 22:56:02 -04:00
scawful
dc244ac02d Refactor sprite editor to use Zelda3 namespace for default sprite names 2024-08-20 21:42:50 -04:00