Kyzentun
e9220c56b7
Added Actor:GetDestX/Y/Z to Lua API.
2014-07-04 02:03:05 -06:00
kyzentun
3c028c2321
Merge pull request #206 from kyzentun/InputCallbacks
...
This seems solid in my testing, I've converted Consensual to use it instead of CodeMessageCommand.
2014-07-03 23:15:03 -06:00
Kyzentun
9a9da05cfb
Added doc explaining what a theme needs to support heart rate calorie calculation.
2014-07-01 02:21:24 -06:00
Kyzentun
947479f154
Added heart rate based calorie counting method to Profile as an alternative to step count based calorie counting. Removed unused IsWeightSet from Profile::SaveGeneratlDataCreateNode.
2014-07-01 01:36:00 -06:00
Kyzentun
0cd1584b01
Documentation from Matt for ArrowEffects namespace.
2014-06-29 11:30:11 -06:00
freem
f6af8fc685
update repo Lua.xml to try and match generated one better.
...
PlayerOptions is still organized differently (keep it this way, it's better).
(ControllerStateDisplay isn't in Linux Makefile, hence its absence here... dunno if we're gonna bother keeping it or not.)
2014-06-27 16:11:56 -05:00
freem
330fe36a8e
update Lua.xml a bit, before I smack the VS2008 project into building ActorMultiVertex
2014-06-27 16:02:26 -05:00
Kyzentun
b08d766657
Fixed fake conflict in ThemeAndGamePrefs.lua.
2014-06-26 23:57:40 -06:00
kyzentun
c29c9c0cee
Merge pull request #201 from kyzentun/FixSetFail
...
Fix global fail setting overriding song options.
2014-06-26 22:25:21 -06:00
Kyzentun
27c6a54d82
Added AddInputCallback and RemoveInputCallback to Lua API for screen. ScreenManager now passes input to the lua side of each screen in addition to the engine side.
2014-06-26 21:33:54 -06:00
Kyzentun
dcf819d297
Moved all sanity checking for OptionRowHandlerLua to a separate function so that a malformed row does not crash StepMania, and instead prints an error to the log file, and creates a row that does nothing. Added AllowAnything arg to CheckEnum.
2014-06-25 12:08:57 -06:00
Kyzentun
3a788651e5
Fixed bug that caused global fail setting to override setting the fail type from song options. Added GAMESTATE:SetFailTypeExplicitlySet so that a theme with a custom song options screen can protect its fail setting from being overridden the same way the engine ScreenSongOptions does.
2014-06-20 13:54:56 -06:00
Kyzentun
c02a17f393
Revised documentation example for OptionRowHandlerLua to make it slightly more clear.
2014-06-19 21:02:35 -06:00
Kyzentun
045e9edcdd
Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange.
2014-06-19 06:41:18 -06:00
Kyzentun
f8e1e28286
Exposed StepMania::SaveScreenshot to Lua. Added prefix and suffix args for setting the screenshot name and removed the unused index arg. Added GetHighScore to PlayerStageStats and AddScreenshot to Profile so that Lua can imitate ScreenEvaluation's code for adding a screenshot to the profile. Removed hungarian notation from variable names in StepMania::SaveScreenshot.
2014-06-17 00:29:09 -06:00
Kyzentun
7e41d88feb
Fixed fake conflict in Profile.cpp.
2014-06-16 22:57:33 -06:00
kyzentun
3d2dd9b172
Merge pull request #155 from kyzentun/negative_haste
...
Negative haste and themable haste
2014-06-16 22:50:19 -06:00
freem
86e8f5d2a0
update URL to github address
2014-06-06 15:24:59 -05:00
Kyzentun
6db1199db5
Added PROFILE:GetHighScoreListIfExists for limiting memory footprint on searches. Added PROFILE:GetAllUsedHighScoreNames to provide a non-brute force way for obtaining a list of names. Added HighScoreList:GetHighestScoreOfName so the C++ side could do the iteration. Added HighScoreList:GetRankOfName for the same reason.
2014-05-13 13:34:38 -06:00
Kyzentun
c8476738f5
Exposed GAMESTATE:StoreRankingName and Profile:SetLastUsedHighScoreName to Lua. StoreRankingName no longer forces uppercase.
2014-05-12 22:01:22 -06:00
Kyzentun
c544beaba0
Documentation for THEME:GetMetric/StringNamesInGroup.
2014-05-08 04:05:21 -06:00
Kyzentun
6eae1c01e4
Had wrong documentation for SongOptions:Haste.
2014-05-05 14:25:44 -06:00
Kyzentun
ec3e76277c
Added interface for controlling the behavior of the hasts system. Added support for negative haste. Moves haste rate calculations to UpdateHasteRate. GetHasteRate now just returns the calculated value. Added FLOAT_NO_SPEED_INTERFACE and FLOAT_TABLE_INTERFACE macros to OptionsBinding.h
2014-05-05 14:16:08 -06:00
Kyzentun
b10c04c7f3
Added documentation for a few undocumented API functions.
2014-05-04 11:49:35 -06:00
Colby Klein
2f593bad3d
Merge pull request #151 from kyzentun/player_options_fix
...
SongOptions Lua interface with the same design as the PlayerOptions interface.
2014-05-03 20:54:58 -07: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
Colby Klein
198536b73f
Merge pull request #150 from kyzentun/player_options_fix
...
Fixed stack acciddent bug in PlayerOptions lua functions.
2014-05-03 00:51:34 -07:00
Kyzentun
b6b840187d
Made PlayerState:GetCurrentPlayerOptions safe to use. Added Docs/Themerdocs/modslevel.txt to explain what ModsLevel should be used by a theme using the new PlayerOptions interface.
2014-05-02 21:25:59 -06:00
AJ Kelly
2d9db97905
Merge pull request #148 from kyzentun/player_options_fix
...
Player options fix
2014-05-02 02:51:41 -05: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
Kyzentun
7997e4685d
Updated docs for GetChild and GetChildren.
2014-04-30 17:05:07 -06:00
sigatrev
55a5551058
added StopMusic method
2014-04-18 18:59:57 -05:00
sigatrev
2f9b8cda12
added AMV themer docs
2014-04-14 22:06:02 -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
Kyzentun
a02e7528d2
Fixed misplaced comma in docs for PlayMusicPart.
2014-02-14 18:51:10 -07:00
Kyzentun
6ba6fbf21d
Merge branch 'master' of http://github.com/stepmania/stepmania into PlayMusicPart_loopable
2014-02-14 18:49:32 -07:00
Jason Felds
875d6bd48b
Merge pull request #45 from kyzentun/SetAllowLateJoin
...
Added SetAllowLateJoin to ScreenWithMenuElements.
2014-02-14 19:21:41 -05:00
Jason Felds
5db9840dd8
Merge pull request #43 from kyzentun/expose_joininput
...
Exposing GameState::JoinInput to Lua.
2014-02-14 19:19:48 -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
901ba529e8
Made SOUND:PlayMusicPart pass on the loop and applyRate args.
2014-02-12 17:36:43 -07:00
Kyzentun
779e3da286
Added SetAllowLateJoin to ScreenWithMenuElements.
2014-02-12 17:18:13 -07:00