dr sdk 0.8.4.1
This commit is contained in:
parent
94b8869506
commit
8c91198e87
@ -10,7 +10,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
from Difficult_Rocket.api.types import Options, Version
|
from Difficult_Rocket.api.types import Options, Version
|
||||||
|
|
||||||
game_version = Version("0.8.4.0") # 游戏版本
|
game_version = Version("0.8.4.1") # 游戏版本
|
||||||
build_version = Version("2.1.0.0") # 编译文件版本(与游戏本体无关)
|
build_version = Version("2.1.0.0") # 编译文件版本(与游戏本体无关)
|
||||||
Api_version = Version("0.1.1.0") # API 版本
|
Api_version = Version("0.1.1.0") # API 版本
|
||||||
__version__ = game_version
|
__version__ = game_version
|
||||||
|
@ -308,7 +308,7 @@ class ClientWindow(Window):
|
|||||||
@_call_back(on_command_draw)
|
@_call_back(on_command_draw)
|
||||||
@_call_screen_after
|
@_call_screen_after
|
||||||
def on_draw(self, *dt):
|
def on_draw(self, *dt):
|
||||||
while command := self.game.console.get_command():
|
while (command := self.game.console.get_command()) is not None:
|
||||||
self.on_command(line.CommandText(command))
|
self.on_command(line.CommandText(command))
|
||||||
pyglet.gl.glClearColor(0.1, 0, 0, 0.0)
|
pyglet.gl.glClearColor(0.1, 0, 0, 0.0)
|
||||||
self.clear()
|
self.clear()
|
||||||
|
@ -5,8 +5,25 @@
|
|||||||
- DR game: 0.2.1.0
|
- DR game: 0.2.1.0
|
||||||
- DR rs: 0.2.15.0
|
- DR rs: 0.2.15.0
|
||||||
|
|
||||||
|
## DR rs 0.3.0.0
|
||||||
|
|
||||||
|
### 修改
|
||||||
|
|
||||||
|
- 适配了 `DR sdk` 的关于 mods 的修改
|
||||||
|
- Adapted the modification of mods about `DR sdk`
|
||||||
|
- `RustConsole`
|
||||||
|
- 现在输入体验更好了
|
||||||
|
- Now the input experience is better
|
||||||
|
|
||||||
## DR rs 0.2.15.0
|
## DR rs 0.2.15.0
|
||||||
|
|
||||||
|
### 修改
|
||||||
|
|
||||||
|
- 现在支持新的 mods reload 和 unload 了
|
||||||
|
- 适配了 `DR sdk` 的关于 mods 的修改
|
||||||
|
- Now support new mods reload and unload
|
||||||
|
- Adapted the modification of mods about `DR sdk`
|
||||||
|
|
||||||
### 添加
|
### 添加
|
||||||
|
|
||||||
- `IdType = i64`
|
- `IdType = i64`
|
||||||
|
@ -79,6 +79,8 @@ class DR_mod(ModInfo):
|
|||||||
if old_self:
|
if old_self:
|
||||||
from .sr1_ship import SR1ShipRender
|
from .sr1_ship import SR1ShipRender
|
||||||
game.client.window.add_sub_screen("SR1_ship", SR1ShipRender)
|
game.client.window.add_sub_screen("SR1_ship", SR1ShipRender)
|
||||||
|
game.console.stop()
|
||||||
|
game.init_console()
|
||||||
else:
|
else:
|
||||||
self.config.flush_option()
|
self.config.flush_option()
|
||||||
logger.info("on_load")
|
logger.info("on_load")
|
||||||
|
Loading…
Reference in New Issue
Block a user