Skip to content

Commit eb16bf6

Browse files
authored
Merge pull request #167 from white-axe/editors
Implement the system, tileset and troop editors
2 parents 5845be5 + 1d15757 commit eb16bf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5998
-916
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! Rust Build Output
22
/target
3-
dist/
3+
dist
44

55
#! GDB-related files
66
.gdb_*
@@ -17,4 +17,4 @@ steamworks/*
1717
#! renderdoc
1818
captures/
1919

20-
rustc-ice*
20+
rustc-ice*

Cargo.lock

Lines changed: 38 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ bytemuck = { version = "1.14.0", features = [
106106
"derive",
107107
"min_const_generics",
108108
] } # Bit casting between data types
109-
num-integer = "0.1.46" # Integer trait and implementations of some integer algorithms such as GCD and LCM
109+
num = "0.4.3" # Integer trait and implementations of some integer algorithms such as GCD and LCM
110110

111111
# * Logging and diagnostics * #
112112
log = { version = "0.4", features = [

crates/core/src/data_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl Data {
124124
];
125125

126126
for script_path in scripts_paths {
127-
match handler.read_data(filesystem, format!("{script_path}")) {
127+
match handler.read_data(filesystem, &script_path) {
128128
Ok(s) => {
129129
config.project.scripts_path = script_path;
130130
scripts = Some(rpg::Scripts {

crates/data/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ alox-48.workspace = true
2525

2626
# * Mathematics * #
2727
bytemuck.workspace = true
28+
num.workspace = true
2829

2930
# * Useful procedural macros * #
3031
num_enum = "0.7.0" # Procedural macros to make inter-operation between primitives and enums easier

crates/data/src/helpers/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@
1818
pub mod id_serde;
1919
pub mod id_vec_serde;
2020
pub mod nil_padded_serde;
21-
pub mod optional_id_serde;
22-
pub mod optional_path_serde;
2321

2422
pub mod id_alox;
2523
pub mod id_vec_alox;
2624
pub mod nil_padded_alox;
27-
pub mod optional_id_alox;
28-
pub mod optional_path_alox;
2925

3026
mod parameter_type;
31-
3227
pub use parameter_type::*;
28+
29+
mod rpg_option;
30+
pub use rpg_option::*;

crates/data/src/helpers/optional_id_alox.rs

Lines changed: 0 additions & 40 deletions
This file was deleted.

crates/data/src/helpers/optional_id_serde.rs

Lines changed: 0 additions & 40 deletions
This file was deleted.

crates/data/src/helpers/optional_path_alox.rs

Lines changed: 0 additions & 58 deletions
This file was deleted.

crates/data/src/helpers/optional_path_serde.rs

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)