Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02:00
Michael Sundqvist
0cba3579de
Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
...
Fix whitespace changes
2022-07-31 22:14:38 +02:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07: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
3fb36af157
Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox.
2014-12-09 22:27:00 -07:00
Kyzentun
c9a17dc48e
Added metrics for setting the screens Edit Mode uses for setting mods. Added functions for apply ModsLevel_Preferred to the other levels.
2014-12-09 21:59:01 -07:00
Kyzentun
b6b840187d
Made PlayerState:GetCurrentPlayerOptions safe to use. Added Docs/Themerdocs/modslevel.txt to explain what ModsLevel should be used by a theme using the new PlayerOptions interface.
2014-05-02 21:25:59 -06:00
Kyzentun
421a9be57b
Ripped out existing PlayerOptions Lua interface and replaced it wholesale. Removed PrefsManager's DefaultFailType enum. Moved PlayerOptions::FailType enum to GameConstantsAndTypes and made it Lua accessible. Changed ModsLevel enum to include ModsLevel_Current to make accessing that ModsLevel easier to access. Rearranged ModsGroup appropriately. Added non-const Get functions to ModsGroup. Removed PlayerOptions.m_bSetTiltOrSkew because it had no reason to exist. Moved 200.0f to the const CMOD_DEFAULT because it was being used in more than one place.
2014-05-01 23:23:20 -06:00
Jason Felds
ba59dd1656
The big NULL replacement party part 2.
...
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds
c67419ecc8
There goes the macro file.
...
This is one of my bigger commits in this branch.
Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds
792ecf427d
One loop.
2013-05-01 22:19:27 -04:00
Devin J. Pohly
106838cf64
fix warning about const float
2013-01-31 13:35:39 -05:00
Devin J. Pohly
ce507b9800
use empty TimingData in Steps to signify fallback on Song timing.
...
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.
Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Jason Felds
bddbed7e7e
war on -Werror, part 11: const int -> float loss.
...
Had to work around the inline static const int rule
to do it, but at least there is no data loss now.
2012-12-27 11:13:41 -05:00
AJ Kelly
80f8d2122a
[PlayerState] Enabled GetPlayerController Lua binding.
2012-05-27 12:56:25 -05:00
Jason Felds
08d3abbe44
New branch: [sm5a2futures]
...
Want to make sure we don't cause conflicts for future 1a builds.
This commit: change the sentinel for launching attacks immediately.
This way, songs with negative gaps can have attacks work here.
Thanks to Saturn for the assist.
2012-02-23 22:50:03 -05:00
AJ Kelly
f1e412e961
[PlayerState] Added GetSuperMeterLevel() Lua binding.
2011-11-30 00:44:27 -06:00
Thai Pangsakulyanont
8fdf42e2bb
Add PlayerState::GetDisplayedPosition() and PlayerState::GetDisplayedTiming()
...
which returns the dispalyed position and timing (based on the timing display
switch in the editor), so less copy n paste in ArrowEffects and NoteField.
2011-09-14 12:20:42 +07:00
Jason Felds
0a7b9ce170
Some respect for OOP. (MasterPlayerNumber)
2011-06-06 20:40:11 -04:00
Flameshadowxeroshin
6975b9393a
[splittiming] GetSongPosition works.
2011-05-15 13:34:01 -05:00
Flameshadowxeroshin
84f2457aa4
[splittiming] Add PlayerState.GetSongPosition() and GameState.GetSongPosition() to Lua; add lua bindings to SongPosition
2011-05-15 07:53:06 -05:00
Thai Pangsakulyanont
ab8b76b3b8
[splittiming] NoteDisplay, NoteField, Player, PlayerState (182)
2011-05-10 20:27:12 +07:00
AJ Kelly
445f9a5e32
* [PlayerOptions] Added UsingReverse() Lua binding (automatically tests GetReverse() == 1)
...
* [PlayerState] Added GetCurrentPlayerOptions() Lua binding
2011-04-16 21:10:44 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
18f7dea5f9
[PlayerState] The old GetPlayerOptions() binding is now GetPlayerOptionsString(). There is a new GetPlayerOptions() binding that gets the PlayerOptions object, which has a GetNoteSkin() binding (and hopefully more in the future).
2011-02-27 18:36:05 -06:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
AJ Kelly
53a8a435ef
remove unfinished karaoke mode
2010-08-19 21:24:35 -05:00
AJ Kelly
d0b2a6940d
[GameCommand] Remove pushscreen
...
[ScreenOptionsMasterPrefs] Reset Judge and Life values to the ones in SM4
[ScreenNetEvaluation] add Score, Grade, PlayerOptions params to UpdateNetEvalStats message
[PlayerState] add GetHealthState Lua binding
small cleanup in statsman
2010-08-15 15:26:27 -05:00
AJ Kelly
4c3406aeee
Add PlayerState:GetPlayerOptionsArray() Lua binding.
2010-06-26 19:58:29 -05:00
AJ Kelly
a7b52df0fa
cleanup and comment part unknown of a trillion
2010-03-09 12:21:56 -06:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00