From 11c2e79141e6aade9a08fa70189e28b63255ad15 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 1 Jul 2023 23:13:25 +0800 Subject: [PATCH] 0.3.1.1 dr rs --- docs/src/change_log/dr_game.md | 9 ++++++++- mods/dr_game/__init__.py | 2 +- mods/dr_game/sr1_ship.py | 4 ---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/src/change_log/dr_game.md b/docs/src/change_log/dr_game.md index 57172c8..1d73b82 100644 --- a/docs/src/change_log/dr_game.md +++ b/docs/src/change_log/dr_game.md @@ -2,9 +2,16 @@ # DR game/DR rs 更新日志 - 最新版本号 - - DR game: 0.3.1.0 + - DR game: 0.3.1.1 - DR rs: 0.2.15.0 +## DR game 0.3.1.1 + +### Fix + +- `sr_tr` 加载语言文件的路径并没有跟随目录名称改变 + - `sr_tr` does not follow the directory name change when loading the language file path + ## DR game 0.3.1.0 - 使用 `Difficult_Rocket.api.camera.Camera` 类 diff --git a/mods/dr_game/__init__.py b/mods/dr_game/__init__.py index d344a4b..8ec07be 100644 --- a/mods/dr_game/__init__.py +++ b/mods/dr_game/__init__.py @@ -54,7 +54,7 @@ DR_mod_runtime = _DR_mod_runtime() class DR_mod(ModInfo): mod_id = "difficult_rocket_mod" name = "Difficult Rocket mod" - version = Version("0.2.1.0") + version = Version("0.3.1.1") writer = "shenjackyuanjie" link = "shenjack.top" diff --git a/mods/dr_game/sr1_ship.py b/mods/dr_game/sr1_ship.py index cc75472..039d37b 100644 --- a/mods/dr_game/sr1_ship.py +++ b/mods/dr_game/sr1_ship.py @@ -63,10 +63,6 @@ def get_sr1_part(part_xml: Element) -> Optional[SR1PartData]: part_textures = None else: part_textures = SR1PartTexture.get_textures_from_type(part_type) - # print(f'id: {part_id:<4} type: {part_type:<10} x: {part_x} y: {part_y} activated: {part_activate} ' - # f'angle: {part_angle} angle_v: {part_angle_v} editor_angle: {part_editor_angle} ' - # f'flip_x: {part_flip_x} flip_y: {part_flip_y} explode: {part_explode} ' - # f'textures: {SR1PartTexture.get_textures_from_type(part_type)}') return SR1PartData(x=part_x, y=part_y, id=part_id, p_type=part_type, active=part_activate, angle=part_angle, angle_v=part_angle_v, editor_angle=part_editor_angle, flip_x=part_flip_x,