blindbox
5cabe99b47
Merge pull request #1 from stepmania/master
...
Latest master pull
2016-02-04 18:00:37 +08:00
Abdullah
a580da2183
Partially fix song repetition in generated courses.
...
The old algorithm for generating courses has a tendency to repeat songs.
This commit prevents that from happening. Songs will instead shuffle, and will
only repeat if the current song list has finished.
This is a partial fix, since for some reason, the method responsible
for getting all the songs in a song group is not doing its work properly.
That means for a course that's supposed to have a 100 songs, only 95 of them
would appear. The other 5 will never appear, and the last 5 will be a repeat
of the first 5 songs.
2016-02-04 17:51:32 +08:00
Kyzentun Keeslala
9f57dd6caf
Fix CourseID::ToCourse to use its cache correctly and check whether the path is empty before prepending a slash.
2016-02-03 21:25:47 -07:00
Kyzentun Keeslala
026801e28d
In SongID::ToSong, check whether the dir is empty before prepending a slash, so GetSongFromDir can be skipped when the dir is empty.
2016-02-03 21:14:06 -07:00
Kyzentun Keeslala
55e161336a
Added lua bindings for playing sounds in SCREENMAN. Added input redirection functions to SCREENMAN for disabling non-lua screen input processing. Added OF_FALSE, OV_EOF, and OV_HOLE to error string list in RageSound for more understandable messages. Made sure RageSound doesn't delete null pointers. Updated changelog.
2016-02-03 13:05:23 -07:00
Kyzentun Keeslala
72758bc65b
Changed RageFileManager to use the StripMacResourceForks function that already existed in RageUtil. Updated changelog.
2016-01-18 13:58:18 -07:00
Kyzentun Keeslala
ae5ff0724a
Added Clear timing in region option to timing menu in edit mode. Disabled pasting clipboard timing if it's not safe to fix crash.
2016-01-18 11:48:50 -07:00
Kyzentun
e60797c1df
Merge pull request #980 from kyzentun/pause_menu
...
Pause menu for default theme.
2016-01-14 16:56:49 -07:00
Kyzentun Keeslala
0da27cad75
Make the DisplayResolution option row deal with caching the resolution list, so it only happens on screens that use it.
2016-01-14 16:48:52 -07:00
Kyzentun Keeslala
79f4037088
Changed GetDisplayResolutions on Windows to ignore modes with less than 32bpp and not test modes that have already been tested. Changed ScreenOptionsMasterPrefs to cache the resolutions list once when the screen starts instead of fetching it multiple times.
2016-01-14 16:33:19 -07:00
Kyzentun
31688cc804
Merge pull request #977 from kyzentun/disable_dpms
...
Added code to disable x11 dpms on startup and restore it on exit.
2016-01-13 18:56:43 -07:00
Kyzentun Keeslala
a3f5682ce2
Added Stop Course to pause menu. Hide foreground during pause menu. Changed GiveUpStartText, GiveUpBackText, and SkipSongText to tell the player to double tap for the menu.
2016-01-12 17:37:00 -07:00
Kyzentun Keeslala
7b61974df6
Changed RageFile lua functions to emit lua errors instead of asserting if the file cannot be safely read or written to.
2016-01-10 16:38:34 -07:00
Kyzentun Keeslala
0de66f6e1a
Added pause menu to ScreenGameplay in default theme. Added SetPrevScreenName lua binding to Screen. Added begin_backing_out lua binding to ScreenGameplay.
2016-01-09 11:40:22 -07:00
Kyzentun Keeslala
d810b10d98
Added code to disable x11 dpms on startup and restore it on exit.
2016-01-05 16:28:14 -07:00
Kyzentun Keeslala
25dd2bbef9
Added a step to RageFileManager::GetDirlisting to ignore OS X special files.
2015-12-27 07:44:58 -07:00
Kyzentun Keeslala
55bd774a4c
Added copy constructor to LocalizedString so that a LocalizedString created by copying another does not crash in the destructor.
2015-12-27 06:45:49 -07:00
Andrew Barbarello
f451cc72cd
don't specify a filler transformation when writing RGBA
...
Apparently fixes the failure of Texture Font Generator to write
the necessary PNGs.
2015-12-20 22:01:50 -05:00
Andrew Barbarello
43ec2f13b5
use corresponding free function for png_create_write_struct
...
Prevents access violation on PNG error in Texture Font Generator
2015-12-20 22:00:51 -05:00
Kyzentun Keeslala
4e0fa012c1
Added SetLife and ChangeLife lua functions to Player. Updated changelog.
2015-12-16 15:08:36 -07:00
parashep
1f4a330d1e
Unrestrict pop'n judgment levels
...
It made some sort of sense to only have three judgment levels before,
but it makes far more sense to let the theme manage it now since it
isn't necessarily the case any more.
2015-12-13 19:58:41 -05:00
Kyzentun Keeslala
db06b4c1a3
Call ArrowEffects::Update on ScreenEdit during play mode so that Tornado and other stuff will work.
2015-12-11 00:02:31 -07:00
Flameshadowxeroshin
aba0f1f7b3
Rename GameButtonType_INVALID to GameButtonType_Menu.
...
Strictly that's not right but close enough.
2015-12-05 20:02:00 -06:00
Flameshadowxeroshin
d329c80ad3
remove guitar cruft
...
There was a bunch of code for handling guitar-specific input such as hammer-ons/pull-offs and strumming. Given that guitar was removed, and as far as I understand, will not be added back into SM5, it makes sense to remove code that had no other use.
2015-12-05 11:12:17 -06:00
Kyzentun Keeslala
a35fa1416e
Changed DrawBeatBar to check the M-mod so that smaller beat bars are drawn when M-mods are used in edit mode. Updated changelog.
2015-12-04 00:28:22 -07:00
Kyzentun Keeslala
9739fd417c
Cast GetUnit to unsigned int in SpeedSegment::ToString to avoid crashing in ssprintf.
2015-11-18 20:07:49 -07:00
Jason Felds
1adada6f77
Fix CreateZip typo.
...
I guess someone else culdn't do this? (sic)
2015-11-13 17:13:34 -05:00
Kyzentun Keeslala
23d6c06f49
Do not force full bg brightness on beginner-only songs.
2015-11-10 01:08:16 -07:00
Kyzentun Keeslala
65c84ef7dc
Moved lua music logic to a separate function so that ScreenSelectMusic can use lua for the various kinds of sample music.
2015-11-08 22:58:10 -07:00
Kyzentun Keeslala
d496f8145c
Noteskin name in PlayerOptions needs to be compared case-insensitive when comparing PlayerOptions structures. The old code that used != probably relied on RString::operator!= misbehaving.
2015-11-05 21:56:43 -07:00
Jason Felds
fba1cf2975
Put the bots back in #stepmania.
...
Apparently #stepmania-devs is for discussion only.
...is this backwards?
2015-11-02 19:05:32 -05:00
Prcuvu
ff265206f6
Remove deprecated VS projects for Texture Font Generator.
2015-11-02 07:55:03 +08:00
Kyzentun Keeslala
37b1030dd4
Only warn that the banner wasn't cached if the banner cache pref isn't set to off.
2015-11-01 12:04:32 -07:00
Jason Felds
166e4c8287
Allow optional logging of timing segment mods.
...
For those with many songs, it gets annoying.
2015-11-01 06:49:31 -05:00
nigue
f1e114aa03
i686 -> x64 recognition before make
2015-10-30 11:49:51 -03:00
Jason Felds
18fabca8a4
Only use _AFXDLL on dynamic linking.
2015-10-27 20:31:08 -04:00
Jason Felds
afa68ecd72
Only install Texture Font Generator when built.
2015-10-27 18:38:23 -04:00
Jason Felds
e0290fc856
Compile the Texture Font Generator with cmake.
...
This program is not built by default. Enable one of the following options to utilize it:
* WITH_FULL_RELEASE
* WITH_TEXTURE_GENERATOR
It is heavily advised to make sure the MFC library is installed for Visual Studio and the computer is restarted afterwards.
As a bonus, `zlib1.dll` can go away now.
The old visual studio projects are still in play in case others still struggle with the code fixes.
2015-10-27 18:11:37 -04:00
Jason Felds
cf5656ac3d
Temporary: Add Texture Font Generator to NSIS.
2015-10-26 21:53:45 -04:00
Kyzentun Keeslala
bd3da6a46d
Added GetMainTitle to Song to bypass ShowNativeLanguage pref.
2015-10-26 13:38:23 -06:00
Jason Felds
de9fc48a1a
Revert "We compile zlib: don't use the old dll."
2015-10-25 20:39:56 -04:00
Jason Felds
84afd9bc9c
We compile zlib: don't use the old dll.
2015-10-25 16:03:56 -04:00
Jason Felds
3dd2f54678
Add IRC feedback from Windows build servers.
2015-10-25 13:12:14 -04:00
Kyzentun Keeslala
da2db95365
Changed NotesLoaderBMS to not crash when trying to set StepsTypeStr for an unrecognized StepsType. Removed ConfOption for ShowSelectGroup from ScreenOptionsMasterPrefs because the preference does not exist.
2015-10-23 20:42:49 -06:00
latot
47b0f83aed
Remove WITH_VERSION_INFO, version info by default
2015-10-22 21:21:47 -03:00
Kyzentun Keeslala
264ba550b7
Changed stage stats assert on ScreenEvaluation to give a more informative message and avoid crashing.
2015-10-22 18:12:37 -06:00
Jason Felds
d3131e0350
Allow WITH_MP3=OFF and WITH_WAV=OFF to compile.
2015-10-22 17:07:21 -04:00
Kyzentun Keeslala
189cf77cab
Changed PlayCommandNoRecurse to check whether the command is nil before running it, so that a command metric set to a nil function isn't an error. Removed TextBannerHighScores::AfterSetCommand metric from _fallback because it pointed to a function that does not exist.
2015-10-22 12:24:04 -06:00
Kyzentun Keeslala
add09bef07
Added metrics for ScreenMiniMenuTimingDataChangeInformation that dbk2 found were missing. Changed ASSERT in AddNewScreenTop to ASSERT_M.
2015-10-22 00:04:13 -06:00
Kyzentun
799eeaff6d
Merge pull request #888 from Wallacoloo/armv7
...
Fix armv7 build errors
2015-10-21 01:39:14 -06:00