move blob guy here and move noita api outside of ewext and noitaapimacro inside of noitaapi

This commit is contained in:
bgkillas 2025-06-27 10:22:14 -04:00
parent 12e1a7cfb5
commit 0154d41b13
16 changed files with 9 additions and 7 deletions

4
.gitignore vendored
View file

@ -5,4 +5,6 @@ save_state
/quant.ew/files/system/player/tmp/
/quant.ew/ewext.dll
/quant.ew/ewext0.dll
/quant.ew/ewext1.dll
/quant.ew/ewext1.dll
/blob_guy/blob_guy/blob_guy.dll
/blob_guy/target

1
blob_guy Submodule

@ -0,0 +1 @@
Subproject commit c4c626f06b895d3a21a96131cf04224b08f4084a

1
ewext/Cargo.lock generated
View file

@ -102,7 +102,6 @@ dependencies = [
"iced-x86",
"libloading",
"noita_api",
"noita_api_macro",
"rand",
"rustc-hash",
"shared",

View file

@ -19,9 +19,8 @@ opt-level = 3
[dependencies]
backtrace = "0.3.74"
iced-x86 = "1.21.0"
noita_api_macro = {path = "noita_api_macro"}
eyre = "0.6.12"
noita_api = {path = "noita_api"}
noita_api = {path = "../noita_api"}
shared = {path = "../shared"}
libloading = "0.8.6"
rand = "0.9.0"

View file

@ -8,6 +8,7 @@ use eyre::{Context, OptionExt, bail};
use modules::{Module, ModuleCtx, entity_sync::EntitySync};
use net::NetManager;
use noita::{ParticleWorldState, ntypes::Entity, pixel::NoitaPixelRun};
use noita_api::add_lua_fn;
use noita_api::{
DamageModelComponent, EntityID, VariableStorageComponent,
lua::{
@ -15,7 +16,6 @@ use noita_api::{
lua_bindings::{LUA_REGISTRYINDEX, lua_State},
},
};
use noita_api_macro::add_lua_fn;
use rustc_hash::{FxHashMap, FxHashSet};
use shared::des::{Gid, RemoteDes};
use shared::{Destination, NoitaInbound, NoitaOutbound, PeerId, SpawnOnce, WorldPos};

View file

@ -6,8 +6,8 @@ edition = "2024"
[dependencies]
eyre = "0.6.12"
libloading = "0.8.5"
noita_api_macro = {path = "../noita_api_macro"}
shared = {path = "../../shared"}
noita_api_macro = {path = "noita_api_macro"}
shared = {path = "../shared"}
base64 = "0.22.1"
rustc-hash = "2.0.0"
smallvec = "1.15.1"

View file

@ -15,6 +15,7 @@ use std::{
};
pub mod lua;
pub mod serialize;
pub use noita_api_macro::add_lua_fn;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct EntityID(pub NonZero<isize>);