Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminfoo committed Apr 16, 2021
1 parent 00b1e66 commit 7a63c6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions Ninja/Architect/Content/Architect/Architect.d
Expand Up @@ -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);
};


Expand Down Expand Up @@ -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);

};


Expand Down Expand Up @@ -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();
};
*/



Expand Down Expand Up @@ -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
Expand Down
Expand Up @@ -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",
Expand Down

0 comments on commit 7a63c6f

Please sign in to comment.