Skip to content

Commit

Permalink
[ENTITY] Resolve names (#1153)
Browse files Browse the repository at this point in the history
* resolve a few ENTITY native names

* fix filename

* Update ENTITY/GetEntityHeadingFromEulers.md

Co-authored-by: UTIL_TRACELINE <[email protected]>

---------

Co-authored-by: UTIL_TRACELINE <[email protected]>
  • Loading branch information
coalaura and colistro123 authored Aug 7, 2024
1 parent 241bc03 commit 25b9fe0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 40 deletions.
18 changes: 18 additions & 0 deletions ENTITY/GetEntityHeadingFromEulers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
ns: ENTITY
aliases: ["0x846BF6291198A71E", "_GET_ENTITY_PHYSICS_HEADING"]
---
## GET_ENTITY_HEADING_FROM_EULERS

```c
// 0x846BF6291198A71E 0x9320E642
float GET_ENTITY_HEADING_FROM_EULERS(Entity entity);
```
Gets the heading of the entity physics in degrees, which tends to be more accurate than just [`GET_ENTITY_HEADING`](#_0xE83D4F9BA2A38914). This can be clearly seen while, for example, ragdolling a ped/player.
## Parameters
* **entity**: The entity to get the heading from.
## Return value
Returns a float representing the entity's heading from eulers.
20 changes: 0 additions & 20 deletions ENTITY/GetEntityPhysicsHeading.md

This file was deleted.

18 changes: 0 additions & 18 deletions ENTITY/N_0x694e00132f2823ed.md

This file was deleted.

15 changes: 15 additions & 0 deletions ENTITY/SetEntityRequiresMoreExpensiveRiverCheck.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
ns: ENTITY
aliases: ["0x694E00132F2823ED"]
---
## SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK

```c
// 0x694E00132F2823ED 0x40C84A74
void SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK(Entity entity, BOOL toggle);
```
## Parameters
* **entity**:
* **toggle**:
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
ns: ENTITY
aliases: ["0xDC6F8601FAF2E893"]
---
## _0xDC6F8601FAF2E893
## SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE

```c
// 0xDC6F8601FAF2E893 0xA0466A69
void _0xDC6F8601FAF2E893(Entity entity, BOOL toggle);
void SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE(Entity entity, BOOL toggle);
```
```
Expand Down

0 comments on commit 25b9fe0

Please sign in to comment.