MrThatKid
1c9227db22
Add nITG's new Move modifiers ( #1411 )
...
* Implemented NITG's MoveX/Y/Z modifiers
Added modifiers:
MoveX1-n: Moves a column in the x direction, 100% = move left one arrow size.
MoveY1-n: Moves a column in the y direction
MoveZ1-n: Moves a column in the z direction.
2017-02-25 15:48:03 -08:00
Tyler Brekke
8f332653e1
Persistent Coins ( #1405 )
...
On Coin Insert, a file Save/Coin.ini is created if it does not exist, which stores the number of coins currrently in m_iCoins. Whenever m_iCoins is update, the Coin.ini is updated.
On boot, Coin.ini is read and m_iCoins is set to that value. If coins in coin.ini file is greater then MAX_NUM_CREDITS then reset the value to 0.
2017-02-17 08:21:38 -08:00
Matt McCutchen
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
Nickito12
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
Nickito12
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
MrThatKid
854410599f
Fix oitg_zoom_mode ( #1383 )
2017-02-08 10:23:58 -08:00
MrThatKid
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
Jason Felds
8b555bfb30
Allow WITH_FFMPEG to work when disabled for Mac.
2016-12-01 17:12:52 -05:00
Dan Guzek
a7d4919d83
Merge pull request #1302 from dguzek/macOS-10-12
...
fix compilation on macOS 10.12
2016-12-01 16:29:13 -05:00
MrThatKid
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
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
sillybear
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
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
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
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
Kyzentun
019ef5728a
Merge pull request #1173 from kyzentun/no_alloca_in_sound
...
Alloca problems
2016-06-24 16:50:45 -06:00
Kyzentun
3913696379
Merge pull request #1143 from kyzentun/sync_overlay_lua
...
Move ScreenSyncOverlay actors to lua
2016-06-24 16:48:22 -06: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
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
Devin J. Pohly
10ddd549f3
Make sure we always release Lua lock
...
I have a sneaking suspicion that this also magically fixes memory cards
on Linux.
2016-05-24 16:25:23 -04:00
Devin J. Pohly
a9bca762e0
d'oh, meant "cond"
2016-05-24 12:39:04 -04:00
Devin J. Pohly
40dc05e4ed
CMake: check for timed pthreads functions
...
The macros
HAVE_PTHREAD_MUTEX_TIMEDLOCK
HAVE_PTHREAD_COND_TIMEDWAIT
are still being used in the Pthreads threading implementation, but the
CMake build system never sets them, so the timed versions aren't used.
This ended up making WorkerThread heartbeats not beat. </3
2016-05-24 11:52:45 -04:00
Kyzentun Keeslala
2b6768aed9
Remove UndocumentedFeature lua function. It has no legitimate purpose and just crashes with a message.
2016-05-20 19:02:54 -06:00
Kyzentun Keeslala
4361bcd7e3
Don't invalidate the current song or steps until after the music wheel has been constructed, so that themes can safely touch it when handling current song changed.
2016-05-19 11:19:55 -06:00
sillybear
f7cfa2ac91
[ScreenOptionsMasterPrefs] Added new item in NumBackgrounds
2016-05-18 05:37:22 +08:00
Jason Felds
6102c0dab9
Prevent crashes from unconnected Mimimaid devices.
...
This only affects Windows.
2016-05-11 20:49:01 -04:00
Kyzentun Keeslala
073ba9f10b
Forgot to initialize m_tween_uses_effect_delta.
2016-04-24 17:43:52 -06:00
Kyzentun Keeslala
d372a6c8fd
Added timer to not update loading window after every song to speed up loading.
2016-04-18 13:08:20 -06:00
Jason Felds
55913d1a23
Don't reset lights due to settings.
...
Thank Trevor Barribeau for the fix.
This is required for the BlinkGameplayButtonLightsOnNote setting, particularly if it's set to 0 instead of 1.
2016-04-14 22:04:04 -04:00
Jason Felds
bec18a0d36
Fix minor windows pedantic warnings.
2016-03-27 22:03:15 -04:00
Jason Felds
b2f777106a
Merge pull request #1045 from wolfman2000/wolf-warning-cleanup
...
Clean up three sets of warnings:
2016-03-24 19:07:33 -04:00