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
Ivana Kellyerova
02b9925b12
Allow ScreenSelectProfile to Finish() with guest players
...
Passing a -3 as profile index to ScreenSelectProfile's SetProfileIndex now
allows a player to play without having a local or USB profile assigned.
Also adds a message (PlayerProfileSet) that's broadcast anytime a player selects
a profile or chooses to play as a guest and subscribes ScreenSelectMusic to it.
2022-06-11 22:53:07 +02:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07: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 <matt@mattmccutchen.net >: 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
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Kyzentun
6be879f06d
Fix PlayerStageStats::SetLifeRecordAt to broadcast correct message for the player. Also adds Message::Message(MessageID) constructor.
2014-08-06 04:41:05 -06:00
Kyzentun
fb1a251b7a
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-07-12 14:59:10 -06:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Devin J. Pohly
1220dbe085
Revert "Round 2-2 of this."
...
This reverts commit 0ae4183f7b .
2013-06-04 23:47:22 -04: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
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
a6133c35c3
Some more loops.
...
Hmm...I think I see a refactoring opportunity.
2013-04-30 20:47:16 -04:00
Jason Felds
46d15c23dc
Another loop, another white spaced file.
2013-04-27 13:36:19 -04:00
Jason Felds
0ae4183f7b
Round 2-2 of this.
2013-04-16 00:16:02 -04:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
2681c669c2
these should be here for now.
2011-02-23 04:57:34 -06:00
AJ Kelly
d78b379464
alright, now mouse support is getting somewhere.
2011-02-23 04:33:55 -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
e01fab250f
[MessageManager] Added MenuStartP1 and MenuStartP2 messages.
...
[ScreenSelectMaster] Broadcast MenuStartP# messages; allow themers to handle the MenuStartP# message on screenless items.
2010-12-20 23:25:00 -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