Exposed RageFile Flush function to Lua. Updated changelog.
This commit is contained in:
@@ -4,6 +4,22 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
|||||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
2015/06/03
|
||||||
|
----------
|
||||||
|
* [Actor] bounce and bob effects no longer round pixel coords. [kyzentun]
|
||||||
|
* [RageFile] Exposed Flush function to Lua. [kyzentun]
|
||||||
|
|
||||||
|
2015/05/29
|
||||||
|
----------
|
||||||
|
* [OptionsList] The OptionsListQuickChange, OptionsListLeft, and
|
||||||
|
OptionsListRight messages now have a Selection parameter that has the id of
|
||||||
|
the selection the player moved to. [nixtrix]
|
||||||
|
|
||||||
|
2015/05/24
|
||||||
|
----------
|
||||||
|
* [Gameplay] Autokeysounds are no longer twice as loud when playing
|
||||||
|
keysounded charts with two players. [nixtrix]
|
||||||
|
|
||||||
2015/05/15
|
2015/05/15
|
||||||
----------
|
----------
|
||||||
* [BMS] .lua files defined in the #BMP tags now work as BG animations, and the
|
* [BMS] .lua files defined in the #BMP tags now work as BG animations, and the
|
||||||
|
|||||||
@@ -1370,6 +1370,7 @@
|
|||||||
<Function name='AtEOF'/>
|
<Function name='AtEOF'/>
|
||||||
<Function name='ClearError'/>
|
<Function name='ClearError'/>
|
||||||
<Function name='Close'/>
|
<Function name='Close'/>
|
||||||
|
<Function name='Flush'/>
|
||||||
<Function name='GetError'/>
|
<Function name='GetError'/>
|
||||||
<Function name='GetLine'/>
|
<Function name='GetLine'/>
|
||||||
<Function name='Open'/>
|
<Function name='Open'/>
|
||||||
|
|||||||
@@ -4052,6 +4052,9 @@ save yourself some time, copy this for undocumented things:
|
|||||||
<Function name='destroy' return='void' arguments=''>
|
<Function name='destroy' return='void' arguments=''>
|
||||||
Safely deletes the file handle.
|
Safely deletes the file handle.
|
||||||
</Function>
|
</Function>
|
||||||
|
<Function name='Flush' return='' arguments=''>
|
||||||
|
Flushes the buffer for the file handle, writing any pending output to disk.
|
||||||
|
</Function>
|
||||||
<Function name='GetError' return='string' arguments=''>
|
<Function name='GetError' return='string' arguments=''>
|
||||||
Gets the last error message and returns it.
|
Gets the last error message and returns it.
|
||||||
</Function>
|
</Function>
|
||||||
|
|||||||
@@ -344,6 +344,12 @@ public:
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int Flush(T* p, lua_State* L)
|
||||||
|
{
|
||||||
|
p->Flush();
|
||||||
|
COMMON_RETURN_SELF;
|
||||||
|
}
|
||||||
|
|
||||||
static int Read( T* p, lua_State *L )
|
static int Read( T* p, lua_State *L )
|
||||||
{
|
{
|
||||||
RString string;
|
RString string;
|
||||||
@@ -411,6 +417,7 @@ public:
|
|||||||
ADD_METHOD( Open );
|
ADD_METHOD( Open );
|
||||||
ADD_METHOD( Close );
|
ADD_METHOD( Close );
|
||||||
ADD_METHOD( Write );
|
ADD_METHOD( Write );
|
||||||
|
ADD_METHOD(Flush);
|
||||||
ADD_METHOD( Read );
|
ADD_METHOD( Read );
|
||||||
ADD_METHOD( ReadBytes );
|
ADD_METHOD( ReadBytes );
|
||||||
ADD_METHOD( Seek );
|
ADD_METHOD( Seek );
|
||||||
|
|||||||
Reference in New Issue
Block a user