scawful
07726d90a0
Cleanup MessageEditor
2024-12-28 17:47:33 -05:00
scawful
731eb456ab
Refactor editor includes and update source files for improved organization
2024-11-18 14:05:08 -05:00
scawful
e1a9d40c4b
Add debug output for message loading and create test for single message verification
2024-11-08 00:18:58 -05:00
scawful
2c9088d8ae
add MessageEditor::DrawDictionary
2024-10-07 08:00:16 -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
29c2efd287
process 2 sheets for font gfx data in message editor
2024-10-05 11:06:58 -04:00
scawful
0e32fe89e1
Remove unused headers from message_editor.cc
2024-09-19 21:04:38 -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
374eebfac4
header include cleanup
2024-09-07 09:55:01 -04:00
scawful
7e0f38ef0f
housekeeping
2024-08-25 15:40:14 -04:00
scawful
7b33313281
big cleanup
2024-08-20 22:10:35 -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
dd430ad1b6
decouple message data functions from message editor class
2024-08-19 11:36:30 -04:00
scawful
f214f25512
add dictionary contents as message editor table column
2024-08-19 10:22:17 -04:00
scawful
20dc6e4ba7
add ReadAllTextDataV2, deprecate ReadAllTextData
2024-08-19 10:21:42 -04:00
scawful
54e8d7c3a5
Remove deprecated BitmapManager and experiment flag
2024-08-13 22:02:05 -04:00
scawful
2d8a658e5e
MessageEditor updates
2024-08-10 20:11:21 -04:00
scawful
36258cf64a
cleanup message editor
2024-08-10 17:08:26 -04:00
scawful
0e1b80d756
housekeeping
2024-08-10 13:03:01 -04:00
scawful
7c69ce016c
cleanup message editor
2024-08-09 20:59:20 -04:00
scawful
71f5dc60de
cleanup message editor and message data
2024-08-09 19:36:35 -04:00
scawful
9a2c8ae17a
replace old renderer access pattern
2024-08-09 18:58:07 -04:00
scawful
1f68df2aff
add kNumDictionaryEntries
2024-08-09 18:27:44 -04:00
scawful
3820eb367a
remove ui test files for now
2024-08-07 17:24:12 -04:00
scawful
439a55e3cb
remove imgui_test_engine from editor namespace
2024-07-31 07:41:34 -04:00
scawful
2bd9526a2d
add constants for scroll text commands
2024-07-29 19:04:49 -04:00
scawful
a5a1e183fa
update refresh logic, rearrange message editor
2024-07-29 18:24:46 -04:00
scawful
ba90505d22
update font loading and display
2024-07-29 13:21:11 -04:00
scawful
2eb7c837b4
fix font gfx draw initialize routine
2024-07-29 12:41:35 -04:00
scawful
2495f62b51
message editor updates
2024-07-28 20:07:44 -04:00
scawful
c54ca779db
add message_editor_test and register in ctx
2024-07-28 12:10:42 -04:00
scawful
12be781205
add newline chars to parsed messages
2024-07-28 11:56:22 -04:00
scawful
b29800e9da
fix TextElement parsing bug
2024-07-28 11:52:35 -04:00
scawful
89ee279d48
move MessageData to message_data.h
2024-07-28 11:52:22 -04:00
scawful
6ac160207d
add text commands column to message editor
2024-07-28 11:33:01 -04:00
scawful
11199838fc
add MessageData copy constructor for current message
2024-07-28 11:32:18 -04:00
scawful
f150cc0bbc
update message editor
2024-07-24 00:42:16 -04:00
scawful
a9ee33bcd9
add MessageEditor
2024-07-24 00:01:21 -04:00