Back to index

extremetuxracer  0.5beta
Classes | Functions | Variables
course_mgr.h File Reference
#include "etracer.h"
#include "pp_types.h"
#include <list>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CupData
struct  EventData
class  CourseData

Functions

void init_course_manager ()
 Initializes the course manager module.
void register_course_manager_callbacks (Tcl_Interp *ip)

Variables

std::list< CourseDataopenCourseList
std::list< EventDataeventList

Class Documentation

struct CupData

Definition at line 33 of file course_mgr.h.

Collaboration diagram for CupData:
Class Members
string icon
string name
list< CourseData > raceList
struct EventData

Definition at line 39 of file course_mgr.h.

Collaboration diagram for EventData:
Class Members
list< CupData > cupList
string icon
string music
string name

Function Documentation

Initializes the course manager module.

Returns:
None
Author:
jfpatry
Date:
Created: 2000-09-19
Modified: 2000-09-19

Definition at line 54 of file course_mgr.cpp.

{
    check_assertion( initialized == false,
                   "Attempt to initialize course manager twice" );

    initialized = true;
}

Here is the caller graph for this function:

void register_course_manager_callbacks ( Tcl_Interp *  ip)

Definition at line 921 of file course_mgr.cpp.

{
    Tcl_CreateCommand (ip, "tux_open_courses", open_courses_cb, 0,0);
    Tcl_CreateCommand (ip, "tux_events", events_cb, 0,0);
    Tcl_CreateCommand (ip, "tux_get_race_conditions", 
                     get_race_conditions_cb, 0,0);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

std::list<EventData> eventList

Definition at line 33 of file course_mgr.cpp.

Definition at line 32 of file course_mgr.cpp.