Commit Graph

96 Commits

Author SHA1 Message Date
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
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
6465486443 Refactor Bitmap class to use shared_ptr for SDL_Surface objects 2024-08-25 14:22:52 -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
54e8d7c3a5 Remove deprecated BitmapManager and experiment flag 2024-08-13 22:02:05 -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
d94735baf5 add SDL_RETURN_IF_ERROR, refactor bitmap 2024-08-13 00:26:10 -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
scawful
7e5b3858f4 mark BitmapManager as deprecated, transitioning to fixed arrays or vectors over hash map 2024-08-06 19:19:28 -04:00
scawful
7488551335 add BitmapFormat enum, update Reformat 2024-08-06 18:01:24 -04:00
scawful
988f89a9cc refactor bitmap 2024-08-04 21:03:57 -04:00
scawful
b1119a0c35 housekeeping 2024-08-02 18:44:46 -04:00
scawful
a1bc11b34d housekeeping 2024-07-29 12:42:52 -04:00
scawful
2962ae8e4e fix bpp format constant values 2024-07-27 09:46:04 -04:00
scawful
bf0379edc4 add Create and Reformat with GetSnesPixelFormat 2024-07-24 01:40:37 -04:00
scawful
f2b2bb17a5 add GetSnesPixelFormat and SNES_PIXELFORMAT_XBPP constants 2024-07-24 01:40:15 -04:00
scawful
f02d0d85ee update bitmap manager methods 2024-07-19 20:48:02 -04:00
scawful
934b9e05f3 remove shared_ptr semantics from BitmapManager as underlying texture/surface are already smart ptrs 2024-07-13 13:07:47 -04:00
scawful
eb51c43d7d remove old graphics bin from ow editor 2024-05-30 18:25:14 -04:00
scawful
18769163a2 remove shared ptr reset in bitmap cleanup 2024-05-30 18:10:11 -04:00
scawful
ba1e2367bb fix double free bug 2024-05-30 12:14:01 -04:00
scawful
00e82140e0 cleanup bitmap class 2024-05-28 23:49:45 -04:00
scawful
3272037f72 cleanup bitmap class 2024-05-28 23:10:15 -04:00
scawful
b31a8e3ca2 add error logging to bitmap constructor 2024-05-28 17:38:35 -04:00
scawful
f28e26ef28 housekeeping 2024-05-24 20:37:29 -04:00
scawful
81e5659c1f Replace BuildAndRenderBitmap with Rom::CreateAndRenderBitmap 2024-04-14 15:02:56 -05:00
scawful
5953e58bd4 Rename SharedROM to SharedRom 2024-04-14 14:51:53 -05:00
scawful
b7cd8bccd3 document gfx and lc_lz2 namespace 2024-04-14 10:18:25 -05:00
scawful
012eee1525 add more comments to gfx classes and canvas 2024-04-14 00:11:50 -05:00
scawful
89cc0703f1 add fn comments for doxygen, rename OAMTile to OamTile 2024-04-13 23:10:34 -05:00
scawful
4ab5ee8a68 Add context info about bitmaps to canvas 2024-04-12 00:34:26 -04:00
scawful
03a38fc712 Add error handling to SnesPalette and SnesColor member fns 2024-04-07 12:07:47 -04:00
scawful
aed54f1493 fix hyrule magic decompression memory leak, misc housekeeping 2024-02-03 00:04:21 -05:00
scawful
7784e17768 Add ConvertSurfaceToPng and ConvertPngToSurface function signatures 2024-01-31 23:58:01 -05:00
scawful
693dca1329 Rename SNESPalette, SNESColor to SnesPalette, SnesColor
Create snes_color.h and snes_color.cc to separate concerns
2024-01-31 21:09:42 -05:00
scawful
c3e616e60f Tile16 Editor updates (big commit) 2024-01-23 22:37:23 -05:00
scawful
6f80f328a8 Add Tilesheet class, update ScreenEditor for DungeonMaps 2024-01-22 03:30:55 -05:00
scawful
002fb626c4 Bitmap cleanup 2024-01-10 23:13:33 -05:00
scawful
27098a7917 cleanup bitmap and object renderer 2023-12-29 22:43:40 -05:00
scawful
a73c944529 Canvas, Palettes, Bitmap updates 2023-12-25 17:32:56 -06:00
scawful
a0c2349d0b Copy image to clipboard for GraphicsEditor 2023-12-17 21:07:48 -05:00
scawful
53873614ae Editor and Gui improvements 2023-11-30 02:12:34 -05:00
scawful
0bf45c86a9 Update GraphicsEditor, fix CommandHandler 2023-11-26 23:12:04 -05:00
scawful
97757e10e3 Add SDL_Texture streaming to Bitmap 2023-11-26 16:49:06 -05:00
scawful
fd43b27196 Cleanup Bitmap class memory management 2023-11-25 22:45:17 -05:00