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
Glenn Maynard
4593124978
seems clearer this way
2006-01-17 01:49:18 +00:00
Glenn Maynard
3a63f5b7ef
as well as during load, set LoadingScreen during BeginScreen.
...
Scripts can already use GetTopScreen to get this. However, that function
also returns data that may not be what's wanted. For example, commands
can be run on screens that aren't on top (eg. via broadcasts). So, using
GetTopScreen as a fallback for LoadingScreen may cause latent bugs;
screens should behave properly even when they're not on top, even if
they're using queued broadcasts to kick off animations, etc.
2006-01-14 05:32:54 +00:00
Glenn Maynard
a462b2a640
fix screens not being unloaded correctly when not DelayedScreenLoad
2006-01-11 00:59:38 +00:00
Glenn Maynard
e16a396868
split out GrabPreparedActors
2006-01-11 00:54:45 +00:00
Glenn Maynard
a9020229ee
fix screen preloading when DelayedScreenLoad
2006-01-10 00:15:53 +00:00
Glenn Maynard
f10898b806
Oops. We started setting the theme's expected coordinate space
...
in Screen, by calling SetFOV to make ActorFrame do LoadMenuPerspective.
That broke screen backgrounds, which are rendered outside of any
screen, so they always used 640x480 (the default).
2006-01-01 03:47:02 +00:00
Steve Checkoway
ada5f4f00f
Use ASSERT like a function.
2005-12-30 13:19:40 +00:00
Glenn Maynard
61c5ab9cb1
unued
2005-12-30 04:22:04 +00:00
Chris Danford
5d7885c764
move game prefs into PrefsManager
2005-10-27 04:54:45 +00:00
Glenn Maynard
f413d3e412
If a screen has no BG, we create a blank Actor without looking at g_vPreparedBackgrounds.
...
Don't put them on there when we're done; they'll never be reused.
2005-10-25 12:42:32 +00:00
Chris Danford
ced0a0c6e9
fix transition sounds playing when attract sounds are off
2005-10-13 22:07:40 +00:00
Glenn Maynard
e7caafa45c
Fix screens occasionally being loaded twice.
2005-10-13 05:18:45 +00:00
Glenn Maynard
c21b8ad7a9
simplify (prep for a fix)
2005-10-13 05:10:52 +00:00
Glenn Maynard
57153b6c6c
All of these should be played during silent attract (except for Invalid). Remove
...
volume setting (that was the same as m_bIsCriticalSound).
2005-10-04 07:47:15 +00:00
Chris Danford
15880eafd6
When in attract and not playing attract sounds, have SOUNDMAN only play sounds with RageSoundParams.m_bCriticalSound == true.
...
Currently, only the coin sound has RageSoundParams.m_bCriticalSound = true.
2005-10-04 06:51:06 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00
Chris Danford
bb10c7c21f
pass around InputEventPlus in Screen::Input instead of multiple input structures
2005-09-05 02:26:50 +00:00
Glenn Maynard
2d0ad05ebf
comment
2005-08-29 00:47:45 +00:00
Glenn Maynard
4b17b13683
Log texture diags when loading a screen, not when pushing, so we don't cause a skip when pushing a prepared screen.
2005-08-25 18:12:23 +00:00
Glenn Maynard
65beab6826
short circuit on already prepared
2005-08-15 15:44:29 +00:00
Glenn Maynard
d0c14b9187
pull out RunConcurrentlyPrepareScreen
2005-08-15 15:19:34 +00:00
Glenn Maynard
1fd5a40e92
log background loads
2005-07-29 04:08:33 +00:00