586 Commits

Author SHA1 Message Date
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
84e19c8039 Updated card editor to 0.1.1 as per git tags. 2021-05-17 14:50:01 +01:00
d09d90307e Added primitive card swapping.
Card names now include their id.
card-editor-0.1.1
2021-05-17 14:44:30 +01:00
e0d678e72b Improved impl of TextBuffer for AsciiTextBuffer. 2021-05-17 09:47:03 +01:00
be2192dfa0 Added logging to dcb-card-editor. 2021-05-17 09:39:57 +01:00
161278ea19 Removed all usages of generate_enum_property_mod within dcb::card. 2021-05-17 09:28:36 +01:00
37d840f77e Added dcb_bytes_derive::Discriminant macro to replace generate_enum_property_mod.
`Slot` is now manually generated using `Discriminant` and `strum`.
2021-05-17 08:46:47 +01:00
16f8f3c643 Fixed documentation issues.
Removed unused error types in `dcb-exe`.
2021-05-16 14:07:08 +01:00
03de391f0f Started finding info about the card table. 2021-05-16 13:49:24 +01:00
4978915f76 Removed all edit states, now that egui supports custom buffers.
Added `AsciiStrArr::{push, insert, drain_range}`.
card-editor-0.1.0
2021-05-16 12:10:33 +01:00
26cb2b189a Added move validation to render_move. 2021-05-16 09:09:43 +01:00
aabaafc91a Added new validation interface in dcb-bytes. 2021-05-16 08:31:25 +01:00
f98d8ae290 Added backup feature to card editor when saving while exiting fails. 2021-05-16 08:00:05 +01:00
7ac52b7a21 Removed Effect::SetTempSlot as it was just a special case of ChangeProperty. 2021-05-16 07:31:15 +01:00
5a3f352647 Added an explanation for some ChangeProperty effect. 2021-05-16 07:23:00 +01:00
f43b0dc94b Cards are now properly distributed across the work area. 2021-05-16 07:06:18 +01:00