Glenn Maynard
d515fba524
change rotations to degrees
2003-04-02 07:24:40 +00:00
Glenn Maynard
f4429f4ddb
fix crash
2003-04-02 06:07:58 +00:00
Glenn Maynard
3af4c96506
update
2003-04-02 06:07:39 +00:00
Glenn Maynard
909565b026
change rotations to degrees
2003-04-02 06:02:55 +00:00
Glenn Maynard
6bf0b0c304
Add Actor::Reset
...
While I'm recompiling everything anyway, move some functions out of Actor.h
2003-04-02 05:41:22 +00:00
Glenn Maynard
4d191ace3b
comment
2003-04-01 20:01:14 +00:00
Glenn Maynard
69b64dfdbf
implement announcer alternates, for compatibility
2003-04-01 19:46:50 +00:00
Glenn Maynard
d6d82622cd
implement select style comment announcer
2003-04-01 19:46:13 +00:00
Glenn Maynard
f5341a0438
fix paths that end in a slash
2003-04-01 19:31:55 +00:00
Glenn Maynard
faf6b2e0f8
only load stage graphic in arcade gameplay (graphics for course
...
mode don't exist)
2003-04-01 18:34:58 +00:00
Glenn Maynard
e00b098cb5
add stage names for courses
2003-04-01 18:23:27 +00:00
Glenn Maynard
803edada70
fix a warning
2003-04-01 18:21:18 +00:00
Glenn Maynard
ac506f9928
fix ScreenSelectStyle ...
2003-04-01 18:04:54 +00:00
Glenn Maynard
26cc236bca
rewind the sound if preload fails
2003-03-31 22:20:11 +00:00
Glenn Maynard
971b2cba15
fix up scoring
2003-03-31 22:06:23 +00:00
Glenn Maynard
af449386aa
add PreloadSounds
2003-03-31 21:32:43 +00:00
Glenn Maynard
1960f42a3e
fix courseentrydisplay
2003-03-31 21:31:07 +00:00
Glenn Maynard
eba6e65ede
log chars
2003-03-31 21:21:52 +00:00
Glenn Maynard
0ae6236f7c
Add an option to force preloading. This only preloads sounds
...
that are loaded in advance, which excludes sample music
and some announcers.
Disable "sound volume". That's not what that variable is for; setting
it to higher values will result in clipping on a lot of hardware, causing
people to report it as a "bug" (which it's not). Setting it to lower values
results in lower quality sound. To do this correctly, we'd need to add
an interface for accessing the real hardware mixer volume, which I
don't really want to do right now ...
2003-03-31 21:21:23 +00:00
Glenn Maynard
ea5a77e47e
log chars on font load
2003-03-31 20:53:19 +00:00
Glenn Maynard
f93eeb91d4
fix MusicWheel
2003-03-31 18:32:03 +00:00
Glenn Maynard
4529d61eef
fix GradeDisplay
2003-03-31 18:29:25 +00:00
Glenn Maynard
f28b149ad0
simplify failure adjustment
...
(game options menu entry is still sometimes preempted when it shouldn't be)
2003-03-31 17:41:55 +00:00
Glenn Maynard
5c9ae0b4b1
fix a crash
2003-03-30 21:42:10 +00:00
Glenn Maynard
0b7b1cdcd2
fix numbers; this fixes several usages of _shared3
2003-03-30 21:38:22 +00:00
Glenn Maynard
ab74e7e103
don't update alive time for dead players
2003-03-30 20:54:37 +00:00
Glenn Maynard
c34b21d5c4
enable all players when entering the options menu
2003-03-30 20:50:51 +00:00
Glenn Maynard
85ec76ce63
fix font
2003-03-30 20:44:55 +00:00
Glenn Maynard
c6369bfe21
update textinfo after each keypress, so changes don't appear lagged
2003-03-30 20:43:30 +00:00
Glenn Maynard
b81825f758
update
2003-03-30 20:22:29 +00:00
Glenn Maynard
c29e008586
update
2003-03-30 20:19:05 +00:00
Glenn Maynard
87d129b1a0
hopefully fix an extra2 crash
2003-03-30 20:18:46 +00:00
Glenn Maynard
07693c3d23
add sandbox
2003-03-30 20:17:59 +00:00
Glenn Maynard
d267f60f80
cache update for the last snapshot
2003-03-30 20:17:41 +00:00
Glenn Maynard
848cf152c5
fix crash when lyrics are too close together
2003-03-30 20:17:00 +00:00
Glenn Maynard
95b0d3e082
add an assert
2003-03-30 19:36:57 +00:00
Glenn Maynard
f903483143
add comment
2003-03-30 19:32:05 +00:00
Glenn Maynard
415f2b30da
remove some old stuff
2003-03-28 09:24:09 +00:00
Glenn Maynard
8db1c70e1e
add missing operator=; fixes a crash that only occurs after releasing snapshots
2003-03-28 05:23:35 +00:00
Glenn Maynard
c7c02602d9
Don't modify stored courses; it's far too easy to accidentally forget
...
to reset them in one of the (many) exit-gameplay paths, or reset it
incorrectly.
This fixes the course selection screen crashing when there is
no music.
2003-03-28 02:25:15 +00:00
Glenn Maynard
21c4f840c7
fix tweening
2003-03-28 02:15:29 +00:00
Glenn Maynard
b797c11a2d
unneeded header
2003-03-28 01:34:38 +00:00
Glenn Maynard
2e8654909a
Remove Invalidate and Restore from Actor, Screen and ScreenManager.
...
They don't do anything, and they're never called; I think they're
D3D hangovers.
Don't make Actor::DrawPrimitives pure virtual. It's useful to make
Actors that don't draw anything, and only receive updates, to modularize
functionality, such as TimingTip. This also makes Actor::GetCommandLength
somewhat less of a heinous hack.
2003-03-28 00:49:01 +00:00
Glenn Maynard
590827ae5f
simplify
2003-03-28 00:34:59 +00:00
Glenn Maynard
d8479fc99c
missing header
2003-03-28 00:33:29 +00:00
Glenn Maynard
e59611d9b4
simplify
2003-03-27 21:25:33 +00:00
Glenn Maynard
6e9eb566cd
Don't use fscanf; it's brittle. Instead, read lines manually and use sscanf.
2003-03-27 21:23:56 +00:00
Glenn Maynard
522fbab465
Don't use DontTransliterate, so we make sure that courses always
...
have the original title to match against.
2003-03-27 20:43:03 +00:00
Glenn Maynard
52e2e28717
fix TransitionToEdit not being called if the lead out after the end marker
...
lies beyond the end of the song file
2003-03-27 20:37:45 +00:00
Glenn Maynard
2303e8cd3e
supply a default constructor
2003-03-27 20:16:17 +00:00
Glenn Maynard
4c599babac
simplify
2003-03-27 20:15:33 +00:00
Glenn Maynard
11b80b5d3e
Sort titles that start with a decimal point in NUM, too.
2003-03-27 20:13:13 +00:00
Glenn Maynard
b55d156a8c
no timing assist option icon
2003-03-27 18:41:22 +00:00
Glenn Maynard
84fdcd8177
simplify TimingAssist
...
add "exact" sound
2003-03-27 18:40:58 +00:00
Glenn Maynard
337266892e
spurious "xxx"
2003-03-27 08:18:55 +00:00
Glenn Maynard
13f92ce974
unused function
2003-03-27 08:18:28 +00:00
Glenn Maynard
514bcb2f12
How'd that get there?
2003-03-27 08:18:11 +00:00
Glenn Maynard
e1cf92e809
shorten path
2003-03-27 08:09:41 +00:00
Glenn Maynard
9e55b1aa69
remove unused function
...
remove spurious "XXXX" (matches "XXX")
make sure extensions match correctly
2003-03-27 08:04:28 +00:00
Glenn Maynard
64b92a05b8
don't install Music/
2003-03-27 07:37:07 +00:00
Glenn Maynard
24d65ada6e
minor doc updates
2003-03-27 06:40:27 +00:00
Glenn Maynard
c49a516c8d
Enable dithering for banners.
2003-03-27 06:02:38 +00:00
Glenn Maynard
675dd9ac16
simplify
2003-03-27 06:02:03 +00:00
Glenn Maynard
609531c1a7
Automatically figure out if we can use 0alpha or 1alpha. I'll remove the
...
old code once the new code is stable.
2003-03-27 06:01:43 +00:00
Glenn Maynard
b1a2ff88fc
dither the lifebar gradients
2003-03-27 03:23:29 +00:00
Glenn Maynard
dea52a873c
dupe metric
2003-03-27 03:21:34 +00:00
Glenn Maynard
b83bf351ce
make assist tick a boolean, since it's not mutually exclusive with other
...
assist types
2003-03-27 02:10:20 +00:00
Glenn Maynard
5f02f7231c
oops, extra call
2003-03-27 00:53:31 +00:00
Glenn Maynard
5dd27008cc
use TimingAssist
2003-03-27 00:51:57 +00:00
Glenn Maynard
d6b5aa10ef
add m_bTimingAssist
2003-03-27 00:49:48 +00:00
Glenn Maynard
c19a3d8e22
add TimingAssist.*
2003-03-27 00:49:22 +00:00
Glenn Maynard
1c817ca08d
Add TimingAssist; this roughly implements the timing helper in PNM.
...
This lets us add an announcer that's played after each non-perfect
step, eg. "gameplay assist late good".
It only works reasonably for sparse songs--songs that only have notes
far enough apart that the announcer makes sense. That's mostly
beginner songs, which is what this is targetted at anyway. It's meaningless
to use this assist mode in harder songs; even if the announcer was
rate limited, it'd be impossible to tell which step the announcer was for,
so I didn't bother trying. (It'd be amusing to turn this on in MaxU. :)
A different timing assist type (TimingTip) is probably coming soon,
targetted to higher level (light/med) songs.
The only major problem at the moment is that there's no way to tell
who the announcer is talking to if there's two players. If we implement
per-player announcers, that would help (and allow a number of other
neat things, like having the p1 announcer say "Ready" and the p2
announcer say "HWG").
2003-03-27 00:48:58 +00:00
Glenn Maynard
3f0fdda811
fix warning
2003-03-27 00:39:46 +00:00
Glenn Maynard
c8b9ad3002
add LastTapNoteScoreTrack
2003-03-27 00:39:17 +00:00
Glenn Maynard
b1fa4fc1c6
whoops, remove header
2003-03-26 22:23:10 +00:00
Glenn Maynard
6dffee38ce
don't touch an offset unless it's actually graded
2003-03-26 22:22:44 +00:00
Glenn Maynard
d97838ebaa
whoops; stored offsets were reversed
2003-03-26 22:22:10 +00:00
Glenn Maynard
c51f77902b
UpdateTapNotesMissedOlderThan's return value is never used; remove it
...
Make HandleTapRowScore figure out its values for itself, so we don't
duplicate logic
2003-03-26 21:35:15 +00:00
Glenn Maynard
816a25b5bb
fix a warning
2003-03-26 21:32:48 +00:00
Glenn Maynard
afb98a2e29
make sure it's mostly harmless to call Combo redundantly
2003-03-26 21:32:28 +00:00
Glenn Maynard
6ba559f763
add missing metric
2003-03-26 21:28:21 +00:00
Glenn Maynard
5604e312f6
Store tap offsets. This lets us derive the order notes were hit in;
...
hopefully ScoreKeeper can be made a little more generic.
2003-03-26 19:34:59 +00:00
Glenn Maynard
57aefba669
unused variable
2003-03-26 19:05:13 +00:00
Glenn Maynard
fdcad04705
pull autosync into a separate function
2003-03-26 18:48:19 +00:00
Glenn Maynard
14b4200f1b
use IsRowComplete
2003-03-26 18:42:44 +00:00
Glenn Maynard
95987e81b8
add minimum param to IsRowComplete
2003-03-26 18:31:08 +00:00
Glenn Maynard
1352067196
const fixes
2003-03-26 17:53:31 +00:00
Glenn Maynard
194bb88b1d
reverse conditional; all else is whitespace changes
2003-03-26 17:38:19 +00:00
Glenn Maynard
0d0de7d336
unused code
2003-03-26 17:36:35 +00:00
Glenn Maynard
67bd03da5d
add missing StopTweening()'s; fixes crash
2003-03-25 01:55:25 +00:00
Glenn Maynard
4e0ab2e7d4
fix warnings
2003-03-25 01:39:01 +00:00
Glenn Maynard
7a68deb7cc
fix a warning
2003-03-25 01:38:05 +00:00
Glenn Maynard
c8efe2e5c7
don't start tweening while we're still loading; it'll play transition sounds
...
prematurely
2003-03-25 01:37:33 +00:00
Glenn Maynard
51b9c3beec
sort input
...
clear input, so we don't accumulate if we load twice
2003-03-25 01:14:53 +00:00
Glenn Maynard
92c44716f8
Implement textures that only have an alpha channel.
...
The most immediate use of this is for the company screen shadow;
it's horribly banded in 16-bit, and this lets us load it as an 8-bit texture,
using half the memory and giving full precision.
This could be automatically used, if all non-transparent pixels in a texture
are #FFFFFF. (todo)
This can also allow us to have extremely large, memory-compact fonts.
A 1024x1024 layer in ALPHA4 is just 512k, and can store several thousand
16x16 glyphs. (The only trouble is actually constructing such a font;
doing it by hand in Photoshop isn't a nice option.)
2003-03-24 22:38:34 +00:00
Glenn Maynard
b27b2a1fb9
fix the demonstration screen when there is music
...
...
2003-03-24 21:29:06 +00:00
Glenn Maynard
685c3bcbbb
fix the demonstration screen when there is no music
2003-03-24 21:26:12 +00:00
Glenn Maynard
38cd4b0ee4
I'm not seeing gaps, but these hacks are causing me to see seams of
...
saturation for transparent backgrounds. Are they needed anywhere?
2003-03-24 21:05:23 +00:00
Glenn Maynard
a2af656d19
add log so it can be matched to skips
2003-03-24 20:57:19 +00:00
Glenn Maynard
84fad1fe1f
increase lock so all tweens have time to finish
2003-03-24 20:55:22 +00:00