Commit Graph

47 Commits

Author SHA1 Message Date
scawful
6f3c9ba81b feat: Enhance DungeonCanvasViewer with Object Outline Filters and Context Menu Improvements
- Added a sub-menu for toggling visibility of object outlines based on type and layer, allowing for more granular control over displayed objects in the dungeon canvas.
- Implemented checkboxes for filtering object outlines by type (Type 1, Type 2, Type 3) and layer (Layer 0, Layer 1, Layer 2) in the debug menu.
- Updated the drawing logic to respect the new filtering options, ensuring only the selected objects are rendered on the canvas.
- Improved the visibility of object ID labels by making them smaller and less obtrusive, enhancing the overall clarity of the canvas display.
2025-10-10 01:11:39 -04:00
scawful
e05e59fb14 Refactor color conversion logic for improved accuracy and consistency
- Updated color channel assignments in ConvertRgbToSnes and SnesColor constructor to remove unnecessary static_cast, enhancing clarity and ensuring correct value usage.
- Simplified namespace declaration in snes_palette.cc for better readability.
- Changed Paletteset constructor parameters to use const references, improving performance and consistency in object handling.
2025-05-26 13:55:38 -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
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
809282edad remove nonstandard type aliases 2025-01-19 20:16:40 -05:00
scawful
c8883a1e54 Remove unused includes and clean up header files 2025-01-16 03:44:37 -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
21314702e8 Add EditorContext, refactor utils, add system managers 2024-11-19 23:10:23 -05:00
scawful
ec85a206b1 Refactor color conversion functions for consistent naming and improved readability 2024-11-18 14:12:46 -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
c83d0440d8 cleanup snes_palette stuff 2024-08-21 10:13:13 -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
57293b5887 refactor SnesPalette 2024-08-13 00:11:11 -04:00
scawful
34ee6c9945 add base snes_color for clib 2024-08-06 22:46:05 -04:00
scawful
7c708519ac standardize imgui headers as user instead of system 2024-07-30 23:33:12 -04:00
scawful
b887771593 move palette constants to snes_palette 2024-07-22 19:25:18 -04:00
scawful
5f7cd952d9 put palette_group_internal inside of gfx namespace 2024-04-14 15:38:43 -05:00
scawful
82ee1ad62d Move LoadAllPalettes and palette_group_internal to snes_palette 2024-04-14 15:27:37 -05: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
edbeac8517 SnesColor housekeeping 2024-01-31 23:56:58 -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
4463e6be32 Add gfx::PaletteSet type 2024-01-28 12:04:00 -05:00
scawful
9aaa91727d Add ConvertRGBtoSNES for ImVec4 arg 2023-12-19 18:41:21 -05:00
scawful
53873614ae Editor and Gui improvements 2023-11-30 02:12:34 -05:00
Justin Scofield
5f3ca25c80 DungeonEditor upgrades and other QoL 2023-11-22 16:08:18 -05:00
scawful
6a0dc078c1 Refactor ROM class, add RunTransaction 2023-10-22 03:23:26 -04:00
scawful
fb398351d8 cleanup rom, gfx, overworld and add comments 2023-10-20 02:17:35 -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
01802d1a73 Refactor LC_LZ2 and expand GraphicsEditor
Add CompressV2 and DecompressV2
Add PortablePalette to PaletteEditor
2023-07-22 15:24:34 -04:00
scawful
df8443152b Add CgxViewer, update GraphicsEditor 2023-07-18 21:55:23 -04:00
scawful
46fe8993ea Update PaletteEditor, remove Delta experiment 2023-05-15 08:23:13 -05:00
scawful
cfb84481ed palette viewer and editor 2022-09-11 14:23:39 -05:00
scawful
1244e6855c palettes and overworld drawing 2022-09-10 16:33:59 -05:00
Justin Scofield
8cc9adf41a palette stuff 2022-09-10 09:51:40 -05:00
Justin Scofield
51fdb0603f snes_palette improvements 2022-09-10 09:06:31 -05:00
Justin Scofield
332bf5f3f3 Build SDL from source 2022-07-30 12:15:08 -04:00
Justin Scofield
6e50beb2ba update includes 2022-07-27 20:13:08 +00:00
Justin Scofield
856900a69d Reduce dependence on sneshacking repo 2022-07-27 17:32:36 +00:00
Justin Scofield
adcb703e4e Remove this shared pointer nonsense 2022-07-24 00:01:31 -04:00
Justin Scofield
b084208760 housekeeping snes types 2022-07-23 16:34:08 -04:00
scawful
e9c8152453 housekeeping 2022-07-08 23:52:11 -04:00
scawful
260f9d5166 memory management 2022-07-06 22:39:05 -04:00
scawful
9d576351d0 housekeeping 2022-07-06 22:22:29 -04:00
Justin Scofield
f7d793ecc2 housekeeping 2022-06-20 14:49:02 -04:00