Crash Cringle
bc65d16c4a
Move LastOpenSection declaration outside of if/else, add clarity to comment
2024-07-07 16:14:07 -07:00
Crash Cringle
667d27b361
Fix Level and Preferred Sorts to account for a song being in multiple sections
...
This commit properly returns you to the correct pack when leaving a folder or returning from another screen.
This is achieved by returning you to your last open section. Previously behavior searched for the first instance of the song in your sort and put you in that section.
2024-07-07 16:14:07 -07:00
Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02:00
Martin Natano
b68ca517e6
Clean up math functions
...
- Remove checking for standard functions from the build system
- Prefix all invocations with std::
- Replace suffixed functions with unprefixed versions
- Include <cmath> in all files that use it and remove the global include
e.g. floorf(x) -> std::floor(x)
2023-04-19 19:31:40 +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
Kyzentun Keeslala
493751c6d2
Changed WheelBase::SetItemPosition to make it send the item index and num items args to the transform function.
2015-09-10 21:39:39 -06:00
Kyzentun
b293a8c073
Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.
2015-02-28 06:25:02 -07:00
Devin J. Pohly
7f55c82846
toggling wheel sections should not end screen
2015-01-31 10:38:14 -05:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Jason Felds
28e5148dec
The big NULL replacement party part 5.
...
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds
a3f37dc2b4
The big NULL replacement party part 3.
...
Getting there I think.
2013-05-03 23:16:39 -04: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
8804288aea
Another deletion smart pointer possible loop.
2013-05-01 21:58:47 -04:00
Colby Klein
1d41b4a921
Add Lua hook for WheelBase:Move. Useful for Mouse support/messing with people.
2012-12-28 17:02:49 -08:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
1fc16698ba
War on -Werror, part 12: explicit bool usage.
...
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
AJ Kelly
ae20fbf2a0
deprecate WheelBase:IsLocked() now that GetWheelState() exists
2012-03-08 18:48:17 -06:00
AJ Kelly
00a76ac1f9
[WheelBase] Made WheelState a Lua-enabled enum, added GetWheelState() Lua binding.
2012-03-08 18:46:54 -06:00
AJ Kelly
02ae959aab
[MusicWheel, WheelBase] Added collapse sound.
2012-03-01 21:35:33 -06:00
AJ Kelly
dc3300ae90
[WheelBase, WheelItemBase] Turned WheelItemDataType into a Lua type, made WheelBase:GetSelectedType() return the enum instead of a number.
2012-02-10 13:57:24 -06:00
AJ Kelly
d163b5ae2b
oops, GetNumItems served this purpose already
2011-12-29 11:03:37 -06:00
AJ Kelly
ec74678b70
Add MusicWheel:IsRouletting and WheelBase:GetNumWheelItems Lua bindings.
2011-12-27 11:03:02 -06:00
Colby Klein
2e5d5f3697
Add some Lua bindings for the music wheel and items.
2011-12-20 01:47:49 -08:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
8fa1aa09b6
[WheelBase] Add GetCurrentIndex and GetNumItems Lua bindings.
2011-03-08 19:26:08 -06:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds
00257e7995
Consistent semicolon use.
...
This is C++, not Python!
2011-02-18 20:40:51 -05:00
AJ Kelly
6a198fd644
cleanup
2011-02-18 14:07:21 -06:00
AJ Kelly
204f932155
[WheelBase] enable SetOpenSection Lua binding
2011-02-18 13:47:32 -06:00
AJ Kelly
642f4b107c
the various changes that I forgot to commit (cleanup and so forth) into hg,
...
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly
02c7037721
sm-ssc v1.0 Public Beta 1 code changes
2010-03-01 00:44:39 -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