TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
tReTrackCandidate Struct Reference

Track directory pair that can be selected by a race manager. More...

#include <racetrackselect.h>

Public Member Functions

 tReTrackCandidate (const char *trackCategory, const char *trackName)
 Build a track candidate from category and track directory names.

Public Attributes

std::string category
 Track category directory name.
std::string name
 Track directory and XML base name.

Detailed Description

Track directory pair that can be selected by a race manager.

The category and name are internal directory names, not localized display names.

Definition at line 34 of file racetrackselect.h.

Constructor & Destructor Documentation

◆ tReTrackCandidate()

tReTrackCandidate::tReTrackCandidate ( const char * trackCategory,
const char * trackName )

Build a track candidate from category and track directory names.

Parameters
[in]trackCategoryTrack category directory name
[in]trackNameTrack directory and XML base name

Definition at line 33 of file racetrackselect.cpp.

Member Data Documentation

◆ category

std::string tReTrackCandidate::category

Track category directory name.

Definition at line 41 of file racetrackselect.h.

◆ name

std::string tReTrackCandidate::name

Track directory and XML base name.

Definition at line 42 of file racetrackselect.h.


The documentation for this struct was generated from the following files:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/libs/raceengineclient/racetrackselect.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/libs/raceengineclient/racetrackselect.cpp