586 Commits

Author SHA1 Message Date
4060adff78 Added separator before effect condition remove button. 2021-05-16 06:08:39 +01:00
e51f9810ff Slightly improved effect condition explanation. 2021-05-16 06:07:37 +01:00
caa37c3b91 Added a background on the screen display. 2021-05-15 15:01:43 +01:00
5a9ad10376 Added multi-screen support for editing cards. 2021-05-15 14:49:52 +01:00
9f2f17be6b Moved card rendering to it's own function. 2021-05-15 14:17:27 +01:00
79544ba2ad Added primitive searching to digimon property combo boxes.
Now using a custom implementation of case-incensitive string contains instead of regex.
2021-05-15 14:12:43 +01:00
dadfe01d24 Added editing for items and digivolves.
Added `DigivolveEffect::{ALL, as_str}`.
2021-05-15 12:56:39 +01:00
ca5fa2d933 User is now only prompted at exit to save if any changes occured.
`card::Table` now implements `Hash`.
2021-05-15 12:25:11 +01:00
28774b6f87 Greatly revised effect rendering. 2021-05-15 12:18:38 +01:00
6db03f3500 Refactored effect condition displaying.
Added `EffectConditionOperation::{operator_str, targets_property}`.
2021-05-15 11:46:13 +01:00
51e2c7ebbf Added render_arrow_color.
`generate_enum_property_mod` now generates `as_str` taking a value.
2021-05-15 11:18:20 +01:00
fc03e1c5c0 Added render_level. 2021-05-15 11:06:36 +01:00
e13e41aa52 Changed the representation of CrossMoveEffect. 2021-05-15 11:01:30 +01:00
2656610902 Removed manual tracking of edit state changes. 2021-05-15 08:13:55 +01:00
a2639371af Moved and improved move rendering. 2021-05-15 08:07:12 +01:00
1b6c808c08 Improved searching using a regex. 2021-05-15 07:54:23 +01:00
7ae2d3717b Digimon speciality and level are now using combo boxes.
Now using `selectable_label`s for the side panel.
2021-05-15 07:03:27 +01:00
a75434a82b Moved top heading to it's own top panel. 2021-05-15 06:47:45 +01:00
0adf19cfb7 Moved digimon rendering to it's own function. 2021-05-15 06:31:16 +01:00
8c78a6ffaf Moved edit state to it's own module. 2021-05-15 06:26:29 +01:00
98f4f92e36 Added dcb_util::WriteTake.
`dcb-card-editor` now properly limits the size of the file.
2021-05-15 06:24:24 +01:00
a7e6820cda Now not running tests until figuring out what to do about dcb-card-editor not compiling. 2021-05-15 05:53:40 +01:00
ec992f395a Added minimal cursor implementation for cdrom-xa.
Added `dcb_util::{checked_signed_offset, signed_offset}`.
`dcb-card-editor` now operates on the game file itself.
2021-05-15 05:48:26 +01:00
63d4b773e7 Removed unnecessary #[allow(...)].
Removed unused `dcb-util/util.rs`.
2021-05-14 07:30:37 +01:00
51d06ea1c5 Fixed formatting. 2021-05-14 06:40:12 +01:00
c69c4be85d Put all digivolve effects into an enum while trying to figure their structure out. 2021-05-14 05:33:02 +01:00
524b21e9fd Removed unknowns from EffectCondition. 2021-05-14 04:47:39 +01:00
68b3b22108 Rest of effect's bytes figured out.
Added check for invalid property to set for effect.
2021-05-14 04:30:59 +01:00
4510d2ba73 Added minimal card editor using egui.
Made some fields in `dcb` publid.
`generate_enum_property_mod` now adds a `ALL` const with all variants, as well as a `as_str`.
2021-05-13 04:19:31 +01:00
7845039dc0 Refactored funcs and data related to interruptse and added extra. 2021-05-11 01:49:58 +01:00
edb1571608 Revised documentation for start. 2021-05-10 20:19:36 +01:00
05f1579dfd Moved some data to foreign. 2021-05-09 20:50:08 +01:00
ab15d12099 Added FromStr impl for DataType. 2021-05-09 04:17:01 +01:00
aeb373c3ba Removed the need to specify kind on known / foreign data. 2021-05-09 04:13:59 +01:00
7cbd82f9a3 Removed Extend<Data> and FromIterator<Data> impls for DataTable. 2021-05-09 03:10:09 +01:00
1aa6400f43 Added DataTable::insert.
Data in the data table is now kept in `Rc`.
Data table now properly accessable by it's name.
2021-05-09 03:05:59 +01:00
5539894ca4 Updated way of checking for heuristically found functions in dcb-disasm. 2021-05-09 02:11:01 +01:00
f59556d2ad dcb-disasm can now choose where the header is printed.
Removed `print-data-table` option in `dcb-disasm`.
Moved loading of external resources in `dcb-disasm` to it's own module.
2021-05-09 02:10:15 +01:00
405c7b6c73 Added dcb_util::write_to_file. 2021-05-09 02:09:07 +01:00
b34b4c9caf Added new data, functions and overrides. 2021-05-08 21:10:39 +01:00
230ef291e7 Added l{b, bu, h, hu, w}arr instruction. 2021-05-08 16:12:07 +01:00
7398f43188 Added s{w, h, b}arr pseudo instruction to store an array of registers.
Added a lifetime to `pseudo::Encodable` for instructions to be able to return borrowed iterators.
2021-05-08 16:02:41 +01:00
fdbd30e806 Added j[al]b{a, b, c} pseudo instruction for calling bios functions.
Renamed `Inst::may_jump` to `Inst::expects_branch_delay` to reflect it's nature.
2021-05-08 15:00:32 +01:00
b84117ea48 Branch delay errors are now better explained. 2021-05-07 23:59:36 +01:00
de99f4d929 Renamed compiler to as and decompiler to disasm. 2021-05-07 23:52:54 +01:00
3258cf9be1 Revised dcb-compiler greatly. 2021-05-07 23:40:54 +01:00
be54d877ae Added dcb_util::BTreeMapVector. 2021-05-07 23:40:31 +01:00
972deb68f2 Removed Label.
Renamed `LabelName` to `label` and moved it to it's own module.
2021-05-07 23:40:11 +01:00
b2fad358f2 Added helper methods to LineArg and LineArgExpr.
`LineLabelFunc` is now `Copy`.
2021-05-07 23:39:33 +01:00
8ac0df949a Changes from 3fc494759e6decc7b7692ee2cbbe13dd16676974 are now formatted. 2021-05-07 21:32:03 +01:00