Commit Graph

4852 Commits

Author SHA1 Message Date
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
RhythmLunatic c7f9133134 Fix broken Groove Radar 2019-06-12 21:47:48 -05:00
RhythmLunatic feb77d5711 Make TwoPartSelect remappable 2019-04-19 10:03:12 -05:00
RhythmLunatic 8b8cb969d1 Add missing PacDrive Win32 driver 2019-04-18 09:14:41 -05:00
Colby Klein 4977f29fe3 silence a bunch of msvc warnings 2019-03-28 15:05:07 -07:00
Rhythm Lunatic dcb2f74c8d Add More OptionsList functionality (#1810)
* Add More OptionsList functionality

* Remove Size parameter because it's broken

* Make OptionsList inputs remappable

* Change Next/Prev OptionsList to CodeDetector
2019-03-28 14:49:46 -07:00
Colby Klein d6bd0005eb we don't use the mouse in default, so hide it 2019-03-18 17:23:30 -07:00
Colby Klein 96384e4c05 Fix ShowMouseCursor preference on windows 2019-03-18 15:52:50 -07:00
Colby Klein b80f5e3ed4 microsoft why 2019-03-17 10:55:09 -07:00
Colby Klein 9074fc09f1 Square the master volume so it is more perceptually linear. 2019-03-15 18:35:45 -07:00
Colby Klein 996b69cb01 fix: master volume not updating on playing sounds. (via smx) 2019-03-15 18:10:19 -07:00
Colby Klein 567f8363e8 fix bug in e96b170, note display should be correct again. 2019-03-15 17:11:44 -07:00
Colby Klein e96b170154 fix reversed note drawing order as reported by @sillybear. please test. 2019-03-15 12:19:14 -07:00
Colby Klein c0c26697a1 fix annoying hold tail 1px overlap 2019-03-12 10:37:56 -07:00
Colby Klein 69ce774ae4 adjust some default preferences. -8ms GO is an experiment. 2019-03-11 14:42:58 -07:00
Colby Klein e860773799 fix build: can't noexcept this way on msvc 2013. 2019-03-10 13:11:08 -07:00
Tatsh 3c8ee8675d Mac fixes (#1795)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent

* Fix setting CFBundleExecutable value

* Improve handling of system libpng

Header mismatch can cause a crash, so force the non-system png.h
if WITH_SYSTEM_PNG=no

* Better handling of TRUE/FALSE with newer versions of jpeglib

* Add JPEG include directory
2019-03-10 13:02:54 -07:00
Tatsh b8a79cd0f6 Allow linking against system libraries for almost everything (#1790) 2019-02-16 08:32:52 -08:00
electromuis 021d494157 Padmiss support (#1771)
* Add support for folder based MemoryCard usage
* Add support for the padmiss.com network by saving scores to individual files.
2019-01-19 08:07:13 -08:00
Tatsh d395028bd4 Mac fixes (#1776)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent
2018-12-31 19:28:59 -08:00
Dan Guzek 9088a2e57f backport macOS AudioDevice cleanup into 5_1-new (#1735)
* Replaced Deprecated AudioDevice Functions

* Fixed an oversight.

I still didn’t see any issues.
2018-09-11 04:18:57 -07:00
Rorroh f49bcdb5f6 Fixed keyboard ghosting bug (stepmania/stepmania#1736) (#1737) 2018-08-26 18:20:31 -07:00
Chris Pable c200600c65 Fix audio drivers with a low sample count maximum value (#1697) 2018-08-02 08:28:24 -07:00
Jose_Varela d71e05dcd8 Small cleanup 2018-07-29 16:12:07 -05:00
Jose_Varela 2308f9501e Broader Dancing Character Control for themers
This is to allow themers to have more control in regards to the Dancing 3D Characters seen in Gameplay.
A lot of it was hardcoded.
2018-07-29 16:02:05 -05:00
Gareth Francis e7b8cc2785 Preserve event timestamps in X11 input driver
The X11 XKeyEvent structure (and others) include a timestamp
field, with 1ms resolution.
This was previously ignored causing the input timestamps to be
set to the middle of each frame.
If the timestamps are passed through then the event timestamps are
not coupled to the framerate and the polling issues are resolved.
2018-06-08 17:19:51 +01:00
Gareth Francis 144fba2e15 Bugfix/1698 linux event m_bShutdown undefined (#1699)
* Fix build
2018-06-07 13:17:02 -07:00
Gareth Francis 252e1e7b1f Initialise variables to ensure input thread is started (#1696)
* Initialise variables to ensure input thread is started

m_bShutdown was not initialised. This meant that the input
thread would never be started seemingly at random.

In my case m_bShutdown was always false when running in fullscreen
but not in windowed mode for some reason
2018-05-26 04:30:19 -07:00
Gareth Francis 23889bd7c8 Avoid crash in ~LightsDriver_SystemMessage (#1663)
* Avoid crash in ~LightsDriver_SystemMessage

This will avoid a crash caused by the fact LIGHTSMAN is destroyed
after the other MAN objects

* Rework code path for turning lights off on exit

Calls to LightsDriver::reset removed from each driver to avoid any crashes

LightsDriver::reset renamed to Rest to match surrounding style

Added LightsManager::TurnOffAllLights, called before XXXMAN objects are deleted
2018-05-10 18:04:44 -07:00
MrThatKid eb78d14ab8 Moved display zbuffer clear to after notefields are drawn (#1679)
* Added display zbuffer clear DrawNoteFieldBoard

* Removed display zbuffer clear in NoteField
2018-04-20 18:27:37 -07:00
ranma 1ca5809da5 Improve DrawQuads batching in the font render. (#1654)
Currently only identical glyphs are merged into one DrawQuads call.
This fixes the comparison so that all glyphs with the same texture can
be merged, which greatly improves the font rendering performance.
2018-03-10 11:44:45 -08:00
Nicolas dba5e3f1f1 Add timeout to smo sockets (#1651)
* Add timeout to smo sockets

Without this sometimes an attempt at a connection hangs and completely stops the program (VERY annoying in fullscreen) in the recv function.

* Fix typo from previous commit

* Change smo timeout to 5
2018-03-08 17:35:06 -08:00
Gareth Francis 1369c1fb39 Turn lights out on exit (#1646)
* Add LightsDriver::reset

Function will reset all lights to off
Function needs to be called by each of the driver implementations
as needed during destruction

* Reset lights to off on exit
2018-02-28 11:52:01 -08:00
tertu b226b937da Merge pull request #1629 from kyzentun/theme_prefs_use_chosen_theme
ThemePrefs use chosen theme
2018-02-08 16:18:30 -06:00
tertu effc88489e Merge pull request #1624 from mark-blum/5_1-new
Make announcers repeat their lines less
2018-02-08 16:17:37 -06:00
Kyzentun Keeslala 02dd2522e3 Add THEME:get_theme_fallback_list function. 2018-02-05 09:12:35 -07:00
ListenerJubatus c526fa6789 Merge pull request #1619 from kyzentun/5_0_course_difficulty_crash_fix
SSM needs to prune playable trails.
2018-01-24 15:30:49 -06:00
Mark Blum e125053f4c Made announcers repeat their lines less 2018-01-20 15:23:12 -05:00
Flameshadowxeroshin 07918fe3ab fix invisible notes near beginning of song with ProgressAlternate 2018-01-17 15:07:57 -06:00
Flameshadowxeroshin 529af13833 ProgressAlternate
back up one frame on boundaries
2018-01-17 10:14:07 -06:00
Flameshadowxeroshin 1c75c52614 Added NoteColorMode ProgressOnBeatAtEnd
Almost the same as progress, but 4ths use the last frame rather than the first.
This lets rainbow and vivid from DDR be made properly.
2018-01-17 10:14:03 -06:00
Kyzentun Keeslala 9210ee4642 SSM needs to prune unplayable trails out of the selectable list in course mode. 2018-01-16 14:42:36 -07:00
concubidated ccb780fd13 Merge branch '5_1-new' of https://github.com/concubidated/stepmania into 5_1-new 2017-12-30 18:28:01 -08:00
concubidated c7dcdf95c7 Uodate user data directory to 5.1 for Linux
This has already been fixed for OSX and Windows
2017-12-30 18:16:03 -08:00
Tyler Brekke 737ab1bbf9 Merge pull request #1563 from kyzentun/music_wheel_handle_message_crash
Fix extra stage MusicWheelItem crash
2017-11-21 22:43:22 -08:00
Tyler Brekke fe404b2950 Merge pull request #1499 from kyzentun/course_entry_fix
Check entry id in GetCourseEntry.  Add GetNumCourseEntries.
2017-11-21 00:05:33 -08:00
Kyzentun Keeslala 87dfd25cfc Fix crash that only shows up on extra stage from MusicWheelItem handling message when not loaded. 2017-10-18 08:36:20 -06:00
Flameshadowxeroshin e92c8f80a3 support for distance field fonts 2017-10-02 17:00:11 -05:00
Flameshadowxeroshin c1088c1abc Distance field EffectMode (#1546)
* Distance field EffectMode (supports MSDF and the regular sort)
2017-10-02 05:54:05 -07:00
Alexander Griffin c0981c42ec Changing BannerCache into ImageCache to support more imagetypes (#1532) 2017-09-19 14:49:42 -07:00