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

1 line
623 B
C
Executable File

#ifndef __PARSER
#define __PARSER
#include "fileio.h"
enum{
kParserTypeCarDesc,
kParserTypeRoadTypeDesc,
kParserTypeSurfaceTypeDesc,
kParserTypeConfigDesc,
kParserTypeEnvironmentDesc,
kParserTypeMapInfoDesc,
kParserTypeSolidEntityDesc,
kParserTypeFontInfoDesc,
kParserTypeCareerDataDesc,
kParserTypeCareerRaceDataDesc,
kParserTypeGaugesListDesc,
kParserTypeChallengeList,
kParserTypeTexturePriorityList,
kParserTypeImageURL,
};
int ParseFile(tFileRef fileId, void *dataBuffer,int fileType);
void CryptData(char *data,int size);
void GetLine(char *line,char **filePos,char *fileEnd,int buffersize);
#endif