Glenn Maynard
28133ca105
cleanup
2005-07-07 10:29:04 +00:00
Glenn Maynard
b282ba475d
fix assert on ABC sections
2005-07-07 10:07:58 +00:00
Glenn Maynard
3498bf29cc
simplify
2005-07-07 08:41:19 +00:00
Glenn Maynard
35b0dd09cb
add lost DiagnosticOutput
2005-07-07 08:20:18 +00:00
Glenn Maynard
3b54c385a4
remove unused m_vScreensToDelete
2005-07-07 08:18:29 +00:00
Glenn Maynard
28b596efa6
no need to delay deletes in ClearScreenStack; the screen is never on the stack
2005-07-07 08:16:49 +00:00
Glenn Maynard
39dc127095
delay PopTopScreen like SetNewScreen
2005-07-07 08:14:01 +00:00
Glenn Maynard
7489719b11
SM_Invalid
2005-07-07 08:08:43 +00:00
Glenn Maynard
75c1b3dfab
keep drawing transitions after finish; to hide when finished, explicitly set the
...
actor hidden
2005-07-07 07:37:10 +00:00
Glenn Maynard
0f37522829
cleanup
2005-07-07 06:25:38 +00:00
Glenn Maynard
c027ab03d4
EmptyDeleteQueue: deleting a screen should not cause a skip; if it does, please document why
2005-07-07 06:20:22 +00:00
Glenn Maynard
12b81cdaeb
EmptyDeleteQueue: deleting a screen should not cause a skip; if it does, please document why
2005-07-07 06:18:17 +00:00
Glenn Maynard
0d2c5a418a
better error messages; fix crash when TypeError called from outside a lua call context
2005-07-07 06:03:25 +00:00
Glenn Maynard
44c62c0ab4
another dupe: LoadDelayedScreen calls MakeNewScreen (and if it doesn't, no need to zero)
2005-07-07 05:02:26 +00:00
Glenn Maynard
bad1e4ae90
another dupe: AddNewScreenToTop calls MakeNewScreen
2005-07-07 05:00:12 +00:00
Glenn Maynard
4feeb44f4c
another dupe: PrepareScreen calls MakeNewScreen
2005-07-07 04:54:11 +00:00
Glenn Maynard
2e225117c3
both MakeNewScreenInternal and MakeNewScreen call ZeroNextUpdate, and MakeNewScreen calls MakeNewScreenInternal anyway
2005-07-07 04:52:27 +00:00
Glenn Maynard
7f94f08336
call ZeroNextUpdate
2005-07-07 04:50:00 +00:00
Glenn Maynard
d1cb4322fc
pull out of the header
2005-07-07 04:48:07 +00:00
Glenn Maynard
87acdcfec4
cleanup
2005-07-07 02:34:29 +00:00
Glenn Maynard
591a7ccace
cleanup
2005-07-07 01:49:57 +00:00
Glenn Maynard
5499c7124b
only cache special banners on screens that need to
2005-07-07 01:44:24 +00:00
Glenn Maynard
378295df84
un-revert commit that works just fine for me, and was reverted with no
...
attempt to explain what broke.
Ben, every remark and commit from you is rude and derisive, and this
project doesn't need that. You've expended my patience. If you refuse
to be civil, leave.
2005-07-07 01:32:15 +00:00
Glenn Maynard
d05e819187
Don't search for redirs separately; doubling the number of GetDirListing
...
calls is expensive.
2005-07-07 01:21:45 +00:00
Glenn Maynard
512eb03997
unneeded
2005-07-07 01:02:03 +00:00
Glenn Maynard
c1e0310d68
remove; use the controls in ActorFrame instead
2005-07-07 01:01:37 +00:00
Glenn Maynard
5813b65b72
SetVanishPoint binding
2005-07-07 00:59:51 +00:00
Glenn Maynard
e66896aaca
dur
2005-07-07 00:50:43 +00:00
Glenn Maynard
8366d3a561
remove special cases
2005-07-07 00:49:44 +00:00
Glenn Maynard
3319df61bc
fix up backgrounds
2005-07-07 00:46:02 +00:00
Glenn Maynard
fa9ce2d743
remove special case
2005-07-07 00:06:07 +00:00
Glenn Maynard
48d188e97d
remove old stuff
2005-07-06 23:51:06 +00:00
Glenn Maynard
5278abc4be
this can be done with Lua, by putting layers in the underlay. themes using this havn't been maintained or usable in a long time, and there doesn't seem to be interest in doing so, so I'm not implementing it in them; ask me if you want info--but there are too many special-case elements in this screen and it's unmanagable.
2005-07-06 23:47:05 +00:00
Glenn Maynard
b8971b1a89
GetSongSelectIconPath binding
2005-07-06 23:43:44 +00:00
Glenn Maynard
c946799917
not virtual
2005-07-06 23:40:17 +00:00
Glenn Maynard
2aa266892e
all this did was cause extranneous SetContent calls
2005-07-06 21:51:29 +00:00
Glenn Maynard
76c9fb7e6f
remove extra SetFocus call; it's up to the caller to call SetFromGameState
2005-07-06 21:48:44 +00:00
Glenn Maynard
03fab683ef
fix backwards IsFixed
2005-07-06 21:46:55 +00:00
Glenn Maynard
6203bc50f8
remove unused
2005-07-06 21:26:14 +00:00
Glenn Maynard
9ac9138929
unneeded
2005-07-06 08:31:08 +00:00
Glenn Maynard
b2b69e797d
cleanup
2005-07-06 07:34:57 +00:00
Glenn Maynard
9cb562bdfa
merge dupe
2005-07-06 06:41:57 +00:00
Glenn Maynard
488c6e952e
remove ScreenBranch
2005-07-06 06:04:38 +00:00
Glenn Maynard
0703b84953
sprite -> autoactor
2005-07-06 05:09:52 +00:00
Glenn Maynard
90b78e6cbf
fix loading XML files as hold note parts; must still be a Sprite
2005-07-06 04:20:27 +00:00
Glenn Maynard
18615b2a17
AutoActor
2005-07-06 04:03:55 +00:00
Glenn Maynard
c0f9b46d75
fall back to ScreenWithMenuElements::MemoryCardIcons
2005-07-06 02:01:06 +00:00
Glenn Maynard
2874f5641a
fix booleans
2005-07-06 01:55:22 +00:00
Glenn Maynard
b90e28f084
bind
2005-07-06 01:42:01 +00:00
Glenn Maynard
3a304e251c
optimized ReplaceText: one copy at most; text with no replacements reduces to one search
2005-07-06 00:51:26 +00:00
Glenn Maynard
0137a20389
cleanup
2005-07-05 23:55:42 +00:00
Glenn Maynard
73da8c0445
remove .model
2005-07-05 23:48:31 +00:00
Glenn Maynard
25823c979b
remove the .model format; it's obsoleted by .xml Type="Model"
2005-07-05 23:46:08 +00:00
Glenn Maynard
c69c3af4b9
Due to the last change, we don't have fallback clashes anymore (fallback no
...
longer has both "fallback tap note" and "fallback tap note 4th", etc.), so
we don't need to do this. Remove it; it's extremely slow.
2005-07-05 21:56:51 +00:00
Glenn Maynard
858c7e3ce3
fix assert
2005-07-05 21:43:17 +00:00
Glenn Maynard
b96a004921
We've been trying to more or less keep note skin compatibility, but the
...
format has gone somewhat out of hand, so let's give up a bit on that for
the good of mankind ...
All note elements that are allowed to be note colored *always* have a note
type in the filename; if XIsNoteColor is off, "4th" is used. This way, we
don't have different sets of filename rules, fixing clashes between skins
and the fallback, and a number of things become simpler (many of which
I'm still discovering, so I won't try to enumerate them here just now).
Note skin updates coming ...
2005-07-05 21:29:30 +00:00
Glenn Maynard
b459dc048c
fold duplicate code
2005-07-05 08:45:51 +00:00
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