Commit Graph

351 Commits

Author SHA1 Message Date
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard b67e57864e Invalid 2006-10-07 03:32:16 +00:00
Glenn Maynard e91a806b37 remove LuaFunctions.h 2006-09-29 09:54:50 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard ea7c05cee5 simpler Lua boilerplate 2006-09-27 19:53:05 +00:00
Glenn Maynard 982228b7e6 bind StepsType 2006-09-27 06:09:52 +00:00
Glenn Maynard 9c9440c8a0 PlayMode_Invalid 2006-09-26 20:32:41 +00:00
Glenn Maynard 600fdfea63 simplify LuaXType 2006-09-26 07:13:54 +00:00
Glenn Maynard 95a384b970 LuaXType2 -> LuaXType 2006-09-26 06:47:53 +00:00
Glenn Maynard aeebc89106 update typing 2006-09-26 04:08:12 +00:00
Glenn Maynard f68b0e4440 remove old 2006-09-26 04:08:11 +00:00
Glenn Maynard c011185fa9 new binding method 2006-09-26 01:54:36 +00:00
Glenn Maynard 969efc7f0f fix GetTotalSeconds 2006-09-07 22:11:54 +00:00
Steve Checkoway 076205f683 Bind. 2006-09-01 03:05:47 +00:00
Steve Checkoway 214873da10 Header cleanup. 2006-08-19 23:35:31 +00:00
Steve Checkoway ba1a57b15d Bindings. 2006-08-19 20:49:16 +00:00
Glenn Maynard 62def4a5e6 bind GetEstimatedNumStages 2006-08-19 05:04:17 +00:00
Jason Felds bf548b5e89 General cleanup. 2006-08-18 02:41:55 +00:00
Glenn Maynard 5526d54b8b bind IsAutogen 2006-08-16 22:54:28 +00:00
Steve Checkoway e7c5b14196 Remove timing code. 2006-07-30 11:36:18 +00:00
Steve Checkoway 5bffacf3a6 Optimize. With a debug build, this is taking less than a third as long as before. Idea (and some code) from:
https://sourceforge.net/tracker/?func=detail&atid=421366&aid=1511048&group_id=37892
2006-07-30 11:35:46 +00:00
Steve Checkoway 879de00412 Simplify. 2006-07-30 00:09:16 +00:00
Chris Danford 29d77f5c8c search songs by a genre list
move MenuDir to SSMaster header
GoalType name cleanup
2006-07-11 06:51:46 +00:00
Chris Danford 380f97f903 fix course entry sorting 2006-07-03 00:05:13 +00:00
Chris Danford 97d28100ae use SongCriteria and StepsCriteria to resolve songs for Trail 2006-07-02 06:04:53 +00:00
Chris Danford 1092237cb0 don't choose the same song for 2 TrailEntries in a row 2006-06-14 09:16:28 +00:00
Chris Danford c7124728e0 move song finding to SongUtil 2006-06-13 03:51:18 +00:00
Steve Checkoway 2ea4cb1ead Don't allow locked songs in edit courses. Allow limiting the number of songs in an edit course to a preference. Nonpositive numbers are infinitely many songs per course (well, up to the hard limit of MAX_ENTRIES_PER_COURSE=50). 2006-06-12 10:49:04 +00:00
Steve Checkoway 8de96799ad Add better logging. It'd be nice if these values were checked as they were read in from Preferences.ini. 2006-05-20 06:16:09 +00:00
Charles Lohr a84d30b92e Fix crash from MusicWheel when in BuildWheelItemData(), and under case SORT_ENDLESS_COURSES. Automatically generated courses will cause there to be no group name, and the default (preferred) sort. When this function does not return a value, and it gets assigned to c (In MusicWheel), in some cases we will get a crash.
By default, I use white in the metrics, this doesn't look "great," but it should be up to the themer.
2006-05-17 06:49:55 +00:00
Sean Burke 498c8fcefb I suppose that this is a better way to do it 2006-05-16 10:04:36 +00:00
Chris Danford cb65313c83 fix bogus assert fires for autogen courses 2006-05-04 07:09:08 +00:00
Chris Danford 8814cb747d add courses preferred sort 2006-05-01 21:49:59 +00:00
Chris Danford bc6f682ebb add lua bindings 2006-05-01 12:45:42 +00:00
Chris Danford ab84dffa0f disallow locked steps in random courses 2006-03-27 21:53:33 +00:00
Steve Checkoway cc7a528269 The distinction between a random course entry and a nonfixed one is not clear. A newly created course entry would have IsRandomSong() return false yet when placed in a course, the course would return AllSongsFixed() as false. Redefine a random song to be pSong = NULL.
Remove the sentinel value since the songs are already shuffled. Picking the first one is enough.
2006-02-21 02:29:22 +00:00
Steve Checkoway 6bc529f51b This only modifies mutable data so make it const to silence the compiler warning about calling it from a const function. 2006-02-21 01:54:50 +00:00
Steve Checkoway 439c0f2011 IsFixed and AllSongsAreFixed were identical. IsFixed -> AllSongsAreFixed. 2006-02-21 01:48:01 +00:00
Steve Checkoway e6a456e1c3 Handle random entries. 2006-02-21 01:36:49 +00:00
Glenn Maynard 62a0ac1370 spacing 2006-02-14 11:16:39 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 47010623cd move Course autogen logic into CourseUtil 2006-01-09 21:57:41 +00:00
Chris Danford 44225ad379 XToThemedString -> XToLocalizedString 2006-01-07 04:11:29 +00:00
Glenn Maynard b734b602d2 force TypeName arrays for XToString to be an array of const char*, not CString 2006-01-04 22:30:51 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Chris Danford 36c7d8e0ed enum name cleanup 2005-12-01 03:20:25 +00:00
Glenn Maynard d10c1b08ad Avoid calling GetSongsValidForRandom for static courses. 2005-10-31 01:26:24 +00:00
Glenn Maynard d6ca8b3777 break out GetSongsValidForRandom 2005-10-31 01:19:54 +00:00
Glenn Maynard a58a2a2bb2 This seems to have optimized an uncommon case at the cost of the
common case.  Normally, most songs in most courses are static.  Previously,
in those cases, the filtered song list would never be generated; now it's
generated for every course.  Optimize the filtering (erase() on a vector is
slow).
2005-10-31 01:18:10 +00:00