Commit Graph

1475 Commits

Author SHA1 Message Date
scawful
b22da9edb4 Refactor Rom class to improve code organization and remove unused dependencies 2024-10-11 10:46:06 -04:00
scawful
5e3f326fb2 Refactor CommandManager::ShowWhichKey to initialize defaults if commands are empty 2024-10-09 02:00:08 -04:00
scawful
e8e6ab00bf Refactor ImTextureID casting for SDL_Texture rendering 2024-10-09 01:59:15 -04:00
scawful
2c9088d8ae add MessageEditor::DrawDictionary 2024-10-07 08:00:16 -04:00
scawful
3be53b9e53 add dungeon.h to incl 2024-10-07 07:59:38 -04:00
scawful
1bc3188f1b include housekeeping 2024-10-07 07:59:26 -04:00
scawful
26b54fbee8 Refactor UppercaseHexWord function to include an optional leading parameter 2024-10-05 13:29:13 -04:00
scawful
7fb71b6c38 Refactor message editor tables and constants
This commit refactors the message editor code by introducing separate table flags for the message table and dictionary table. The message table now uses the kMessageTableFlags, which includes the Hideable, Borders, and Resizable flags. Similarly, the dictionary table now uses the kDictTableFlags, which includes the Borders and Resizable flags.

Additionally, the commit adds two new constants to the message_editor.h file: kFontGfxMessageSize with a value of 128 and kFontGfxMessageDepth with a value of 8. These constants are used in the message_editor.cc file to specify the size and depth of the font graphics data.

No functional changes are made in this commit.
2024-10-05 12:09:49 -04:00
scawful
616c85ab1c unused include housekeeping 2024-10-05 11:07:14 -04:00
scawful
29c2efd287 process 2 sheets for font gfx data in message editor 2024-10-05 11:06:58 -04:00
scawful
9657c5c499 add num_sheets arg to SnesTo8bppSheet 2024-10-05 11:06:40 -04:00
scawful
a64700d601 Load sys fonts if assets dir not found, return err if unsupported 2024-10-04 01:33:13 -04:00
scawful
46d14769de use SDL_GetBasePath for zeml files 2024-09-25 01:26:40 -04:00
scawful
c31f3b81be Refactor code to remove unused headers and unnecessary includes 2024-09-25 00:37:23 -04:00
scawful
0e32fe89e1 Remove unused headers from message_editor.cc 2024-09-19 21:04:38 -04:00
scawful
46d7dc446e Add CommandManager::ShowWhichKey and include src in build 2024-09-19 20:59:56 -04:00
scawful
2857eca92d move DictionaryEntry struct, make all_dictionaries_ local to MessageEditor insteaad of static 2024-09-17 08:42:36 -04:00
scawful
d717bf8af3 Add BuildDictionaryEntries 2024-09-17 08:41:44 -04:00
scawful
4e47cd3c76 update font loading for macOS bundle resources 2024-09-07 09:59:20 -04:00
scawful
b4ffca2863 add macOS app bundle for yaze with resources 2024-09-07 09:56:29 -04:00
scawful
374eebfac4 header include cleanup 2024-09-07 09:55:01 -04:00
scawful
028879aefd Refactor palette_editor.cc and palette_editor.h for improved code organization and readability 2024-09-02 14:12:22 -04:00
scawful
7650c56e8d update usage stats grids 2024-09-01 14:31:54 -04:00
scawful
84df108204 fix CheckVersion string_view format bug 2024-08-31 09:23:17 -04:00
scawful
048ac22517 fix overworld editor toolset names 2024-08-31 09:13:43 -04:00
scawful
3d214fe663 Refactor yaze.cc for improved code organization and readability 2024-08-30 20:29:51 -04:00
scawful
d7849c2098 chore: Enable building tests in CMakeLists.txt 2024-08-30 20:17:41 -04:00
scawful
b1f235cd41 Refactor CMakeLists.txt and app.cmake 2024-08-30 11:17:24 -04:00
scawful
9c6d74544c add emu.cmake for emulator 2024-08-30 11:09:58 -04:00
scawful
740be3897f housekeeping 2024-08-30 10:58:57 -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
52c844eb98 Add defer_render to LoadAllGraphicsData, overworld test 2024-08-29 22:45:50 -04:00
scawful
dd340b1f1a overworld housekeeping 2024-08-29 20:27:44 -04:00
scawful
698055d165 Refactor OverworldEditor and Overworld class 2024-08-29 19:52:38 -04:00
scawful
93d7aa545c Refactor AssembleMap32Tiles to report errors 2024-08-29 19:10:02 -04:00
scawful
205e085a41 add constant manager 2024-08-29 13:08:45 -04:00
scawful
5532623e16 game constants housekeeping 2024-08-29 13:08:36 -04:00
scawful
f3b0723ca4 Refactor OverworldMap constructor to remove unnecessary tiles16 parameter 2024-08-26 10:24:46 -04:00
scawful
971255b636 remove unnecessary sdl2 include from overworld 2024-08-26 07:43:25 -04:00
scawful
6e66512a27 feat: Refactor OverworldMap to use custom_gfx_ids array for custom tileset 2024-08-25 17:26:02 -04:00
scawful
95a5201a97 feat: Add custom overworld map settings UI to OverworldEditor 2024-08-25 17:01:18 -04:00
scawful
0c9faa7ac4 chore: pass flag to overworld map for loading custom data 2024-08-25 16:50:41 -04:00
scawful
57a165bab6 feat: Add custom overworld data loading and tileset setup to OverworldMap constructor 2024-08-25 16:40:37 -04:00
scawful
9da8db75ea add animated_gfx, subscreen_overlay, custom_tileset to OverworldMap 2024-08-25 16:40:18 -04:00
scawful
dafeff2be7 Move OverworldCustomASM constants to overworld_map.h 2024-08-25 16:39:50 -04:00
scawful
eda3c4f5ef feat: Add option to load custom overworld data from ROM and enable UI 2024-08-25 16:39:22 -04:00
scawful
7e0f38ef0f housekeeping 2024-08-25 15:40:14 -04:00
scawful
36cc07525b Refactor assembly_editor.cc, dungeon_editor.h, and overworld_editor.cc 2024-08-25 14:46:54 -04:00
scawful
d5650c8bb6 chore: Refactor audio loading and handling in Controller class 2024-08-25 14:46:35 -04:00