Commit Graph

2962 Commits

Author SHA1 Message Date
Thai Pangsakulyanont 67bbfd9a09 merge 2012-05-21 15:04:06 +07:00
Aldo Fregoso 09f369cd33 Imported the check for updates code from StepMania AMX.
---
TODO: Move the code from NSMAN to a new class
TODO: HOOKS->GetURL for Linux
TODO: Do not run the check every time the game is launched, use:
PREFSMAN->m_iUpdateCheckIntervalSeconds - Seconds to wait before running the next check
PREFSMAN->m_iUpdateCheckLastCheckedSecond - Timestamp of the last check
2012-05-21 02:29:59 -05:00
Thai Pangsakulyanont 2b6670c2df optimize adding background changes
I have a song with 5841 background changes and it took 3 seconds to load that song.
2012-05-21 14:27:17 +07:00
Thai Pangsakulyanont 1c85c74785 remove the debugging code 2012-05-21 14:02:38 +07:00
Thai Pangsakulyanont 44d3f78845 merge 2012-05-21 13:59:27 +07:00
Thai Pangsakulyanont 3a82222c83 add background support to BMS files (only #BMP, not #BGA) 2012-05-21 13:58:40 +07:00
Aldo Fregoso 0e2cc939d6 Mac OS X DialogDriver was lacking OKCancel, I also added YesNo Dialog to every platform. 2012-05-20 22:19:27 -05:00
Aldo Fregoso 341a474c9a Fixed errors & warnings to compile with VS 2011 2012-05-20 21:00:14 -05:00
Aldo Fregoso 5a798e78cd Added Visual Studio 2011 solution 2012-05-20 20:30:13 -05:00
AJ Kelly ae57a3f2c2 [Actor] Make the xy command a source-code level command. 2012-05-19 00:20:30 -05:00
AJ Kelly ea0a854065 [LoadingWindow_Gtk] Actually resolve the path to the Splash file. [djpohly] 2012-05-17 12:08:05 -05:00
AJ Kelly a476e34619 [ScreenOptionsMasterPrefs] Allow for FastLoadAdditionalSongs preference to be called via the "conf" command. 2012-05-16 13:14:13 -05:00
AJ Kelly b02a4ae096 [ScreenWithMenuElements] Add DelayMusicSeconds metric. requested in issue 540: http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=540 2012-05-16 01:31:00 -05:00
AJ Kelly 058c90aceb [Course] Added AllSongsAreFixed() Lua binding. 2012-05-14 00:25:58 -05:00
AJ Kelly 967237d881 Add Var "Player" and Var "Controller" for NoteSkin. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=824cff29912d1c29a667046ba463d195e81c524a
2012-05-03 14:27:51 -05:00
AJ Kelly 201d6e8029 another patch from djpohly, this time to silence some pointless log output 2012-05-03 14:06:41 -05:00
AJ Kelly 8b630f1064 apply djpohly's patch to fix issue 767
http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=767
2012-05-03 14:01:20 -05:00
AJ Kelly eb061fa03d Make ReceptorArrowRow and GhostArrowRow respect the column draw order. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=8ccf7449651eef51e8c42d031aa64da49a0b72ce
2012-05-02 19:24:08 -05:00
Colby Klein 4e24ead887 This is far too nasty of a hack and not good behavior in the first place.
I'm fairly sure you can do this in Lua if you REALLY want this kludge.
2012-05-01 09:53:11 -07:00
TaroNuke bcdb7d702d Reload wheel on late join. 2012-05-01 15:18:30 +00:00
TaroNuke b79888bfa4 Reload the wheel on late join. 2012-05-01 15:15:21 +00:00
Thai Pangsakulyanont 9c9147d30b merge 2012-04-26 13:37:43 +07:00
Thai Pangsakulyanont 23f9bad9e0 [RageSoundReader_Preload] change default maximum number of samples to 1048576 samples.
This uses a lot more memory, but should make it smoother when playing heavily keysounded files. Many simulators do actually load all keysounds into memory before the game starts.
2012-04-26 13:32:15 +07:00
Thai Pangsakulyanont 4be6179607 [RageSound] never do threaded buffering on keysounds.
When there are too many (high-quality) keysounds, threaded buffering will cause all these files to be opened at the same time. These problems can occur:
- too many open files (and then crashes)
- out of thread slots (and then crashes)

Fixing this by never doing threaded buffering on keysounds (mark to be precached).
2012-04-26 13:19:20 +07:00
AJ Kelly c07d41cecb [Profile] Added GetLastPlayedSong and GetLastPlayedCourse Lua bindings. 2012-04-25 19:56:33 -05:00
Thai Pangsakulyanont db80cf5e22 make MovieTexture_FFMpeg use AVIO, so it's possible for us to later update to newer versions of ffmpeg.
- untested on Windows. need someone to test it.
- the ffmpeg revision that is used on Mac is f139838 (one tagged with 0.10.2)
2012-04-25 00:20:13 +07:00
Thai Pangsakulyanont 15315ced5e merge 2012-04-24 00:15:02 +07:00
Thai Pangsakulyanont 503814c435 update libpng to 1.5.10, add precompiled library for ffmpeg 0.10.2 for mac, and Xcode 4.3 project in a separate project.
This should make it possible to build StepMania 5 on Mac OS X.
The catch is that it will only work with Snow Leopard and up, but I think this is better than nothing.

We can support PowerPC / 10.4-10.5 again when someone can make the old Xcode 3 project work.
2012-04-24 00:11:28 +07:00
AJ Kelly 11637bd603 [LifeMeterBar] Reverted a change from 2010 that messed with how the life meter subtracts life. The life difficulty should match StepMania 3.9 again. 2012-04-22 14:01:12 -05:00
AJ Kelly 8740bd75a4 I'm pretty sure most people don't care about the genres not being mapped in BackgroundMapping.ini. 2012-04-22 13:16:38 -05:00
AJ Kelly 700a8c7837 what the flying f... 2012-04-12 11:40:34 -05:00
Jason Felds 26f5e8d78c Replace Steps:UseSplitTiming.
Instead, use Song:IsStepsUsingDifferentTiming.
2012-04-08 23:56:28 -04:00
Jason Felds 2031cbb366 Put in vyhd's patch for proper TD comparisons. 2012-04-08 14:26:28 -04:00
Jason Felds ee8fd495a5 Due for a merge. 2012-04-08 13:47:56 -04:00
Jason Felds 392e7fac25 Programmers, start your debuggers! 2012-04-08 13:47:23 -04:00
AJ Kelly 33348f0743 [ScreenNetworkOptions] Fixed a bug where localized text would not show up properly. Fixes issue 759. 2012-04-08 11:12:30 -05:00
Flameshadowxeroshin 64e74f4824 Fix some nasty behavior with ALSA thanks to custos-mundi (of irc.freenode.net #alsa) and /// 2012-04-07 21:21:18 +00:00
Flameshadowxeroshin ebb91feb4a why not. 2012-04-07 20:18:03 +00:00
Jason Felds 217cfa7350 Fix nonexistant techno-double8.
The game mode never existed people!

......you know what? Forget it. Enjoy playing
with 16 arrows that are hard to read.
2012-04-06 19:03:52 -04:00
Jason Felds 226b79cbe1 Fix techno double 5.
I wonder if someone previously mixed up double 5
with double 8 here.

Even though there shouldn't need to be a double 8...
2012-04-06 16:45:04 -04:00
Jason Felds 6782efb80f Fix setting some mods that always used drunk.
Thanks to TaroNuke for the assist.
2012-04-03 00:07:04 -04:00
AJ Kelly 326f8ba076 look, we're this close to alpha 2. I'm just going to commit the productinfo and such, and then tag it once we all agree it's release-worthy 2012-04-01 12:28:57 -05:00
AJ Kelly ca281aa83f [GameManager] Allow beat single7 and versus7 to be shown in Demonstration. 2012-03-31 13:15:13 -05:00
Jason Felds 9b78490059 Fix minor warning, make it not take a whole line. 2012-03-31 13:49:22 -04:00
Austen Dicken df32fc663d More FFMpeg adjustments
Since many distros don't have packages for FFMpeg 0.10 yet, allow a static
prebuilt package to be specifiec with --with-static-ffmpeg=/path/to/ffmpeg.

Also recreate the functionality of ./Utils/build.sh to now pull FFMpeg 0.10.2
from the web, statically build it, and link it into Stepmania.
2012-03-30 18:05:58 -05:00
AJ Kelly 3ca54f1000 [Player] Keysounds now respect the volume settings. Sourced from hanubeki-modified-sm-ssc rev. 16fc5b714582 [hanubeki] 2012-03-28 19:24:27 -05:00
AJ Kelly 59b43867c1 [GameState] Added GetStageResult(pn) Lua binding. 2012-03-28 18:55:17 -05:00
AJ Kelly 2dd68c8349 [GameConstantsAndTypes] Made StageResult Lua-aware. 2012-03-28 18:55:06 -05:00
AJ Kelly 7f70e77b57 [ScoreKeeperRave] Actually handle hold scores in HandleHoldScore(). Players should please provide feedback on how this affects gameplay, as this is a temporary feature. 2012-03-28 18:54:52 -05:00
AJ Kelly dab1bd6ef0 [ScreenEditMenu] Don't hardcode stopping the music on pressing the back button. This interferes with the StopMusicOnBack metric. 2012-03-27 22:34:48 -05:00