Commit Graph

34024 Commits

Author SHA1 Message Date
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
freem 8b062785ea Change Windows installer to use the root drive, instead of a hardcoded C:\
(fixes #271)
2014-08-20 15:28:09 -05: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
Colby Klein 479f93c807 Merge pull request #269 from sigatrev/ActorFrame_diffuse
fix ActorFrame diffusing and glowing children
2014-08-16 21:12:09 -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
Colby Klein 79276a635a Merge pull request #267 from sigatrev/Update-and-Draw
Allow Update and Draw functions to be turned off
2014-08-16 09:12:08 -07: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
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
freem 4ac7e2ad2d draft 2 of ActorScroller example; still needs work
* removed QuantizePixels because it's unused
* make note that the "BitmapText requires ActorFrame for coloring" bug has existed for a while
* mention what offset actually is in TransformFunction
2014-08-12 13:23:53 -05:00
freem 90b388c586 add first draft of ActorScroller example 2014-08-12 12:43:50 -05:00
Kyzentun eb7ac082ae Report error on fetching empty string metric instead of crashing. 2014-08-11 15:56:41 -06:00
Kyzentun a3e6cdbfa2 Added One_Screen_Example_Theme as a minimal example. 2014-08-10 16:17:03 -06:00
freem 04c49a2fd8 add TextEntrySettings documentation to ScreenTextEntry 2014-08-08 20:33:29 -05:00
Kyzentun c368fc1b47 Didn't realize RollingNumbers was supposed to have negative velocity. 2014-08-08 13:55:51 -06:00
AJ Kelly e2edf2a314 Merge pull request #256 from kyzentun/NoteskinClearFix
Fix crash when "clearall" is used.
2014-08-07 21:25:16 -05: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
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 ef955bc4d4 A couple actor docs. 2014-08-04 20:27:49 -06: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 9244b0f1d8 Updated actordef.txt. 2014-08-04 10:59:38 -06: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
AJ Kelly df5765c48a Merge pull request #251 from sigatrev/MusicSpeed
maintain music rate speed adjust after music has finished
2014-08-02 14:01:07 -05:00
sigatrev 6487261f32 maintain music rate speed adjust after music has finished
Keeps things like BGA effect clocks consistent when music stops.
2014-08-01 23:45:21 -05:00
Kyzentun f0d6bce62a Disabled AddATIToList on Windows because it makes mapconv crash. 2014-08-01 11:16:17 -06:00
freem 206d416932 we don't have a "make test", so travis reports the build as "failed"
(also throw in an IRC notification)
2014-08-01 05:36:20 -05:00
freem d32aa39925 add compile status from travis-ci; thanks @shakesoda 2014-08-01 05:05:42 -05:00
freem dd9576397b add libglew-dev to list of packages to get
will hopefully shut up "configure: error: "No usable version of GLEW found."" msg
2014-08-01 05:05:28 -05:00
Colby Klein 12c93349f3 Merge pull request #190 from sieben/travis-ci
Adding a .travis.yml file to use the travis-ci.org
2014-08-01 02:49:29 -07:00
Kyzentun 392ac045eb Added MusicWheel:GetSelectedSection. 2014-07-31 14:57:00 -06:00
Kyzentun 18b2d73bb1 Fixed invalid note type trace to use correct escape sequence. 2014-07-31 11:25:05 -06:00