Skip to content

Commit

Permalink
Port buildings node to rust (#12)
Browse files Browse the repository at this point in the history
* Port buildings node to rust

* clippy lints
  • Loading branch information
TitanNano committed Jan 30, 2024
1 parent 92028ca commit f13f4fe
Show file tree
Hide file tree
Showing 15 changed files with 922 additions and 136 deletions.
12 changes: 12 additions & 0 deletions native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ num = "0.4.0"
rayon = "1.5.1"
itertools = "0.10.3"
num_enum = "0.7.1"
derive-debug = "0.1.2"

godot-rust-script = { git = "https://github.com/titannano/godot-rust-script", rev = "e06373cb0d8efce3ec097bbedde3e98e08a9ebfa" }
3 changes: 3 additions & 0 deletions native/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
mod objects;
mod scripts;
mod terrain_builder;
mod util;
mod world;

use godot::prelude::{gdextension, ExtensionLibrary, InitLevel};

Expand Down
1 change: 1 addition & 0 deletions native/src/objects.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod scene_object_registry;
Loading

0 comments on commit f13f4fe

Please sign in to comment.