Android port (Adreno): Vulkan backend, GameActivity app, touch HUD, lifecycle, minimap quest goals
- host/android: Vulkan replay backend (nvn_vk.c) with pipeline/descriptor caching, ADPF, AChoreographer present link; Linux compat layer; Makefile.android (headless dmhost + APK lib) - android/app: GameActivity shell without Gradle (build_apk.sh), AAudio output, touch HUD port (touch_app.c + TouchOverlay.java, three layers: body / joystick / minimap goals), lifecycle save-on-background like iOS, art_from_ipa.py for touch / HUD / mapgoal art - touch: shared touch controls moved from ios/Sources to dm/touch - patch_nso.py Android ruleset, dmsh_vk.py shader pack, DM_TOUCH_PRODUCT defaults - hle_audio: AAudio resume waits through STARTING and reopens once on failure - .gitignore: local resources/ (original game data) never committed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5bc5a01087
commit
4d91f80bae
+2
-2
@@ -61,11 +61,11 @@ static void grant(uint8_t *mb, uint64_t unit, int srv) { // 这个单位的技
|
||||
uint64_t nd = ((uint64_t (*)(uint64_t, int))(mb + 0x7bf010))(unit, sk); static int lg; if (lg++ < 8) LOG("免费回城:%s玩家技能链挂上回城技能 %d → %s", srv ? "服务端" : "客户端", sk, nd ? "成" : "【红】失败");
|
||||
}
|
||||
// ZR 这一格现在是不是空的:面 → 格表 main+0x2d13cbc(6 × {逻辑键, 普通格, 替代格},ZR 的逻辑键 0x800)、格 → 技能表 main+0x2d5f0c0(每格 28 字节,首 4 字节技能号;武器第二组在 +16 格),
|
||||
// 读法同前端的技能格快照(dm/ios/Sources/dm_touch_game_bridge.c)。[0] = 没按 ZL 时 ZR 用的那格,[1] = 按着 ZL 时的那格
|
||||
// 读法同前端的技能格快照(dm/touch/dm_touch_game_bridge.c)。[0] = 没按 ZL 时 ZR 用的那格,[1] = 按着 ZL 时的那格
|
||||
// Whether the ZR slot is empty right now: face button -> slot table main+0x2d13cbc (6 x {logical key, normal slot, alternate slot}, the logical key
|
||||
// of ZR is 0x800), slot -> skill table main+0x2d5f0c0 (28 bytes per slot, the first 4 bytes are the skill number; the second weapon set is at
|
||||
// +16 slots),
|
||||
// read the same way as the front end's skill slot snapshot (dm/ios/Sources/dm_touch_game_bridge.c). [0] = the slot ZR uses when ZL is not held,
|
||||
// read the same way as the front end's skill slot snapshot (dm/touch/dm_touch_game_bridge.c). [0] = the slot ZR uses when ZL is not held,
|
||||
// [1] = the slot used while ZL is held
|
||||
static _Atomic int g_zr_free[2];
|
||||
int dm_freetp_zr_free(int zl) { return atomic_load(&g_zr_free[zl != 0]); }
|
||||
|
||||
Reference in New Issue
Block a user