Commit Graph
33819 Commits
Author SHA1 Message Date
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
sigatrev c4f7aab9a1 Attempted fix of Tick Holds
NoteDataUtil::GetTotalHoldTicks() was not counting the last tick of
holds which ended on the last row of the song. Extended the range to
include the last row.

NoteDataUtil::GetTotalHoldTicks() was counting number of rows held, when
it should only count 1 regardless of number( at least to mimic pump )

Player::CrossedRows() was assuming a constant tick rate over the crossed
rows, leading to potentially inaccurate tick counts.

Pump holds were counting "HoldNote_Held" due to capitalization in the
metrics. Fixed metrics and made "IsGame" function case insensitive.
2014-04-23 21:45:37 -05:00
sigatrev 5e517e1de1 fix for AutoPlay increase combo with "RollBodyIncreasesCombo"
per issue #125
2014-04-23 16:10:15 -05:00
sigatrev 94053c2dfe fix SongOptions fail type to not change fail type preference
per issue #80. Problem came from commit
231ae7cb32 - May 27, 2011
2014-04-23 15:52:26 -05:00
Colby Klein b6570936f8 Merge pull request #123 from sigatrev/double-broadcast
removed SetCurrentSteps double-broadcast
2014-04-23 04:16:42 -07:00
Colby Klein 4c14cf2f0d Merge pull request #124 from sigatrev/early-judgments
make early judgments broadcast when judgment is triggered
2014-04-21 22:08:31 -07:00
sigatrev a3b38117b5 make early judgments broadcast when judgment is triggered
judgments triggered early were not broadcasting the judgment message
until their row crossed
2014-04-20 14:27:43 -05:00
sigatrev 7e5b651f1a removed SetCurrentSteps double-broadcast 2014-04-20 11:26:15 -05:00
AJ Kelly c18723c23c Merge pull request #122 from sigatrev/stopmusic
added StopMusic method
2014-04-19 16:38:46 -05:00
sigatrev 55a5551058 added StopMusic method 2014-04-18 18:59:57 -05:00
Colby Klein d5109a9ea9 Merge pull request #121 from lthls/master
Fix building on older versions on FFMpeg
2014-04-16 11:16:33 -07:00
Vincent Laviron 44fede6c1e Fix building on older versions on FFMpeg 2014-04-16 15:12:23 +02:00
Colby Klein 039df4da64 Merge pull request #120 from sigatrev/gameplay
added GetHasteRate method, made GiveUpSeconds a metric
2014-04-15 15:51:05 -07:00
Colby Klein 80050c9968 Merge pull request #119 from sigatrev/fix-spaces
spaces to tabs
2014-04-15 15:50:28 -07:00
sigatrev 25ddd69208 added GetHasteRate method, made GiveUpSeconds a metric
without haste rate, it's impossible to display an accurate BPM. Give up
time should be controllable.
2014-04-15 12:27:54 -05:00
sigatrev 99ba67acc7 spaces to tabs 2014-04-15 12:09:03 -05:00
Colby Klein f1adf16dc5 Merge pull request #118 from sigatrev/master
lua docs for AMV
2014-04-14 20:28:30 -07: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 e675f54d17 Merge pull request #117 from sigatrev/ActorMultiVector
created ActorMultiVertex actor class
2014-04-14 19:34:18 -07:00
sigatrev 70c5209e76 added ActorMultiVertex
AMV is an actor which can have a variable number of vertices that can
each be given their own pos, color, and coords. They can be drawn using
any of the RageSpriteVertex draw functions in RageDisplay.cpp. The
vertex properties can be tweened.
2014-04-14 21:29:19 -05:00
Colby Klein 0263b11fc5 Merge pull request #74 from dguzek/ActorScroller-bLoop
Allow ActorScrollers to use SetDrawByZPosition without turning off Loop
2014-04-14 18:49:00 -07:00
Colby Klein 509f725d7e Merge pull request #96 from kyzentun/UnloadProfile_optimization
Unload profile optimization
2014-04-08 15:57:41 -07:00
Colby Klein 2ac10de46b Merge pull request #112 from lthls/master
FFMpeg: Fix uninitialized AVFrame
2014-04-03 13:07:36 -07:00