Glenn Maynard
daf3688409
We don't actually care that GetMicrosecondsSinceStart returns a time since
...
start; only that it's self-consistent. If we want time since start, we
can record it ourself instead of making platform-specific code do it, and
only GetTimeSinceStart needs to do that, not RageTimers.
2005-07-19 03:09:20 +00:00
Glenn Maynard
71c765ba66
warnings
2005-07-19 00:55:02 +00:00
Glenn Maynard
c23d0ae90e
fix warning
2005-07-19 00:51:54 +00:00
Glenn Maynard
e1fdd56297
not virtual
2005-07-19 00:46:48 +00:00
Glenn Maynard
a5bed04ed3
Copy()
2005-07-19 00:18:32 +00:00
Glenn Maynard
2f8f782c47
use Copy()
2005-07-18 23:01:06 +00:00
Glenn Maynard
47489964d2
copy children if m_bDeleteChildren; this allows copying ActorFrames, including
...
ones loaded from XML
2005-07-18 22:59:34 +00:00
Glenn Maynard
ab07232a8b
undo unintentional behavior change; comment it for next time
2005-07-18 22:58:06 +00:00
Glenn Maynard
55d6382c49
add virtual Copy() to Actor
2005-07-18 22:00:19 +00:00
Glenn Maynard
d7c7780f65
ShowUnderlines=1
2005-07-18 21:41:07 +00:00
Glenn Maynard
576a82f895
metrics
2005-07-18 21:26:16 +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
d34a45252c
fix accessing unloaded m_MenuTimer
2005-07-18 20:42:13 +00:00
Glenn Maynard
f7af079f63
noisy
2005-07-18 19:49:46 +00:00
Glenn Maynard
5856678140
forgotton commit
2005-07-18 19:30:36 +00:00
Glenn Maynard
9ef48d4a48
reuse preloaded sounds
2005-07-18 19:09:31 +00:00
Glenn Maynard
2493236cea
add reference counting for preloaded sounds
...
This doesn't give full refcounting: loading a sound that isn't preloaded
will still go through a full load (eg. initting Vorbis, etc). This handles the
most expensive case, where the whole sound is loaded. This case is
easy because we can make free copies, and track the number of copies
remaining to handle cleanup.
2005-07-18 19:08:28 +00:00
Glenn Maynard
c3ff27796a
add GetReferenceCount
2005-07-18 19:06:32 +00:00
Chris Danford
2a3bc57f43
fix crash after trying to load a non-existant local profile
2005-07-18 17:34:47 +00:00
Chris Danford
c3fd71dd76
fix assert double-loading the static song background
2005-07-18 17:34:00 +00:00
Glenn Maynard
c76799ffa0
do slow loads in ScreenOptions::Init, not ScreenOptions::InitMenu
2005-07-18 03:42:10 +00:00
Glenn Maynard
e2086bcb5b
import options in ScreenOptions::BeginScreen, not ScreenOptions::InitMenu, so
...
we'll re-import if the screen is re-pushed
2005-07-18 03:41:15 +00:00
Glenn Maynard
a087e02054
cleanup
2005-07-18 03:16:18 +00:00
Glenn Maynard
6d89d0325c
cleanup
2005-07-18 02:47:16 +00:00
Glenn Maynard
cc00fbb7ef
simplify
2005-07-18 02:45:40 +00:00
Glenn Maynard
a37a18aada
unneeded
2005-07-18 02:42:26 +00:00
Glenn Maynard
15558d4cac
cleanup: don't need a special case for this anymore
2005-07-18 02:39:51 +00:00
Glenn Maynard
93f9d0e3e5
cleanup
2005-07-18 02:36:03 +00:00
Glenn Maynard
5161a06e08
simplify
2005-07-18 02:31:51 +00:00
Glenn Maynard
5ee52b0db5
The screen that pushes a screen sets the pop message, not the pushed screen.
...
This pushing screens without them needing to be aware of it. (This will also allow
a pushed screen to replace itself with another pushed screen without having to
propagate the finalization message across; that'll make more sense if the rest of
this pans out ...)
2005-07-18 02:28:16 +00:00
Glenn Maynard
d2e4190a4e
explicit load for MenuTimer, so we don't load anything if we don't want it
2005-07-18 02:08:15 +00:00
Chris Danford
691c7f0c68
don't cast to const on Get
2005-07-18 01:52:32 +00:00
Chris Danford
f93cb4e320
add BakeAllBackgroundChanges
2005-07-18 01:52:01 +00:00
Chris Danford
b50482c185
put focus on last selected profile
2005-07-18 01:50:31 +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
Steve Checkoway
f16c913ff3
Add/remove files.
2005-07-16 09:33:32 +00:00
Steve Checkoway
575ac70ef4
Fix compile. (I think this is correct based on what another screen does.)
2005-07-16 09:33:20 +00:00
Chris Danford
e89fc67e4d
fix compile
2005-07-16 07:25:58 +00:00
Chris Danford
146c505c5a
change sprBullet to an AutoActor
2005-07-16 07:01:48 +00:00
Chris Danford
ce4156625d
add missing file
2005-07-16 05:29:43 +00:00
Chris Danford
0bc9261eb3
return ID of the created profile
2005-07-16 05:28:34 +00:00
Chris Danford
f7ebcc7c34
add new profile select screen
2005-07-16 05:26:07 +00:00
Chris Danford
da001879d4
OptionRowHandlers -> m_OptionRowHandlers
2005-07-16 05:24:41 +00:00
Glenn Maynard
d8bf6df4aa
move metrics into OptionRowType, too
2005-07-16 03:23:53 +00:00
Glenn Maynard
ee791b9c9c
fix copying when unloaded
2005-07-16 03:10:59 +00:00
Chris Danford
8b52f32c8d
Bpm -> BPM
2005-07-16 02:59:58 +00:00
Chris Danford
5d9ba8304e
cleanup
2005-07-16 02:59:35 +00:00
Chris Danford
7ef1a9f574
fix missing command warnings
2005-07-16 02:54:55 +00:00