Glenn Maynard
de00a196d6
set the viewport every frame
2006-01-18 09:18:17 +00:00
Glenn Maynard
4cd44f16dc
cleanup
2006-01-18 09:00:09 +00:00
Glenn Maynard
bd31e7fd92
add helper
2006-01-18 08:47:00 +00:00
Glenn Maynard
0b241c21bd
combine
2006-01-18 08:44:56 +00:00
Steve Checkoway
5676e10e33
Attempt to handle the OGL contexts more gracefully.
2006-01-18 08:44:52 +00:00
Glenn Maynard
e60c194a69
use standard Out transition
2006-01-18 08:43:40 +00:00
Glenn Maynard
a1af44f47f
merge special transitions into one
2006-01-18 08:38:40 +00:00
Steve Checkoway
635564b3fa
Handle GUI quit correctly.
2006-01-18 08:17:39 +00:00
Glenn Maynard
fb0cb6b183
fix assertion
2006-01-18 08:03:22 +00:00
Glenn Maynard
b014a0589f
cleanup
2006-01-18 07:43:17 +00:00
Glenn Maynard
4fdf046cac
cleanup
2006-01-18 07:41:44 +00:00
AJ Kelly
add47caea8
ScreenSelectDifficulty: 4 placeholder graphics, 4 finished graphics
2006-01-18 06:50:15 +00:00
Glenn Maynard
e3798432d4
implement OptionRowHandlerListSteps::Reload
2006-01-18 06:44:13 +00:00
Glenn Maynard
6b7b6f5cd7
fix restoring params
2006-01-18 06:14:58 +00:00
Glenn Maynard
7f4b58a2ce
cleanup
2006-01-18 05:49:37 +00:00
Glenn Maynard
63c010f94e
cleanpu
2006-01-18 05:48:56 +00:00
Glenn Maynard
34b86a2185
reload on BeginScreen
2006-01-18 05:30:29 +00:00
Glenn Maynard
17202a5284
simplify: no need to special case Exit
2006-01-18 04:59:00 +00:00
Glenn Maynard
aab0edf1c2
merge dupe code
2006-01-18 04:56:39 +00:00
Glenn Maynard
74e36431b4
move Load functions together
2006-01-18 04:32:40 +00:00
Glenn Maynard
7537e3fd65
use AfterImportOptions
2006-01-18 04:29:25 +00:00
Glenn Maynard
7b4c4643da
update underlines in AfterImportOptions
2006-01-18 04:25:52 +00:00
Glenn Maynard
6e7af389e8
nudge more
...
we assume we have at least one option in SELECT_ONE and tend
to crash if we don't; assert it
2006-01-18 04:19:40 +00:00
Glenn Maynard
40eacaa61d
After Reload, don't keep the old focus around; our items
...
have changed and there's not necessarily any corrolation
between the old and the new. Connecting those is up to
export/import. (nudging Reload together with LoadNormal
and AfterImportOptions, the logic duplication is confusing)
2006-01-18 04:12:59 +00:00
Chris Danford
31fdeeb3a1
fix VC6 "ambiguous operator=="
2006-01-18 04:11:46 +00:00
Glenn Maynard
71cb277d84
InitText automatically
2006-01-18 04:10:31 +00:00
Chris Danford
cc2558fac6
don't pseudolocalize replacement markers in strings
2006-01-18 04:09:14 +00:00
Glenn Maynard
48aa85bfdb
nudge towards LoadNormal
2006-01-18 04:07:35 +00:00
Glenn Maynard
e8c5ac24a2
Fix up Reload: re-add NextRow, do re-import (or the
...
m_iChoiceInRowWithFocus code is meaningless)
2006-01-18 04:00:58 +00:00
Glenn Maynard
32b83fbc00
move similar code together, in hopes of nudging them together later
2006-01-18 03:18:03 +00:00
Glenn Maynard
6adbf26fb3
Give each "list" type its own class, and create them in OptionRowHandlerUtil::Make.
...
- The metrics-visible "list" type should only be used for items that actually
use ScreenOptionsMaster lists. The fact that the others use the same class
for convenience is an implementation detail.
- Each type can have its own Reload() method, if appropriate.
2006-01-18 02:56:41 +00:00
Steve Checkoway
378a8a2adc
m([:upper:][:alpha:]*) -> m_\1
2006-01-18 02:48:10 +00:00
Glenn Maynard
1f3b71f3b1
move SelectExactlyOne and GetOneSelection into a namespace
2006-01-18 02:00:22 +00:00
Glenn Maynard
a3dc5596de
OptionRow::Reload doesn't take an OptionRowDefinition.
...
Implement Reload() explicitly, so we can clearly short-
circuit for static rows.
Fix up ScreenOptionsEditCourseEntry (broken during the
course of things).
2006-01-18 01:34:45 +00:00
Glenn Maynard
9b37d8966c
LoadInternal doesn't call Init()
2006-01-18 00:09:37 +00:00
Glenn Maynard
b1cfe1bb72
unify m_Def.Init
2006-01-18 00:09:11 +00:00
Glenn Maynard
2b172e7f7c
Remove defOut param; it's always m_Def.
2006-01-18 00:06:25 +00:00
Glenn Maynard
7a3282ea9a
unused
2006-01-17 23:57:19 +00:00
Glenn Maynard
34d7ba08ef
fix ScreenOptionsEditCourseEntry crash
2006-01-17 23:54:32 +00:00
Glenn Maynard
9234462123
hack to fix start on MiniMenu
...
(I have some thoughts to clean this up, on the lines of allowing NextScreen
to expicitly say "pop a screen", but I need to think about it some more.)
2006-01-17 23:43:20 +00:00
Glenn Maynard
04a702ea22
cleanup
2006-01-17 23:26:49 +00:00
Glenn Maynard
9ddd757315
cleanup
2006-01-17 22:54:12 +00:00
Glenn Maynard
15c872389e
partial fix
2006-01-17 22:42:57 +00:00
Chris Danford
7b75640337
use only ANSI APIs and ConvertUTF8ToACP
2006-01-17 22:20:27 +00:00
Glenn Maynard
b60126a261
remove redundant m_RowDef
2006-01-17 22:16:58 +00:00
Glenn Maynard
a7fc41580d
partial revert: m_pHand may be NULL before loaded
2006-01-17 22:15:53 +00:00
Glenn Maynard
ccdf671870
update
2006-01-17 22:10:03 +00:00
Glenn Maynard
fd54367ea7
all option rows have handlers
2006-01-17 22:06:00 +00:00
Glenn Maynard
b6a49fab47
use a handler for LoadExit, too
...
now all option rows have handlers
2006-01-17 22:03:56 +00:00
Chris Danford
b1564c4200
use MessageBoxW. Todo: link with unicows for Win9x.
2006-01-17 21:57:08 +00:00