Commit Graph
100 Commits
Author SHA1 Message Date
Kyzentun b10c04c7f3 Added documentation for a few undocumented API functions. 2014-05-04 11:49:35 -06:00
Kyzentun 0dfb131291 Created SongOptions Lua interface with a similar design to the PlayerOptions interface. Moved enums that were inside SongOptions out and made them Lua accessible. Removed sAutosyncType and associated things from AdjustSync.cpp because it was unused. Added DefaultNilArgs and FArgGTEZero to LuaBinding as helpers. Moved INTERFACE defines from PlayerOptions.cpp to OptionsBinding.h. 2014-05-03 19:27:32 -06:00
Kyzentun b5d1cb8161 Updated ModsGroup enum in docs. 2014-05-01 23:46:17 -06:00
Kyzentun c44a11ae40 Added FailType enum to docs. 2014-05-01 23:41:55 -06:00
Kyzentun 421a9be57b Ripped out existing PlayerOptions Lua interface and replaced it wholesale. Removed PrefsManager's DefaultFailType enum. Moved PlayerOptions::FailType enum to GameConstantsAndTypes and made it Lua accessible. Changed ModsLevel enum to include ModsLevel_Current to make accessing that ModsLevel easier to access. Rearranged ModsGroup appropriately. Added non-const Get functions to ModsGroup. Removed PlayerOptions.m_bSetTiltOrSkew because it had no reason to exist. Moved 200.0f to the const CMOD_DEFAULT because it was being used in more than one place. 2014-05-01 23:23:20 -06:00
sigatrev 55a5551058 added StopMusic method 2014-04-18 18:59:57 -05:00
sigatrev 012b263ea1 lua docs for AMV 2014-04-14 21:53:56 -05:00
Colby Klein 914ad876ae Merge pull request #110 from sigatrev/Save/LoadProfile
Expose Save/load profile to Lua. This deprecates ScreenProfile{Load,Save} completely, but those are going to be left in until post-5.0
2014-04-02 17:12:28 -07:00
sigatrev b8e4cdddec StartTransitioningScreen
Exposes the StartTransitioningScreen function to lua. Great utility for
custom screens.
2014-04-02 18:35:23 -05:00
sigatrev 47531119e1 luadocs
added lua documentation
2014-04-02 18:20:44 -05:00
Colby Klein b4682a2bd4 Merge pull request #49 from kyzentun/sprite_custom_pos_coords
Added SetCustomPosCoords to Sprite.
2014-02-19 10:36:14 -08:00
Colby Klein dfd693b916 Merge pull request #48 from kyzentun/text_distortion
Added distort function to BitmapText.
2014-02-19 10:36:05 -08:00
Colby Klein 52a5c69666 Merge pull request #42 from kyzentun/combo_list_and_life_record
Added GetComboList and GetLifeRecord to PlayerStageStats.
2014-02-17 14:46:09 -08:00
Jason Felds 875d6bd48b Merge pull request #45 from kyzentun/SetAllowLateJoin
Added SetAllowLateJoin to ScreenWithMenuElements.
2014-02-14 19:21:41 -05:00
Kyzentun d9b38234dd Added SetCustomPosCoords to Sprite. 2014-02-12 18:43:42 -07:00
Kyzentun 88ad09d293 Added distort function to BitmapText. 2014-02-12 18:13:49 -07:00
Kyzentun 779e3da286 Added SetAllowLateJoin to ScreenWithMenuElements. 2014-02-12 17:18:13 -07:00
Kyzentun 17ea38576c Added GetComboList and GetLifeRecord to PlayerStageStats. 2014-02-12 16:19:16 -07:00
Kyzentun 5bde20e897 Exposing GameState::JoinInput to Lua. 2014-02-12 15:45:26 -07:00
Devin J. Pohly 76fa79caa6 update to a more complete Lua.xml
The current placement of the call to GetLuaInformation misses a bunch of our
"singletons."  Moving it causes problems, but we can at least include them in
the documentation as if it worked properly. :)
2013-08-31 23:59:22 -04:00
Devin J. Pohly 259e9b1e00 Revert "Round 2 of this."
This reverts commit 1d7b5fe852.
2013-06-04 23:47:49 -04:00
Jason Felds 1d7b5fe852 Round 2 of this. 2013-04-15 23:26:05 -04:00
Devin J. Pohly 57a4bcafbc Regenerate Luadoc to get recent changes in Lua.xml 2013-03-24 18:10:11 -04:00
Flameshadowxeroshin ef8c64a2e8 docs too 2012-12-25 23:25:52 -06:00
Alfred Sorenson d38bba1706 lua documentation update 2012-11-22 13:29:36 -06:00
Flameshadowxeroshin c2bc9d1ff3 if you fail to reach the top the more you break the more you drop. try it again. try it again. 2012-07-22 12:05:19 -05:00
Flameshadowxeroshin 2b21a91f91 Add ResetSelection binding to MusicWheel, add MusicWheel to Luadocs 2012-07-22 11:44:45 -05:00
AJ Kelly f8a2b60b79 update lua.xml for alpha 3; no need to worry about repacking 2012-07-11 19:45:31 -05:00
AJ Kelly 26890e5612 update lua documentation 2012-07-09 19:25:57 -05:00
AJ Kelly d46ddd5331 update lua documentation, fix formatting on PlayerStageStats 2012-06-08 00:14:08 -05:00
AJ Kelly 10cf5cfad0 update lua documentation. also, the schema validator moved; updated its location 2012-04-02 15:14:48 -05:00
AJ Kelly 7d820efbb6 update luadocs 2012-03-20 19:47:50 -05:00
AJ Kelly 9cf9e3449c update luadocs 2012-02-20 17:56:38 -06:00
AJ Kelly 6ecafcf4bd update lua docs 2012-01-12 13:25:55 -06:00
AJ Kelly 68bd6bab4a update lua docs 2011-12-29 11:16:54 -06:00
Jason Felds 1376a46b01 Add the GAMESTATE:InStepEditor LUA binding. 2011-12-12 18:49:10 -05:00
AJ Kelly 6919da8e5a [PlayerOptions] Pretty large changes here, namely a bunch of new bindings. Fixed the logic for GetReversePercentForColumn; It will now return nil for invalid columns. Also fixed the logic for UsingReverse (now checks for 1.0f) and SetPassmark (no longer allows values < 0.00f and > 1.0f). 2011-11-27 05:02:39 -06:00
AJ Kelly e78f25d6d3 update lua documentation 2011-11-26 05:37:14 -06:00
Flameshadowxeroshin 9d8a95b51a eh 2011-11-21 03:04:09 +00:00
Jason Felds 34f3ff2c31 Add RefreshNoteSkinData lua binding.
If anyone recalls the other ways of getting
arbitrary games, a similar binding could be
added to NoteSkinManager.
2011-11-06 10:36:08 -05:00
Jason Felds f059797f51 Properly add GetArchName() lua binding. 2011-11-02 02:28:47 -04:00
Jason Felds 81fc6bc24d Add the AppHasFocus lua binding. 2011-11-01 23:49:50 -04:00
Jason Felds bbec5842f6 Add the ResetPlayerOptions lua binding. 2011-10-29 11:43:49 -04:00
Jason Felds 9e486bec32 [backwards] Add option, Lua call GetBackwards(). 2011-10-16 15:41:26 -04:00
Jason Felds 9f3993b4ab Add the PlayMusicPart lua binding.
Required params are musicPath, musicStart, and musicLength.
Optional params are fadeIn and fadeOut in that order.
2011-10-08 11:41:05 -04:00
Jason Felds 6a393dc6f6 Add new RageDisplay bindings:
GetFPS()
GetVPF()
GetCumFPS()
2011-10-07 21:14:39 -04:00
AJ Kelly 954a5d5072 update lua docs 2011-10-06 12:39:32 -05:00
Jason Felds a67ee09abf Added two new Lua bindings to Song.
GetSampleStart()
  GetSampleLength()
2011-09-18 14:41:28 -04:00
Jason Felds 75d1c672c8 Added IsSongLocked() Lua binding.
To be honest, I'm wondering if this should be in SongManager
instead of or as well as UnlockManager.
2011-09-16 23:08:50 -04:00
Jason Felds 10f0fa54f2 Added GetNumLockedSongs() Lua binding.
This gets the number of songs that are locked for any reason.

I wonder why the unlocked songs functions say that songs locked
by unlock entries are counted there, but fair enough.
2011-09-16 21:52:27 -04:00