Added __screen__ special texture name. Added AMV:GetTexture, RageTexture:Reload, and Screen:SetNextScreenName lua functions.

This commit is contained in:
Kyzentun
2014-09-02 05:18:29 -06:00
parent aac32f81ad
commit 4f2b92a25a
10 changed files with 74 additions and 3 deletions
+3
View File
@@ -490,6 +490,7 @@
<Function name='GetDestFirstToDraw'/>
<Function name='GetDestNumToDraw'/>
<Function name='GetNumVertices'/>
<Function name='GetTexture'/>
<Function name='LoadTexture'/>
<Function name='SetDrawState'/>
<Function name='SetEffectMode'/>
@@ -1297,6 +1298,7 @@
<Function name='loop'/>
<Function name='position'/>
<Function name='rate'/>
<Function name='Reload'/>
</Class>
<Class base='RageTexture' name='RageTextureRenderTarget'>
<Function name='BeginRenderingTo'/>
@@ -1316,6 +1318,7 @@
<Function name='Metric'/>
<Function name='PostScreenMessage'/>
<Function name='RemoveInputCallback'/>
<Function name='SetNextScreenName'/>
<Function name='String'/>
<Function name='lockinput'/>
</Class>
+9
View File
@@ -1538,6 +1538,9 @@ save yourself some time, copy this for undocumented things:
<Function name='GetCurrNumToDraw' return='int' arguments='void'>
Get the NumToDraw of the current tween state.
</Function>
<Function name='GetTexture' return='RageTexture' arguments=''>
Returns the ActorMultiVertex's texture.
</Function>
<Function name='SetEffectMode' return='void' arguments='EffectMode em'>
Sets the <Link class='ENUM' function='EffectMode'>EffectMode</Link> of the ActorMultiVertex.
</Function>
@@ -3724,6 +3727,9 @@ save yourself some time, copy this for undocumented things:
<Function name='rate' return='void' arguments='float fRate'>
Sets the animation or movie playback rate to <code>fRate</code>.
</Function>
<Function name='Reload' return='void' arguments=''>
Reloads the texture.
</Function>
</Class>
<Class name='RollingNumbers'>
<Function name='Load' return='void' arguments='string sGroupName'>
@@ -3779,6 +3785,9 @@ save yourself some time, copy this for undocumented things:
<Function name='RemoveInputCallback' return='void' arguments='function callback'>
This removes the callback from the list.
</Function>
<Function name='SetNextScreenName' return='void' arguments='string name'>
Sets the NextScreen value to name.
</Function>
<Function name='String' theme='_fallback' return='string' arguments='string sName'>
[02 Other.lua] Gets a string from the current Screen in the current language.
</Function>