Skip to content

Commit

Permalink
Use real names for remaining scaleform natives (#1099)
Browse files Browse the repository at this point in the history
* ScaleformMovieMethodAddParamLiteralString

Used real names for the remaining scaleform natives (Though there probably are some hashed natives without names)

* remove description in GetScaleformMovieMethodReturnValueBool
  • Loading branch information
freedy69 authored Aug 7, 2024
1 parent e620f30 commit e0fbbff
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 58 deletions.
15 changes: 0 additions & 15 deletions GRAPHICS/EndTextCommandScaleformString_2.md

This file was deleted.

13 changes: 13 additions & 0 deletions GRAPHICS/EndTextCommandUnparsedScaleformString.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
ns: GRAPHICS
aliases: ["0xAE4E8157D9ECF087", "_END_TEXT_COMMAND_SCALEFORM_STRING_2"]
---
## END_TEXT_COMMAND_UNPARSED_SCALEFORM_STRING

```c
// 0xAE4E8157D9ECF087 0x2E80DB52
void END_TEXT_COMMAND_UNPARSED_SCALEFORM_STRING();
```

Same as END_TEXT_COMMAND_SCALEFORM_STRING but does not perform HTML conversion for text tokens.
Also useful for when you are trying to add blips and inputs in your scaleform (If the scaleform supports it).
13 changes: 5 additions & 8 deletions GRAPHICS/GetScaleformMovieMethodReturnValueBool.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
---
ns: GRAPHICS
aliases: ["0xD80A80346A45D761"]
aliases: ["0xD80A80346A45D761", "_GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL"]
---
## _GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL
## GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL

```c
// 0xD80A80346A45D761
BOOL _GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL(int methodReturn);
```
```
methodReturn: The return value of this native: END_SCALEFORM_MOVIE_METHOD_RETURN_VALUE
BOOL GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL(int methodReturn);
```
## Parameters
* **methodReturn**:
* **methodReturn**: Operation handle returned by [`END_SCALEFORM_MOVIE_METHOD_RETURN_VALUE`](#_0xC50AA39A577AF886)
## Return value
The return value passed from actionscript to game code.
16 changes: 16 additions & 0 deletions GRAPHICS/ScaleformMovieMethodAddParamLiteralString.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
ns: GRAPHICS
aliases: ["0x77FE3402004CD1B0","_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_STRING_2", "_SCALEFORM_MOVIE_METHOD_ADD_PARAM_TEXTURE_NAME_STRING_2"]
---
## SCALEFORM_MOVIE_METHOD_ADD_PARAM_LITERAL_STRING

```c
// 0x77FE3402004CD1B0
void SCALEFORM_MOVIE_METHOD_ADD_PARAM_LITERAL_STRING(char* string);
```
Adds a literal string to a scaleform movie method.
There doesn't seem to be any difference between this and other `SCALEFORM_MOVIE_METHOD_ADD_PARAM_*_STRING` natives in game code.
## Parameters
* **string**:
18 changes: 0 additions & 18 deletions GRAPHICS/ScaleformMovieMethodAddParamTextureNameString_2.md

This file was deleted.

17 changes: 0 additions & 17 deletions GRAPHICS/SetScaleformFitRendertarget.md

This file was deleted.

17 changes: 17 additions & 0 deletions GRAPHICS/SetScaleformMovieToUseSuperLargeRt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
ns: GRAPHICS
aliases: ["0xE6A9F00D4240B519", "_SET_SCALEFORM_FIT_RENDERTARGET"]
---
## SET_SCALEFORM_MOVIE_TO_USE_SUPER_LARGE_RT

```c
// 0xE6A9F00D4240B519
void SET_SCALEFORM_MOVIE_TO_USE_SUPER_LARGE_RT(int scaleformHandle, BOOL toggle);
```
Adjusts a scaleform movie's dimensions to fit a large rendertarget. Mostly used in casino scripts.
## Parameters
* **scaleformHandle**:
* **toggle**:

0 comments on commit e0fbbff

Please sign in to comment.