Commit Graph

154 Commits

Author SHA1 Message Date
Glenn Maynard 34ce2ce7cb handle mod combining properly 2008-05-12 23:22:45 +00:00
Mike Hawkins 2fc7e2d98b Change to confusion code so it accounts for dizzy being on as well (dizzy only acts as a multiplier; it's behaviour is changed this way to account for the fact the receptors are also rotating). 2008-05-12 22:48:39 +00:00
Mike Hawkins 76a61ddae4 fixes to confusion code to not break dizzy 2008-05-10 01:06:49 +00:00
Mike Hawkins 8a66c9b0f7 confusion mod fix 2008-05-08 04:32:06 +00:00
Mike Hawkins 2d60147372 no message 2008-05-06 00:19:54 +00:00
Chris Danford 5e87c2e81a karaoke prototype (disabled) 2008-03-12 23:17:39 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Glenn Maynard e505263ec1 simplify beat 2007-04-29 19:56:06 +00:00
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