Commit Graph
33803 Commits
Author SHA1 Message Date
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 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
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
Vincent Laviron 84903fce25 FFMpeg: Fix uninitialized AVFrame, which led to crashes with recent version of libav and ffmpeg 2014-04-03 17:28:13 +02: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
AJ Kelly c881a6b0d2 Merge pull request #111 from sigatrev/StartTransitioningScreen
StartTransitioningScreen
2014-04-02 18:36:11 -05: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
sigatrev d059118935 Save/LoadProfiles
ScreenProfileLoad and ScreenProfileSave do nothing except use their own
lua methods to run GameState functions. Those functions might as well be
available as GameState methods.
2014-04-02 18:09:21 -05:00
Jason Felds 37f6b99571 Merge pull request #95 from wolfman2000/wolf-libraries
Separate out VS2012 projects appropriately.
2014-03-16 19:20:00 -04:00
AJ Kelly 493695fd53 Merge pull request #91 from root670/master
Update UPX to 3.91
2014-03-16 14:28:46 -06:00
Colby Klein 6298a0b950 Merge pull request #94 from sigatrev/MissedHold
HNS_Missed
2014-03-16 13:20:12 -07:00
Colby Klein b84c683d2e Merge pull request #70 from sigatrev/RageTimer
added lua function for GetTimeSinceStart
2014-03-16 13:18:34 -07:00
Jason Felds 9912c51e88 Move LUA to separate project (2011) 2014-03-16 14:03:02 -04:00
Jason Felds c578ac69d4 Move GLEW to separate project (2011)
Note: glext.h was removed due to it not being used.
2014-03-16 13:09:07 -04:00
sigatrev 343511f4c3 HNS_Missed
Added an HNS type to handle holds which are never initialized due to
missed taps. This fixes a long standing issue with
iCurPossibleDancePoints and allows themes to decide how to handled this
case.
2014-03-16 11:36:40 -05:00
Jason Felds f4eca5cc78 Move PNG to separate project (2011) 2014-03-16 12:04:01 -04:00
Jason Felds 70f7d18b1b Move PCRE to separate project (2011) 2014-03-16 11:40:49 -04:00
AJ Kelly 485df21ba1 Merge pull request #89 from SandonV/wip-unicode-chat-fix
Fix colors when unicode characters are in chat box (Online).
2014-03-14 16:03:34 -06:00