sukibaby
abf89ec2b1
Replace SAFE_DELETE / SAFE_DELETE_ARRAY macros
...
SAFE_DELETE -> RageUtil::SafeDelete
SAFE_DELETE_ARRAY -> RageUtil::SafeDeleteArray
Update JsonUtil.h to include RageUtil.h - MSVC doesn't need it included for some reason, but GCC and XCode does.
2024-09-30 15:13:32 -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
Brian Phlipot
4a6b1a743c
Enable more compiler warnings and treat them as errors.
2023-02-02 11:54:17 -08: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
Jason Felds
bec18a0d36
Fix minor windows pedantic warnings.
2016-03-27 22:03:15 -04:00
Jason Felds
80542a5a7d
Require reasons for checkpoints.
2015-06-08 18:37:13 -04:00
Kyzentun
8993cfe729
Added MuteActions preference checking to RageSound::PlayCopy. Modified ActorSound and GameSoundManager::PlayOnce to take is_action args. Fixed doc for playcommand to mention the param table.
2015-04-08 16:15:14 -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
Kyzentun
b2ceb184fa
Range check option row index from lua in ScreenOptions:GetOptionRow to fix seg fault.
2015-01-12 13:08:38 -07:00
Kyzentun
50df61a0ca
Fixed RollingNumbers to work with corner diffuse colors. Changed diffuse loops to use NUM_DIFFUSE_COLORS instead of 4.
2014-11-01 16:42:51 -06:00
Kyzentun
3945a4a34b
Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation.
2014-08-02 00:38:46 -07:00
Kyzentun
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-08-02 00:38:18 -07:00
Kyzentun
045e9edcdd
Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange.
2014-06-19 06:41:18 -06:00
AJ Kelly
7ed3095492
Allow per-screen Start sounds instead of forcing Common Start
...
(Sourced from shakesoda/stepmania.)
2013-10-06 23:03:50 -05: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
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
fb66e2139f
Some more loops.
2013-05-01 23:12:51 -04:00
Devin J. Pohly
d13ac7e7a2
modify Input() on screens to return boolean
2013-01-12 22:48:38 -05:00
Colby Klein
f4ac89c3c2
Same mouse input eating fix from ScreenSelectMusic.
2012-12-28 23:23:56 -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
Jason Felds
e01537405f
war on -Werror, part 8: more informals.
...
General guide: if the parameter name and its typings
match almost exactly, the name goes away.
Otherwise, it's commented out to allow for some
documentation.
2012-12-27 00:00:28 -05:00
Devin J. Pohly
7aac8c5ae3
war on -Werror, part 2: unused variables and dead code
2012-12-26 20:35:02 -05:00
Jason Felds
db3b93f79e
hgeol attack during debugging.
2012-05-21 21:09:47 -04:00
Flameshadowxeroshin
ed9c3934c7
all the live long eh
2011-09-25 21:23:01 -05:00
Flameshadowxeroshin
400e10e79b
senhor saturno~~~~~
2011-09-25 21:21:21 -05:00
Flameshadowxeroshin
f2f4a67918
senhor saturno episode II: stupid star wars joke here
2011-09-26 02:08:31 +00:00
Flameshadowxeroshin
e9cd8cf863
senhor saturno beckons
2011-09-26 02:03:12 +00:00
Flameshadowxeroshin
c0634d5be8
really bad error fixed
2011-08-31 03:42:03 +00:00
Flameshadowxeroshin
49d2201882
add SetOptionRowFromName to ScreenOptions. not yet tested or proofread.
2011-08-31 03:41:26 +00:00
Flameshadowxeroshin
c776367a03
added some code I am working on and properly added the RunLuaScripts binding
2011-08-18 23:56:16 -05:00
Jason Felds
dbdab4759e
[Xcode4] May as well fix switch warnings.
...
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
AJ Kelly
544f927932
[ScreenEdit] Fixed a crash when hitting Enter in the F1 help menu.
2011-07-02 18:54:07 -05:00
Jason Felds
0a7b9ce170
Some respect for OOP. (MasterPlayerNumber)
2011-06-06 20:40:11 -04:00
AJ Kelly
3d4a439960
[OptionRow] Added SelectMultipleMessageCommand, ChangeValueMessageCommand.
2011-04-30 05:22:17 -05:00
AJ Kelly
3869c69098
[ScreenOptions] Renamed "ScreenOptions LineHighlight" to "ScreenOptions LineHighlight P#", making it load per-player.
2011-04-30 03:45:16 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
035e0830d7
move message
2011-02-20 12:54:26 -06:00
AJ Kelly
9f6342ac7c
[ScreenOptions] Added Change message (params: RowIndex, ChangedToExit).
...
Added FocusedItemEndsScreen(PlayerNumber) and GetOptionRow(int) Lua bindings.
2011-02-19 23:45:00 -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
f3626734d2
Add Menu(Left/Right/Up/Down)(P1/P2) messages to ScreenOptions.
2010-07-17 02:40:44 -05:00
AJ Kelly
32ad5f4e43
some cleanup
2010-05-26 15:59:07 -05: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