Glenn Maynard
baef74db42
newline at eof
2003-03-17 23:24:00 +00:00
Glenn Maynard
0d087fb198
fix comparison; this happened to work because STYLE_DANCE_SINGLE and
...
NOTES_TYPE_DANCE_SINGLE both happen to be 0
2003-03-17 22:12:20 +00:00
Glenn Maynard
84cc54417f
fix crash (in code not being executed)
2003-03-17 21:29:17 +00:00
Glenn Maynard
448a1fac6e
hopefully fix some g++ problems
2003-03-17 21:13:14 +00:00
Glenn Maynard
c7fdf4ed9e
whitespace changes only: sm uses a hard tab width of 4, not 8
2003-03-17 20:12:00 +00:00
Glenn Maynard
d95c8885db
fix busy looping in the null sound driver
2003-03-17 20:05:49 +00:00
Glenn Maynard
e6e271f790
hopefully fix some skips in DSound (sleep calculation was giving
...
results higher than I intended)
2003-03-17 20:02:20 +00:00
Glenn Maynard
a561c10189
fix underrun notice
2003-03-17 20:01:05 +00:00
Glenn Maynard
ff3ae21bdd
fix croppedsprite oddity when scrolling from random/roulette to another
...
banner
2003-03-17 19:42:17 +00:00
Chris Gomez
6934a337ee
More minor scoring fixes (+1 to combo for jumps in oni mode only; HoldNotes worth 3 in course modes)
2003-03-17 08:08:29 +00:00
Glenn Maynard
be78746167
move SDL event handling to a function, to make the main
...
loop simpler
2003-03-17 06:20:57 +00:00
Glenn Maynard
bbb416d615
re-sync messages, so the jukebox continues at end of song
...
fix assert failure
2003-03-17 04:56:47 +00:00
Glenn Maynard
f04507a017
don't trap users in the jukebox
...
also, the jukebox could be used as an alternate "attract sequence",
so let's handle the attract coin logic there, too
2003-03-17 04:17:30 +00:00
Jared Roberts
7252a63b28
s/Song.h/song.h
2003-03-17 03:43:45 +00:00
Glenn Maynard
331fdab2f8
Fix UseSongBG
...
Hmm. Need some way of using rendering masks in BGAs. Not full
access to the zbuffer, of course, just a way to implement things like
the masked-off stage scroll on top of an unmasked song background.
Being able to do this based on the alpha values of another image would
have a whole lot of bonuses for background animations, too; eg the
canonical trick of rendering things masked by a silhouette. This is tricky
to implement, though.
It'd be even better if we could do this with full alpha.
Most multipass algorithms I can think of would require an alpha
channel on the framebuffer, though, and we very often don't have
that. I'll keep thinking about it (and perhaps randomly brainstorming
into the nearest edit window, such as WinCVS ...)
2003-03-17 03:24:12 +00:00
Glenn Maynard
db47d0825b
Start loading the gameplay screen as soon as the stage graphic
...
is finished, which reduces unnecessary delay.
This also means that it's possible to have, say, an Extra stage screen with
a long, complicated graphic, without having to make every screen delay
that long before prepping.
(It's currently not possible to have different switch delays for each type; eg.
Stage 1 prepping in 1 second and switching in 3, and Extra prepping in 3
seconds and switching in 5; the switch time is constant, based on m_In.
This would be useful in the longer-complicated-extra-stage case.)
2003-03-17 01:48:40 +00:00
Glenn Maynard
f1a083cee5
autogenerate m_fLengthSeconds if not specified
2003-03-17 01:35:50 +00:00
Glenn Maynard
7f17ae1b42
add BGAnimationLayer::GetMaxTweenTimeLeft
...
this isn't an overload of GetTweenTimeLeft, since it returns the
tween time of its children, which is separate from its own tween
time
2003-03-17 01:34:12 +00:00
Glenn Maynard
daf9d373a3
Dynamically allocate Sprites in backgrounds, instead of always
...
allocating and initializing hundreds of them per background.
2003-03-17 01:15:42 +00:00
Glenn Maynard
7d3ef82ff5
add a hack to Update(0) when the screen isn't on the stack
2003-03-17 01:12:58 +00:00
Glenn Maynard
11268b74a1
make some explicit guarantees about message delivery order
2003-03-17 01:02:04 +00:00
Chris Danford
1ea580c0c1
Fix crash in ScreenSelectGame
2003-03-17 00:49:35 +00:00
Chris Danford
53233025d7
Fix Back transition not being drawn for one frame when going back from ScreenGameplay
2003-03-16 23:17:48 +00:00
Chris Danford
ccb722c182
Fix Player2's highlight showing in ScreenPlayerOptions when not joined.
2003-03-16 22:51:29 +00:00
Chris Danford
93483d0140
fix unresponsive START in ScreenGameOver and ScreenMusicScroll
2003-03-16 22:35:04 +00:00
Glenn Maynard
8771c3d6bf
fix compile
...
fix warning
2003-03-16 21:55:50 +00:00
Chris Danford
9dbbb7949e
ScoreKeeperMAX2:
...
- Jumps count as 2 toward combo, but 1 toward judgement totals
- Only Perfect or better increments combo in courses
2003-03-16 20:55:45 +00:00
Chris Danford
71d2fadb46
Change Toasty:
...
- 100% chance of occuring on 250 consecutive Perfects
- Plays max one time per song
2003-03-16 19:11:51 +00:00
Chris Danford
6ccb255719
Jumps count as only 1 in TapNoteScore totals
2003-03-16 18:57:34 +00:00
Chris Danford
7192afab51
Clean up some ScoreKeeper names
...
Jumps are now graded on the TapNoteScore of the that completes the row, not the minimum TNS of the row
2003-03-16 17:45:32 +00:00
Chris Danford
33917de85c
Only load one Ready and HWG announcer sample because it's only played once
2003-03-16 07:38:40 +00:00
Glenn Maynard
996aa1d66e
whoops, remove profiling switch
2003-03-16 07:38:28 +00:00
Chris Danford
dd1d0ed677
Play crowd cheer at beginning of ScreenGameplay
2003-03-16 07:30:50 +00:00
Chris Danford
922feeb105
Add sanity check that Style and PlayMode are set before selecting song
2003-03-16 07:29:58 +00:00
Chris Danford
8b7894be76
Fix crash in Background if CreateRandomBG fails
2003-03-16 07:20:37 +00:00
Glenn Maynard
ee10a98b35
fix unscrolled banner being displayed for one frame
...
make sure we include hints when reloading the texture when fading,
or hints may not match and it'll get reloaded
2003-03-16 02:59:34 +00:00
Chris Danford
b2892caa4e
improved Wide - prevents some nearly-impossible patterns
2003-03-16 01:47:08 +00:00
Glenn Maynard
f93156f848
add missing kuru kanji
2003-03-16 01:29:44 +00:00
Glenn Maynard
1ab0823940
Fix oddities in the music wheel when two songs use the default
...
banner in a row (m_size wasn't being reset so CroppedSprite messed
up)
2003-03-16 00:45:06 +00:00
Chris Danford
f4b5b431d4
Re-add Insert and Delete shortcuts to editor
2003-03-16 00:31:23 +00:00
Chris Danford
ce4fb01d99
Fix wrong font being loaded in ScreenMusicScroll
2003-03-16 00:25:07 +00:00
Chris Danford
396687f2a7
no message
2003-03-16 00:23:27 +00:00
Chris Danford
5382f1f3fa
fix MiniMenu crashes for rows with 0 choices
...
more complete BackgroundChange controls in editor
added "play current beat until end" in editor
cleaned up Background
2003-03-16 00:05:23 +00:00
Glenn Maynard
4383b2ef3a
fix warnings
2003-03-15 23:55:59 +00:00
Glenn Maynard
bbf8067551
remove prebuffering from RageSound; let Preload handle it
2003-03-15 23:55:24 +00:00
Glenn Maynard
187aee0a05
use RageSoundReader_Preload
2003-03-15 23:34:45 +00:00
Glenn Maynard
2f411e2605
add RageSoundReader_Preload.cpp
2003-03-15 23:34:11 +00:00
Glenn Maynard
a990cdcb42
fix prebuf size
2003-03-15 23:28:19 +00:00
Glenn Maynard
e767641c67
Modularize preloading with a sound reader, so the !big logic
...
in RageSound can go away
2003-03-15 23:28:05 +00:00
Glenn Maynard
e52887948f
(c) footers
2003-03-15 23:27:34 +00:00