Skip to content

Commit

Permalink
Cleanup RECORDING natives (#906)
Browse files Browse the repository at this point in the history
* Update IsRecording.md

* Update DisableRockstarEditorCameraChanges.md

* Update IsRecording.md

Move description to return value

* Update StartRecording.md

* Remove code blocks from comments

* Improve description of StopRecordingThisFrame

* Update IsRecording.md

Remove new line from under `## Return value` and trailing spaces at the end. (nitpick)

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
niekschoemaker and 4mmonium authored Apr 23, 2024
1 parent 7bcfe98 commit d558e37
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 23 deletions.
5 changes: 0 additions & 5 deletions RECORDING/DisableRockstarEditorCameraChanges.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ aliases: ["0xAF66DCEE6609B148"]
void _DISABLE_ROCKSTAR_EDITOR_CAMERA_CHANGES();
```

```
This will disable the ability to make camera changes in R* Editor.
RE*
```

7 changes: 2 additions & 5 deletions RECORDING/IsRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ ns: RECORDING
BOOL _IS_RECORDING();
```

```
Checks if you're recording, returns TRUE when you start recording (F1) or turn on action replay (F2)
mov al, cs:g_bIsRecordingGameplay // byte_141DD0CD0 in b944
retn
```
Checks if you're recording.

## Return value
Whether recording is currently running, true when you start recording (F1) or turn on action replay (F2)
6 changes: 1 addition & 5 deletions RECORDING/StartRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ aliases: ["0xC3AC2FFF9612AC81"]
void _START_RECORDING(int mode);
```
```
Starts recording a replay.
If mode is 0, turns on action replay.
If mode is 1, starts recording.
If already recording a replay, does nothing.
```
## Parameters
* **mode**:
* **mode**: 0 turns on action replay, 1 starts recording
5 changes: 1 addition & 4 deletions RECORDING/StopRecordingAndDiscardClip.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ aliases: ["0x88BB3507ED41A240"]
void _STOP_RECORDING_AND_DISCARD_CLIP();
```

```
Stops recording and discards the recorded clip.
```

Stops recording and discards the recorded clip.
3 changes: 0 additions & 3 deletions RECORDING/StopRecordingAndSaveClip.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ aliases: ["_STOP_RECORDING"]
void _STOP_RECORDING_AND_SAVE_CLIP();
```

```
Stops recording and saves the recorded clip.
```

2 changes: 1 addition & 1 deletion RECORDING/StopRecordingThisFrame.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ aliases: ["0xEB2D525B57F42B40"]
void _STOP_RECORDING_THIS_FRAME();
```

This disable the recording feature and has to be called every frame.
Disable recording for this frame only.

0 comments on commit d558e37

Please sign in to comment.