coastline 0.0.4
Loading...
Searching...
No Matches
racersharing.h
Go to the documentation of this file.
1#ifndef COASTLINE_RACER_SHARING_H
2#define COASTLINE_RACER_SHARING_H
3
4#include "common/vehicle.h"
5
7typedef struct {
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
24s32 CompareRacerProgressAsc(const void *a, const void *b);
25
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif /* COASTLINE_RACER_SHARING_H */
void ManageAiRacerSlots(Vehicle *player)
Assign computer vehicles to racers near a player.
s32 CompareRacerProgressAsc(const void *a, const void *b)
Order racer sort keys from least to greatest.
The progress of a racer for sorting.
Definition racersharing.h:7
s32 slot
Definition racersharing.h:9
f32 progress
Definition racersharing.h:8
A vehicle.
Definition vehicle.h:143
float f32
Definition ultratypes.h:38
int s32
Definition ultratypes.h:25
The vehicles of a race, the cars they are, and their place on the track.