From c7591f249a6966fafe0111a4414a4a2daede6ad2 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Sat, 4 May 2024 23:05:20 +0800 Subject: [PATCH] Add New Features --- assets/ArkPetsConfigDefault.json | 3 +- assets/UI/SettingsModule.fxml | 4 +- core/src/cn/harryh/arkpets/ArkConfig.java | 2 + core/src/cn/harryh/arkpets/ArkPets.java | 113 ++++++++---------- .../src/cn/harryh/arkpets/utils/HWndCtrl.java | 2 +- core/src/cn/harryh/arkpets/utils/Plane.java | 5 +- .../arkpets/controllers/SettingsModule.java | 12 +- 7 files changed, 72 insertions(+), 69 deletions(-) diff --git a/assets/ArkPetsConfigDefault.json b/assets/ArkPetsConfigDefault.json index 3f5c6230..e73b88d1 100644 --- a/assets/ArkPetsConfigDefault.json +++ b/assets/ArkPetsConfigDefault.json @@ -20,5 +20,6 @@ "physic_speed_limit_x":1000.0, "physic_speed_limit_y":1000.0, "physic_static_friction_acc":500.0, - "window_style_toolwindow":true + "window_style_toolwindow":true, + "window_style_topmost":true } \ No newline at end of file diff --git a/assets/UI/SettingsModule.fxml b/assets/UI/SettingsModule.fxml index 96092e86..bcce1952 100644 --- a/assets/UI/SettingsModule.fxml +++ b/assets/UI/SettingsModule.fxml @@ -35,14 +35,14 @@