Commit Graph
4533 Commits
Author SHA1 Message Date
Kyzentun Keeslala eb3121faf9 Pass timing data to TransformNoteData so that fake notes inside warps can be removed properly. 2016-03-02 08:23:26 -07:00
blindbox de5baf2607 Properly add songs that are missing a Medium difficulty to the Endless Course 2016-02-29 11:07:37 +08:00
blindbox 8cc84ebdda Isolated Endless Course from other courses in GetTrailUnsorted
This should fix stepmania/stepmania#1020 .
2016-02-29 11:03:16 +08:00
Kyzentun Keeslala 4b0e6f3e0a Moved minimaid linking command to proper place in src/CMakeLists.txt. Removed wrapper function pointers from LightsDriver_LinuxMinimaid.h because it doesn't load a dynamic lib. Link udev when linking libmmmagic. 2016-02-16 20:06:46 -07:00
Kyzentun Keeslala 7cce462dd1 Start event devices at JOY10 so that they won't overlap with joystick devices. 2016-02-15 16:58:36 -07:00
Kyzentun Keeslala 10c304a80d Add libmmmagic lights support to linux. Mostly copy paste of windows driver. 2016-02-13 17:53:39 -07:00
Joe 4023544670 Checking for first second now ignores autokeysounds. 2016-02-13 22:30:02 +00:00
Kyzentun Keeslala b34f07e10f Check whether InitialScreen is valid before using it after changing themes. 2016-02-13 10:11:22 -07:00
Kyzentun Keeslala 9fe6f49a55 Shut up various Trace calls that were clogging the log file uselessly. 2016-02-10 17:14:17 -07:00
Kyzentun a341811369 Merge pull request #1002 from blindbox/master
Partially fix song repetition in generated courses.
2016-02-08 09:21:16 -07:00
Kyzentun Keeslala 86470b7977 Reinstate RageFastSin because it's faster on Windows. 2016-02-07 21:04:10 -07:00
Kyzentun Keeslala acda44238d Replace RageFastSin and RageFastCos with standard library versions because the standard library is faster. Use fmod in spline evaluation. 2016-02-07 15:35:05 -07:00
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