From 7cbacdd0e8b321bbb6505c0020fd5f2829bd8e31 Mon Sep 17 00:00:00 2001 From: Northfear <11291116+Northfear@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:23:44 +0200 Subject: [PATCH] Vita updates --- README.md | 4 +++- tiberiandawn/building.cpp | 1 + tiberiandawn/init.cpp | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0796c3ff..dba5b585 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Check Vanilla Conquer Wiki for more info about required folder/file structure an ### Build ``` mkdir build && cd build -cmake .. -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DVITA=true -DCMAKE_BUILD_TYPE=None +cmake .. -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DVITA=true -DNETWORKING=OFF -DCMAKE_BUILD_TYPE=None make ``` @@ -55,6 +55,8 @@ Left analog stick can be used for both cursor movement (good for building or pre You can change cursor movement speed by editing ```ControllerPointerSpeed``` option under ```[Vita]``` section inside ```conquer.ini```/```redalert.ini``` files. +You can also control cursor movement with rear touchpad. To do so set ```RearTouchEnabled``` option to ```yes```. You can change its speed with ```RearTouchSpeed``` option. + ### Other Config files for VanillaTD and VanillaRA are located at ```ux0:data/VanillaTD/vanillatd/conquer.ini``` and ```ux0:data/VanillaRA/vanillara/redalert.ini```. diff --git a/tiberiandawn/building.cpp b/tiberiandawn/building.cpp index 2fd927a6..adf6cbf7 100644 --- a/tiberiandawn/building.cpp +++ b/tiberiandawn/building.cpp @@ -4601,6 +4601,7 @@ int BuildingClass::Mission_Repair(void) if (Transmit_Message(RADIO_NEED_TO_MOVE) == RADIO_ROGER) { if (Contact_With_Whom()->Health_Ratio() < 0x0100 && Transmit_Message(RADIO_REPAIR) == RADIO_ROGER) { +// still crashing on VITA with missing data #ifdef REMASTER_BUILD // MBL 07.06.2020 - Patch 3: Change to TD Legacy: Adding "Repairing" VO for units on repair bay // Per https://jaas.ea.com/browse/TDRA-7271 diff --git a/tiberiandawn/init.cpp b/tiberiandawn/init.cpp index a54fe262..c8c0ed0a 100644 --- a/tiberiandawn/init.cpp +++ b/tiberiandawn/init.cpp @@ -344,7 +344,6 @@ bool Init_Game(int, char*[]) char sep[] = {PathsClass::SEP, '\0'}; strcat(search_path, sep); } -#endif strcpy(scan_path, search_path); strcat(scan_path, "SC*.MIX");