kitgit

tirbofish/dropbear · commit

a42d87455fd862dd218ea393b9974dd45f5bdb45

fix up some issues to do with features and add a new engine.quit() function which quits playing. jarvis, run github actions fixes #69

Unverified

Thribhu K <4tkbytes@pm.me> · 2025-12-13 14:13

view full diff

diff --git a/README.md b/README.md
index fd7731c..baa19fa 100644
--- a/README.md
+++ b/README.md
@@ -62,8 +62,19 @@ cargo build
 > [!TIP]
 > It is recommended to use IntelliJ IDEA with the Rust plugin to help contribute to the engine. 
 > 
-> If you are a normal joe,
-> then just use the standard IntelliJ IDEA.
+> If you are a normal joe, then just use the standard IntelliJ IDEA.
+
+<details>
+
+<summary>For the engine developers</summary>
+
+> [!WARNING]
+> Ensure that `cargo build` is ran for each iteration of testing instead of `cargo build -p eucalyptus-editor` due to some weird ABI issue with Rust. If you do only want to build
+> a specific package, ensure you run `cargo build -p {package} -p eucalyptus-core`. 
+> 
+> If you get any FFI errors (likely a getter), you compiled the library wrong. 
+
+</details>
 
 ### Prebuilt
 
diff --git a/eucalyptus-core/Cargo.toml b/eucalyptus-core/Cargo.toml
index bd7447d..f32139e 100644
--- a/eucalyptus-core/Cargo.toml
+++ b/eucalyptus-core/Cargo.toml
@@ -44,7 +44,8 @@ rustc_version_runtime.workspace = true
 
 [features]
 default = []
-
+# internal redback-runtime configurations because some stuff keep on enabling for JVM
+runtime = []
 # editor only stuff
 editor = ["jvm", "rfd", "jvm_debug"]
 # enabled scripttarget::jvm as an option 
diff --git a/eucalyptus-core/src/ptr.rs b/eucalyptus-core/src/ptr.rs
index 2b19cb6..dcf7197 100644
--- a/eucalyptus-core/src/ptr.rs
+++ b/eucalyptus-core/src/ptr.rs
@@ -1,10 +1,10 @@
 use crate::input::InputState;
-use crate::window::GraphicsCommand;
+use crate::window::CommandBuffer;
 use crossbeam_channel::Sender;
 use dropbear_engine::asset::AssetRegistry;

Large diffs are not rendered by default. Showing the first 50 of 784 lines. Show full diff