Skip to content

Commit

Permalink
add references to other shake natives
Browse files Browse the repository at this point in the history
  • Loading branch information
coalaura committed Oct 14, 2024
1 parent 9919547 commit 2d92a2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 26 deletions.
24 changes: 5 additions & 19 deletions CAM/ShakeCam.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,12 @@ ns: CAM

```c
// 0x6A25241C340D3822 0x1D4211B0
void SHAKE_CAM(Cam cam, char* type, float amplitude);
void SHAKE_CAM(Cam cam, char* shakeName, float amplitude);
```
```
Possible shake types (updated b617d):
DEATH_FAIL_IN_EFFECT_SHAKE
DRUNK_SHAKE
FAMILY5_DRUG_TRIP_SHAKE
HAND_SHAKE
JOLT_SHAKE
LARGE_EXPLOSION_SHAKE
MEDIUM_EXPLOSION_SHAKE
SMALL_EXPLOSION_SHAKE
ROAD_VIBRATION_SHAKE
SKY_DIVING_SHAKE
VIBRATE_SHAKE
```
See [`SHAKE_GAMEPLAY_CAM`](#_0xFD55E49555E017CF) for a full list of camera shakes.
## Parameters
* **cam**:
* **type**:
* **amplitude**:
* **cam**: The camera handle.
* **shakeName**: The name of the shake.
* **amplitude**: The intensity of the shake.
11 changes: 4 additions & 7 deletions CAM/ShakeCinematicCam.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ ns: CAM

```c
// 0xDCE214D9ED58F3CF 0x61815F31
void SHAKE_CINEMATIC_CAM(char* p0, float p1);
void SHAKE_CINEMATIC_CAM(char* shakeName, float amplitudeScalar);
```
```
p0 argument found in the b617d scripts: "DRUNK_SHAKE"
```
See [`SHAKE_GAMEPLAY_CAM`](#_0xFD55E49555E017CF) for a full list of camera shakes.
## Parameters
* **p0**:
* **p1**:
* **shakeName**: The name of the shake.
* **amplitudeScalar**: The intensity of the shake.

0 comments on commit 2d92a2e

Please sign in to comment.