Glenn Maynard
f11a2ce17e
fix "called SetNewScreen again" case; simplify (only one path now)
2005-06-19 08:48:42 +00:00
Glenn Maynard
63cc873fc9
Simplify delayed/undelayed screen load path. Previously, the "delayed"
...
path would return immediately in SetNewScreen, loading in the next update,
and the "undelayed" path would load under SetNewScreen. Instead, always
load on the next update, and just change the behavior (with "delayed" deleting
the old screen first). These two code paths are both criticial, and they were
too different, leading to inconsistent behavior; this way is simpler.
2005-06-19 08:35:12 +00:00
Chris Danford
c2a8150f16
add HideSystemMessage
2005-06-15 10:01:08 +00:00
Glenn Maynard
d1241420d6
clean up singleton registration: if you were given an L, use it
2005-06-15 02:21:24 +00:00
Glenn Maynard
e374f7722f
fix wrong credits messages showing
2005-05-21 07:15:41 +00:00
Chris Danford
d67d60e178
sync controls cleanup:
...
move sync display/saving out of complicated ScreenGameplay
show sync UI in editor playback as well as gameplay
revert sync from in-memory backup, not from disk
move more functions into debug overlay
2005-05-19 23:29:39 +00:00
Chris Danford
198dbbd6c9
add Lua method
2005-05-18 04:44:15 +00:00
Glenn Maynard
38bbd07fe0
add GetTopScreen
2005-04-15 07:00:21 +00:00
Chris Danford
659def4479
fix Pop message doesn't get sent if more than 1 prompt screen on the stack
2005-03-23 06:46:24 +00:00
Chris Danford
6adaa3f1a2
Add cancel transition for STextEntry
...
Validate new edit name is unique
2005-03-23 05:12:31 +00:00
Chris Danford
ee4be22260
add input length cap
...
fix bogus s_bCancelled flag
2005-03-23 04:08:27 +00:00
Glenn Maynard
e45b39db16
fix ScreenAttract being sent inputs after it calls SetNewScreen, which should never happen
2005-03-21 04:26:08 +00:00
Chris Danford
9cfa779956
remove code to play cancel sound and put the cancel sound in the transition
2005-03-20 08:23:08 +00:00
Chris Danford
bbadc010f4
Implement ScreenMiniMenu with ScreenOptions
2005-03-20 06:41:56 +00:00
Chris Danford
48e6cb1a69
rename back -> cancel because "back" conflicts with "background"
2005-03-20 06:14:41 +00:00
Glenn Maynard
c50adee05a
fix crash when sending screen messages when there is no top screen
2005-03-10 21:18:04 +00:00
Glenn Maynard
d7911ccff9
simpler approach to letting overlay screens grab input
2005-03-09 02:45:33 +00:00
Glenn Maynard
c829318686
remove GrabInputFocus and ReleaseInputFocus
2005-03-09 01:35:31 +00:00
Chris Danford
2d93802641
add Yes/No/Cancel prompt for exiting ScreenEdit
2005-03-08 04:02:25 +00:00
Glenn Maynard
2404ff1641
generic screen popping: pop if pushed, instead of NEXT_SCREEN
2005-03-08 03:52:18 +00:00
Chris Danford
54567e81e1
fix pointer not removed after deleting
2005-03-02 11:09:05 +00:00
Chris Danford
499407d47c
don't delete all prepared screens - just stale versions of ones that are already prepared
2005-03-02 10:58:23 +00:00
Glenn Maynard
8f229918ee
lua
2005-02-28 07:06:29 +00:00
Glenn Maynard
38b5955b52
allow overlay layers to grab focus
2005-02-28 05:33:24 +00:00
Glenn Maynard
1d854909c6
generalize overlay screens; ScreenSystemLayer is no longer a special
...
case
2005-02-28 05:22:53 +00:00
Glenn Maynard
89e1da3fcb
Init already calls ReloadCreditsText
2005-02-28 05:11:34 +00:00
Glenn Maynard
f9f5e0671c
actor messages for system messages
2005-02-28 05:10:08 +00:00
Glenn Maynard
7aef68aa7b
use a message to communicate credits line changes
2005-02-28 05:01:50 +00:00
Glenn Maynard
9d7a5017b1
simplify
2005-02-26 07:56:04 +00:00
Glenn Maynard
c436021a16
generalize m_bIsOnSystemMenu
2005-02-26 07:01:20 +00:00
Glenn Maynard
fd6a03977d
allow default.xml for backgrounds
2005-02-22 22:13:24 +00:00
Chris Danford
02a7b4fef1
fix crash if PrepareScreen called twice
2005-02-17 07:09:55 +00:00
Glenn Maynard
ad59a32a69
flush sound after first update
2005-02-07 07:41:31 +00:00
Chris Danford
8dfdb3f9d2
background shouldn't be optional
2005-02-05 23:09:26 +00:00
Chris Danford
33661c13d6
zero the next update after creating or deleting a screen so we don't skip
2005-02-05 22:11:15 +00:00
Chris Danford
12a5a25648
simplify
...
don't reload shared BGA on metrics/texture reload
2005-02-05 07:35:02 +00:00
Chris Danford
55b44767b4
require "[Screen] Class=foo" so that derived classes can inhereit "Class=" and not have to redefine it
2005-01-31 02:32:08 +00:00
Chris Danford
1f00c84293
play OnCommand for shared background
...
(how did this ever work?)
2005-01-26 10:45:47 +00:00
Adam Lowman
914b8233ee
New Pasword Input Screen and SMOnline Login
2005-01-26 08:50:09 +00:00
Glenn Maynard
e9789a861d
Once a screen is queued to load, discard further inputs
2005-01-19 21:44:03 +00:00
Glenn Maynard
c9091a1214
Don't play "On" automatically for non-generic BGAnimations; play it
...
explicitly, like we do with all other objects.
2005-01-15 19:21:09 +00:00
Glenn Maynard
8d4dcfb209
add assert
2005-01-07 04:50:08 +00:00
Glenn Maynard
4b7ce342f5
add separate Screen::Init
2005-01-03 22:39:41 +00:00
Glenn Maynard
2921aeedaf
make background graphic optional when loading from ScreenManager
2005-01-01 21:20:00 +00:00
Chris Danford
9032ee0163
fix skips in BGAnimation on first update
2004-12-23 09:48:16 +00:00
Chris Danford
9b457eb241
add aspect ratio pref
2004-12-23 06:50:19 +00:00
Glenn Maynard
74886cc5e9
fix PREFSMAN->m_bDelayedScreenLoad
2004-12-15 00:23:50 +00:00
Chris Danford
083db90df8
unload BGA for screens that don't have a background
2004-12-11 10:22:42 +00:00
Chris Danford
7d26f28dee
whoops. Fix AV on creation of first screen.
2004-12-11 10:03:39 +00:00
Chris Danford
8da1e887f4
fix wrong background loaded after a ScreenBranch
2004-12-11 09:54:08 +00:00