DR rs dependency
quick-xml: 0.30.0 -> 0.31.0serde: 1.0.186 -> 1.0.190xml-rs: 0.8.16 -> 0.8.19map_ptype_textures 函数
SR1PartType_rs 实例获取贴图路径map_ptype_textures
SR1PartType_rs instancetypes.rs 添加了一些注释
sssssssboom 的帮助types.rs
sssssssboom for the helpsr1_ship 渲染器使用的 Camera 改成 CenterGroupCameraglScissor 和 glViewport
SR1PartType_rs 里取SR1Textures 的加载逻辑
.png__init__.py 里添加了
spritetypeSR1PartType_rs
type getter摸鱼真开心
touchingGroundtouchingGround field is NOT Required
touchingGround 字段也是可选的
missing field versionversion field is NOT Required
version 字段也是可选的
editorAngle field is Option<i32>editorAngle field is Optional
editorAngle 字段是可选的
PySR1Ship
as_listPySR1PartDataPySaveStatusmap_ptype_textures(part_type: str) -> strSR1Ship_rs
__init__
part_list 参数从传入 PartList.xml 路径 改为直接传入 SR1PartList_rs 实例
part_list parameter from passing in the PartList.xml path to directly passing in the SR1PartList_rs instancein #45
pyo3
0.19.0 -> 0.19.1xml-rs
0.8.14 -> 0.8.16serde
1.0.164 -> 1.0.173SR1PartData_rs
get_id -> IdTypeget_x -> f64get_y -> f64get_activate -> boolget_angle_v -> f64get_explode -> booltypes.rs & python.rs 利用可用的 Clippy 改进了代码
types.rs & python.rs improved the code with available Clippysr_tr 加载语言文件的路径并没有跟随目录名称改变
sr_tr does not follow the directory name change when loading the language file pathDifficult_Rocket.api.camera.Camera 类
Difficult_Rocket.api.camera.Camera class有一些修改(忘记记录了
DR sdk 的关于 mods 的修改
DR sdkRustConsole
DR sdk 的关于 mods 的修改DR sdkIdType = i64
PySR1Ship
get_connection -> Vec<(i32, i32, IdType, IdType)>
SR1Ship 写入
SR1Ship writesr1_ship 中的 Camera_rs 改为 Difficult_Rocket.utils.camera.Camera
Camera_rs in sr1_ship to Difficult_Rocket.utils.camera.Camerarender.rs
DR game 的 camera 代替render.rs
DR game's camera insteadquick-xml::writer::Writer 的 xml SR1Ship 写入
SR1Ship write based on quick-xml::writer::Writer
Python::data::PySR1Ship
get_part_box(&self, part_id: i64) -> Option<(f64, f64), (f64, f64)>
DR_sdk 0.8.3.0 的修改types.py
DR.api.types.SR1 中移动过来console.py
PyConsoleDR sdk 的默认控制台方法types.rsOption<Vec<Step>> 的 sr1_data.rs
Vec<Step> -> Option<Vec<Step>>无法解析 带 staging 不带 steps的飞船python::PySR1PartTypeget_descriptiton -> String
get_sprite -> String
get_width -> u32
get_height -> u32
get_friction
get_hidden
sr1_datainflation
Option<bool> -> Option<f64>field: "missing field Activate"<DisconnectedParts/>types::sr1::get_max_box
types::math::Rotatable
python::console::PyConsole
std::thread 的多线程控制台DR sdk 的默认控制台方法
std::threadDR sdkBorrowMutError