Commit Graph
35367 Commits
Author SHA1 Message Date
Matt McCutchenandColby Klein 4b3507f195 Instantiate MESSAGEMAN first. (#1399)
This fixes a well-formed warning, but does it break anything?

It's not clear off hand. Having this up for discussion.

(Matt McCutchen <[email protected]>: Cherry picked from commit
a565a27da8c5278846c06585cb6e218ff8f0f1b7 with a conflict resolution.
This commit fixes a crash on startup in MessageManager::Broadcast when I
build StepMania with -DCMAKE_BUILD_TYPE=Release and g++ 6.3.1 on Fedora
25.  Apparently g++ is optimizing out the "this != NULL" on the grounds
that calling a method on a null pointer has undefined behavior, so the
"m_Logging" is a null dereference.)
2017-02-10 06:40:43 -08:00
Nickito12andColby Klein d96bcae8de NetRoom/SelectBase/Music lua objects. Scrolling with lua funcs and binded to ctrl+pg up/down. Show prev msgs, binded to pg up/down. Music wheel move, selectmusic screen's select current song, chatbox visibility, input en/disabling and UserList visibility lua functions. (#1394) 2017-02-10 04:58:23 -08:00
Nickito12andColby Klein 6225e114ad Online protocol improvements (#1393)
* Chartkey generation

* Simfile filehash generation

* Read filehash on NSCRSG. Add FLU packets and friendlist vectors. Add
getserverversion method. Send chartkey, filehash and rate on start request.

* Use filehash to find the selected song if it is not empty.

* Friendlist update broadcast.

* Send note row size if it's bigger than 1

* Used for chartkey generation

* Define the ReportScore function with numNotes when WITHOUT_NETWORKING is defined
2017-02-10 04:57:59 -08:00
MrThatKidandColby Klein 854410599f Fix oitg_zoom_mode (#1383) 2017-02-08 10:23:58 -08:00
MrThatKidandColby Klein 388d4ac8ea Add nITG's new Confusion modifiers (#1395)
* Implemented nITG's Confusion modifiers.

Modifiers added:
ConfusionOffset
ConfusionX
ConfusionXOffset
ConfusionY
ConfusionYOffset

* Documented new Confusion modifiers.

* Make ConfusionX mods apply to hold heads
2017-02-08 05:44:33 -08:00
Dan GuzekandGitHub 5e37aeaa90 Merge pull request #1362 from wolfman2000/wolf-ffmpeg-mac-disabling
Allow WITH_FFMPEG to work when disabled for Mac.
2016-12-01 18:33:38 -05:00
Jason Felds 8b555bfb30 Allow WITH_FFMPEG to work when disabled for Mac. 2016-12-01 17:12:52 -05:00
Dan GuzekandJason Felds a7d4919d83 Merge pull request #1302 from dguzek/macOS-10-12
fix compilation on macOS 10.12
2016-12-01 16:29:13 -05:00
KyzentunandGitHub 9944ac3957 Merge pull request #1359 from MrThatKid/no-static-temp-effect-state
Backport commit cd5df01 from master branch
2016-11-30 13:43:27 -07:00
MrThatKidandGitHub 02d863397a Don't use static temp state for actor effects
because actors are nested
2016-11-29 18:00:39 -08:00
Colby Klein 5fcc473648 update version info. why are there so many of these 2016-11-24 19:06:41 -08:00
Colby Klein f5100aee0d Fix NOTESKIN:GetMetric() 2016-11-24 18:57:25 -08:00
Kyzentun Keeslala 7ca46bb93a Added PlayerOptions:FromString. 2016-09-16 18:02:08 -06:00
Kyzentun Keeslala 3d98fc7a60 Add oitg_zoom_mode_actor. Turn off minimaid lights when exiting. 2016-08-29 12:43:04 -06:00
KyzentunandGitHub 45e0787a74 Merge pull request #1248 from stepmania/master
Update 5_0 branch
2016-08-10 17:15:24 -06:00
Kyzentun Keeslala 074d244694 lol whoops 2016-08-05 12:01:48 -06:00
Kyzentun Keeslala 832fd0e1b6 Use case insensitive lookup when removing invalid sound drivers, the same lookup used when creating the sound driver. Change ffmpeg fetching to fetch from stepmania's mirror because ffmpeg.org moved theirs. 2016-08-04 16:57:31 -06:00
Kyzentun Keeslala d215dd99a0 Fix auto set style in course mode. 2016-07-14 18:12:59 -06:00
Kyzentun Keeslala ccc26c305a UsePauseMenuInsteadOfGiveUp wasn't necessary for making start not give up on a song. Changed png load back to use setjmp/longjmp. 2016-07-12 21:00:54 -06:00
KyzentunandGitHub 8e6d44edce Merge pull request #1218 from dguzek/ActorSound
clean up ./Docs/Themerdocs/ActorDef.txt
2016-07-08 07:42:14 -06:00
Dan Guzek 1ca660f034 clean up ActorDef.txt
This should resolve issue #781.
2016-07-08 02:55:07 -04:00
KyzentunandGitHub d22c0a2d5e Merge pull request #1213 from sillybear/patch-10
[Announcer] Fixed a bug that keep "evaluation full combo W4" playing when a player get a Good Full Combo and a failed grade.
2016-07-02 16:48:45 -06:00
sillybearandGitHub a30befeec3 [Announcer] Fixed a bug that keep "evaluation full combo W4" playing when a player get a Good Full Combo and a failed grade. 2016-07-03 01:04:11 +08:00
Jason Felds 78494f857d Preparing for 5.0.12. 2016-06-30 18:40:18 -04:00
Kyzentun Keeslala a9a1b82d8c Fix crash in online mode by not changing the difficulty for P2 when P2 isn't playing. 2016-06-30 13:11:13 -06:00
Kyzentun Keeslala 2a2007b9c8 Trim chart name, description, and credit after loading them from the simfile. 2016-06-29 19:33:36 -06:00
Jason Felds e590616873 Re-enable exceptions for Xcode.
We're at the point where we should have done this awhile ago.
2016-06-29 18:42:50 -04:00
Kyzentun Keeslala 8a7b1d407a Ignore auto set style when filtering songs for the music wheel in online mode. 2016-06-29 15:36:48 -06:00
Kyzentun Keeslala 2f39442ccd Added Docs/Themerdocs/pause_menu.md to explain pause menu logic. Updated changelog. 2016-06-28 21:00:17 -06:00
Kyzentun Keeslala ca9fd7c707 Fixed bug that allowed pausing by pressing two different pause buttons instead of double tapping one. Moved pause logic to script in _fallback to make it easier for other themese to use. 2016-06-28 16:12:45 -06:00
Kyzentun Keeslala 6634f7de04 Fixed autoplay on rolls bug by not flashing ghost row on a hidden note. 2016-06-26 15:50:25 -06:00
Kyzentun Keeslala a2337b7f01 Forgot to mention UsePauseMenuInsteadOfGiveUp metric in changelog. 2016-06-24 17:10:40 -06:00
Kyzentun Keeslala 7bd64c32af Added AllowHoldForOptions preference.
Back button now only backs out of a screen on a press.
Updated changelog.
2016-06-24 16:55:01 -06:00
KyzentunandGitHub 019ef5728a Merge pull request #1173 from kyzentun/no_alloca_in_sound
Alloca problems
2016-06-24 16:50:45 -06:00
KyzentunandGitHub 4305c8a786 Merge pull request #1105 from sillybear/patch-7
Springtime simfile song offset, bpm/bpm changes and other cosmetic ssc text updates
2016-06-24 16:49:57 -06:00
KyzentunandGitHub 3913696379 Merge pull request #1143 from kyzentun/sync_overlay_lua
Move ScreenSyncOverlay actors to lua
2016-06-24 16:48:22 -06:00
KyzentunandGitHub 62edbfac46 Merge pull request #1178 from 1033Forest/patch-1
Update instructions.txt
2016-06-22 09:08:12 -06:00
1033ForestandGitHub 23dbd956d1 Update instructions.txt 2016-06-22 07:58:25 -04:00
Kyzentun Keeslala 6ce300e06f Fix column mapping for beat-double5. 2016-06-21 22:23:22 -06:00
Kyzentun Keeslala 8796946b4f Changed RSR_WAV and RSR_Resample_Good back to using alloca because only gcc/C99 like dynamic arrays. RSR_SpeedChange now uses new/delete in spite of the performance. 2016-06-21 20:09:16 -06:00
Kyzentun Keeslala d4926506f9 Removed alloca calls from sound reader classes because putting it inside a loop tends to cause a stack overflow.
Removed alloca call from png loading because it does not work with setjmp and longjmp.  png loading now uses exceptions instead when an error occurs.
2016-06-21 19:23:37 -06:00
Kyzentun Keeslala 5fca435b43 Clear the z buffer before drawing notes so 3D notes aren't hidden by things in the underlay using masking. 2016-06-21 08:51:09 -06:00
Kyzentun Keeslala c3d37389ec Log warnings if the theme preference is not set to something valid. Moved underscore logic in IsThemeSelectable to IsThemeNameValid so that GetSelectableThemeNames doesn't fetch the directory list n^2 times. 2016-06-20 13:56:53 -06:00
Kyzentun Keeslala 7daaf04cfc Fixed edit mode attack related crash in routine mode by not checking player options noteskin choice in routine mode. 2016-06-17 16:23:08 -06:00
Kyzentun Keeslala 1c2bac36a8 Moved actors for ScreenSyncOverlay from the engine to a lua file in the theme to make the overlay themable.
Renamed some strings used by ScreenSyncOverlay to have actual names.  They were using their untranslated text as names.
Removed ScreenSyncOverlay section from de.ini because none of the strings were actually translated.
Removed most of ScreenSyncOverlay section from fr.ini because the strings were not actually translated.
2016-06-12 14:51:27 -06:00
Kyzentun Keeslala 1deb1dd9c0 Changed ScreenGameplay to not allow Ready and Go announcer sounds to play at the same time if the animation is zero length. 2016-06-09 16:05:49 -06:00
Kyzentun Keeslala a0d6658a65 Changed NotesWriterSM to not mangle the timing data by adding stops when converting warps. 2016-06-07 19:26:21 -06:00
Kyzentun Keeslala d6cf7575b2 Don't allow trying to use a sound driver that is not in the list for the platform. 2016-06-07 18:28:06 -06:00
ddrtimeandColby Klein 4c48e962e4 Add Traditional Chinese language (#1136) 2016-06-06 02:04:44 -07:00
Jason Felds b3122072a8 Merge pull request #1131 from djpohly/check-pthread-functions
CMake: check for timed pthreads functions
2016-06-02 06:56:32 -04:00