Commit Graph

61 Commits

Author SHA1 Message Date
Chris Danford 1333bfd2d8 remove references to specific games for things that are only specific to the controller type 2005-10-07 05:00:52 +00:00
Chris Danford 0200863ced model file name cleanup 2005-10-06 07:00:30 +00:00
Chris Danford 1fffd48c57 SetEffectNone -> StopEffect 2005-07-24 03:11:03 +00:00
Kevin Slaughter 3445dd23bf BeginnerHelper BG positioning corrected 2005-06-13 06:48:42 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Charles Lohr d3cf647638 FIX: that nasty memory leak! 2004-11-30 06:38:41 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Chris Danford 09193d9e4b cleanup:
use references when passing NoteData
  Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Chris Danford d2a54cca31 make TapNote a struct. Over time, more properties will move from the enums and into bit flags. 2004-09-12 05:56:24 +00:00
Chris Danford cf9b4af6cb convert ints and casts to use PlayerNumber and macros 2004-08-30 04:35:14 +00:00
Glenn Maynard e0fe0e6ddd reduce Model.h dependencies 2004-08-19 01:29:46 +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
Glenn Maynard f643f412fb fix warnings 2004-06-24 07:30:04 +00:00
Kevin Slaughter b715153e71 Fixed StepCircle timing a bit more. 2004-06-23 06:51:05 +00:00
Thad Ward 5a348f5035 clean up inconsistent formatting. 2004-06-22 08:10:16 +00:00
Kevin Slaughter 7d8d41838f Fixed weird permanent on-screen shadow bug 2004-06-22 05:24:53 +00:00
Kevin Slaughter 288dc3417f Re-Vamped BeginnerHelper to use StepCircles and more. 2004-06-21 11:02:45 +00:00
Thad Ward e9fe289f2d add Cel Shading drawing code. (I dunno, perhaps this should be part of
Model::Draw() instead of a separate function...)
2004-06-19 04:45:31 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Thad Ward f7de41eb7a fix face culling problem. 2004-05-09 14:18:39 +00:00
Glenn Maynard e9ae2c0803 continue phasing out BASE_PATH and SLASH 2003-12-10 09:44:16 +00:00
Glenn Maynard 3e8cf666ba Don't count demo play in NumTimesPlayed.
Fix BeginnerHelper model load crash; simplify.
2003-12-02 19:11:51 +00:00
Glenn Maynard 5574fe505c Simplify. GAMESTATE->m_pCurCharacters[pl] is always set. 2003-11-02 03:46:23 +00:00
Chris Danford 4414561fe6 add default character so Rave/Battle is playable without character models 2003-09-25 04:22:51 +00:00
Glenn Maynard ceefa6411d Fix dyslexic BeginnerHelper (how'd I miss that?) 2003-09-15 07:31:26 +00:00
Glenn Maynard 8075aaf31a unreachable code 2003-09-12 00:48:15 +00:00
Glenn Maynard 077c5174f3 simplify (twice) 2003-09-12 00:39:40 +00:00
Glenn Maynard 9dc204dad8 Reduce duplicate paths. Improve path checking. 2003-09-12 00:20:07 +00:00
Kevin Slaughter fcd3745c49 FIX:: m_bShowBackground should be true by defualt.. my bad ^_^ 2003-09-11 09:13:11 +00:00
Kevin Slaughter 6dbf9e83b1 minor fixes. switch() is a bit cleaner 2003-09-11 08:46:12 +00:00
Thad Ward 7c948b1896 BeginnerHelper is not available for Solo or Doubles styles. 2003-09-10 23:46:49 +00:00
Thad Ward 955e6803ef make the step values a little more sane. 2003-09-08 17:10:15 +00:00
Thad Ward a38b69fd03 no need to check more frequently than one noterow. Step() now only gets called once per step. 2003-09-08 16:46:23 +00:00
Thad Ward a90822bb19 Remove a little overhead from the BeginnerHelper::Update() path. 2003-09-08 13:56:08 +00:00
Glenn Maynard 77d4263752 Don't change m_pCurCharacters, since then we have to put it back,
and that's tricky to do right.
CanUse(): return false if there aren't any characters.
Simplify.
2003-09-03 03:29:25 +00:00
Glenn Maynard 38345ac64c fix warning 2003-09-01 01:38:49 +00:00
Thad Ward 4a53272d3d tweak timing on the BeginnerHelper again. this timing allows the step animation to complete before the next starts.
not sure if this looks better, or if the old method looked better

side note: can someone with milkshape please make a JumpUD animation that is the same length as the JumpLR, but adds
the 90 degree turn? I really want to kill the magic numbers for the UD jump animation, since they don't always work for every song.
2003-08-31 08:40:56 +00:00
Thad Ward 7f58205242 BeginnerHelper fixes:
change IsPlayerEnabled() to IsHumanPlayer()
check to see if we can use the BeginnerHelper before attempting to use it.
Disable BeginnerHelper for non-Dance game types.
2003-08-31 07:28:19 +00:00
Thad Ward 6e829f27fb move a line to outside the player loop, since it only needs to happen once. 2003-08-30 11:16:43 +00:00
Thad Ward de16e73f62 remove unused iDancePadType member variable
make beginnerhelper not miss steps on fast songs.
(kinda ugly but it works. what was happening is there wasn't a tap note at the position
checked during the updates around the tap note that was missed, so Step was never called for it)
2003-08-30 11:13:14 +00:00
Thad Ward 79b669d3bc Finish up the difficulty chage Sean was working on. 2003-08-29 02:04:13 +00:00
Sean Burke 229c656d25 Make this happen for each place it needs to. 2003-08-29 01:12:06 +00:00
Sean Burke bd50867a69 ...and try to practice what you preach. 2003-08-29 00:21:30 +00:00
Sean Burke 46fc3941d4 Always compile before commit... always compile before commit... 2003-08-29 00:19:29 +00:00
Sean Burke cdaf42c277 This should solve the issue where difficulties other than Beginner could have BeginnerHelper show. 2003-08-29 00:16:29 +00:00