make trail handling mimic steps handling

This commit is contained in:
Glenn Maynard
2004-06-03 20:47:37 +00:00
parent 2a121229d7
commit b1bbce2edb
2 changed files with 23 additions and 13 deletions
+4 -2
View File
@@ -21,11 +21,12 @@
class Course;
class Song;
class Trail;
enum PageType
{
PAGE_TYPE_CATEGORY,
PAGE_TYPE_COURSE,
PAGE_TYPE_TRAIL,
PAGE_TYPE_ALL_STEPS,
PAGE_TYPE_ALL_COURSES,
NUM_PAGE_TYPES
@@ -48,6 +49,7 @@ protected:
PageToShow()
{
pCourse = NULL;
pTrail = NULL;
}
PageType type;
@@ -55,7 +57,7 @@ protected:
StepsType nt;
RankingCategory category;
Course* pCourse;
CourseDifficulty cd;
Trail* pTrail;
};
float SetPage( PageToShow pts );