assets/fonts
unifont.otf
unifont v 15.1.02
client
load.font
start
file
error
use_time
client.pyglet_load_fonts_folder
os.walk
遍历文件夹tr
进行日志记录BaseScreen
Options
name
选项来识别名称Options
name
option to identify namegui.widget.PressTextButton
Difficult_Rocket.utils.camera.GroupCamera
Difficult_Rocket.utils.camera.CenterGroupCamera
pyglet.graphics.Group
来实现的 Camera
api.camera
里添加了导出
Difficult_Rocket.utils.camera.GroupCamera
Difficult_Rocket.utils.camera.CenterGroupCamera
Camera
using pyglet.graphics.Group
api.camera
xxCamera
添加了
reset
方法reset
method for all xxCamera
DR.py
启动之后如果崩溃会在控制台输出完整的 Crash report 了
DR.py
starts, if it crashes, the complete Crash report will be output to the console重构了一下项目结构
Refactored the project structure
assets/
libs/fonts
-> assets/fonts
configs/lang
-> assets/lang
configs/xxx.xml
-> assets/builtin/xxx.xml
textures
-> assets/textures
assets/
crash
引用了已经重命名的 Difficult_Rocket.game_version
(Difficult_Rocket.sdk_version
)Difficult_Rocket.api.types
VersionRequirement
VersionParsingError
DR.py
DR-start.py
的改名DR.py
DR-start.py
DR-start.py
DR.py
DR-start.py
DR.py
libs/utils/dsm.py
libs/utils/dsm.py
Camera
和 CenterCamera
添加到 Difficult_Rocket.api.camera
Camera
and CenterCamera
to Difficult_Rocket.api.camera
Difficult_Rocket.__init__
game_version
-> sdk_version
ModManager
get_mod_module(mod_name: str) -> Optional[ModInfo]
load_mod(mod_path: Path) -> Optional[ModInfo]
find_mods_in_path(extra_mods_path: Optional[List[Path]]) -> List[Path]
unload_mod(mod_id: str, game: Game) -> Optional[ModInfo]
reload_mod(mod_id: str, game: Game)
DR.client.guis.widget.InputBox
TextEntry
已经好了 可以直接用了TextEntry
is ok to usemods
list
reload <mod_id>
utils.camera
Camera
CenterCamera
.otf
格式的字体文件的问题dr_game
相关的键值
dr_game
自己的语言文件中了dr_game
dr_game
itselfutils.translate
Tr
lang_path
logging
的配置转移到 __init__
中了
logging
的时候可以正常使用logging
is moved to __init__
logging
can be used normally when calledTrue
/False
了
/
开头的)True
/False
/
)CommandText
find
str.startswith
检测是否以要求的字符串开头
re.match
str.startswith
to detect whether it starts with the required string
re.match
pyglet_rs
DR_runtime
进行格式化)DR_status
DR_runtime
DR_runtime
-> DR_status
client_running
server_running
Difficult_Rocket.DR_runtime
DR_version
-> DR_status.DR_version
API_version
-> DR_status.API_version
Build_version
-> DR_status.Build_version
default_language
-> DR_status.default_language
Diffiuclt_Rocket.long_version
Version
有一个完整的版本号比较机制)Version
has a complete version comparison mechanism)Difficult_Rocket.DR_rust_available
DR_rs
的耦合了api.types.SR1
dr_game
中api.types
Version
(libs.MCDR.version.Version
)Difficult_Rocket.api.types.Options
str_option
__str__
__repr__
Options
可以被 print
打印console
类在 get_command
时 没有检查是否为空