551 Commits

Author SHA1 Message Date
76c8de62ef Added multi-pallette support for dcb-tim. 2021-05-29 04:20:53 +01:00
85888122a7 Added FsTree::reload and LoadedGame::reload.
Now reloading and alerting user after swapping files.
2021-05-29 03:21:34 +01:00
b84d5b67c5 Fixed Path::split_last. 2021-05-29 01:49:08 +01:00
4b958a7d6a dcb-file-editor now displays a preview for .tim files. file-editor-0.1.0 2021-05-28 19:25:32 +01:00
6d85397429 Finished image loading in dcb_tim. 2021-05-28 19:24:36 +01:00
f25c6cd318 Added GameFile::open_file. 2021-05-28 19:24:04 +01:00
aaf1d52678 Added minimal tim parser implementation. 2021-05-28 17:33:53 +01:00
2cb4fdcb3b Switched to proper git dependency of egui. 2021-05-28 04:49:24 +01:00
c3ff6dfa33 dcb_drv::Path::components now properly works and no longer returns the indeces.
Fixed `DirPtr::find_entry` not considering files properly.
Added `GameFile::swap_files`.
`dcb-file-editor` now supports swapping.
2021-05-28 04:11:53 +01:00
a3bb00cb6a Removed dcb_drv::cursor.
Added `dcb_drv::{find_entry, swap_files}`.
Added `DirPtr::{find_entry, write_entry}`.
2021-05-28 02:55:07 +01:00
00072870ee Removed DrvFsCursors from GameFile.
Added `dcb_util::StringContainsCaseInsensitive`.
2021-05-28 01:36:26 +01:00
f8d9d6f6ce Documented dcb-drv slightly. 2021-05-27 23:30:09 +01:00
252330391b DirWriterLister now requires an ExactSizeIterator.
`DirWriter::write` now doesn't collect all entries initially.
2021-05-27 22:57:53 +01:00
136af25359 Moved all of the writing infrastructure of dcb_drv to dcb_drc::writer. 2021-05-27 22:00:47 +01:00
9ea2d82e69 Added dcb_util::{ResultFamily, MapBoxResult}. 2021-05-27 22:00:14 +01:00
7bc80530cf Added minimal file swapping in dcb_drv.
Added `dcb_drv::Path`.
2021-05-27 19:07:34 +01:00
7ffb8f3a69 Now storing all files and directories in each cursor. 2021-05-26 23:16:07 +01:00
7603a201eb Removed DirWriterLister::entries_len. 2021-05-26 22:39:38 +01:00
cc22fb36c2 Moved DirEntryWriter::to_bytes to DirEntry.
Renamed `DirEntry::entries` to `DirEntry::read_entries`.
2021-05-26 22:24:58 +01:00
9add91abbc Moved everything in dcb_drv::new to root. 2021-05-25 23:55:57 +01:00
6e466534c0 Removed dcb_drv::*Reader. 2021-05-25 23:51:32 +01:00
0b19e53769 dcb_drv::cursor now uses the new module. 2021-05-25 23:40:39 +01:00
5b36ca95ac Added dcb_drv::new to eventually replace all of dcb_drv 2021-05-25 23:19:51 +01:00
ed6c97c4c7 Started work on swappings files inside the game file. 2021-05-25 21:54:59 +01:00
cca1d4287f Improved tree rendering. 2021-05-24 00:59:35 +01:00
99b5be9d92 Merged SwapFileStatus::{make_setting, make_not_setting} into toggle. 2021-05-24 00:49:46 +01:00
6f4a55c083 dcb-file-editor now uses GameFile. 2021-05-24 00:39:47 +01:00
a349a81d51 Added io::{Read, Seek, Write} impl for opened drv files. 2021-05-22 23:48:24 +01:00
69236ca742 Added the ability for DrvFsCursor and GameFile to open files. 2021-05-22 23:45:21 +01:00
932867ffb8 Changed drive getters to use self. 2021-05-22 22:50:30 +01:00
935c1d272f Slightly revised bounds on GameFile. 2021-05-22 22:47:30 +01:00
eb52ba496d Revised dcb_io::GameFile to use cursors. 2021-05-22 22:45:18 +01:00
c622af8262 Added experimental file editor. 2021-05-22 22:26:04 +01:00
7bde99906a Added minimal drv cursor implementation. 2021-05-22 22:22:05 +01:00
c0e9786666 Added dcb_util::IoCursor. 2021-05-21 22:02:23 +01:00
2626eb23a5 Added extra SetBrightness kind. 2021-05-20 17:17:36 +01:00
2a9f6170c0 Moved loaded game into it's own struct. 2021-05-20 17:16:59 +01:00
706b5332fd Card table hash is now updated after saving. 2021-05-20 17:01:18 +01:00
92938b97d9 Updated to 1.54.0-nightly 2021-05-19 19:12:56 +01:00
0fcf06ae82 Experimenting with display scene labels. 2021-05-19 19:10:39 +01:00
489c8741ac Moved menu button parsing to it's own method. 2021-05-19 15:52:43 +01:00
325a35e0b5 Added labels. 2021-05-19 15:38:35 +01:00
c0d7ef0667 Buttons are now decoded with quotes surrounding them. 2021-05-19 15:27:25 +01:00
3fe6b0ee0c Fixed set_buffer commands not having their arguments stringified. 2021-05-19 15:17:40 +01:00
5ea13207a9 Merged menus isn't a single pseudo-instruction. 2021-05-19 15:08:15 +01:00
ee9fa32c2d Joined both "Yes" and "No" buttons for each menu. 2021-05-19 14:52:21 +01:00
da24883f9a Figured out all of the menu buttons. 2021-05-19 14:46:13 +01:00
f2612b1689 dcb-unmsd now works as a state machine. 2021-05-19 14:26:59 +01:00
5ef361f58b Added primitive msd extractor. 2021-05-17 23:00:14 +01:00
a0dbfc3cb2 Fixed player and opponent types being swapped. 2021-05-17 22:35:00 +01:00