Glenn Maynard
1e894d05bb
done in SM_GainFocus
2005-07-03 04:36:58 +00:00
Glenn Maynard
c21c5e3000
cleanup
2005-07-03 04:36:01 +00:00
Glenn Maynard
2cb0658151
ScreenPrompt::Prompt update
2005-07-03 04:34:53 +00:00
Glenn Maynard
0e09a3fb3d
ScreenPrompt::Prompt, cleaning up ScreenManager
2005-07-03 04:33:22 +00:00
Glenn Maynard
b0a079c777
"Send this before making the new screen, since it might set things that will be
...
re-set in the new screen's ctor." Don't do that--don't assume that the old
LoseFocus will be called before the ctor or Init. If you're doing something that
interacts with state changed by focus, do it in the first update, when you're
guaranteed to have focus. Make no guarantees about who has focus when
a new screen is constructed; only that LoseFocus will be sent before GainFocus,
and GainFocus before the first update.
2005-07-03 04:24:57 +00:00
Glenn Maynard
14a3b69f84
style updates
2005-07-03 04:03:46 +00:00
Glenn Maynard
a49aecd774
pull ScreenPrompt init into a separate function, so it's slightly less of a special
...
case; maybe this class's instances can be made reusable ...
2005-07-03 03:49:19 +00:00
Glenn Maynard
5bdae4fa35
cleanup
2005-07-03 03:44:05 +00:00
Glenn Maynard
f2a418d79d
implement HiddenPtr smart pointer type; use it for Steps. This avoids having
...
to write a whole copy constructor for a class just to hide a couple types from
the header.
2005-07-03 03:05:54 +00:00
Glenn Maynard
b0935c1111
deps
2005-07-03 02:51:29 +00:00
Glenn Maynard
2b365a1ea9
missing include
2005-07-03 02:49:42 +00:00
Glenn Maynard
ac15f8064b
missing includes
2005-07-03 02:48:38 +00:00
Glenn Maynard
11138513be
implement copy ctor. fixes assertion failure after gameplay, due to
...
a RageTexturePreloader being inside an Actor which is copied
2005-07-03 02:37:49 +00:00
Glenn Maynard
7c7ad81638
RageTextureManager::CopyTexture
2005-07-03 02:30:45 +00:00
Glenn Maynard
78eba6aef0
move to the right place
2005-07-02 23:38:36 +00:00
Glenn Maynard
73655e87d9
can't #ifdef a typedef; check for vc6 instead
...
move to the right place
2005-07-02 23:37:55 +00:00
Glenn Maynard
8c542f8f27
cleanup
2005-07-02 23:06:41 +00:00
Glenn Maynard
abac95a1b7
store the path in the actor's name, so we can treat backgrounds like loaded
...
screens
2005-07-02 22:44:56 +00:00
Glenn Maynard
e3999565d8
missing include
2005-07-02 22:38:55 +00:00
Glenn Maynard
0d6c835e58
dep cleanup
2005-07-02 22:38:02 +00:00
Chris Danford
a1f3b14619
VC6 fix
2005-07-02 18:04:31 +00:00
Glenn Maynard
0a3d0759b6
sync before umount; cleanup
2005-07-02 05:37:33 +00:00
Glenn Maynard
82e0d89f65
quiet
2005-07-02 04:17:27 +00:00
Glenn Maynard
7b03083616
cleanup
2005-07-01 05:11:39 +00:00
Glenn Maynard
bb8af41cb1
missing headers
2005-07-01 05:07:22 +00:00
Glenn Maynard
3450307b01
reduce dependencies
2005-07-01 05:06:00 +00:00
Glenn Maynard
04546763e0
reducing ProfileManager.h dependency on Profile.h (many users only use
...
PManager to see if a profile is loaded, etc, not to access the actual profiles)
2005-07-01 04:46:32 +00:00
Glenn Maynard
96278f2eca
cleanup
2005-07-01 04:42:30 +00:00
Glenn Maynard
6718633d12
steps.h doesn't need to depend on notedata.h ( #2 )
2005-07-01 04:39:59 +00:00
Glenn Maynard
7bdee9a6d3
steps.h doesn't need to depend on notedata.h
2005-07-01 04:38:41 +00:00
Glenn Maynard
a65596e402
cleanup
2005-07-01 04:28:29 +00:00
Glenn Maynard
13eddba584
while I'm here ...
2005-07-01 04:21:49 +00:00
Glenn Maynard
02f45c266a
missing header
2005-07-01 04:19:32 +00:00
Glenn Maynard
ef736dcb4f
a comment stating that a policy named "default" is the default is not very
...
enlightening
2005-06-30 23:20:05 +00:00
Ben Anderson
02f51eae1f
Add RageTexturePreloader; remove EditCoursesMenu
2005-06-30 23:14:57 +00:00
Glenn Maynard
c27ca00976
simplify
2005-06-30 22:55:28 +00:00
Glenn Maynard
6bbffb3e9a
remove TEX_CACHED
2005-06-30 22:49:35 +00:00
Glenn Maynard
0289b1a91e
use RageTexturePreloader
2005-06-30 22:41:22 +00:00
Glenn Maynard
653cd8013a
remove TEX_PERMANENT
2005-06-30 22:08:29 +00:00
Glenn Maynard
7a4b97d61a
RageTexturePreloader
2005-06-30 22:06:34 +00:00
Glenn Maynard
f90e4cdf42
add RageTexturePreloader.
...
This obsoletes Cached and Permanent textures, implementing them more
simply: if you want to keep the texture loaded, just load it and keep the texture
around as long as you want it. The old "texture policy" scheme of "keep the
texture around for the duration of the screen" was ambiguous--we can have any
number of screens loaded.
2005-06-30 22:04:10 +00:00
Chris Danford
738b938f5a
cleanup
...
play Gain/LoseFocus before OnCommand
2005-06-29 09:22:24 +00:00
Chris Danford
d1d61b2070
fix UpdateStage overrides OnCommands that hide m_sprStage
2005-06-29 09:21:30 +00:00
Chris Danford
a8bb3dc994
fix "can't choose SetMods"
2005-06-29 09:20:49 +00:00
Chris Danford
ef4216b699
fix comment location
2005-06-29 09:20:17 +00:00
Steve Checkoway
2a179a0380
Backing out of the final stage prevents getting extra stage. Backing out of extra stage (or second extra stage) fails the stage.
2005-06-29 07:57:15 +00:00
Steve Checkoway
aa71c794ec
Fix warnings.
2005-06-29 06:36:51 +00:00
Glenn Maynard
c856d1c68a
sort in SWME, so screens that don't add any screen elements don't have to
2005-06-29 05:06:50 +00:00
Chris Danford
8d2415f3a5
fix AV. Don't GAMESTATE->Reset on the way out. Let the next screen reset if it needs it.
2005-06-29 02:36:08 +00:00
Chris Danford
6ab20c5ad9
more work on a new course editor
2005-06-28 08:11:30 +00:00