From dcc8734ace596257c1cef6f067a087c45d7974e9 Mon Sep 17 00:00:00 2001 From: Natashi <32347635+Natashi@users.noreply.github.com> Date: Sun, 13 Feb 2022 23:09:05 +0700 Subject: [PATCH] Docs update --- Change Log.txt | 22 +++++++++++++++++++++- New Functions Documentation.txt | 17 +++++++++++++---- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/Change Log.txt b/Change Log.txt index 57997502..74fc7180 100644 --- a/Change Log.txt +++ b/Change Log.txt @@ -1,5 +1,26 @@ A mostly-complete history log of engine updates can be found here. +1.32b + Changes: + - All functions and actions that change a shot's graphic ID has an additional feature: + - The actual graphic ID will be the absolute value of the value received. + - If the value received was negative, the graphic change operation will preserve the shot's previous spin angular velocity and Z-angle. + - Affected functions and actions: + - ObjShot_SetGraphic + - ObjMove_AddPatternA3 + - ObjMove_AddPatternA4 + - ObjMove_AddPatternB3 + - ObjMove_AddPatternC3 + - ObjMove_AddPatternC4 + - TRANSFORM_GRAPHIC_CHANGE + Additions: + - Added an instruction on how to get ph3sx to work with Wine. (Check readme.txt) + - Added SetIntersectionVisualizationRenderPriority. + Bug fixes: + - Fixed incorrect documentation for some functions. + - Fixed AddPoint not working correctly. + - Fixed some issues with acceleration and max speed when converting from B-movement to A-movement or C-movement with AddPattern. + 1.32a Changes: - Renamed "real" to "float". @@ -20,7 +41,6 @@ A mostly-complete history log of engine updates can be found here. - ObjMove_SetAngularVelocity - Swapped the "shot graphic ID" and "target ID" arguments in ObjMove_AddPatternA4. - Swapped the "max speed" and "angular velocity" arguments of the following functions: - - CreateShotA2 - ObjMove_AddPatternA2 - ObjMove_AddPatternA3 - ObjMove_AddPatternA4 diff --git a/New Functions Documentation.txt b/New Functions Documentation.txt index 03422484..7f4376aa 100644 --- a/New Functions Documentation.txt +++ b/New Functions Documentation.txt @@ -3473,6 +3473,14 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE Yellow : Enemy hitbox+killbox Red : Enemy shot + SetIntersectionVisualizationRenderPriority + Arguments: + 1) (int) render priority + Description: + Sets the render priority of hitbox visualizations. + + Default value is 68. (GetCameraFocusPermitPriorityI() - 1) + --------------------------------> Player Functions <-------------------------------- GetPlayerScriptID @@ -3838,7 +3846,7 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE LERP_DECELERATE: Decelerating interpolation. - ObjMove_AddPatternA2 + ObjMove_AddPatternA2 (overload) Arguments: 1) (int) object ID 2) (int) frame @@ -3848,9 +3856,9 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE 6) max speed 7) angular velocity Description: - Change. + Overloaded with 7 arguments. - Swapped max speed and angular velocity. + Additional ability to specify angular velocity. ObjMove_AddPatternA3 Arguments: @@ -4329,7 +4337,8 @@ ALL ARGUMENTS ARE FLOATS UNLESS STATED OTHERWISE 1) (int) object ID 2) (bool) enable Description: - If set to false, the shot will not lose penetration upon collision with an enemy hitbox. + If set to false, the shot will not lose penetration upon collision with another enemy shot. + Intended to be used with players shots, in tandem with ObjShot_SetEraseShot. Default is true.