Justin Scofield
8b54906a51
Merge branch 'master' of https://github.com/scawful/yaze
2024-12-31 19:21:24 -05:00
scawful
427fd50496
Guard custom overworld loading code with experiment flag
2024-12-31 19:20:32 -05:00
Justin Scofield
75845b368d
include string in spc700.h
2024-12-31 18:53:52 -05:00
Justin Scofield
7b00e0838f
Fix ROM title extraction in LoadZelda3 function
...
Resized the `title_` variable to `kTitleStringLength` to ensure it can hold the ROM title string. Used `std::copy` to copy the ROM title from `rom_data_` starting at `kTitleStringOffset` to `kTitleStringOffset + kTitleStringLength` into the `title_` variable. This change ensures that the `title_` variable correctly stores the ROM title extracted from the `rom_data_`.
2024-12-31 18:53:33 -05:00
scawful
a54143cbab
Refactor Hyrule Magic compression functions to return std::vector<uint8_t> instead of raw pointers for improved memory management
2024-12-31 18:32:25 -05:00
scawful
308eb4b287
Rename Hyrule Magic compression functions; update deprecation notes
2024-12-31 18:20:18 -05:00
scawful
fd102a5d3c
Refactor CompressionPiece constructor to accept string by reference and clean up unused comments
2024-12-31 18:19:49 -05:00
scawful
d3eca0f950
Make ExperimentFlags a singleton, remove inheritance relationships
2024-12-31 18:13:53 -05:00
scawful
5e1e2901ff
Refactor overworld constants
2024-12-31 17:50:19 -05:00
scawful
1a5d5befb9
Initialize member variables in Controller class for improved stability
2024-12-31 17:41:47 -05:00
scawful
daad7a4731
Improve error handling in LoadBinaryGfx by checking palette application status before rendering
2024-12-31 17:40:41 -05:00
scawful
aece708513
Refactor overworld entity constants for improved naming consistency and readability
2024-12-31 17:40:15 -05:00
scawful
41c31e3193
Refactor overworld constants to improve naming consistency and readability
2024-12-31 17:39:57 -05:00
scawful
da36236433
Refactor SnesPalette and PaletteGroup, fix bug with group names
2024-12-31 17:39:25 -05:00
scawful
0e67413d55
Refactor logging to use logf function and update log file name
2024-12-31 16:54:44 -05:00
scawful
50e4117230
Add entrance names to common header and update usage in OverworldEditor
2024-12-31 16:40:44 -05:00
scawful
d47e8a8387
Remove ImGui input flag and related code from core and editor components
2024-12-31 16:40:24 -05:00
scawful
6d2de44b94
Refactor Overworld blockset types and update related function signatures
2024-12-31 16:40:01 -05:00
scawful
9f67e0c399
Fix naming inconsistency in Snes color conversion functions
2024-12-31 15:59:07 -05:00
scawful
cbec34dacf
Add PROJECT_BINARY_DIR to include directories in CMake configuration
2024-12-31 15:59:03 -05:00
scawful
ff9f835cc6
Remove ImGuiFileDialog submodule from .gitmodules and delete its directory
2024-12-31 15:49:18 -05:00
scawful
398ba36811
Remove ImGuiFileDialog integration and replace with FileDialogWrapper in assembly and tile editors
2024-12-31 15:47:51 -05:00
scawful
c505c2f94c
Remove ImGuiColorTextEdit submodule and update .gitmodules
2024-12-31 15:27:32 -05:00
scawful
9745e7005c
Remove ImGuiColorTextEdit integration and update includes for TextEditor
2024-12-31 15:25:26 -05:00
scawful
1587fa704d
add TextEditor, from deprecated ImGuiColorTextEdit submodule
2024-12-31 15:04:50 -05:00
scawful
5ff7eaa526
Add yaze_config.h for version management and update version check logic
2024-12-31 12:50:14 -05:00
scawful
bac4660bac
Refactor Controller: Replace SetupScreen with Initialize and clean up unused code
2024-12-31 11:46:39 -05:00
scawful
33dc1983bc
Add Rom dependency injection to OverworldEditor
2024-12-31 11:43:33 -05:00
Justin Scofield
1ca1e5f17a
make hex format strings const static
2024-12-31 11:41:26 -05:00
scawful
8becdbcbb0
Add asar.h include to patch.cc for ASAR DLL bindings
2024-12-30 19:05:51 -05:00
scawful
79a16bbefe
mmmm housekeeping
2024-12-30 19:05:16 -05:00
scawful
19deca88ab
Add OverworldEntranceTileTypes and remove EntranceContext boiler plate
2024-12-30 19:04:51 -05:00
scawful
96095969c6
Refactor GfxContext references to use gfx::GfxContext for consistency
2024-12-30 19:04:20 -05:00
Justin Scofield
10c7e15f92
Add font path prefix for non apple platforms
2024-12-30 09:56:26 -05:00
Justin Scofield
8b0d12b6c7
DrawSpriteTile
2024-12-30 09:55:50 -05:00
Justin Scofield
75cb615ed6
Breakup conditional for DrawSpriteTile due to MSVC limits
2024-12-30 09:54:12 -05:00
scawful
59e59f8a38
Refactor hex string handling: replace UppercaseHex functions with Hex equivalents
2024-12-30 09:48:19 -05:00
scawful
f13ce9d6fd
Refactor hex string handling: introduce HexStringParams struct and consolidate hex formatting functions
2024-12-30 09:46:51 -05:00
Justin Scofield
d1a032a1f5
Refactor Controller in main to use std::unique_ptr
2024-12-30 08:19:17 -05:00
Justin Scofield
e7ff32e223
Refactor platform-specific initialization
...
- Removed `#if defined(_WIN32)` and `#define main SDL_main`
- Set `SDL_MAIN_HANDLED` and called `SDL_SetMainReady` for Windows
2024-12-30 08:18:46 -05:00
Justin Scofield
690255d29e
Remove hardcoded mingw sdl2 lib linkage
2024-12-30 08:15:45 -05:00
scawful
ed0121dd45
Refactor test files: remove unused namespaces and improve include organization for clarity
2024-12-30 08:01:03 -05:00
scawful
6699c4e605
Refactor object renderer: update class member types for consistency and clarity
2024-12-30 07:50:46 -05:00
scawful
c23a2458c4
Refactor emulator code: update SNES references to Snes for consistency, clean up includes, and remove commented-out code
2024-12-30 07:50:37 -05:00
scawful
d2a6169914
Refactor SNES class: rename to Snes for consistency, update method names, and clean up includes
2024-12-30 07:50:30 -05:00
scawful
b904cfd8a4
Refactor CPU clock and instruction handling: improve variable naming for clarity and consistency
2024-12-30 07:50:18 -05:00
scawful
0e81df57fd
Refactor PPU code: remove unused namespaces and clean up includes in PPU files
2024-12-30 07:50:12 -05:00
scawful
f8f7d361a7
Refactor DMA handling: rename functions for clarity, remove unused header, and optimize memory initialization
2024-12-30 07:50:06 -05:00
scawful
f48cd171e1
Remove unused audio namespace and clean up includes in APU and DSP files
2024-12-30 07:49:46 -05:00
scawful
80d3bf4273
Update include directives to use z3ed.h instead of command.h in CLI handlers
2024-12-29 23:12:55 -05:00