Commit Graph
35 Commits
Author SHA1 Message Date
Glenn Maynard 8b0223350f Pull complicated computations out of per-arrow code, and run them just once per
frame.

This is a minor optimization, but it can gain a couple FPS.  More importantly,
it reduces the amount of code in the time-critical functions, which makes it
easier to profile and optimize the time-critical parts.  (Eventually, this should
probably be real class.)
2005-10-23 04:22:29 +00:00
Chris Danford 5a19510ead struct -> class 2005-08-23 20:49:30 +00:00
Chris Danford 1e7d4001a8 fix long hold + boomerang artifacts: didn't draw if neither the head nor the tail were on-screen, tail bottom would be positioned above the head causing the hold to magically grow once the tail comes on screen 2005-04-07 06:41:02 +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 bd2bd7e2bf real arrow visibility fix
fix numbers not actually being random
2004-12-11 12:31:17 +00:00
Glenn Maynard d9843f67f1 arrow visibility fix 2004-12-11 12:11:36 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard aea0a41a68 clean up STYLE_TECHNO_VERSUS8 hack: Sprite really should not
be depending on GameState
2004-06-08 22:27:37 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Glenn Maynard ebfe37f70b Several effect fixes and simplifications. 2003-09-30 03:14:09 +00:00
Glenn Maynard 7be871b13a Nothing ever uses YOffset directly; everything sends it to either
ArrowGetYPosWithoutReverse or ArrowGetYPos.  ArrowGetYPos
sends it to ArrowGetYPosWithoutReverse.

Fold ArrowGetYPosWithoutReverse into ArrowGetYOffset.
2003-09-26 03:31:58 +00:00
Glenn Maynard 48d8017fa7 Move functions around. 2003-09-26 03:21:53 +00:00
Glenn Maynard ab3d3c622a Fix visibility modifiers when combined with reverse modifiers 2003-09-04 05:27:43 +00:00
Glenn Maynard 5fd9adbe38 Move ARROW_SPACING into ArrowEffects.cpp.
Move ARROW_SIZE into GameConstantsAndTypes.h.
2003-09-04 04:57:54 +00:00
Chris Danford 248a61513a Add scrolls: split and alternate 2003-08-17 00:15:54 +00:00
Chris Danford 7429c86ebe Add "tipsy" effect (is there a better name for this?) 2003-08-16 23:34:47 +00:00
Glenn Maynard f9ff8d49fb Z-buffer for effects on the Z axis. 2003-07-09 01:34:48 +00:00
Glenn Maynard 1921765e9e Allow for effects on the Z axis. 2003-07-09 00:49:05 +00:00
Chris Danford 25ef2863e0 add time-based spacing and variable scroll speed (commented out because it wasn't as helpful as I hoped) 2003-04-16 22:49:40 +00:00
Chris Danford 5028fab1bc fixed interaction between arrow brightness and boomerang
fixing more course problems
2003-02-17 02:45:30 +00:00
Chris Danford b129bd7601 fixed wrong tap darking w/ reverse
working on course Ranking
2003-02-12 22:52:28 +00:00
Chris Danford 68f4bf1f31 cleaned up ShowSongOptions pref
Added fade for missed tap notes
move FailType to MachineOptions (so it's persistent)
2003-02-12 22:05:14 +00:00
Chris Danford 559c3b7248 NEW FEATURE: Added 0.25x scroll speed
CHANGE:  Reorganized options on Player Options screen
NEW FEATURE:  New modifier: Acceleration-Land
NEW FEATURE:  New modifier: Acceleration-Expand
NEW FEATURE:  New modifier: Acceleration-Boomerang
CHANGE:  Tweaked Acceleration-Wave for more of a challenge
CHANGE:  Changed format  NoteSkin tap graphic format.  Existing NoteSkins will
	need to update the tap graphic.
2003-01-25 11:05:12 +00:00
Glenn Maynard e362ba16ef some #pragma once's 2002-11-16 07:49:38 +00:00
Chris Danford d7626f6004 Fixed missing/wrong theme elements 2002-09-05 03:45:07 +00:00
Chris Danford 5fb403639f Moved even more constants into theme metrics 2002-08-29 01:38:21 +00:00
Chris Danford 7922f5bbc7 Updated AnnoucerManager::GetPathTo to act like ThemeManager. More theme and Ez2 cleanup. 2002-08-27 23:31:41 +00:00
Chris Danford a0c7d5bd22 added BackgroundChange editing and DWI saving to editor 2002-08-23 20:18:29 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford f9046674fb re-wrote score/statistics tracking 2002-07-28 20:28:37 +00:00
Chris Danford 2f80235590 no message 2002-05-19 01:59:48 +00:00
Chris Danford 6f1c1e4619 no message 2002-05-01 19:14:55 +00:00
Chris Danford 78f3e80118 2.50 checkin 2002-04-16 17:31:00 +00:00
Chris Danford 4acf0389d2 moved some things around in preparation for new game types 2002-03-19 07:09:49 +00:00
Chris Danford 09f6044820 Code cleanup and bug fix in smpackage 2002-02-24 10:31:20 +00:00