Commit Graph

14 Commits

Author SHA1 Message Date
Justin Scofield
2d9f4be91d Refactor and add default values to various structs
- Removed `FindMatchingCharacter` declaration from `message_data.h`
- Added default values to `DictionaryEntry` and `MessageData` members
- Marked several methods in `DictionaryEntry`, `MessageData`, and `TextElement` as `const`
- Updated `TextElement` constructor to take `const std::string&`
- Added string constants for text descriptions in `TextElement`
- Updated `TextCommands` vector to use new string constants
- Declared new function `FindMatchingCommand`
- Included `<array>` header in `message_editor.h`
- Changed `width_array` in `MessageEditor` to `std::array` with default initialization
- Removed `list_of_texts_` and `all_dictionaries_` vectors from `MessageEditor`
- Added default values to `GameEntity` members
- Initialized `sheets` array in `PseudoVram`
- Initialized `map_parent_` and `all_tiles_types_` arrays in `Overworld`
2025-01-04 20:05:46 -05:00
scawful
50e4117230 Add entrance names to common header and update usage in OverworldEditor 2024-12-31 16:40:44 -05:00
scawful
6d2de44b94 Refactor Overworld blockset types and update related function signatures 2024-12-31 16:40:01 -05:00
scawful
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
Justin Scofield
0b9f7ee6fa Refactor includes for improved organization and clarity 2024-11-18 18:01:14 -05:00
scawful
1bc3188f1b include housekeeping 2024-10-07 07:59:26 -04:00
scawful
47b12526e7 Rename OverworldEntity to GameEntity for shared code between dungeon and overworld sprites 2024-08-24 23:56:49 -04:00
scawful
270bef0973 Refactor OverworldEntity to use uint16_t for map_id and improve code organization 2024-08-22 10:49:12 -04:00
scawful
a8ed9b7f92 remove magic numbers, enforce const correctness 2024-08-20 21:31:59 -04:00
scawful
c2dfb96773 move OWBlockset and OWMapTiles 2024-08-10 00:22:47 -04:00
scawful
08ad521b74 Update OverworldEditor documentation and others 2024-04-14 10:33:18 -05:00
scawful
89cc0703f1 add fn comments for doxygen, rename OAMTile to OamTile 2024-04-13 23:10:34 -05:00
scawful
7d58f553da Add some documentation to test more doxygen features 2024-04-13 14:02:40 -04:00
scawful
e006702df1 OverworldMap sprite entities, canvas drawing updates 2024-01-28 12:04:52 -05:00