Commit Graph

444 Commits

Author SHA1 Message Date
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
Glenn Maynard f4391c932b remove some old experimental stuff 2005-01-15 01:35:58 +00:00
Glenn Maynard 3a9b2f7f4b working on fixing up extra loads when entering play mode in the editor 2005-01-15 01:28:29 +00:00
Glenn Maynard 36445d1e1b typo 2005-01-15 01:09:08 +00:00
Glenn Maynard 8431430721 merge PlayerMinus and Player back together 2005-01-15 01:03:48 +00:00
Glenn Maynard e4799d5b0e fix miss combo 2005-01-09 05:24:46 +00:00
Glenn Maynard 3366f50e31 fix combo announcer 2005-01-08 15:34:22 +00:00
Glenn Maynard 7e9a296b7a cleanup 2005-01-08 15:31:55 +00:00
Glenn Maynard fae341d21f cleanup 2005-01-08 15:30:57 +00:00
Chris Danford 9132b5a518 remove unnecessary dependencies on ScreenGameplay 2005-01-06 01:52:45 +00:00
Glenn Maynard c5a683b03c optimize battle mode: don't call NoteField::CacheAllUsedNoteSkins every frame 2005-01-01 22:39:08 +00:00
Ben Anderson dee52f75b1 Fix combos (does ScoreKeeper5th need fixing too?) 2004-12-29 19:12:25 +00:00
Chris Danford 798b55b41e remove unused variables 2004-12-22 08:06:51 +00:00
Chris Danford a1340dd1c0 have gameplay objects access PlayerStageStats though a member pointer and not directly access g_CurStageStats. 2004-12-22 07:31:27 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Glenn Maynard 7e2adc093a simplify 2004-12-06 05:25:00 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Glenn Maynard 1b7fbd69d6 unneeded now 2004-11-08 07:14:47 +00:00