Glenn Maynard
e85313f96a
hide/show player-specific elements
2005-07-22 20:24:38 +00:00
Glenn Maynard
26b5ac01d3
We don't know which players are joined until BeginScreen, so always load
...
assets for both players (fixes preload asserts). This isn't an important
optimization point: it's not acceptable for a screen to be so much slower in
2-player than 1-player that this type of optimization would matter. Also, always
loading both players will help reduce the chance of code that's too slow in
2-player not being noticed due to only being tested in 1-player.
2005-07-22 06:30:19 +00:00
Glenn Maynard
2f8f782c47
use Copy()
2005-07-18 23:01:06 +00:00
Glenn Maynard
ab07232a8b
undo unintentional behavior change; comment it for next time
2005-07-18 22:58:06 +00:00
Glenn Maynard
5bf4e9323f
don't set up actors that we're not using; we create lots of OptionRows
2005-07-18 21:25:07 +00:00
Glenn Maynard
cece1f837c
don't set up actors that we're not using; we create lots of OptionRows
2005-07-18 21:03:43 +00:00
Glenn Maynard
18910dd754
cleanup
2005-07-16 10:17:10 +00:00
Glenn Maynard
0fcda13da1
temp fix for double-free
2005-07-16 10:16:23 +00:00
Chris Danford
146c505c5a
change sprBullet to an AutoActor
2005-07-16 07:01:48 +00:00
Glenn Maynard
d8bf6df4aa
move metrics into OptionRowType, too
2005-07-16 03:23:53 +00:00
Glenn Maynard
b925b2d7ca
instead of loading actors inside OptionRow, load a single copy of each
...
one we need, and then make copies as needed. This avoids lots of
extra loading (which can be slow, even with refcounted data; lots of path
lookups, etc). (Trying to get this to the point where we can construct new
OptionRows for a menu without making a whole new menu.) This approach
means we don't lose the potential to have different sTypes of OptionRow
in a single menu. (The annoying bit is that any actor we copy has to handle
copying, which is tricky for ActorFrame and doesn't work yet for AutoActor.
Working on it ...)
2005-07-16 02:51:17 +00:00
Glenn Maynard
a75ef49210
preparatory (s/m_sType/sType/, no other changes)
2005-07-16 02:44:48 +00:00
Glenn Maynard
19d43d20d1
init m_vbSelected, like LoadNormal
2005-07-16 01:26:56 +00:00
Glenn Maynard
42e531768c
make LoadExit a bit less of a special case
2005-07-16 01:23:36 +00:00
Glenn Maynard
e3d19324db
explicitly hide underline if ROW_EXIT
2005-07-16 01:21:42 +00:00
Glenn Maynard
7b0bf75ebb
explicitly hide title and bullets if ROW_EXIT
2005-07-16 01:20:05 +00:00
Glenn Maynard
3a0d10dff7
cleanup
2005-07-15 21:49:12 +00:00
Glenn Maynard
ca6d18745f
cleanup
...
InitText in OptionRow::Reload instead of UpdateText
2005-07-15 21:48:06 +00:00
Glenn Maynard
d0c2daeadb
fix crash when no choices due to m_iChoiceInRowWithFocus not being
...
set to -1 yet
2005-07-15 07:19:36 +00:00
Glenn Maynard
618f71f3d4
separate initializing text and setting m_iChoiceInRowWithFocus
2005-07-15 06:54:10 +00:00
Glenn Maynard
ff5f5f4035
separate frame for deleted objects
2005-07-15 06:34:06 +00:00
Glenn Maynard
3bdcdc8943
use m_textItemParent
2005-07-15 06:28:13 +00:00
Glenn Maynard
d9068e601d
LoadOptionIcon -> SetOptionIcon
2005-07-15 05:43:10 +00:00
Glenn Maynard
5c441a5fdf
We load lots of the same thing in OptionRows. Instead of loading each one
...
individually, just load one and copy it for the rest; this avoids doing
the whole "search, read redir, find refcounted" code path for every
option. Don't load data from OptionRow::AfterImportOptions.
2005-07-15 05:34:54 +00:00
Chris Danford
8998dfc589
add SetOneSharedSelectionIfPresent
2005-07-13 19:09:13 +00:00
Chris Danford
848d6c89e2
OptionRow: member name cleanup, add focus commands
2005-07-06 06:11:56 +00:00
Chris Danford
16fc6e6723
add ScreenOptionsProfiles (to soon replace ScreenProfileOptions)
2005-07-05 11:30:30 +00:00
Chris Danford
6ab20c5ad9
more work on a new course editor
2005-06-28 08:11:30 +00:00
Chris Danford
5b19933b3f
working on new course editor
2005-06-26 23:31:36 +00:00
Chris Danford
7a1d736694
working on new course editor
2005-06-26 21:31:07 +00:00
Chris Danford
94c495fa79
working on new course editor
2005-06-24 05:39:50 +00:00
Glenn Maynard
cee617b119
assert
2005-05-08 07:38:36 +00:00
Chris Danford
3db3500226
remove size on statc CString arrays so that XToString can catch size differences
2005-05-05 19:55:04 +00:00
Chris Danford
1f76af4df2
tracking down assert on SPlayerOptions
2005-04-25 07:02:33 +00:00
Glenn Maynard
37b3705ffa
fix OneChoiceForAllPlayers options not being imported when only p2 is active
2005-04-19 03:30:30 +00:00
Glenn Maynard
f0b50dd5b9
Put everything in OptionRow inside a frame, and use the frame to tween
...
Y, to fix smooth scrolling.
2005-04-16 23:19:06 +00:00
Glenn Maynard
8ae469b03a
PositionUnderlines uses P1's selection in bOneChoiceForAllPlayers, so we need to set P1's selection in SetOneSharedSelection even if disabled.
2005-04-14 06:53:36 +00:00
Chris Danford
134cdb4451
fix skip when changing value in row:
...
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Chris Danford
61a5f51344
fix new Screens get created 3x after the last GameCommand change
...
remove complicated GetAndEraseScreen logic and export SELECT_NONE rows if they have focus, otherwise don't export them (fixes InsertCoin row)
2005-03-30 03:29:35 +00:00
Chris Danford
30ec0cdb7d
remove ShowUnderlines. Use SELECT_NONE to not show underlines
2005-03-30 02:37:19 +00:00
Charles Lohr
424b831b9a
Fix: change operand order to utilize VC 6 hack
2005-03-25 22:46:12 +00:00
Chris Danford
c2a776661d
add OnCommand for Items and Icons
2005-03-25 04:14:49 +00:00
Steve Checkoway
ae02033893
Fix warnings.
2005-03-23 21:04:40 +00:00
Glenn Maynard
fda710a858
fix crash for real this time? (thought this was the first thing I tried ...)
2005-03-23 01:17:40 +00:00
Glenn Maynard
896c5dad55
fix fitness menu crash
2005-03-22 05:26:51 +00:00
Chris Danford
9dff2c6308
fix AV if 0 choices in row
2005-03-21 03:02:00 +00:00
Chris Danford
54e838a328
always theme the exit row
2005-03-21 00:53:55 +00:00
Chris Danford
e49c74a2c8
Always theme the NEXT_ROW item
2005-03-21 00:19:34 +00:00
Chris Danford
2f4d814a64
allow dynamically generated rows to override theming
...
remove unused EditAction row type
2005-03-20 23:40:26 +00:00
Chris Danford
427253a4f0
fix cursor graphics loaded instead of underline
2005-03-20 23:12:29 +00:00