Commit Graph
3666 Commits
Author SHA1 Message Date
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
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
sigatrev 3a4760af50 added methods to Style
GetColumnInfo and GetColumnDrawOrder
2014-04-25 19:39:11 -05: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
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
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
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
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
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
sigatrev b8e4cdddec StartTransitioningScreen
Exposes the StartTransitioningScreen function to lua. Great utility for
custom screens.
2014-04-02 18:35:23 -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
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
Sandon Van Ness 5c588087f0 Fixed indention. Fixed revert.
Signed-off-by: Sandon Van Ness <[email protected]>
2014-03-14 12:24:42 -07:00
Kyzentun cc58f43567 Switching to double style shouldn't join the other player. It isn't necessary for input, the engine ScreenSelectMusic doesn't do it, and it forces a theme with custom SSM and style changing to unjoin the player that wasn't really joined. 2014-03-13 20:14:21 -06:00
Sandon Van Ness 27e393e1c6 Fix colors when unicode characters are in chat box (Online).
This is just hanubeki's patch which calculates accurate widths of
characters so colors don't get offset.

Signed-off-by: Sandon Van Ness <[email protected]>
2014-03-11 22:06:19 -07:00
parashep 8b78678b47 net2013 project contained refrences to net2011 projects, preventing build on some machines 2014-03-11 17:57:21 -04:00
Kyzentun 27dc958970 Changed GameState::UnjoinPlayer to actually follow its own comment and unjoin the player from STATSMAN first, instead of unjoining from PROFILEMAN, then STATSMAN, then PROFILEMAN again. Changed ProfileManager::UnloadProfile to skip unloading if the profile wasn't actually loaded in the first place. 2014-03-10 21:54:53 -06:00
Colby Klein a428e16cc8 Merge pull request #84 from sigatrev/StealthFix
Fix for issue 83
2014-03-09 03:57:26 -07:00
sigatrev 1b1716ac7d Fix draw function
Actors with glow but no alpha are not drawn because. Adding glow to the
conditional.
2014-03-09 00:17:45 -06:00
freem dd187e204c we actually don't need this anymore, even in releases. (things only freem remembers) 2014-03-07 20:56:51 -06:00
AJ Kelly 95343dc27b Merge pull request #71 from sigatrev/MineTracks
added iTrack to mine judgment message
2014-03-07 14:11:54 -06:00
Dan Guzek 5f006ba119 Remove unused variable from ActorScroller 2014-03-06 21:16:52 -05:00
Dan Guzek ec51d48b07 Remove unintuitive loop condition from ActorScroller 2014-03-06 21:13:44 -05:00
sigatrev f6d44ae85b hold judgment positions with mini
they weren't scaled to handle the zoom.
2014-03-03 20:46:47 -06:00
sigatrev 43f9fd70ca added iTrack to mine judgment message
more information is better.
2014-03-03 20:37:13 -06:00
sigatrev a038300dba added lua function for GetTimeSinceStart
Allows checking time within a single update. This can be used to halt
processes which would otherwise cause lag.
2014-03-03 20:27:46 -06:00
freem 7187efeab4 update location of zlib in ZipArchive.h
(even though I still can't get SMPackage to compile)
2014-03-03 17:42:37 -06:00
freem 299b4695ce Update bugtracker address now that the main bugtracker is on github 2014-02-24 15:20:41 -06:00