Commit Graph

32 Commits

Author SHA1 Message Date
John Bauer 5d2bf93725 Make all uses of the Steps* in the TrailEntry class use an accessor method.
This makes it simple to switch to something else, such as using a StepsId
instead of a Steps*.
2006-11-10 05:04:09 +00:00
John Bauer a55c69dc6e Push the string for StepsType onto Lua instead of the integer.
This fixes a bug where opening the course editor and pressing down
immediately CTDs.

There is still a bug where sometimes a "random" stepchart has an
uninitialized StepsType.  This can be reliably triggered by going to the
Course Editor, creating a new course, and exiting without changing
the course any.  It will have one random song with an uninitialized
StepsType, causing a CTD.
2006-11-05 00:09:54 +00:00
Steve Checkoway b863eef79a Difficulty. Remove unused deprecated. 2006-10-17 08:41:33 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard 153bcedd40 simpler Lua boilerplate 2006-09-27 20:03:31 +00:00
Glenn Maynard a059d58ed6 GetDifficulty, for same interface as Steps 2006-08-16 21:34:36 +00:00
Glenn Maynard aa525eeb44 add GetArtists 2006-08-16 05:36:40 +00:00
Glenn Maynard a822e8cb45 GetRadarValues() binding 2006-08-16 05:11:32 +00:00
Steve Checkoway 884af552ee Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file. 2006-07-28 03:34:14 +00:00
Glenn Maynard 473a985512 const 2006-01-17 05:24:42 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Chris Danford dbaec61958 lua method rename: GetDifficulty -> GetCourseDifficulty 2005-08-01 05:11:30 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard d07c68cf26 lua 2005-05-06 11:59:09 +00:00
Chris Danford 534842c2da calculate grade with possible values from radarValues, not from judgement counts from attempted steps 2005-04-26 04:16:45 +00:00
Glenn Maynard 3d7325b457 cache all courses 2005-03-19 11:52:14 +00:00
Chris Danford 2957b7939f mystery -> secret 2005-03-10 22:54:55 +00:00
Glenn Maynard 776060e913 implement course radar value caching 2005-03-07 22:30:39 +00:00
Glenn Maynard 0f010d2321 add Course::FindFixedSong, Attack::FromGlobalCourseModifier 2005-01-03 23:30:56 +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 c4febdcf62 fix "Trail RadarValues off by -1" 2004-08-22 17:23:08 +00:00
Glenn Maynard d60a482f75 don't calculate radar entries for autogen trail entries 2004-08-05 20:14:28 +00:00
Chris Danford b028934429 clean up Course cache logic 2004-07-24 06:40:51 +00:00
Chris Danford 6564a39a9e cache Trail RadarValues. There needs to be more coordination with Course's Trail cache though. 2004-07-23 05:28:41 +00:00
Chris Danford 27ece3ecbf fix "transform mods that last for a whole song in a course get applied twice"
fix "impossible to get 100% on a course that uses AddMines" by calculating RadarValues after applying mods
Trail::GetRadarValues needs to do caching.  Performance is bad.
2004-07-23 04:45:48 +00:00
Chris Danford 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Glenn Maynard 549cd7c83f license updates 2004-05-31 21:35:31 +00:00
Glenn Maynard a15ef652c3 Attack::operator==, TrailEntry::operator== 2004-05-31 20:04:56 +00:00
Glenn Maynard 71df5d0d3c fix difficulty icon placement in reverse course songs
fix global modifiers tweening in
2004-05-26 04:33:07 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Chris Danford a9338140dc fix linux compile 2004-05-23 21:16:58 +00:00
Chris Danford abfc956e4f refactor Course: move some responsibilities to Trail 2004-05-23 00:53:20 +00:00