Small code comment changes

This commit is contained in:
Agent X 2024-12-13 20:13:55 -05:00
parent 4908f4bdcf
commit bd09ed0298
5 changed files with 5 additions and 5 deletions

View file

@ -10118,7 +10118,7 @@ end
--- @param colData WallCollisionData
--- @return integer
--- Detects wall collisions at a given position and adjusts the position based on the walls found. Returns the number of wall collisions detected.
--- Detects wall collisions at a given position and adjusts the position based on the walls found. Returns the number of wall collisions detected
function find_wall_collisions(colData)
-- ...
end

View file

@ -3472,7 +3472,7 @@ Finds the height of the poison gas at a given position (x, z), if the position i
## [find_wall_collisions](#find_wall_collisions)
### Description
Detects wall collisions at a given position and adjusts the position based on the walls found. Returns the number of wall collisions detected.
Detects wall collisions at a given position and adjusts the position based on the walls found. Returns the number of wall collisions detected
### Lua Example
`local integerValue = find_wall_collisions(colData)`

View file

@ -46,7 +46,7 @@ s32 f32_find_wall_collision(f32 *xPtr, f32 *yPtr, f32 *zPtr, f32 offsetY, f32 ra
/* |description|
Detects wall collisions at a given position and adjusts the position based on the walls found.
Returns the number of wall collisions detected.
Returns the number of wall collisions detected
|descriptionEnd| */
s32 find_wall_collisions(struct WallCollisionData *colData);
f32 find_ceil(f32 posX, f32 posY, f32 posZ, struct Surface **pceil);

View file

@ -1209,7 +1209,7 @@ static void geo_process_object(struct Object *node) {
s32 hasAnimation = (node->header.gfx.node.flags & GRAPH_RENDER_HAS_ANIMATION) != 0;
Vec3f scalePrev;
// Sanity check our stack index, If we above or equal to our stack size. Return to prevent OOB\.
// Sanity check our stack index, If we above or equal to our stack size. Return to prevent OOB.
if ((gMatStackIndex + 1) >= MATRIX_STACK_SIZE) { LOG_ERROR("Preventing attempt to exceed the maximum size %i for our matrix stack with size of %i.", MATRIX_STACK_SIZE - 1, gMatStackIndex); return; }
if (!node->header.gfx.inited) {

View file

@ -33,7 +33,7 @@ def compare_ini_file(file_path):
for filename in os.listdir("lang"):
if filename.endswith(".ini"):
ini_file_path = os.path.join("lang", filename)
if ini_file_path != "English.ini" and ini_file_path != "lang/English.ini":
if filename != "English.ini":
missing_sections, extra_sections, missing_keys = compare_ini_file(ini_file_path)
print(f"\nComparing {filename}:")