Glenn Maynard
cd50ebd298
fix edit count desync after deleting steps
2005-03-21 03:47:30 +00:00
Glenn Maynard
cc152506c5
comments
2005-03-21 03:45:14 +00:00
Glenn Maynard
10ba6d20cf
remove ScreenSelectMaster::StyleIcon and MemoryCardIcons; they're in ScreenWithMenuElements
2005-03-20 23:36:43 +00:00
Glenn Maynard
cf20af55ef
fix crash
2005-03-20 23:15:51 +00:00
Glenn Maynard
b09db5bd71
ignore inactive player inputs
2005-03-20 22:39:36 +00:00
Glenn Maynard
7ae7229418
on back, let ScreenWithMenuElements::Back stop the music. Abort background requests, so we don't restart music after the transition begins
2005-03-20 06:43:47 +00:00
Glenn Maynard
cc34c9bd6b
add ThemeManager::ClearThemePathCache
2005-03-20 05:39:32 +00:00
Glenn Maynard
dbb8f87932
fix test build
2005-03-20 04:11:34 +00:00
Glenn Maynard
2c9774f89c
move MakeArchHooks and MakeDialogDriver back into their own files; the tests need this (to be able to use a couple arch systems without having to link them all)
2005-03-20 04:09:15 +00:00
Glenn Maynard
954313a942
fix dtors
2005-03-19 21:30:33 +00:00
Glenn Maynard
3d7325b457
cache all courses
2005-03-19 11:52:14 +00:00
Glenn Maynard
30d3c72cc0
fix truncation not always happening correctly
2005-03-19 11:29:08 +00:00
Glenn Maynard
92f067dbd2
fix banner cache being preloaded when it shouldn't
2005-03-19 06:58:54 +00:00
Glenn Maynard
7338fa18d7
move some code that's migrated away from where it's used; cleanup
2005-03-19 05:25:58 +00:00
Glenn Maynard
384aaf1c4c
fix note skin loading: need to set m_pPlayerState m_sNoteSkin before StoreSelectedOptions, and need to call StoreSelectedOptions before TransitionEditMode (since it calls RestoreSelectedOptions
2005-03-19 05:15:54 +00:00
Glenn Maynard
835797bf0f
"MonkeyKeyboard" is for debugging only; the default input driver should
...
be "null", or it's very confusing when porting.
2005-03-19 04:01:51 +00:00
Glenn Maynard
f7930c7a6a
fix compile on systems without SUPPORT_OPENGL
...
don't include global.h in headers
2005-03-19 01:32:26 +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
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
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
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
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
Glenn Maynard
3001fb6aef
add StartScreen metrics
2005-03-17 07:25:04 +00:00
Glenn Maynard
008cae2479
m_sName for ScreenAttract::StartScreen
2005-03-17 07:23:59 +00:00
Glenn Maynard
c45e197858
normal fallback for jukebox/demo
2005-03-17 07:20:51 +00:00
Glenn Maynard
b11a82eb21
add fallbacks
2005-03-17 07:19:17 +00:00
Glenn Maynard
b36124bb5e
fix long-standing bug: don't increment Possible for mines
2005-03-17 06:23:42 +00:00
Glenn Maynard
5267cc0941
remove old url reference; this code is just a generic weighting system now
2005-03-17 02:14:15 +00:00
Glenn Maynard
90f2aeaa1a
fix options menu music
2005-03-16 11:08:41 +00:00
Glenn Maynard
c3ad1345ef
load row sound in advance
2005-03-15 22:52:01 +00:00
Glenn Maynard
f6a50ff651
fix give up timer triggering after STATE_OUTRO
2005-03-15 08:44:35 +00:00
Glenn Maynard
dd478559ad
ignore give up/back out for inactive players
2005-03-15 08:37:18 +00:00
Glenn Maynard
52aba90c8a
reduce 'give up' timer slightly
2005-03-15 08:30:43 +00:00
Glenn Maynard
50168320d4
reset combo in jukebox/demo
2005-03-15 07:01:56 +00:00
Glenn Maynard
eaaace1f30
missed commit
2005-03-14 05:42:07 +00:00
Glenn Maynard
f11197bd00
adjust save flow; uncommit and don't exit if the save fails
2005-03-14 04:43:25 +00:00
Glenn Maynard
8e2a323479
logic change
2005-03-14 02:56:01 +00:00
Glenn Maynard
f2e24ff9ed
move code
2005-03-14 02:48:48 +00:00
Glenn Maynard
7c63770ec1
allow any file type in Other
2005-03-13 08:40:11 +00:00
Glenn Maynard
50196e4a0f
add generic success/failure screen messages for pushed screens
2005-03-12 23:41:26 +00:00
Glenn Maynard
3517499b05
remove hardcoded screen name
2005-03-12 23:27:48 +00:00
Glenn Maynard
90c2addaa4
add metric
2005-03-12 23:23:33 +00:00
Glenn Maynard
69bbcb071b
fix "give up" draw order
2005-03-12 07:27:48 +00:00
Glenn Maynard
93a1284731
put tutorial songs first when meter is tied
2005-03-12 07:24:47 +00:00
Glenn Maynard
dd02f1bc10
eliminate extra fmodf for each rendered tap
2005-03-12 06:09:43 +00:00
Glenn Maynard
20ea0bece9
move unnecessary fmodf call
2005-03-12 05:02:22 +00:00
Glenn Maynard
0d7c61faae
secondary sort popularity lists by full title
2005-03-12 03:18:11 +00:00
Glenn Maynard
88f29c9853
fix off-by-one (fixes issues with holds that start on stop segments)
2005-03-12 02:30:28 +00:00
Glenn Maynard
fe513d047f
fix hold-only mappings
2005-03-12 00:51:09 +00:00
Glenn Maynard
088b91b959
add AllowBack metric
2005-03-12 00:32:28 +00:00
Glenn Maynard
8708ea5f61
allow disabling MENU_BUTTON_BACK during ScreenStage
2005-03-12 00:31:25 +00:00
Glenn Maynard
ad96700fcf
themable give up text
2005-03-12 00:04:27 +00:00
Glenn Maynard
b6401f145b
fix error message
2005-03-11 23:09:36 +00:00
Glenn Maynard
df4a7e3c9d
no pause in demo and once tweening out
2005-03-11 04:12:48 +00:00
Glenn Maynard
f61cce45f5
don't process hold note logic while paused
...
SM_Pause can be sent from elsewhere to pause
START unpauses when paused
don't move on to another screen when paused
2005-03-11 03:54:40 +00:00
Glenn Maynard
afe1f892eb
cleanup
...
play "PauseCommand" and "UnpauseCommand"
2005-03-11 03:33:41 +00:00
Glenn Maynard
f611daade9
fix start backing out instead of failing
2005-03-11 03:27:04 +00:00
Glenn Maynard
7caf58716e
add metrics
2005-03-11 02:55:08 +00:00
Glenn Maynard
751b4ca4bb
m_Foreground -> m_SongForeground, for consistency
...
work on pausing
OnCommand for m_SongBackground and m_SongForeground (eg. to
change draw order)
2005-03-11 02:52:40 +00:00
Glenn Maynard
a4a6d72342
fix warnings
2005-03-11 02:48:38 +00:00
Glenn Maynard
510f43d736
cleanup
2005-03-11 02:38:08 +00:00
Glenn Maynard
b0b85a43c3
s/m_Background/m_SongBackground/, to avoid confusion between the
...
song background and the screen background (perhaps something like
m_SongVideo would be better; it's not necessarily all the way in the
background)
2005-03-11 02:12:21 +00:00
Glenn Maynard
2465eddf0f
simplify
2005-03-11 02:06:39 +00:00
Glenn Maynard
295bb05566
better asserts
...
tolerate a list not importing any options (eg. Fail30Misses selected but
not available)
2005-03-11 02:01:55 +00:00
Glenn Maynard
a22b272aeb
pause support
2005-03-11 00:41:24 +00:00
Glenn Maynard
cdae1c672a
cleanup
2005-03-11 00:37:52 +00:00
Glenn Maynard
434222f269
pausing support
2005-03-11 00:29:00 +00:00
Glenn Maynard
13da77d5c2
only pause playing sounds; unpause sound slot after stopping
2005-03-11 00:28:16 +00:00
Glenn Maynard
e6679b4acd
cleanup
2005-03-11 00:12:10 +00:00
Glenn Maynard
ef68b4acdd
Working on clean pausing support. (This will break the ALSA and DSound hardware builds until they're updated, soon.)
2005-03-10 22:49:28 +00:00
Glenn Maynard
c50adee05a
fix crash when sending screen messages when there is no top screen
2005-03-10 21:18:04 +00:00
Glenn Maynard
22d64c8fd9
allow updating selections on a message
2005-03-10 19:41:37 +00:00
Glenn Maynard
8427c36c20
fix ScreenSelectMaster::AnyOptionsArePlayable
2005-03-10 07:56:41 +00:00
Glenn Maynard
fb1d893f57
tolerate no options being selectable
2005-03-10 03:53:00 +00:00