coastline 0.0.4
Loading...
Searching...
No Matches
trackselect.h
Go to the documentation of this file.
1#ifndef COASTLINE_TRACKSELECT_H
2#define COASTLINE_TRACKSELECT_H
3
8
9#include "common/types.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
16enum {
22#if TGR_BOSS_RALLY
24#else
26#endif
31};
32
34#if TGR_BOSS_RALLY
35#define TRACK_MIRRORED 6
36#else
37#define TRACK_MIRRORED 5
38#endif
39
51
60extern s32 g_dwNumTracks;
61
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* COASTLINE_TRACKSELECT_H */
s32 g_dwNumTracks
The number of tracks.
@ TRACK_MIRROR_MOUNTAIN
Definition trackselect.h:27
@ TRACK_MIRROR_STRIP_MINE
Definition trackselect.h:29
@ TRACK_MIRROR_COASTLINE
Definition trackselect.h:28
@ TRACK_COASTLINE
Definition trackselect.h:19
@ TRACK_STRIP_MINE
Definition trackselect.h:20
@ TRACK_DESERT
Definition trackselect.h:17
@ TRACK_MOUNTAIN
Definition trackselect.h:18
@ TRACK_MIRROR_JUNGLE
Definition trackselect.h:30
@ TRACK_MIRROR_DESERT
Definition trackselect.h:25
@ TRACK_JUNGLE
Definition trackselect.h:21
s32 IsTrackIndexValid(s32 track)
Whether a track exists on the cartridge.
u32 g_dwSelectedTrackId
The track chosen for the next race.
The integer and floating-point types of the console, for headers shared with Windows.
unsigned int u32
Definition ultratypes.h:20
int s32
Definition ultratypes.h:25