Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds function to deactivate interpolation for a single clock tick
- Loading branch information
Showing
5 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// @param outName | ||
/// @param [scope] | ||
|
||
function IotaSkipInterpolation() | ||
{ | ||
if (global.__iota_current_clock == undefined) __IotaError("Cannot use IotaSkipInterpolation() outside of a clock method"); | ||
|
||
var _out_name = argument[0]; | ||
var _scope = ((argument_count > 1) && (argument[1] != undefined))? argument[1] : self; | ||
|
||
global.__iota_current_clock.__VariableSkipInterpolation(_out_name, _scope); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"isDnD": false, | ||
"isCompatibility": false, | ||
"parent": { | ||
"name": "iota", | ||
"path": "folders/iota.yy", | ||
}, | ||
"resourceVersion": "1.0", | ||
"name": "IotaSkipInterpolation", | ||
"tags": [], | ||
"resourceType": "GMScript", | ||
} |