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
Glenn Maynard
692a52673e
Too-big commit in one chunk makes code review impossible--please break
...
things apart better. Trying to figure out what just happened ...
2005-10-31 00:54:52 +00:00
Steve Checkoway
b6df02af4c
Cannot use FOREACH here since --song is not valid for the first element.
2005-10-31 00:32:30 +00:00
Chris Danford
74b107f8bb
don't bother checking for a group match when we already have an exact song match
2005-10-31 00:27:48 +00:00
Thad Ward
df136da381
Optimize. This brings the ALL_COURSES sort time down. I didn't check the time
...
spent in this code in release, but in debug this brings the time spent building
musicwheel items in ALL_COURSES sort mode from 30 seconds with my 1600+
songs in about 80 groups down to 12 seconds. Release is down to 6 seconds,
but I don't know where it was to start. This time would increase nearly
exponentially with the number of songs and groups.
2005-10-30 21:07:50 +00:00
Glenn Maynard
d19569178c
bind GetAllTrails
2005-10-23 07:52:02 +00:00
Chris Danford
015bcd7b1b
remove bForceSecret. Use "noshowcourse" instead.
2005-09-11 01:42:16 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00
Glenn Maynard
41b08697ca
simplify/optimize
2005-09-09 03:47:33 +00:00
Glenn Maynard
0506fee3a7
optimization: avoid GetTrail when meter specified
2005-09-09 02:22:18 +00:00
Glenn Maynard
8b0bd8fd11
cleanup
2005-09-03 23:42:51 +00:00
Chris Danford
133530525f
don't report when an entry uses DIFFICULTY_MEDIUM. That's the default.
2005-08-15 16:03:46 +00:00
Chris Danford
6f2f88315d
add Lua GetCourseEntry
2005-08-15 01:54:46 +00:00
Chris Danford
5cbc1fcd5f
increase MAX_EDIT_COURSE_TITLE_LENGTH
2005-08-03 03:12:09 +00:00
Chris Danford
162f3c8e04
working on new course edit screens
...
rename: bRandomize -> bShuffle
2005-08-01 05:18:24 +00:00
Chris Danford
a2c439a17a
support loading of course edits
2005-07-31 05:41:32 +00:00
Chris Danford
e3167a82d8
working on new course edit screens
2005-07-30 19:34:23 +00:00
Chris Danford
e6df021062
working on new course editor
2005-07-30 04:50:17 +00:00
Chris Danford
4c2a8e4cd7
add CourseTypeToString
...
add lua bindings
2005-07-29 23:02:10 +00:00
Chris Danford
359d745e67
add course edits, improved course editor
2005-07-29 02:23:02 +00:00
Glenn Maynard
03fab683ef
fix backwards IsFixed
2005-07-06 21:46:55 +00:00
Chris Danford
6d0e826c2f
fix VC7 warnings
2005-07-05 11:16:58 +00:00
Glenn Maynard
bb8af41cb1
missing headers
2005-07-01 05:07:22 +00:00
Steve Checkoway
aa71c794ec
Fix warnings.
2005-06-29 06:36:51 +00:00
Chris Danford
6ab20c5ad9
more work on a new course editor
2005-06-28 08:11:30 +00:00
Glenn Maynard
6d9b726210
fix compile (leaving warnings alone for now)
2005-06-27 05:41:43 +00:00
Chris Danford
dda77894e8
Remove CourseEntryType. Instead, treat each CourseEntry property as a filter.
2005-06-27 04:41:36 +00:00
Chris Danford
7a1d736694
working on new course editor
2005-06-26 21:31:07 +00:00
Chris Danford
2a6dcba6e8
cleanup:
...
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Glenn Maynard
9d7f835609
no need to template Luna specializations
2005-06-20 05:02:03 +00:00
Chris Danford
91d375d31a
store course group names
...
show courses on wheel with a group color
2005-06-03 01:57:10 +00:00
Chris Danford
41becb56a4
GetFullDisplayTitle -> GetDisplayFullTitle
2005-05-23 00:38:09 +00:00
Chris Danford
1227d18d6c
Modifier -> Modifiers
2005-05-20 08:57:59 +00:00
Glenn Maynard
14da28b9e5
style fixes
2005-05-19 20:34:35 +00:00
Chris Danford
e389ba6191
convert the rest to use Preference
2005-05-16 09:36:32 +00:00
Chris Danford
9b720502e6
trim whitespace when parsing mods
2005-05-04 03:45:43 +00:00
Chris Danford
dd8e5e5cbb
add check on course load for invalid mod names
2005-05-02 02:41:00 +00:00
Glenn Maynard
cad746ae8c
fix #GAINSECONDS not cached
2005-04-27 03:07:05 +00:00
Glenn Maynard
3a5de2fe67
cleanup
2005-04-24 19:27:30 +00:00
Chris Danford
cc6369f044
fix warning
2005-04-24 11:15:07 +00:00
Chris Danford
c947964986
warn on invalid values
2005-04-22 06:39:35 +00:00
Chris Danford
ef21deb661
assert on invalid attack ranges at load time so they don't slip to play time
2005-04-22 05:15:10 +00:00