Commit Graph

2019 Commits

Author SHA1 Message Date
scawful
fa33be3463 Add tests for ParseSingleMessage function in message_test.cc 2025-01-19 20:01:57 -05:00
scawful
581f86bdb6 Add ParseSingleMessage function to handle message parsing from ROM data 2025-01-19 20:01:46 -05:00
scawful
5afaecf1ee Refactor test includes 2025-01-19 19:14:53 -05:00
scawful
0843d25e57 Remove absl flags from z3ed 2025-01-19 19:10:09 -05:00
scawful
e4cc3b977a Move test dir to root 2025-01-19 19:09:39 -05:00
scawful
de75cc6850 Update tests 2025-01-19 18:55:01 -05:00
scawful
38d34fd40c Add BPS patch utility functions and integrate into CLI handlers 2025-01-19 18:46:56 -05:00
scawful
80b84caca8 Add yaze_save_rom function for saving ROM files 2025-01-19 02:45:56 -05:00
scawful
e6a37970a0 Add equipment selection for sword, shield, and armor in save file generation 2025-01-19 02:24:36 -05:00
scawful
5523ffb3c7 Implement palette editor functionality with dynamic color loading and save option 2025-01-19 01:59:35 -05:00
scawful
4cd13b9215 Enhance BPS patch application with error handling and file output; improve main menu display 2025-01-19 01:36:17 -05:00
scawful
20ab684aae Add begin() and end() methods to SnesPalette for improved iteration 2025-01-18 22:01:45 -05:00
scawful
bc52fc5116 Refactor TUI components for improved layout handling and add palette editor functionality 2025-01-18 22:01:37 -05:00
scawful
a28da3b2ca Add Generate Save File component and improve main menu layout handling 2025-01-18 19:35:54 -05:00
scawful
444907ee4e Implement main menu and layout switching in TUI; add components for applying BPS patches, loading ROMs, and palette editing 2025-01-18 16:13:02 -05:00
scawful
c1a9b49f69 Add file_dialog.cc to z3ed CMake configuration 2025-01-18 15:11:47 -05:00
scawful
054f78ceb1 Update yaze.cc lib implementation to use zelda3 scoped fns 2025-01-18 15:10:47 -05:00
scawful
146f85eb31 Refactor OverworldTest to initialize overworld_ with ROM data and improve formatting of assertions 2025-01-18 15:10:11 -05:00
scawful
2cc15350aa Update CMakeLists.txt to include zelda.h and adjust yaze.h path 2025-01-18 15:09:59 -05:00
scawful
956a70e8fa Rename z3 structures to zelda3 for consistency and clarity; add zelda3_rom struct and related functions 2025-01-18 15:09:38 -05:00
scawful
7b939d9a70 Remove unused MockClock class from testing mocks 2025-01-18 12:33:46 -05:00
scawful
339df53674 Refactor ROM loading methods 2025-01-18 12:33:33 -05:00
scawful
3fc52cce62 Add zelda.h for game version handling and refactor ROM version management 2025-01-18 00:45:44 -05:00
scawful
1c53ba24c5 Refactor PPU and CPU classes by removing Clock dependency and updating constructors 2025-01-18 00:12:12 -05:00
scawful
70510ec0e9 Fix overworld initialization by passing internal ROM to constructor 2025-01-17 23:31:32 -05:00
scawful
ec2cc95b5a Update submodule references for imgui and imgui_test_engine 2025-01-17 23:31:27 -05:00
scawful
911cac401d Refactor message data handling and improve variable naming for clarity 2025-01-17 23:30:41 -05:00
scawful
0cbaaccb66 Enhance message tests and refactor graphics data loading in overworld tests 2025-01-16 05:08:04 -05:00
scawful
c8883a1e54 Remove unused includes and clean up header files 2025-01-16 03:44:37 -05:00
scawful
d9cc92edca Add ParseMessageData to message data helper fns 2025-01-09 21:23:14 -05:00
scawful
30bfa91427 Refactor yaze initialization and shutdown to use status codes and add error messaging 2025-01-06 23:17:18 -05:00
scawful
5085d8ebad update imgui and imgui_test_engine 2025-01-06 21:39:41 -05:00
scawful
e13cdcbf4b Add DrawDungeonMapsRoomGfx 2025-01-06 21:39:27 -05:00
scawful
40a09f17e9 re-render graphics injected into tile16 editor 2025-01-06 21:38:59 -05:00
scawful
7ad0672e74 Wrap overworld sprite graphics draw in experiment flag 2025-01-06 21:38:42 -05:00
scawful
d38ae7914d Load sprites after overworld maps for current gfx 2025-01-06 21:36:51 -05:00
scawful
196eba42e8 Add roadmap towards 1.0 based on features planned 2025-01-06 21:34:25 -05:00
scawful
013edb3fae update yaze public header, remove sprite.h, add z3_dungeon_sprite 2025-01-06 16:21:37 -05:00
scawful
4c39f02224 update dungeon header 2025-01-06 15:55:44 -05:00
scawful
9c7f78a228 update z3_dungeon_room public data type internals 2025-01-06 15:48:36 -05:00
scawful
2d15833b0d Implement folder dialog, subdirs, files with nfd 2025-01-06 13:25:49 -05:00
scawful
65be2d0bd2 move sdl_delete.h to platform 2025-01-06 13:23:07 -05:00
scawful
b3bc05e620 consolidate file related functions, add nativefiledialog-extended to build 2025-01-06 13:21:28 -05:00
scawful
fdce133e39 add nativefiledialog-extended as submodule 2025-01-06 12:58:41 -05:00
scawful
6bf8b62d64 Merge remote-tracking branch 'refs/remotes/origin/master'
Merge changes made on visual studio repo.
2025-01-06 11:13:29 -05:00
Justin Scofield
88198323b3 Refactor ROM handling and update Overworld methods
Updated MessageEditor, RoomEntrance, and Overworld classes to use WriteByte instead of Write for byte values. Refactored ROM class by removing Write and toint16 methods, moving constants, and updating operator[]. Modified Overworld methods to return absl::Status and handle errors. Updated Inventory and OverworldMap methods to use ReadWord instead of toint16.
2025-01-05 21:19:53 -05:00
Justin Scofield
510581ad1f Refactor Overworld loading to use async tasks
Refactored Overworld::LoadSprites to use std::async for concurrent sprite loading, improving efficiency. Modified Overworld::LoadOverworldMaps to wait for all async tasks and check results for errors. Updated Overworld::LoadSpritesFromMap to use mutable_current_graphics() for mutable access to current graphics. Added mutable_current_graphics method to OverworldMap class. Optimized Sprite constructor to take a const reference to avoid unnecessary copying.
2025-01-05 20:57:13 -05:00
Justin Scofield
839449e85d Improve logging and reformat CreateWindow call
Updated common.h to include <chrono> and absl/strings/str_cat.h.
Modified logf to include a timestamp in log messages.
Replaced log_to_console with ExperimentFlags::get().kLogToConsole.
Removed newline character from logf output.
Reformatted SDL_CreateWindow call in controller.cc for readability.
2025-01-05 20:56:53 -05:00
Justin Scofield
cf13d6bf9e Update Bitmap and add Initialize function 2025-01-05 20:55:36 -05:00
Justin Scofield
5e0fb9e36e Add ReloadPackageFonts 2025-01-05 20:54:56 -05:00