Commit Graph

334 Commits

Author SHA1 Message Date
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
scawful
a8ed9b7f92 remove magic numbers, enforce const correctness 2024-08-20 21:31:59 -04:00
scawful
49611d4944 big cleanup, replace Bytes alias with std::vector<uint8_t> to reduce ambiguity 2024-08-20 12:02:47 -04:00
scawful
abc3ed3685 chore: Add error handling and precondition checks to ApplyPaletteWithTransparent method 2024-08-17 12:16:55 -04:00
scawful
54e8d7c3a5 Remove deprecated BitmapManager and experiment flag 2024-08-13 22:02:05 -04:00
scawful
f4d33e5a9f fix bitmap bug 2024-08-13 19:32:06 -04:00
scawful
327985b1c9 gfx cleanup 2024-08-13 18:04:41 -04:00
scawful
f1f2a7a25f gfx housekeeping 2024-08-13 00:50:39 -04:00
scawful
9f9edc9666 add YAZE_LIB_PNG if directives 2024-08-13 00:32:02 -04:00
scawful
feaee62462 add png_internal, YAZE_LIB_PNG definition 2024-08-13 00:30:14 -04:00
scawful
d94735baf5 add SDL_RETURN_IF_ERROR, refactor bitmap 2024-08-13 00:26:10 -04:00
scawful
59321aa777 reuse Create with format in Bitmap 2024-08-13 00:11:28 -04:00
scawful
57293b5887 refactor SnesPalette 2024-08-13 00:11:11 -04:00
scawful
ea81793550 PaletteGroupMap clear and empty 2024-08-10 00:15:35 -04:00
scawful
35d0130fc3 cleanup bitmap 2024-08-09 19:36:43 -04:00
scawful
579a7a9607 move SDL_Surface_Deleter and SDL_Texture_Deleter 2024-08-09 19:16:09 -04:00
Justin Scofield
478230e543 include <stdexcept> 2024-08-08 18:03:40 -04:00
scawful
3631a962bc move struct snes_palette to base 2024-08-06 23:46:45 -04:00
scawful
34ee6c9945 add base snes_color for clib 2024-08-06 22:46:05 -04:00
scawful
7e5b3858f4 mark BitmapManager as deprecated, transitioning to fixed arrays or vectors over hash map 2024-08-06 19:19:28 -04:00