Commit Graph

131 Commits

Author SHA1 Message Date
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
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Chris Danford 5430ecb232 rename: Converge -> Centered 2004-08-29 07:12:37 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Geoff Benson 9609f5303a Added support for Dance Magic/Battle on Techno Motion 8-panel. Kind of hacky, but perhaps it will inspire others. 2004-06-23 22:18:22 +00:00
Geoff Benson e0c7539a42 Updated sizing/positioning on Techno Motion to better match arcade 2004-06-23 12:12:22 +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 ab7e7b1afa fix brake/boost tweening
allow tweening to/from constant speed mods
2004-04-09 04:49:29 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard f5d2ddb719 fix stealth (can't multiply fVisibleAdjust; it starts at 0) 2004-03-19 02:21:51 +00:00
Chris Danford ebddb801fd make double + tornado easier 2004-03-14 20:29:42 +00:00
Chris Danford be223e7d86 fix expand in/out transition 2004-03-14 19:55:17 +00:00
Chris Danford 75a34c6979 fix interaction between accelerations 2004-02-29 19:21:16 +00:00
Chris Danford dbd09cd1a1 improve hidden+sudden behavior 2004-02-29 08:59:12 +00:00