Glenn Maynard
1e192fadc4
handle @expressions in model.xml
2005-07-05 06:59:29 +00:00
Glenn Maynard
8cc8c66890
baserotation
2005-07-05 06:38:34 +00:00
Glenn Maynard
df841ec994
LuaXType
2005-07-05 06:31:45 +00:00
Glenn Maynard
12b5a43ca4
don't warn about SetState(0) (spams when we havn't loaded, or when using
...
Quad)
2005-07-05 05:30:00 +00:00
Glenn Maynard
95bc380261
fix assert
2005-07-05 05:24:30 +00:00
Glenn Maynard
1f0ce78d5a
unused
2005-07-05 03:45:02 +00:00
Glenn Maynard
e8f9f382db
check() does not currently support negative offsets; it'll give a confusing
...
error message
2005-07-05 03:16:10 +00:00
Glenn Maynard
1607e6320a
cleanup
2005-07-05 02:53:41 +00:00
Glenn Maynard
b3c66d530f
remove ScreenBranch
2005-07-05 00:12:26 +00:00
Glenn Maynard
02201f38fe
unused
2005-07-05 00:06:34 +00:00
Glenn Maynard
c420ef665b
eliminating ScreenBranch (untested)
2005-07-05 00:01:13 +00:00
Glenn Maynard
a3cd21e698
cleanup
2005-07-04 23:43:19 +00:00
Glenn Maynard
6c6402b2ee
unneeded
2005-07-04 23:42:17 +00:00
Glenn Maynard
50e5ca7030
matching SM_GainFocus and SM_LoseFocus
2005-07-04 23:41:33 +00:00
Glenn Maynard
1bb4522e54
ScreenPreInitCommand
2005-07-04 23:40:31 +00:00
Glenn Maynard
6cca66a1ab
allow running a command before initting gameplay
2005-07-04 23:38:07 +00:00
Glenn Maynard
744329f9e9
fix assert when no songs
2005-07-04 22:31:18 +00:00
Glenn Maynard
7ecccfeac0
unused
2005-07-04 22:16:42 +00:00
Glenn Maynard
1e8268e625
static
2005-07-04 21:48:01 +00:00
Glenn Maynard
2d27081573
do this with lua
2005-07-04 21:47:16 +00:00
Glenn Maynard
9a6fa1bae8
actor instance tables
2005-07-04 21:45:16 +00:00
Glenn Maynard
ea6d806dad
Allow associating a table with Lua-bound objects, for storing state in Lua.
...
Design goals are: minimal overhead (one table); minimal extra code to use
it (two lines in the header, to have a space to store a reference to the
table), same API for classes with and without a table; allow switching to
a table-bound class without derived classes having to know about it; keep
zero per-object overhead for classes that don't need it.
2005-07-04 21:43:27 +00:00
Glenn Maynard
1e05d86b7d
missing includes
2005-07-04 20:52:21 +00:00
Glenn Maynard
6c4276648a
cleanup
2005-07-04 20:44:07 +00:00
Glenn Maynard
a55bbfc255
song.h
2005-07-03 07:50:59 +00:00
Glenn Maynard
11a28632bc
fix assert
2005-07-03 06:55:31 +00:00
Glenn Maynard
d6c14eac6f
If a screen is already prepared, don't reload it in PrepareScreen.
...
Prepare backgrounds, too.
Disallow calling SetNewScreen from a screen ctor/Init; it complicates things.
When loading a new screen (through LoadDelayedScreen), load the
screen with PrepareScreen, to reduce code paths.
2005-07-03 06:13:30 +00:00
Glenn Maynard
61e795c7ed
cleanup
2005-07-03 06:09:03 +00:00
Glenn Maynard
adf4aa2645
SetNewScreen on first update, instead of in the ctor, so we don't have to
...
handle "set a new screen while we're still loading the old one". (Note that
this isn't preferred, anyway; it's much better to decide in advance which
screen you want via Lua. ScreenBranch is deprecated.)
2005-07-03 06:07:46 +00:00
Glenn Maynard
5c9f7f571f
use default
2005-07-03 06:06:00 +00:00
Glenn Maynard
39570d6fd7
metrics
2005-07-03 05:35:01 +00:00
Glenn Maynard
ea258068a9
... and ScreenSongOptions::GoToNextScreen
2005-07-03 05:15:49 +00:00
Glenn Maynard
1141c3ca7f
sync with ScreenOptionsMaster::GoToPrevScreen
2005-07-03 05:15:30 +00:00
Glenn Maynard
a858910ad1
cleanup
2005-07-03 04:54:37 +00:00
Glenn Maynard
1ae5083fba
remove ScreenManager::MiniMenu
2005-07-03 04:52:15 +00:00
Glenn Maynard
0259484d16
ScreenMiniMenu::MiniMenu
2005-07-03 04:50:21 +00:00
Glenn Maynard
e7ef5539d0
remove
2005-07-03 04:46:39 +00:00
Glenn Maynard
9b08148f60
ScreenTextEntry::TextEntry/ScreenTextEntry::Password
2005-07-03 04:45:34 +00:00
Glenn Maynard
ea97ec6095
ScreenTextEntry::TextEntry
2005-07-03 04:42:47 +00:00
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