Skip to content

Commit c522d57

Browse files
Use compact inserter storage (#15)
* First Option * Huge refactor for better inserters and larger possible power grids * cargo update * Simplify assembler update to encourage vectorization (~10% faster on whole factory) * Fix egui patches * Add graphics feature
1 parent 4bc0633 commit c522d57

50 files changed

Lines changed: 1980 additions & 821 deletions

Some content is hidden

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

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ puffin = "0.19"
4646
[patch.crates-io]
4747
puffin_egui = { git = "https://github.com/BloodStainedCrow/puffin" }
4848
puffin = { git = "https://github.com/BloodStainedCrow/puffin" }
49-
egui = { path = "../egui/crates/egui" }
50-
eframe = { path = "../egui/crates/eframe" }
51-
egui-wgpu = { path = "../egui/crates/egui-wgpu" }
49+
egui = { git = "https://github.com/BloodStainedCrow/egui", branch = "removeProfiling" }
50+
eframe = { git = "https://github.com/BloodStainedCrow/egui", branch = "removeProfiling" }
51+
egui-wgpu = { git = "https://github.com/BloodStainedCrow/egui", branch = "removeProfiling" }
5252

5353
[lints.rust]
5454
# TODO:
@@ -62,6 +62,8 @@ unwrap_used = { level = "deny", priority = -1 }
6262
wildcard_enum_match_arm = { level = "deny", priority = -1 }
6363
match_same_arms = { level = "deny", priority = -1 }
6464

65+
66+
redundant_closure_for_method_calls = { level = "allow", priority = 1 }
6567
suboptimal_flops = { level = "allow", priority = 1 }
6668
module_name_repetitions = { level = "allow", priority = 1 }
6769

@@ -82,3 +84,7 @@ incremental = true
8284
[profile.release]
8385
lto = true
8486
# codegen-units = 1
87+
88+
[features]
89+
# Use Krastorio2 graphics. Since I have not properly added licensing information, I currently do not push them, therefore this feature is broken
90+
graphics = []

codium.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ in
55
pkgs.mkShell {
66
buildInputs = [
77
] ++ (with pkgs; [
8+
bacon
89

910
(vscode-with-extensions.override {
1011
vscode = vscodium;

crash_replays/001.rep

-104 KB
Binary file not shown.

crash_replays/002.rep

-174 KB
Binary file not shown.

crash_replays/003.rep

-183 KB
Binary file not shown.

crash_replays/004.rep

-203 KB
Binary file not shown.

crash_replays/005.rep

-194 KB
Binary file not shown.

crash_replays/006.rep

-175 KB
Binary file not shown.

crash_replays/007.rep

-256 KB
Binary file not shown.

0 commit comments

Comments
 (0)