Commit Graph

83 Commits

Author SHA1 Message Date
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
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
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
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
6465486443 Refactor Bitmap class to use shared_ptr for SDL_Surface objects 2024-08-25 14:22:52 -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
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
579a7a9607 move SDL_Surface_Deleter and SDL_Texture_Deleter 2024-08-09 19:16:09 -04:00
scawful
7488551335 add BitmapFormat enum, update Reformat 2024-08-06 18:01:24 -04:00
scawful
0d1fda488e housekeeping 2024-08-06 01:57:16 -04:00
scawful
988f89a9cc refactor bitmap 2024-08-04 21:03:57 -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
0660f60cde remove old transparent color code in bitmap 2024-07-18 19:54:18 -04:00
scawful
01b8441573 fix palette update pointer semantics 2024-07-14 19:34:33 -04:00
scawful
00e82140e0 cleanup bitmap class 2024-05-28 23:49:45 -04:00
scawful
b48af5313b put png callback code back 2024-05-28 23:13:41 -04:00
scawful
c85da49230 add data size to create bitmap 2024-05-28 23:12:52 -04:00
scawful
3272037f72 cleanup bitmap class 2024-05-28 23:10:15 -04:00
scawful
03a38fc712 Add error handling to SnesPalette and SnesColor member fns 2024-04-07 12:07:47 -04:00
scawful
d7b75fd7f6 annoying housekeeping 2024-02-01 00:13:34 -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
002fb626c4 Bitmap cleanup 2024-01-10 23:13:33 -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
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
scawful
72ef0d0536 Update Bitmap fns 2023-11-18 20:05:32 -05:00
scawful
299770922c Add Debugger interface, RoomObject class
- Log instructions to debugger using experiment flag
- Use BitmapManager for more functionality
- Draw framebuffer and integrated debugger
2023-11-13 14:51:01 -05:00
scawful
8677fdaa20 Add BitmapManager class 2023-11-12 09:54:08 -05:00
scawful
e4b23b9b26 Remove unecessary comments 2023-11-10 23:22:24 -05:00
scawful
26f6531c9d Add Bitmap::SaveSurfaceToFile 2023-08-18 10:27:50 -04:00
scawful
c336c60066 Add scad_format for CGX, COL, OBJ files 2023-08-09 00:19:07 -04:00
scawful
9ea107bc8d Update SNESPalette, SNESColor, add tests 2023-08-04 22:51:12 -04:00
Justin Scofield
7d0b09a589 Add SelectablePalettePipeline for updating palette 2023-08-03 21:09:27 -04:00
scawful
a6099674d1 selected tile tracks cursor, loads tile gfx 2023-01-01 13:45:50 -06:00