mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 03:14:07 +00:00
first commit for LCS
This commit is contained in:
parent
bc363a74f5
commit
ebdf08a514
35 changed files with 534 additions and 533 deletions
|
@ -846,14 +846,15 @@ CFileLoader::LoadVehicleObject(const char *line)
|
|||
char type[8], handlingId[16], gamename[32], animFile[16], vehclass[12];
|
||||
uint32 frequency, comprules;
|
||||
int32 level, misc;
|
||||
float wheelScale;
|
||||
float wheelScale, normalSplay;
|
||||
CVehicleModelInfo *mi;
|
||||
char *p;
|
||||
|
||||
sscanf(line, "%d %s %s %s %s %s %s %s %d %d %x %d %f",
|
||||
sscanf(line, "%d %s %s %s %s %s %s %s %d %d %x %d %f %f",
|
||||
&id, model, txd,
|
||||
type, handlingId, gamename, animFile, vehclass,
|
||||
&frequency, &level, &comprules, &misc, &wheelScale);
|
||||
&frequency, &level, &comprules, &misc, &wheelScale,
|
||||
&normalSplay);
|
||||
|
||||
mi = CModelInfo::AddVehicleModel(id);
|
||||
mi->SetName(model);
|
||||
|
@ -873,6 +874,8 @@ CFileLoader::LoadVehicleObject(const char *line)
|
|||
mi->m_vehicleType = VEHICLE_TYPE_BOAT;
|
||||
}else if(strcmp(type, "train") == 0){
|
||||
mi->m_vehicleType = VEHICLE_TYPE_TRAIN;
|
||||
}else if(strcmp(type, "ferry") == 0){
|
||||
mi->m_vehicleType = VEHICLE_TYPE_FERRY;
|
||||
}else if(strcmp(type, "heli") == 0){
|
||||
mi->m_vehicleType = VEHICLE_TYPE_HELI;
|
||||
}else if(strcmp(type, "plane") == 0){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue