Commit Graph
33842 Commits
Author SHA1 Message Date
Jason Felds acdb296276 Set up ActorMultiVertex for other VS projects. 2014-06-15 00:44:05 -04:00
Colby Klein d0373f1ed6 Merge pull request #183 from sigatrev/judgment-message-tracks
fix judgment message param Tracks for holds
2014-06-09 00:56:55 -07:00
freem 86e8f5d2a0 update URL to github address 2014-06-06 15:24:59 -05:00
AJ Kelly 1c8bf79094 Merge pull request #185 from dguzek/master
allow button messages in SSM's SelectMenu
2014-06-01 20:45:29 -05:00
Dan Guzek 7d13a9963b allow button messages in SSM's SelectMenu
This allows themers to make use of SelectMenuInputMessageCommand even
if they have SelectMenuChangesDifficulty set to true in their Metrics.

Neither _fallback nor Default use SelectMenuInputMessageCommand and,
for that matter, no theme I'm aware of does (perhaps because it's
essentially inaccessible as it is).

I use this to detect if a player presses START while holding SELECT on
SSM.  This is possible with the existing code system, but that
CodeMessage does not fire until the player lets go of both buttons.
This allows the themer to check for that button combination more imm
ediately.
2014-06-01 21:28:17 -04:00
sigatrev a436e04310 fix judgment message param Tracks for holds 2014-06-01 19:22:24 -05:00
AJ Kelly 6ea05fa0c8 Merge pull request #165 from kyzentun/ranking_exposure
Exposes functions useful for a custom name entry screen.
2014-05-13 15:23:46 -05:00
Kyzentun c8476738f5 Exposed GAMESTATE:StoreRankingName and Profile:SetLastUsedHighScoreName to Lua. StoreRankingName no longer forces uppercase. 2014-05-12 22:01:22 -06:00
AJ Kelly 80c741f175 Merge pull request #164 from kyzentun/get_metric_group
Added THEME:GetMetricNamesInGroup and THEME:GetStringNamesInGroup.
2014-05-08 14:41:15 -05:00
Kyzentun c544beaba0 Documentation for THEME:GetMetric/StringNamesInGroup. 2014-05-08 04:05:21 -06:00
Kyzentun afc235e17b Added THEME:GetMetricNamesInGroup and THEME:GetStringNamesInGroup. 2014-05-08 03:59:08 -06:00
Colby Klein 595811ee1c Merge pull request #162 from teleshoes/fix_ffmpeg
Revert 84903fc: "FFMpeg: Fix uninitialized AVFrame"
2014-05-07 23:32:39 -07:00
Elliot Wolk 62630f7960 Revert "FFMpeg: Fix uninitialized AVFrame, which led to crashes with recent version of libav and ffmpeg"
This reverts commit 84903fce25.
2014-05-07 22:51:39 -04:00
AJ Kelly e4f1905839 Merge pull request #161 from sigatrev/judgmentmessage
added "Tracks" param to judgment message
2014-05-06 18:37:31 -05:00
sigatrev 11ee34c1c8 oops
not sure how this didn't get included in that commit
2014-05-06 18:01:19 -05:00
sigatrev d608953da7 added "Tracks" param to judgment message
which contains a list of all tracks included in the judgment
2014-05-06 17:56:51 -05:00
Colby Klein 612a3d1f73 Merge pull request #156 from sigatrev/Player/Notefield
Stop player from updating NoteField twice
2014-05-05 19:51:22 -07:00
sigatrev bfbbd27485 Stop player from updating NoteField twice
Player was updating notefield in ActorFrame::Update and again in
m_pNoteField->Update. This should handle it better.
2014-05-05 18:18:05 -05:00
Colby Klein 7fffebd85f Merge pull request #153 from kyzentun/documentation_additions
Added documentation for a few undocumented API functions.
2014-05-04 11:18:00 -07: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 782a66502e Accidentally left OptionsBinding.h out of previous commit. 2014-05-03 19:36:59 -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
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
AJ Kelly 74aac66940 Merge pull request #149 from sigatrev/NoteField-Board
Allow NoteField Board to be an AutoActor
2014-05-03 00:47:42 -05: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
Kyzentun 24f87d2e57 Fixed stack acciddent bug in PlayerOptions lua functions. Added skew and tilt mods to PlayerOptions::GetMods and FromOneModString for when the perspective isn't one of the old ones. 2014-05-02 16:45:49 -06:00
sigatrev 0c62e5fb9e Allow NoteField Board to be an AutoActor
NoteField board was already an AutoActor, but code was requiring it to
be a derivative of Sprite. Allow any ActorClass to be used.

NoteField could already be accessed from below, using GetParent() on the
NoteField Board. For ease of allowing the board to be used for player
specific purposes, make notefield an actual child of Player, so the
Board can be accessed per player from the top down.
2014-05-02 17:01:38 -05: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
Colby Klein 3f62d82ad7 Merge pull request #140 from sigatrev/style-methods
added methods to Style
2014-05-01 22:12:10 -07:00
Colby Klein 37c04f4979 Merge pull request #145 from kyzentun/return_all_children
Modified ActorFrame:GetChildren to actually return all children.
2014-05-01 22:12:03 -07:00
Colby Klein 1e469e25a3 Merge pull request #146 from sigatrev/LoadFunctions
run profile CustomLoadFunction when changing theme or assigning a local profile to a player
2014-05-01 22:11:51 -07:00
Colby Klein 476f26189d Merge pull request #147 from sigatrev/noteskin-get-metric
added NOTESKIN:GetMetric() method
2014-05-01 22:11:41 -07:00
sigatrev 8d5a22a2e1 added NOTESKIN:GetMetric() method
none of the other type specific methods can call the "FallbackNoteSkin"
metric.
2014-05-01 19:03:38 -05:00
sigatrev f1fc291989 run profile's CustomLoadFunction when changing theme or assigning a local profile to a player
This should make the custom load functions a lot more useful.
2014-04-30 21:30:30 -05:00
Kyzentun 7997e4685d Updated docs for GetChild and GetChildren. 2014-04-30 17:05:07 -06:00
Kyzentun 587aa38854 Modified ActorFrame:GetChildren and GetChild to return a table in cases where multiple children have the same name. This table acts as a pass through layer for function calls so that old code should be unaffected. 2014-04-29 15:08:34 -06:00
Colby Klein 7f3d22e92f Merge pull request #144 from bucko909/master
Properly handle Linux event device button numbers
2014-04-28 23:56:17 -07:00
David Buckley 71a499481f Properly handle Linux event device button numbers
Old code would, by coincidence, map 1->16 to 1->16, then 17->32 to
1->32, leaving 1 and 17 on the same button number.

We still map 33->56 to 1->24, creating some overlap. But at least that's
because StepMania will have run out of buttons.

THIS PATCH WILL CHANGE THE CODES OF JOYSTICK BUTTONS 17 AND UP.
2014-04-27 17:19:31 +01:00
Colby Klein 6b17fb043d Merge pull request #142 from kyzentun/unavailable_fix
Updated unavailable_functions to not call an unavailable function.
2014-04-27 02:20:17 -07:00
Kyzentun e201484930 Updated unavailable_functions to not call an unavailable function. 2014-04-26 23:46:37 -06:00
sigatrev 3a4760af50 added methods to Style
GetColumnInfo and GetColumnDrawOrder
2014-04-25 19:39:11 -05:00
Colby Klein bea5f1cef9 Merge pull request #135 from sigatrev/song-options-fail
fix SongOptions fail type to not change fail type preference
2014-04-24 05:07:32 -07:00
Colby Klein 31713ac253 Merge pull request #136 from sigatrev/Autoplay-Roll-Combo
fix for AutoPlay increase combo with "RollBodyIncreasesCombo"
2014-04-24 05:06:35 -07:00
Colby Klein ee87494252 Merge pull request #137 from sigatrev/TickHolds
Attempted fix of Tick Holds
2014-04-24 05:06:20 -07:00
Colby Klein 2c53f4f427 Merge pull request #138 from sigatrev/Net-fixes
remove FinishStage from Net screens
2014-04-23 22:47:34 -07:00
sigatrev 9da1ae3248 remove FinishStage from Net screens
FinishStage is handled by ScreenGameplay now.
2014-04-23 22:47:47 -05:00