Chris Danford
c1e4a0baee
don't show endless courses in ranking
2005-03-27 10:31:27 +00:00
Ted Percival
476bc01a9d
replace arbitrarilyy "big" initialisers with those from <limits.h>
2005-03-25 12:37:17 +00:00
Chris Danford
98aeb3d50f
add GetAllTrails
2005-03-22 10:33:47 +00:00
Glenn Maynard
3d7325b457
cache all courses
2005-03-19 11:52:14 +00:00
Ben Anderson
0db665d4d6
Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory.
2005-03-14 06:44:38 +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
68a0c2ab57
remove DIFFICULTIESTOHIDE. It's redundant with "nodifficult"
2005-03-11 02:03:00 +00:00
Chris Danford
2957b7939f
mystery -> secret
2005-03-10 22:54:55 +00:00
Chris Danford
93947f375a
fix missing part of the previous commit
2005-03-10 21:57:56 +00:00
Chris Danford
5d67acd9f6
fix AV if no #DIFFICULTIESTOHIDE
2005-03-10 20:53:07 +00:00
Chris Danford
899de39e84
add DifficultiesToHide tag to courses
2005-03-10 20:49:06 +00:00
Chris Danford
8b32383969
move DifficultiesToShow into CommonMetrics
...
re-cache on theme reload, not on timer expired
2005-03-10 19:57:43 +00:00
Glenn Maynard
00b82cf86a
fix course bugs
2005-03-08 01:07:01 +00:00
Glenn Maynard
776060e913
implement course radar value caching
2005-03-07 22:30:39 +00:00
Chris Danford
a0ebb13fec
add lua bindings
2005-02-21 17:20:11 +00:00
Glenn Maynard
0f010d2321
add Course::FindFixedSong, Attack::FromGlobalCourseModifier
2005-01-03 23:30:56 +00:00
Chris Danford
2b9d990e71
prefs name cleanup
2004-12-04 06:09:30 +00:00
Glenn Maynard
82522540ba
only cache course banners for courses that actually loaded
2004-12-02 23:04:15 +00:00
Glenn Maynard
639afd0bfd
memory optimization: sizeof(Trail) * NUM_STEPS_TYPES * NUM_DIFFICULTIES adds up.
...
This will cause Trail*s returned from GetTrail to become invalid when the trail
cache is invalidated.
2004-11-05 08:54:09 +00:00
Chris Danford
eb1d517cc9
don't hard-code course colors
2004-10-07 22:20:52 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Glenn Maynard
2846fb4c9c
fix crashes on invalid #MODS entry
2004-09-08 00:33:20 +00:00
Glenn Maynard
189018ac04
better assertions
2004-09-06 07:03:32 +00:00
Glenn Maynard
1f1b24b7b1
add Course::GetAllCachedTrails
2004-08-30 22:15:57 +00:00
Chris Danford
873c148f0e
fix crash on exiting editor
...
clean up invalidation of Song and Courses
2004-08-12 04:49:15 +00:00
Glenn Maynard
aad73b53e9
(float) atof() -> strtof(), which computes in float instead of computing in
...
double and casting to float, which is silly
2004-08-10 20:57:59 +00:00
Glenn Maynard
0295d00db1
Fix radar values being calculated for non-fixed trail entries; the
...
Trail::GetRadarValues case didn't handle BEST, caprice, and m_bRandomize.
Catalog.xml writing is still too slow (eg. for "Tournamix 4 Sample.crs").
2004-08-05 20:03:03 +00:00
Chris Danford
b028934429
clean up Course cache logic
2004-07-24 06:40:51 +00:00
Glenn Maynard
5217d21a98
remove trace
2004-07-13 22:47:40 +00:00
Chris Danford
3d1bb5b97a
save radar values in Catalog.xml
...
change Course to have the same title names as Song
2004-07-11 10:02:38 +00:00
Glenn Maynard
7634898375
fix course sort crashes
2004-06-20 16:54:51 +00:00
Glenn Maynard
b0590a0da1
clear the trail cache automatically when the round seed changes
2004-06-11 21:13:05 +00:00
Glenn Maynard
65cece919e
fix random meter course entries not showing up correctly in CourseEntryDisplay (again)
2004-06-08 07:19:56 +00:00
Glenn Maynard
c266c71dca
stop accessing Song::m_vpSteps directly
2004-06-04 23:29:13 +00:00
Thad Ward
a539219d63
use the meter values for the current course entry, not (possibly)
...
some other entry.
2004-06-04 22:06:31 +00:00
Glenn Maynard
4f5febbf07
fix m_iCustomMeter not initialized correctly
...
GetTrails: don't return course difficulties that aren't being displayed
2004-06-04 02:52:07 +00:00
Glenn Maynard
b93d1bfd5e
first pass at merging CourseDifficulty into Difficulty
...
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard
8cbea03d58
remove Course::HasCourseDifficulty
2004-06-03 21:51:33 +00:00
Glenn Maynard
184024d538
if !HasCourseDifficulty(cd), return NULL from GetTrail instead of COURSE_DIFFICULTY_REGULAR
2004-06-03 21:45:24 +00:00
Chris Danford
61581479d8
track the current Trail in GameState
2004-06-03 08:22:02 +00:00
Glenn Maynard
80efe21839
store meter in Trail (like Steps)
2004-06-02 08:13:09 +00:00
Glenn Maynard
784af74244
add GetTrails
...
make GetTrail return value not become invalid after ClearCache() is called
2004-06-02 07:15:19 +00:00
Glenn Maynard
2cab5c4689
license updates
2004-05-31 22:42:12 +00:00
Glenn Maynard
59dd323920
fix difficulty changes not visible in CourseEntryDisplay
2004-05-31 21:05:34 +00:00
Glenn Maynard
a5e1bf6fbf
fix Course::HasCourseDifficulty always returning true
2004-05-31 20:06:21 +00:00
Glenn Maynard
41ef4f0edc
TitleSubstitution cleanup, license update
2004-05-31 00:59:33 +00:00
Glenn Maynard
c2d5ca167f
simplify
2004-05-26 02:46:35 +00:00
Glenn Maynard
3a408a5596
Change difficult course behavior for meter-selected course entries. Pre-
...
adjusting the range (eg. 2..4 -> 4..6) can result in a different song being
selected. This can result in each player getting a different song at the
same point in a course when LockCourseDifficulties is disabled.
2004-05-25 20:41:41 +00:00
Glenn Maynard
07cc7b5321
Fix "4..6" ranges never showing up in CourseContentsList. (That's why
...
iCourseIndex and Course::GetDifficulty existed.)
2004-05-25 20:33:17 +00:00
Steve Checkoway
f817d4bdb2
Fix warnings
2004-05-25 10:22:54 +00:00