update deps
This commit is contained in:
parent
24b28f28dd
commit
5193d0be71
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -481,9 +481,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "strafesnet_common"
|
name = "strafesnet_common"
|
||||||
version = "0.1.3"
|
version = "0.2.0"
|
||||||
source = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/"
|
source = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/"
|
||||||
checksum = "10a7e3b69506893bbdde90ce8a9d75cd56d280c0424d2dfdf98f8520179d0c1b"
|
checksum = "74580c59a09194ce39db49cd814a5c2fc2d61513c88c6b811b5b40c0da6de057"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
"glam",
|
"glam",
|
||||||
@ -492,7 +492,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "strafesnet_rbx_loader"
|
name = "strafesnet_rbx_loader"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"glam",
|
"glam",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "strafesnet_rbx_loader"
|
name = "strafesnet_rbx_loader"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://git.itzana.me/StrafesNET/rbx_loader"
|
repository = "https://git.itzana.me/StrafesNET/rbx_loader"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
@ -18,4 +18,4 @@ rbx_dom_weak = { version = "2.7.0", registry = "strafesnet" }
|
|||||||
rbx_mesh = "0.1.2"
|
rbx_mesh = "0.1.2"
|
||||||
rbx_reflection_database = { version = "0.2.10", registry = "strafesnet" }
|
rbx_reflection_database = { version = "0.2.10", registry = "strafesnet" }
|
||||||
rbx_xml = { version = "0.13.3", registry = "strafesnet" }
|
rbx_xml = { version = "0.13.3", registry = "strafesnet" }
|
||||||
strafesnet_common = { version = "0.1.3", registry = "strafesnet" }
|
strafesnet_common = { version = "0.2.0", registry = "strafesnet" }
|
||||||
|
12
src/rbx.rs
12
src/rbx.rs
@ -163,7 +163,7 @@ fn get_attributes(name:&str,can_collide:bool,velocity:Planar64Vec3,model_id:mode
|
|||||||
force_intersecting=true;
|
force_intersecting=true;
|
||||||
modes_builder.insert_mode(
|
modes_builder.insert_mode(
|
||||||
gameplay_modes::ModeId::MAIN,
|
gameplay_modes::ModeId::MAIN,
|
||||||
gameplay_modes::Mode::new(
|
gameplay_modes::Mode::empty(
|
||||||
gameplay_style::StyleModifiers::roblox_bhop(),
|
gameplay_style::StyleModifiers::roblox_bhop(),
|
||||||
model_id
|
model_id
|
||||||
)
|
)
|
||||||
@ -209,7 +209,7 @@ fn get_attributes(name:&str,can_collide:bool,velocity:Planar64Vec3,model_id:mode
|
|||||||
force_intersecting=true;
|
force_intersecting=true;
|
||||||
modes_builder.insert_mode(
|
modes_builder.insert_mode(
|
||||||
gameplay_modes::ModeId::new(captures[2].parse::<u32>().unwrap()),
|
gameplay_modes::ModeId::new(captures[2].parse::<u32>().unwrap()),
|
||||||
gameplay_modes::Mode::new(
|
gameplay_modes::Mode::empty(
|
||||||
gameplay_style::StyleModifiers::roblox_bhop(),
|
gameplay_style::StyleModifiers::roblox_bhop(),
|
||||||
model_id
|
model_id
|
||||||
)
|
)
|
||||||
@ -241,7 +241,7 @@ fn get_attributes(name:&str,can_collide:bool,velocity:Planar64Vec3,model_id:mode
|
|||||||
modes_builder.insert_stage(
|
modes_builder.insert_stage(
|
||||||
gameplay_modes::ModeId::MAIN,
|
gameplay_modes::ModeId::MAIN,
|
||||||
stage_id,
|
stage_id,
|
||||||
gameplay_modes::Stage::new(model_id),
|
gameplay_modes::Stage::empty(model_id),
|
||||||
);
|
);
|
||||||
//TODO: let denormalize handle this
|
//TODO: let denormalize handle this
|
||||||
gameplay_modes::StageElementBehaviour::SpawnAt
|
gameplay_modes::StageElementBehaviour::SpawnAt
|
||||||
@ -847,7 +847,7 @@ impl PartialMap1{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//index the attributes
|
//index the attributes
|
||||||
let attributes_id=if let Some(&attributes_id)=attributes_id_from_attributes.get(&model_owned_attributes.attributes){
|
let attributes_id=if let Some(&attributes_id)=attributes_id_from_attributes.get(&model_owned_attributes.attributes){
|
||||||
attributes_id
|
attributes_id
|
||||||
@ -901,9 +901,9 @@ impl PartialMap2{
|
|||||||
attributes:self.attributes,
|
attributes:self.attributes,
|
||||||
meshes:self.meshes,
|
meshes:self.meshes,
|
||||||
models:self.models,
|
models:self.models,
|
||||||
//the roblox legacy texture thing always works
|
//the roblox legacy texture thing always works
|
||||||
textures,
|
textures,
|
||||||
render_configs,
|
render_configs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user