Chris Danford
7ff0cb03d9
add 192nds
2005-03-19 00:54:07 +00:00
Ben Anderson
9c9d1f365f
Reorder; fixes compilation on GCC 3.4.
2005-03-19 00:48:33 +00:00
Glenn Maynard
564b187ffb
Combine "next song in" and "next song out" into "next course song".
...
This allows us to preload everything in the transition except for the song
banner (giving faster transitions), and is easier to control.
2005-03-19 00:03:53 +00:00
Glenn Maynard
02f5da262c
add Sprite:LoadFromSongBanner, Sprite:LoadFromSongBackground
2005-03-19 00:01:35 +00:00
Glenn Maynard
dba99df68e
Load methods
2005-03-18 23:57:48 +00:00
Glenn Maynard
36eafca988
fix extending method tables
2005-03-18 23:56:37 +00:00
Glenn Maynard
80b7ba5e9b
add GetBannerPath and GetBackgroundPath
2005-03-18 23:55:37 +00:00
Glenn Maynard
0750a8ea4c
register Sprite, so we can construct sprites in XML like other objects
...
(Type="sprite") without setting a File, and then load the texture later.
2005-03-18 22:49:00 +00:00
Glenn Maynard
fbf6e78cf3
Use a real Lua table for the environment; this obsoletes m_mapEnv.
2005-03-18 22:47:44 +00:00
Glenn Maynard
e4adda1183
Init Lua earlier, so we can have LuaReferences in GameState.
2005-03-18 22:46:17 +00:00
Glenn Maynard
df896d168a
tolerate Register being called before THEME is initialized (like we do
...
with other singletons)
2005-03-18 22:44:47 +00:00
Glenn Maynard
627e5eb16a
add LuaTable
2005-03-18 22:40:09 +00:00
Glenn Maynard
501e609dfc
allow reset when not in finished
2005-03-18 22:36:10 +00:00
Glenn Maynard
a6c498610b
Load Serialize.lua first, before calling ResetState.
2005-03-18 22:09:10 +00:00
Glenn Maynard
6000f7e0c9
Make Transition an ActorFrame, so commands are propagated to the
...
actual BGA. Add Reset(), to allow transitioning a Transition more than
once (less likely to cause problems than automatically resetting to "waiting"
after the transition finishes).
2005-03-18 22:06:33 +00:00
Chris Danford
cfd4a03110
own sound instead of PlayOnce
2005-03-18 21:51:30 +00:00
Chris Danford
9cad331c2a
remove redundant ScreenEdit overlay
2005-03-18 19:45:22 +00:00
Chris Danford
c10dc7eab2
clean up EditMode transitions
...
don't explicitly draw and update Actors - add as children so that Z ordering is correct
2005-03-18 19:44:01 +00:00
Chris Danford
b6fe07c1d2
make ScreenEdit derive from ScreenWithMenuElements
...
add missing demonstration metrics
2005-03-18 18:59:25 +00:00
Chris Danford
db022cd518
make ScreenEdit derive from ScreenWithMenuElements
2005-03-18 18:58:22 +00:00
Chris Danford
b497b33aa0
add SetUpdateRate method
2005-03-18 18:57:05 +00:00
Chris Danford
66a5c26a84
don't draw BGChange text in HomeEditMode
2005-03-18 18:56:35 +00:00
Chris Danford
3fae670c0c
remove redundant play of Init. Each Actor plays Init when it's loaded.
2005-03-18 09:08:09 +00:00
Chris Danford
39a9708020
assert if someone tries to clear the zbuffer in an actor frame (it won't do anything because ActorFrames don't SetRenderState). Hopefully, this will save someone a lot of troubleshooting time.
2005-03-18 08:14:49 +00:00
Glenn Maynard
fd6b369a7c
compile please
2005-03-18 08:14:46 +00:00
Glenn Maynard
665ab585d4
set up queues late, only once they're needed
2005-03-18 07:53:16 +00:00
Glenn Maynard
60d8f65ab4
ScoreKeeper is not an Actor
2005-03-18 07:38:44 +00:00
Glenn Maynard
507493e928
separate Load() call to give queues to ScoreKeepers (do expensive init in ctor)
2005-03-18 07:36:59 +00:00
Glenn Maynard
a51cbb1fe5
fix include
2005-03-18 07:36:16 +00:00
Glenn Maynard
2945731f0b
load music last
2005-03-18 07:08:05 +00:00
Glenn Maynard
9a41132083
don't init general background graphics in the first LoadNextSong call
2005-03-18 05:06:34 +00:00
Glenn Maynard
db08dc73bf
remove legacy code
2005-03-18 05:00:20 +00:00
Glenn Maynard
e5af8b0f70
remove unnecessary CacheAllUsedNoteSkins calls; this is all done in NoteField::Init now
2005-03-18 04:58:15 +00:00
Glenn Maynard
02197dab9c
like Player, split NoteField loading into Load and Init, with Init having the expensive part, which we do only once
2005-03-18 04:43:59 +00:00
Glenn Maynard
b6b9b11b0f
don't bother unloading "unused" note skins; now we just load all the note skins we'll need in advance for a whole round
2005-03-18 04:13:19 +00:00
Chris Danford
9a4283c8ee
load children before calling ActorScroller::LoadFromNode
2005-03-18 04:06:17 +00:00
Chris Danford
02d18e9c7b
require all ActorScroller values
2005-03-18 04:05:23 +00:00
Glenn Maynard
7f15d9b9ec
simplify: have GameState::GetAllUsedNoteSkins get the used note skins directly from courses, so we don't have to worry about init order
2005-03-18 04:04:59 +00:00
Glenn Maynard
d7bcda9e38
simplify
2005-03-18 03:37:05 +00:00
Glenn Maynard
fd12ab18b1
don't re-Init Player for each song
2005-03-18 03:17:52 +00:00
Glenn Maynard
014dcf7ccd
load assets before the song
2005-03-18 02:57:03 +00:00
Chris Danford
b788cc3aa8
cleanup fallbacks to fix missing
2005-03-18 01:56:55 +00:00
Chris Danford
9b1fb67f6a
explicitly Load TextBanner to read metrics - don't automatically init on first use
2005-03-18 01:55:33 +00:00
Glenn Maynard
778ac6a63d
remove m_bgCondBga; none of our themes seem to use it. (If anyone
...
needed this, post to sm-devs saying what you need to do any I'll explain
how to do it with the newer XML-based system.)
2005-03-18 01:55:03 +00:00
Chris Danford
dc76527235
add meter numbers
2005-03-18 01:53:46 +00:00
Chris Danford
11662c6d75
add missing
2005-03-18 01:18:07 +00:00
Chris Danford
2b833657fb
fix medium color
2005-03-18 01:16:49 +00:00
Ben Anderson
2774b74348
Fix compilation on GCC. I don't know why this works, it just does. (I tested it.
2005-03-18 00:55:21 +00:00
Glenn Maynard
42fb0bfc9b
simplify
2005-03-17 23:48:32 +00:00
Glenn Maynard
c189f5fdd9
split out OpenForReading
2005-03-17 23:43:13 +00:00