Commit Graph

169 Commits

Author SHA1 Message Date
scawful
52c844eb98 Add defer_render to LoadAllGraphicsData, overworld test 2024-08-29 22:45:50 -04:00
scawful
a97487fd2c Refactor EditorManager 2024-08-24 08:38:47 -04:00
scawful
4099d8731d Refactor ROM class to use uint32_t for loop counters in LoadLinkGraphics, LoadAllGraphicsData, LoadGfxGroups, and SaveGroupsToRom methods 2024-08-22 01:28:04 -04:00
scawful
c83d0440d8 cleanup snes_palette stuff 2024-08-21 10:13:13 -04:00
scawful
e0e8c58c61 Refactor Rom class to support additional game versions 2024-08-21 00:13:04 -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
97dda2bfd9 chore: Update ReadWritePreconditions for empty data but loaded file 2024-08-14 19:55:57 -04:00
scawful
1234510d29 Refactor Rom to fix LoadLinkGraphics format 2024-08-14 19:41:26 -04:00
scawful
4b990662df Add Rom::LoadZelda3 for loading game data across Load fns 2024-08-14 18:28:12 -04:00
scawful
5c68f61544 Refactor Rom class to use constants for blockset and spriteset sizes 2024-08-14 18:27:40 -04:00
scawful
11cedbbff1 MockRom, Read/WriteTransaction tests, make Rom::WriteAction public 2024-08-14 01:15:19 -04:00
scawful
6b35fcb07e Add out of range error in Rom class write functions, test Write fns 2024-08-14 01:04:50 -04:00
scawful
7dfc204443 chore: Refactor Rom class to include ReadWritePreconditions 2024-08-14 00:59:25 -04:00
scawful
6c259340f9 Add new RomTests and fix small bugs in Rom class 2024-08-14 00:51:43 -04:00
scawful
b7a8b3ce54 Refactor Rom for improved readability 2024-08-13 23:58:16 -04:00
scawful
54e8d7c3a5 Remove deprecated BitmapManager and experiment flag 2024-08-13 22:02:05 -04:00
scawful
3b7542e3a7 remove deprecated Rom::mutable_bitmap_manager() 2024-08-13 21:57:20 -04:00
scawful
5ccb30f999 Refactor Rom::LoadLinkGraphics() for improved readability and maintainability 2024-08-13 21:28:09 -04:00
scawful
164ae60f5a remove deprecated graphics_bin 2024-08-13 21:22:02 -04:00
scawful
6dc90ead13 change rom title from c char to std::string 2024-08-10 21:42:09 -04:00
scawful
4b8dcd3988 add explicit file extension checks to Rom::is_loaded 2024-08-10 14:48:55 -04:00
scawful
d3df11d492 cleanup Rom class interface 2024-08-09 19:29:37 -04:00
scawful
9a2c8ae17a replace old renderer access pattern 2024-08-09 18:58:07 -04:00
scawful
47461a567d add z3_load arg to Rom::LoadFromPointer 2024-08-07 15:22:27 -04:00
scawful
8c13ef3e23 housekeeping 2024-08-07 01:21:52 -04:00
scawful
5e2b10e6f4 add gfx_sheets and mutable_gfx_sheets to Rom 2024-08-06 21:34:31 -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
543bc3d204 add graphics sheets array and num sheets constant 2024-08-06 19:15:16 -04:00
scawful
0d1fda488e housekeeping 2024-08-06 01:57:16 -04:00
scawful
6afa707d14 refactor Rom class and constants 2024-08-04 21:04:26 -04:00
scawful
b1119a0c35 housekeeping 2024-08-02 18:44:46 -04:00
scawful
1b41011c74 remove unused headers 2024-07-30 17:02:08 -04:00
scawful
2f3220e4e3 remove Rom::LoadFontGraphicsData, unneeded bc of gfx::SnesTo8bppSheet 2024-07-29 12:41:16 -04:00
scawful
cbc6788e2e move DungeonEditor, merge widgets with style, split up CMakeLists 2024-07-24 01:38:36 -04:00
scawful
88e91859b6 add LoadFontGraphicsData to Rom 2024-07-23 20:59:34 -04:00
scawful
e7e3437a89 move LoadGfxGroups to rom.cc 2024-05-28 17:44:54 -04:00
scawful
2d383d0243 add save gfx groups 2024-05-28 17:09:09 -04:00
scawful
5e389b634c update filename type passed to LoadFromFile 2024-05-28 13:25:30 -04:00
scawful
1a4563f9e7 overhaul cleanups 2024-04-22 15:58:39 -04:00
scawful
82ee1ad62d Move LoadAllPalettes and palette_group_internal to snes_palette 2024-04-14 15:27:37 -05:00
scawful
dfbe0014d9 Fix references to Rom class in comments 2024-04-14 15:20:56 -05: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
7e46cf1c64 Rename ROM class to Rom 2024-04-14 14:47:17 -05:00
scawful
277d959bda Refactor PaletteGroupMap 2024-04-14 13:14:19 -05:00
scawful
9604ce3724 Refactor ROM class 2024-04-14 11:57:59 -05:00
scawful
7d58f553da Add some documentation to test more doxygen features 2024-04-13 14:02:40 -04:00
scawful
a3c27731cd Fix ReadByteVector bug 2024-04-13 12:35:30 -04:00
scawful
03a38fc712 Add error handling to SnesPalette and SnesColor member fns 2024-04-07 12:07:47 -04:00