From 7a63c6f1fd9e55e51beec3da18d63dd5881fa19a Mon Sep 17 00:00:00 2001 From: Benjamin Wulfert Date: Fri, 16 Apr 2021 18:54:21 +0200 Subject: [PATCH] Release 0.4.0 --- Ninja/Architect/Content/Architect/Architect.d | 13 ++++++------- .../constructions_custom_interactive.d | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Ninja/Architect/Content/Architect/Architect.d b/Ninja/Architect/Content/Architect/Architect.d index b471f08..120dca8 100644 --- a/Ninja/Architect/Content/Architect/Architect.d +++ b/Ninja/Architect/Content/Architect/Architect.d @@ -157,9 +157,6 @@ func void SpawnConstructionWithPosition(var string constructionName, var int pos // add the pointer of the vob to the construction history list MEM_ArrayInsert (undoArray, currentConstructionPtr); - var string message; - message = cs4("Spawned construction: ", constructionName, " - Total construction: ", IntToString(MEM_ArraySize(undoArray))); - PrintS (message); }; @@ -294,10 +291,7 @@ func void SpawnInteractiveConstructionWithPosition(var string constructionName, // add the pointer of the vob to the construction history list MEM_ArrayInsert (undoArray, currentConstructionPtr); - - var string message; - message = cs4("Spawned construction: ", constructionName, " - Total construction: ", IntToString(MEM_ArraySize(undoArray))); - PrintS (message); + }; @@ -379,11 +373,13 @@ func void Architect_Input_Loop() { // These options are only valid if the mod is active + /* // If the Key "F10" is pressed ... // TODO: just for debugging - remove in near future if (MEM_KeyState (KEY_F10) == KEY_RELEASED) { ExitGame(); }; + */ @@ -603,6 +599,9 @@ func void Architect_Input_Loop() { // FrameFunction - gets called once per second, allows updating of the world // func void Architect_Late_Update(){ + + // dont do anything if the mod is not enabled + if(Architect_Mod_Enabled == 0){ return; }; // there is a construction spawned already - // use the ray tracing to determine its new position diff --git a/Ninja/Architect/Content/Architect/constructions/constructions_custom_interactive.d b/Ninja/Architect/Content/Architect/constructions/constructions_custom_interactive.d index 2f7eaa4..8e466ca 100644 --- a/Ninja/Architect/Content/Architect/constructions/constructions_custom_interactive.d +++ b/Ninja/Architect/Content/Architect/constructions/constructions_custom_interactive.d @@ -37,7 +37,7 @@ const string CONSTRUCTION_SET_CUSTOM_INTERACTIVE[CONSTRUCTION_SET_CUSTOM_INTERAC "BEDHIGH_NW_NORMAL_01.ASC", "BEDHIGH_NW_EDEL_01.ASC", "BEDHIGH_NW_MASTER_01.ASC", - "INNOS_NW_MISC_01.ASC", // innos statue + "INNOS_NW_MISC_01.ASC", // innos statue "LAB_PSI.ASC", // alchemy table "LADDER_2.ASC", // ladders "LADDER_3.ASC",