Glenn Maynard
0db3211c34
simplify SystemMessage
2007-02-16 02:25:24 +00:00
Glenn Maynard
db273ef711
bind GetCurrentSystemMessage
2007-02-15 11:23:26 +00:00
Glenn Maynard
c3cf5ef59e
remove ProcessMessages
2006-12-20 01:11:49 +00:00
Glenn Maynard
6207f655e5
fix dep: ScreenManager shouldn't use GameState
2006-11-21 02:01:40 +00:00
Glenn Maynard
70d2d0dbc7
PlayerNumber is a simple, regular data structure, and is depended on
...
by lower level things (eg. InputMapper). However, concepts like
"joined players" and "human players" is a high-level, GAMESTATE
concept, and engine stuff shouldn't depend on that. Move the
GameState-depending stuff into GameState. Move
IsAnyPlayerUsingMemoryCard as well (and rename to HumanPlayer),
to fix MemoryCardManager dep.
2006-11-21 01:32:05 +00:00
Steve Checkoway
dc4d0317b5
Don't create a new class just to register a screen.
2006-11-19 00:33:52 +00:00
Glenn Maynard
35fb88e5e5
Drop generic concurrent rendering. It makes too many things very
...
complicated, and I don't trust it at a high level: it makes too
many unchecked things concurrent, so I think it will make things
brittle.
2006-11-13 21:04:17 +00:00
Glenn Maynard
524b2418c7
use LuaThreadVariable
2006-11-02 05:42:47 +00:00
Glenn Maynard
d879e4802a
Move LoadingScreen to a global.
...
LoadingScreen is a variable that should be available to all loading
definitions. Param does this currently, but I'm redesigning that, and this
particular case doesn't fit. Conceptually, it really is a global (though
perhaps should be tucked away with an environment or something).
2006-10-14 02:37:15 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
f4975f1f54
simpler Lua boilerplate
2006-09-27 20:30:29 +00:00
Glenn Maynard
eb376fca1d
simplify singleton registration. Add the singleton global
...
to Lua when the singleton is constructed, and not in the
binding class. The binding just adds the class bindings
(the same as for a non-singleton class). This way, the
binding is available to Lua as soon as the class is constructed.
2006-09-21 04:20:08 +00:00
Steve Checkoway
6ea2a41b00
Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible.
2006-09-17 01:19:19 +00:00
Steve Checkoway
4239a8cf7c
Cleanup.
2006-09-02 06:05:17 +00:00
Glenn Maynard
b33e00d00f
ScreenManager::GetScreen
2006-08-31 20:46:58 +00:00
Glenn Maynard
6e67bff7b8
fix stale statics
...
comments
2006-08-21 18:45:34 +00:00
Glenn Maynard
7e05abc111
always delete old screens on PopAllScreens
2006-08-09 03:28:25 +00:00
Chris Danford
9398c8a2b6
VC6 compile fix
2006-07-02 05:21:59 +00:00
Glenn Maynard
8b2e7065fa
cleanup
2006-07-01 03:15:28 +00:00
Glenn Maynard
9d8dd666a1
add ScreenIsPrepped
2006-06-28 03:52:40 +00:00
Glenn Maynard
a19667e1fc
same logic for screen and background: if it's already there, OK
2006-06-27 05:10:25 +00:00
Glenn Maynard
2db50724a3
fix concurrent loading assert
2006-06-27 05:00:48 +00:00
Glenn Maynard
d27b40598e
fix backgrounds put back in prepared list when they should be deleted
2006-06-24 05:07:04 +00:00
Glenn Maynard
e6d128cb7b
move BG OnCommand back; comment
2006-06-24 01:27:01 +00:00
Glenn Maynard
e61568e4cd
only put the screen/background into g_pSharedBGA/g_ScreenStack in ActivatePreparedScreen; run start functions in LoadDelayedScreen
2006-06-24 01:21:21 +00:00
Glenn Maynard
3dbd1bec71
return a bool: true if all parts loaded
2006-06-24 00:59:23 +00:00
Glenn Maynard
b1fdee1bad
move assert to the right place
2006-06-24 00:50:08 +00:00
Chris Danford
fc3312f9be
broadcast on screen changed
2006-03-26 08:10:53 +00:00
Glenn Maynard
3699674088
add EndScreen(), symmetric with BeginScreen
2006-03-16 05:38:47 +00:00
Chris Danford
58a6402201
play cancel sound when using CancelTransitionsOut, not start sound
2006-03-08 23:58:37 +00:00
Chris Danford
c3ee0bc206
style cleanup
2006-02-24 19:37:28 +00:00
Steve Checkoway
29f97b8dfa
This is a metrics error.
2006-02-18 23:51:21 +00:00
Chris Danford
c8e4672853
force recreate of BGA on aspect ratio change
2006-02-06 07:44:12 +00:00
Chris Danford
3f6199b84a
make ScreenGameplay use a background, but blank it
2006-02-05 05:50:38 +00:00
Glenn Maynard
7df95cd0d4
ScreenType is being overloaded in incompatible ways:
...
- the editor sets "system_menu" to trick StepMania.cpp into not
allowing the operator menu button, to prevent losing data;
- the editor also sets "gameplay" in "playback" mode to influence
ScreenSyncOverlay and ScreenDebugOverlay; this breaks the above,
allowing scroll lock in play mode.
A similar problem happens when we push screens: scroll lock works
in the MiniMenus in the editor.
It's semantically unintuitive to call the editor a "system_menu", anyway.
Split out AllowOperatorMenuButton, and use it directly. Check all
screens, and don't allow it if any screen on the stack disallows it.
2006-02-01 06:54:15 +00:00
Glenn Maynard
d9c81c92cf
don't SavePrefsToDisk. Screens that change preferences that
...
should be saved save on their own.
2006-02-01 06:33:22 +00:00
Glenn Maynard
0017b79116
move DelayedScreenLoad
2006-01-31 05:33:58 +00:00
Glenn Maynard
7dbb26ca3f
remove unused PushScreen
...
hide MakeNewScreen
2006-01-30 09:15:40 +00:00
Glenn Maynard
e8c45e19c6
simplify
2006-01-25 06:25:11 +00:00
Glenn Maynard
f85136f2a8
fix up and simplify prepared screen logic
2006-01-25 06:24:22 +00:00
Glenn Maynard
0f113604b4
cleanup
2006-01-25 06:23:06 +00:00
Glenn Maynard
8afaed1ce0
cleanup
2006-01-25 06:19:29 +00:00
Glenn Maynard
09f84e916a
compile fix
2006-01-25 05:54:32 +00:00
Glenn Maynard
21bc8586cd
split out ScreenManager::ActivatePreparedScreenAndBackground (no real logic change)
2006-01-25 05:49:49 +00:00
Glenn Maynard
89b64ca257
do PushLoadedScreen earlier
2006-01-25 05:47:22 +00:00
Glenn Maynard
a4c8b8d91d
cleanup (remove old transition note)
2006-01-25 05:38:14 +00:00
Glenn Maynard
70f9566313
bind ConcurrentlyPrepareScreen
2006-01-25 05:10:40 +00:00
Glenn Maynard
86aebecbdb
namespace
2006-01-24 03:53:17 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Chris Danford
1e8ccdeda4
spacing cleanup
2006-01-22 00:13:27 +00:00