586 Commits

Author SHA1 Message Date
98e9bf8a76 Added minimal deck editor. deck-editor-0.1.0 2021-06-01 02:06:06 +01:00
f384b95825 Bumped card-editor to 0.1.2. card-editor-0.1.2 2021-06-01 01:07:55 +01:00
7269d133f4 Fixed VoidOpponentSupport*Effect effect being written wrong.
Fixed `KoDigimonRevives` effect not writing the effect type.
2021-06-01 01:06:16 +01:00
4f672b7893 Added option to set effect to None. 2021-06-01 00:59:23 +01:00
2f58aa88ca Paks are now grouped by their id. 2021-05-31 07:38:54 +01:00
c18d776217 IoThread is now Debug. 2021-05-31 07:18:54 +01:00
6d09e71f9a Now sorting tree entries. 2021-05-31 07:15:50 +01:00
3f968c746c Added minimal .PAK support. 2021-05-31 07:11:05 +01:00
f5fe4d87b9 Added TimDisplay to store a tim image to be displayed. 2021-05-31 06:45:51 +01:00
a8350e1418 Improved tim preview. 2021-05-31 06:37:33 +01:00
990cf39a7d Added allow to warning. 2021-05-31 06:14:44 +01:00
0e2d0d0cc5 Rudimentary implementation of io::Write for io::Thread. 2021-05-31 06:13:43 +01:00
b155e2594f Fixed swap window button labels being swapped. 2021-05-31 06:13:15 +01:00
4f7a8a149e Added dcb_io::IoThread.
`dcb_io::GameFile` now just stores a `T` instead of `CdRomCursor<T>`.
`GameFile` now has interior threaded mutability.
2021-05-31 06:05:21 +01:00
ac0813edc4 GameFile now just stores the underlying file and constructs the GameFile whenever required. 2021-05-31 05:27:16 +01:00
72c74b89d6 Fixed task::spawn not properly running things in another thread. 2021-05-31 04:17:42 +01:00
a41b04acb3 PreviewPanel is now loaded in another thread. 2021-05-31 03:55:56 +01:00
4d2b27cf6a Added dcb_util::lock_poison.
`dcb_util::task::spawn` now supports scoped tasks.
2021-05-31 03:45:16 +01:00
847bf15f5e Game file is now loaded via a task. 2021-05-31 03:09:50 +01:00
6ab0e306b7 Renamed dcb_util::thread to task. 2021-05-31 03:06:37 +01:00
b5a0bd0fd6 Added dcb_util::thread for threading. 2021-05-31 02:57:42 +01:00
f4a2a95e7d Renamed LoadedGame to GameFile. 2021-05-31 02:01:34 +01:00
50c6c2abc4 Moved all alerts to helper functions. 2021-05-31 01:57:05 +01:00
dbbb888f7f Fixed panic on PreviewPanel::drop. 2021-05-31 01:52:28 +01:00
a3aa4bc1fc Renamed FsTree to DrvTree.
`LoadedGame::display` now doesn't update the preview path.
2021-05-31 01:46:46 +01:00
9be0bf7a95 Moved LoadedGame to it's own module. 2021-05-31 01:36:38 +01:00
81e9159a79 Moved SwapWindow to it's own module. 2021-05-31 01:28:47 +01:00
9f7f9f6ab7 Moved PreviewPanel to it's own module. 2021-05-29 22:00:27 +01:00
e15afa6b6d Fixed memory leak with textures. 2021-05-29 21:20:57 +01:00
246ae4f902 Fixed img::DeserializeError::SizePixelsMismatch being checked wrong.
Now using `Tis` in `file-editor`.
2021-05-29 20:03:34 +01:00
7a3b6a77e7 Added support for tis files in tim. 2021-05-29 19:47:58 +01:00
39a6204612 Improved documentation and errors for dcb-tim. 2021-05-29 19:38:21 +01:00
e6cf1d7cc0 Added rudimentary preview support for .TIS files. 2021-05-29 19:01:24 +01:00
8455998ae5 dcb_tim::Header now checks for unknown flags. 2021-05-29 19:00:44 +01:00
c55ab5d80b Fixed longstanding bug with SeekFrom::Start seeks of CdRomCursor. 2021-05-29 19:00:18 +01:00
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