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
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
c74eac98e0
bounds check
2005-03-01 15:46:05 +00:00
Glenn Maynard
54a6a1a130
play keys
2005-03-01 15:14:03 +00:00
Glenn Maynard
6b64612e0a
Combo OnCommand
2005-02-26 06:31:56 +00:00
Glenn Maynard
4c2ffa90ef
Player cleanup
2005-02-26 05:59:12 +00:00
Glenn Maynard
a1dcbca654
Combo cleanup
2005-02-26 05:45:51 +00:00
Glenn Maynard
5eae214f20
m_Combo.SetName
2005-02-26 05:34:18 +00:00
Glenn Maynard
151556b2ef
cleanup
2005-02-26 05:32:56 +00:00
Chris Danford
48911f1572
fix VC7 warnings
2005-02-15 21:58:35 +00:00
Chris Danford
23fe6c5dca
calories: don't double-count earlier steps
2005-02-15 18:30:27 +00:00
Chris Danford
bb099ee7e0
count calories while stepping, not at the end
2005-02-15 09:24:48 +00:00
Chris Danford
6d7f4cf150
add ScoreDisplayCalories
2005-02-15 07:09:07 +00:00
Chris Danford
fdad5746e7
change ThemeMetric static-sized arrays to dynamically sized
2005-02-13 06:44:50 +00:00
Glenn Maynard
9c54026391
do both score mappings together
2005-02-07 06:20:22 +00:00
Glenn Maynard
72d7695bed
run autosync before the game mapping (really)
2005-02-07 06:19:43 +00:00
Glenn Maynard
188cbfa063
merge TNS_HIT_MINE handling
2005-02-07 06:17:07 +00:00
Glenn Maynard
714a432012
cleanup
2005-02-07 06:07:52 +00:00
Glenn Maynard
4e51acd2f6
run autosync before the game mapping; cleanup
2005-02-07 06:06:51 +00:00
Glenn Maynard
efd190316d
move mapping into Game
2005-02-07 06:05:42 +00:00
Glenn Maynard
7cb1b266d3
improve scoping
2005-02-07 06:02:15 +00:00
Glenn Maynard
f390d4da75
only do a separate search for keys if the initial search didn't find anything;
...
if we're testing a tap to grade it, always use that tap's key, too
2005-02-07 05:58:23 +00:00
Glenn Maynard
69284c6692
fix mapping
...
cleanup
2005-02-07 05:56:43 +00:00
Glenn Maynard
c9021889e9
simplify
2005-02-07 04:43:39 +00:00
Glenn Maynard
1905fc9a22
attempting to clean up Player::Step. This just shifts the stuff to
...
ScreenGameplay::Update, but at least it keeps this logic out of Player ...
2005-02-07 04:12:51 +00:00
Glenn Maynard
7c40fec261
merge duplicate attack code
2005-02-07 03:54:45 +00:00
Glenn Maynard
5356bb6b96
merge duplicate mine code
2005-02-07 03:45:25 +00:00
Glenn Maynard
5302cd8535
fix key search going in the wrong direction
2005-02-07 03:21:18 +00:00
Glenn Maynard
d67eb7f243
simplify
2005-02-07 03:20:52 +00:00
Chris Danford
a5e1ea15a4
cache
2005-02-06 19:15:38 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Glenn Maynard
d4eff6b050
cache
2005-02-02 03:49:01 +00:00
Glenn Maynard
116890da25
fix autoplay, mines
2005-01-28 04:37:48 +00:00
Glenn Maynard
f91c0b49ba
Player::GetClosestNote, Player::GetClosestNoteDirectional with note rows
...
and iterators; eliminates arbitrary "999999" constant
2005-01-25 19:39:31 +00:00
Glenn Maynard
d4a46a214d
deps cleanup
2005-01-25 18:29:42 +00:00
Glenn Maynard
f083765d69
remove ProTimingDisplay; too hard to read to be useful
2005-01-25 18:22:22 +00:00
Glenn Maynard
bb7482e722
evil big commit (sorry):
...
Remove m_HoldNote array entirely. Remove 2sAnd3s. Store hold note
durations in the hold head. hold_tail only still exists when InsertHoldTails
is used, to make SM parsing a little easier (may go away). Add helpers
for iterating over ranges while including or excluding adjacent and overlapping
hold notes. Range operations are now [start,end) instead of [start,end].
(probably more details coming to sm-dev soon)
2005-01-25 05:02:35 +00:00
Glenn Maynard
6ece8829c4
shut up already
2005-01-25 01:22:32 +00:00
Glenn Maynard
c670a3b62d
cleanup
2005-01-23 23:20:15 +00:00
Glenn Maynard
7185c4c018
fix
2005-01-23 20:43:43 +00:00
Glenn Maynard
edc2c6c300
fix some more cases of iterating over every row
2005-01-22 20:41:50 +00:00
Glenn Maynard
4970e024f3
NoteDataWithScoring has no members; turn it into a namespace
2005-01-22 18:22:38 +00:00
Glenn Maynard
77d58c0d63
"Beat rows" are really just a fixed-point representation of beats. Prefer
...
using them in general over beats: it's more precise (we can tell exactly
how it'll round, and we can compare them without ugly error-margin hacks),
and it's what we need to use them with NoteData.
2005-01-22 17:34:10 +00:00
Glenn Maynard
032ddf0e08
Don't hold a redundant copy of the NoteData in NoteField. NoteField is
...
now just a renderer for NoteData. This means we don't have to carefully
apply all changes to NoteData to NoteField.
2005-01-22 02:50:45 +00:00
Glenn Maynard
46ace22b79
continue merging NoteDataWithScoring stuff
2005-01-22 02:10:54 +00:00
Glenn Maynard
c321bbe196
start merging NoteDataWithScoring and NoteField per-hold and per-tap
...
data into TapNote and HoldNote. This reduces lookup costs significantly.
It's a bit simpler, though I'm not entirely happy with the resulting encapsulation ...
2005-01-22 01:37:32 +00:00
Glenn Maynard
b0df65805e
Update iLastHeldRow even when out of range, to be sure it's clamped
...
properly. Fixed hold counting glitches.
2005-01-18 08:20:14 +00:00
Glenn Maynard
0409fe9d96
comment, cleanup
...
don't reload sounds unnecessarily
2005-01-15 03:10:08 +00:00
Glenn Maynard
0dfdaee605
remove some more old experimental stuff
2005-01-15 02:01:26 +00:00
Glenn Maynard
f8b90e0bcf
remove some old experimental stuff
2005-01-15 01:38:42 +00:00