Commit Graph

146 Commits

Author SHA1 Message Date
Glenn Maynard 61c3a6244c add VisualDelaySeconds 2007-03-09 01:22:09 +00:00
Glenn Maynard 62700dffa4 ArrowSpacing metric 2007-03-07 03:04:48 +00:00
Glenn Maynard 5cca5aa4dd pull out basic multiplier 2007-03-07 03:01:23 +00:00
Chris Danford 491ab6eaf5 StyleType enum name cleanup 2007-02-22 06:56:17 +00:00
Glenn Maynard 7fe61e5b9c apply effect history to frame width 2007-01-16 00:46:16 +00:00
Glenn Maynard e7d4ff3495 one less GetYPos call per arrow 2006-11-13 18:38:29 +00:00
Glenn Maynard 81b1ed162b fYPos -> fYPosWithoutReverse 2006-11-13 18:36:28 +00:00
Glenn Maynard 71e558e9f7 fYPos -> fYPosWithoutReverse 2006-11-13 18:32:42 +00:00
Chris Danford bf20880ba9 name cleanup. Replace:
StartDrawingAtPixels
 FirstPixelToDraw
 YStartOffset
 DrawFarY
with:
 DrawDistanceAfterTargetsPixels
2006-11-13 06:12:38 +00:00
Chris Danford 06e30d1f45 support fading in of notes from 0 alpha at farthest draw point to 1 alpha closer 2006-11-13 02:27:23 +00:00
Steve Checkoway 30d9410b65 Unneeded. 2006-11-01 10:45:51 +00:00
Glenn Maynard 697baec3c8 don't use RandomFloat(int*) interface; do this directly, since it
really does expect something like an LCG
2006-10-18 01:04:34 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00
Steve Checkoway 6b38a1bea5 TWO_PLAYERS_SHARED_SIDES. 2006-06-24 00:09:50 +00:00
Glenn Maynard fad6a6e4c1 cleanup 2006-04-14 12:27:58 +00:00
Glenn Maynard 3e036ff06a Apply m_ColumnInfo->fXOffset in GetXPos. Doing this in BeginDrawTrack makes
it hard to apply effects in the right order.  (This might also be able to
simplify Flip, but that's for later ...)

Fix Mini scaling doesn't apply to mod adjustments.  Fixes weird "Mini+Flip"
and probably other combinations.

(This also eliminates the need for NoteFieldMode entirely, which I've wanted
to remove for a long time.)
2006-04-14 12:21:34 +00:00
Chris Danford 74ecf45379 add Tiny (the same effect as the old Mini)
make calories less generous
2006-04-05 02:59:16 +00:00
Glenn Maynard d3389a90c6 simplify 2005-10-25 19:18:48 +00:00
Glenn Maynard 7427c17629 fix m_fInvertDistance 2005-10-23 07:50:16 +00:00
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
Glenn Maynard 2378994167 cleanup 2005-10-23 04:14:06 +00:00
Glenn Maynard a38d69ed03 fix off by half a pixel in centered 2005-10-23 04:11:27 +00:00
Glenn Maynard 60b9939f44 cleanup 2005-10-23 02:52:24 +00:00
Glenn Maynard 45609c3456 cleanup 2005-10-23 02:48:03 +00:00
Glenn Maynard 62ef25e655 cleanup 2005-10-23 02:40:40 +00:00
Glenn Maynard 025b671698 fix mini when not in 0..1 2005-10-22 23:31:12 +00:00
Glenn Maynard 4410080639 Tweak mini: instead of zooming out the whole field, zoom out each individual
arrow, and push the columns together a bit.  It looks the same, except that it
doesn't cause arrows to be closer together, like increasing the scroll speed to
match.  This keeps mini from causing many more notes to be drawn.  In general,
effects should try to avoid needing to increase fDrawScale.
2005-10-22 21:54:08 +00:00
Glenn Maynard dd5353bd94 cleanup
wrap fExpandSeconds
2005-10-22 05:17:10 +00:00
Glenn Maynard 671af1903c performance fix: don't call GetDeltaTime from ArrowEffects 2005-10-22 04:17:00 +00:00
Glenn Maynard 6badb0dd8c transitioning m_bEditing -> m_EditMode, IsEditing() 2005-07-14 05:12:56 +00:00
Chris Danford 6ca0639c3c add invert 2005-05-05 21:40:54 +00:00
Chris Danford 7f8cd16299 fix hang with 200% mini 2005-04-29 04:27:01 +00:00
Chris Danford b22fa5c673 allow negative % mods 2005-04-22 08:28:19 +00:00
Chris Danford 7caea1e41a add HiddenOffset, SuddenOffset mods 2005-04-20 08:54:12 +00:00
Chris Danford 99f817953a fix warnings 2005-04-07 08:28:13 +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 7bc684bc52 nerf expand a tiny bit to fix perf problems on systems that can't handle 0.5x 2005-04-02 04:54:28 +00:00
Chris Danford afb2c2efb4 replace large, arbitrary numbers with limit constants 2005-03-29 19:10:42 +00:00
Chris Danford 7ca20486ef use sin lookup table to fix terrible performance with float and tipsy performance on some archs 2005-03-22 00:58:05 +00:00
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
Chris Danford a3e0bacbd8 Reset the round seed so that the players get new shuffle patterns if they Back out of gameplay and play again
RoundSeed -> StageSeed
2005-03-11 18:09:34 +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 1e4eb54010 update comment 2004-12-11 22:31:21 +00:00
Glenn Maynard 29620a19bf make 0% RandomSpeed no effect (like other mods), instead of 100%
fix options menu selection
2004-12-11 21:48:32 +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
Glenn Maynard e9dde787f3 simplify 2004-12-11 11:58:56 +00:00
Steven Towle e7f1204f41 added random speed modifier (as an experiment for random variables in modifiers) 2004-12-11 11:06:41 +00:00
Chris Danford ce4780559f froundf -> Quantize 2004-10-24 17:44:51 +00:00