Commit Graph

3825 Commits

Author SHA1 Message Date
Devin J. Pohly 9a76fdf04e don't set lights for nonexistent lights
duh.
2014-08-31 17:23:41 -07:00
Devin J. Pohly f386a7ae58 add PIUIO_Leds driver
The mappings in this driver are specific to the piuio kernel driver, but
once lights mapping is possible this could be made into a generic leds
class driver.
2014-08-31 17:23:41 -07:00
Kyzentun 9e8b8c3c09 Changed ColorDepth prefs defaults to 32-bit. 2014-08-31 04:32:12 -06:00
freem 4cf4e30bb9 Change LifeDifficulty to match StepMania 3.9's again (4=1.0) 2014-08-29 21:37:18 -05:00
Kyzentun bedaf07e51 Reverted some changes that should not have been part of the merge from Midiman. 2014-08-28 05:53:37 -06:00
Jonathan Payne 6453b8b04a Merge branch 'master' of https://github.com/stepmania/stepmania 2014-08-27 16:07:12 -07:00
freem a34f05ee95 revert mapconv.exe back to older version
(even though it doesn't really work well with Visual Studio 2010 and NoteData:AddATIToList/RemoveATIFromList... see issue #262)
2014-08-27 12:33:46 -05:00
Kyzentun cab4f4d5d1 Fixed StatsManageer::GetFinalEvalStageStats to not put them in reverse order and not have a 3 stage limit. Fixed PlayerStageStats::AddStats to not overwrite the last entry of the record with the first entry of the record being added. 2014-08-27 00:04:57 -06:00
sigatrev 0bc0cc8a46 revert ActorScroller "loop" behavior and add new "wrap" parameter to wrap scrollers 2014-08-25 22:19:17 -05:00
Kyzentun a41d9c0467 Changed GetAttrPath to not warn on optional paths. 2014-08-25 03:38:22 -06:00
Kyzentun 96433cc3e4 Merge branch 'BitmapText-attribute' of https://github.com/sigatrev/stepmania 2014-08-25 02:37:26 -06:00
Kyzentun 28bdd2ca2a Merge branch 'RadarSubscript' of https://github.com/kyzentun/stepmania 2014-08-25 02:35:16 -06:00
Kyzentun c94758b4ca Merge branch 'BGFit' of https://github.com/kyzentun/stepmania 2014-08-25 02:34:43 -06:00
Kyzentun 95b16a0196 Merge branch 'LifeMeterMessage' of https://github.com/kyzentun/stepmania 2014-08-25 02:33:53 -06:00
Kyzentun 01442d193f Fixed SwitchThemeAndLanguage to run lua scripts when reloading the theme. Removed ForceThemeReload param from GameLoop::ChangeTheme. 2014-08-24 03:21:01 -06:00
kyzentun 1ca6154c1a Merge pull request #264 from sigatrev/SetStyleAndPlayMode
Add SetCurrentPlayMode and SetCurrentStyle methods
2014-08-22 20:12:07 -06:00
Kyzentun 2c49ec7380 Change RadarValues internal implementation to not use a union and use the subscript operator instead of the float* operator for subscripting. 2014-08-22 13:19:17 -06:00
Kyzentun 8ae17b4422 Changed LifeMeterTime to not crash when not in course mode. Changed _fallback's life settings back to forcing together. Added ForceImmediateFailForBattery theme metric. Gave up on FailFadeRemovePlayer lua function and removed it. 2014-08-19 23:58:35 -06:00
Kyzentun 493d0f8214 Fixed CreateMethodTable to create a new table even when something of that name exists, so that the previously existing one that might have been modified by a theme is removed when changing themes. 2014-08-18 11:26:05 -06:00
Jonathan Payne c5ddafe73c Merge branch 'master' of https://github.com/stepmania/stepmania 2014-08-18 02:03:50 -07:00
sigatrev 02922aa5c0 fix ActorFrame diffusing and glowing children
When an ActorFrame's parent has a diffuse or glow, the ActorFrame uses
the static tempState in Actor::PreDraw(); When the ActorFrame draw's
it's children, those children also use tempState because their parent
has a diffuse( making their internalDiffuse not 1,1,1,1 ). If any child
is diffused it'll will change tempState, which will affect the
internalDiffuse given to the next child, and so on.

By determining the diffuse and glow to be passed to the children before
drawing any of them, any changes to tempState will not affect the
diffuse of subsequent children.
2014-08-16 22:51:34 -05:00
sigatrev d8b86fa3c5 make internal diffuse apply to bmt attributes
diffuse from BitmapText attributes were not receiving internal diffuse
from their parent ActorFrames. This change waits until after the draw
cycle to reset the internal diffuse and glow, so any color applications
separate from generic diffuse can use the internal diffuse when desired.
2014-08-16 16:38:26 -05:00
sigatrev 80447c3654 Allow Update and Draw functions to be turned off
allow nil to be passed as an argument to SetUpdateFunction and SetDrawFunction to turn off said functions.
2014-08-16 10:55:14 -05:00
Kyzentun 9b2c59de46 Added BackgroundFitMode preference and setting screen for controlling how backgrounds are fitted to the screen. 2014-08-16 03:37:24 -06:00
Jonathan Payne c0ee269d7c Merge branch 'master' of https://github.com/stepmania/stepmania 2014-08-15 03:08:10 -07:00
sigatrev 81080ce9ce Add SetCurrentPlayMode and SetCurrentStyle methods
because there needs to be a way other than using antiquated GameCommands
2014-08-13 22:04:54 -05:00
Kyzentun eb7ac082ae Report error on fetching empty string metric instead of crashing. 2014-08-11 15:56:41 -06:00
Kyzentun c368fc1b47 Didn't realize RollingNumbers was supposed to have negative velocity. 2014-08-08 13:55:51 -06:00
Kyzentun bdb2b373bc Added NoteSkinManager::GetDefaultNoteSkinName so that PlayerOptions can avoid clearing the noteskin when the clearall mod is used. 2014-08-07 18:36:42 -06:00
AJ Kelly ab61c11606 Merge pull request #255 from sigatrev/SyncMachine
fix ScreenGameplaySyncMachine crash
dear github: our travis build is broken in a pretty serious way (The command "sudo apt-get install libc6-dev" failed and exited with 100), and I know this isn't travis-support nor the right place for it but I thought I should let someone outside of IRC know the reason for it thanks
2014-08-07 18:38:31 -05:00
sigatrev dabf62b055 fix ScreenGameplaySyncMachine crash
was not setting steps to null, caused access violations
2014-08-07 17:46:20 -05:00
Kyzentun 7e73892e6e Moved LifeType, DrainType, and BatteryLives from Song Options to Player Options. Added ScreenGameplay:FailFadeRemovePlayer lua function. 2014-08-06 23:26:05 -06:00
Kyzentun 6aad3c8f75 Added CourseSongRewardLives metric to LifeMeterBattery. 2014-08-06 15:26:54 -06:00
Kyzentun 6be879f06d Fix PlayerStageStats::SetLifeRecordAt to broadcast correct message for the player. Also adds Message::Message(MessageID) constructor. 2014-08-06 04:41:05 -06:00
Jonathan Payne ef5a650b76 merge 84a8d3a 2014-08-05 15:43:57 -07:00
freem 84a8d3adfb replace psychopathic mapconv.exe with one compiled by "g++ (rev5, Built by MinGW-W64 project) 4.8.1"
This is probably the part where someone says "why do we have the compiled binaries in the source tree anyways if they're just going to cause problems like this?"
2014-08-05 13:52:10 -05:00
freem 38aa07ce38 Kyzentun: it's not your fault that our mapconv.exe is psychopathic 2014-08-05 13:49:05 -05:00
Kyzentun 75a1defea0 ifdef'ed out AddATIToList and RemoveATIFromList on WIN32 because they cause mapconv to crash. 2014-08-05 11:52:31 -06:00
freem 6a39fb5ded Changelog_SSCformat.txt said we were on v0.82, but Song.h said we were on v0.81... fix that.
also update FILE_CACHE_VERSION to regenerate cache for #PREVIEWVID tag (if it isn't already)
2014-08-05 10:45:15 -05:00
Kyzentun d1a84f979d Changed GradeDisplay::SetGrade to print errors instead of segfaulting on unloaded actors. 2014-08-04 20:08:56 -06:00
freem f311902765 fix REALLY BAD TYPO in GradeDisplay:SetGrade Lua function.
this is dumb and I'm too lazy to find out who's REALLY to blame so I want to assume it's my fault, probably. If anyone wants to bother clearing my name, check the stepmania SVN history. I don't care enough :v
2014-08-04 18:46:29 -05:00
Kyzentun f3f7af7045 Changed RollingNumbers to not set NAN velocity. 2014-08-03 22:38:01 -06:00
Kyzentun bffeda6dc0 Pretend I didn't forget the +1. 2014-08-02 19:44:25 -06:00
Kyzentun f58f111cfd Changed GetStylesForGame to not traverse the list of styles twice. 2014-08-02 19:34:39 -06:00
Kyzentun e907454943 Merge branch 'GetStylesForGame' of https://github.com/sigatrev/stepmania 2014-08-02 17:17:17 -06:00
sigatrev 3478bc7650 added GetStylesForGame method 2014-08-02 18:09:52 -05:00
Kyzentun dd82ec734d Disabled AddATIToList on Windows because it makes mapconv crash. 2014-08-02 00:39:00 -07:00
Kyzentun 6b346e8e0b Added MusicWheel:GetSelectedSection. 2014-08-02 00:38:58 -07:00
Kyzentun 2020c9b3bf Fixed invalid note type trace to use correct escape sequence. 2014-08-02 00:38:57 -07:00
freem 2910fca47b <Mad_Matt> hahaha. apparently I accidentally included my libtomcrypt and libtommath in my TapNote enum pull request
<Mad_Matt> someone should probably remove those
2014-08-02 00:38:57 -07:00