Redline/source/challenges.h
maride 02061d74c2 Original 1.0.5 code
(as received from Jonas Echterhoff)
2016-04-02 14:43:55 +02:00

25 lines
470 B
C

#ifndef __CHALLENGES
#define __CHALLENGES
typedef struct{
char name[256];
char description[512];
float goldTime,silverTime,bronzeTime;
int requirements;
int color;
int reverse;
tFileRef map,car,environment;
tFileRef replay;
} tChallenge;
typedef struct{
int numChallenges;
tChallenge *challenges;
} tChallengeList;
#define kChallengeListFileName "challenges.cfg"
int HasChallengeRequirements(int requirements,int hasReq);
void InterfaceChallenge();
#endif