Glenn Maynard
74e02e55ef
make sure that large updates don't throw hibernation timing out of sync;
...
this also affects small updates, preventing small sub-frame timing errors;
if there's 10ms of hibernation left, and a 17ms update arrives, we should
update for only 7ms, not 17ms
2005-02-24 20:37:39 +00:00
Glenn Maynard
a6c189529a
obey m_fHibernateSecondsLeft, so a 3-second TipShowTime that
...
starts by delaying off-screen for 2.5 seconds can instead hibernate,2.5,
to avoid showing the first tip for only .5 seconds
2005-02-24 20:32:10 +00:00
Glenn Maynard
aa279e07e2
lua
2005-02-24 20:04:46 +00:00
Glenn Maynard
3b993dfa08
Replace PopStack with FromStack as a basic overloaded function.
...
Move Push and FromStack into a namespace, so other files can add to it;
that way, we can say Push(1) or Push(Actor*), instead of Push(1) and
pActor->PushSelf(), allowing easier templating.
Add presently unused/untested LuaHelpers::ReadArrayFromTable.
2005-02-24 20:03:07 +00:00
Chris Danford
182db1222f
Have OptionRows subscribe to a Message in order to refresh
2005-02-24 15:40:05 +00:00
Chris Danford
017dd5d048
fix AV
2005-02-24 13:49:42 +00:00
Chris Danford
3dac5430c2
theme StepsType
2005-02-24 13:49:23 +00:00
Chris Danford
fb4ab8886c
save the Handler in OptionRow so a row can refresh itself without needing the Screen to Import/Export
2005-02-24 13:48:14 +00:00
Chris Danford
ab22e629d4
enforce that changed message is broadcast whenever value changes
2005-02-24 12:27:30 +00:00
Chris Danford
94743864e6
add OptionRowHandler types for EditMenu
2005-02-24 11:36:19 +00:00
Chris Danford
2dfb9f148e
move bExportOnChange into OptionRowDef from OptionRowHandler
2005-02-24 11:35:31 +00:00
Chris Danford
2dd60fb413
update List row types
2005-02-24 08:00:36 +00:00
Chris Danford
7d09d1baa9
more fun cleanup
2005-02-24 07:58:03 +00:00
Chris Danford
f3783a3d1b
fix tweening of LAYOUT_SHOW_ONE_IN_ROW
2005-02-24 07:12:43 +00:00
Glenn Maynard
155a7bacbc
rename NumArcadeStages pref to SongsPerPlay, to match the options menu
...
(that name is more consistent); duplicate a bit less info
2005-02-24 06:41:50 +00:00
Chris Danford
5797d6a867
cleanup
2005-02-24 06:33:50 +00:00
Glenn Maynard
37b4f67c9f
simplify
2005-02-24 06:30:56 +00:00
Glenn Maynard
6fbc047fcf
Caution -> ShowCaution
2005-02-24 06:28:49 +00:00
Glenn Maynard
37fdbdede3
move MovePref; rename Caution -> ShowCaution and simplify
2005-02-24 06:28:15 +00:00
Glenn Maynard
d7800a2822
UseDedicatedMenuButtons -> OnlyDedicatedMenuButtons (fixes
...
input options)
2005-02-24 06:20:04 +00:00
Chris Danford
ca3684b232
cleanup, fix offset vbSelected values when using NextRow choice at the front
2005-02-24 06:10:11 +00:00
Glenn Maynard
a9c73de5b6
fix ZIP thread-safety?
2005-02-24 06:07:49 +00:00
Chris Danford
fbf7bc4f26
split OptionRowHandler out of ScreenOptionsMaster
2005-02-24 04:56:36 +00:00
Glenn Maynard
185966bd35
settext takes a string
2005-02-24 01:31:21 +00:00
Chris Danford
7c237be91f
export specific rows, not all rows at once, to make it easier to reload certain rows
2005-02-24 01:17:39 +00:00
Chris Danford
f395d0a401
preload commands
2005-02-23 23:04:06 +00:00
Glenn Maynard
2da21b16d4
rename m_iNumSingleSongsPlayed -> m_iNumTotalSongsPlayed
...
replace GetTotalNumSongsPlayed
2005-02-23 22:59:56 +00:00
Glenn Maynard
c6de356dca
Keep track of number of songs played. The other stats all count per-
...
player: if one person plays on Hard and one on Easy, then each will
be incremented. That's useful, but it's also helpful to track the simple
number of songs played, irrespective of how many people were playing
at the time.
2005-02-23 22:52:03 +00:00
Glenn Maynard
9ff32c8d25
fix init
2005-02-23 22:45:01 +00:00
Glenn Maynard
456c2074e7
do "skip screen" tests in Init(), since Init() is still called even if we
...
SetNewScreen() in the screen ctor
2005-02-23 22:36:00 +00:00
Chris Danford
5ed6736eef
sScreenName -> sType
2005-02-23 22:21:39 +00:00
Chris Danford
b1a7e15042
remove default param values to simplify
2005-02-23 22:14:58 +00:00
Chris Danford
480088576a
load metrics from m_sType, not m_sName
2005-02-23 22:14:31 +00:00
Chris Danford
5cdaec5edf
don't Init if no characters
2005-02-23 22:13:29 +00:00
Chris Danford
4a926a4605
DifficultyMeter: set name before load
2005-02-23 22:13:06 +00:00
Chris Danford
ca1f7e5893
hush
2005-02-23 22:11:33 +00:00
Glenn Maynard
bf85d3d3ac
fix update
2005-02-23 21:13:09 +00:00
Glenn Maynard
31fc8bc1e7
asserts
2005-02-23 20:59:07 +00:00
Glenn Maynard
148bee1c51
re-update
2005-02-23 20:58:07 +00:00
Chris Danford
555d5aa2fe
don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor.
2005-02-23 20:40:46 +00:00
Chris Danford
b45d0ddff3
broadcast on steps change
2005-02-23 20:39:27 +00:00
Chris Danford
167aa06970
don't propagate "Init"
2005-02-23 20:37:21 +00:00
Glenn Maynard
4eeb0fd884
cleanup
2005-02-23 19:29:49 +00:00
Glenn Maynard
22b6a821d5
tabs
2005-02-23 19:22:52 +00:00
Glenn Maynard
b46daecd2f
Commit stats to profiles before loading ScreenEvaluation.
2005-02-23 19:18:11 +00:00
Chris Danford
42c5e2b3f9
allow specifying a Lua function for a command with "%funciton(self) self:blah end"
2005-02-23 19:15:24 +00:00
Glenn Maynard
53f7fbd890
fix VC7 compile
2005-02-23 19:11:40 +00:00
Glenn Maynard
fc1c863f8a
omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as
...
a prototype
2005-02-23 19:09:13 +00:00
Chris Danford
bb032d6a2b
improve error message
2005-02-23 19:06:31 +00:00
Chris Danford
b9b693818c
fix Actor not subscribing. Is it a compiler bug that this failed silently instead of erroring?
2005-02-23 18:57:10 +00:00