API Documentation
Loading...
Searching...
No Matches
VehicleModel.h
Go to the documentation of this file.
1#pragma once
4namespace NDEVR
5{
6 class VehicleRecord;
30 {
31 public:
33 VehicleModel(const Model& model);
34 void setupFromRecord(const VehicleRecord& record);
35 void setVisuals(const Model& visuals);
36 void readModelFromFile(const File& f);
37 static constexpr const char* TypeName()
38 {
39 return "vehicle";
40 }
41 protected:
42 void setupModel();
43 };
44}
#define VEHICLE_DATABASE_API
Definition DLLInfo.h:78
Definition File.h:47
Definition Model.h:54
Definition VehicleModel.h:30
static constexpr const char * TypeName()
Definition VehicleModel.h:37
Definition VehicleDatabase.h:11
Definition ACIColor.h:37
VehicleType
Definition VehicleModel.h:8
@ e_sport_car
Definition VehicleModel.h:16
@ e_suv_large
Definition VehicleModel.h:23
@ e_station_wagon
Definition VehicleModel.h:21
@ e_hatchback
Definition VehicleModel.h:14
@ e_mini_compact_sedan
Definition VehicleModel.h:9
@ e_cargo_van_large
Definition VehicleModel.h:25
@ e_suv_small
Definition VehicleModel.h:22
@ e_sport_convertible
Definition VehicleModel.h:17
@ e_cargo_van_small
Definition VehicleModel.h:24
@ e_passenger_van_large
Definition VehicleModel.h:27
@ e_coupe
Definition VehicleModel.h:15
@ e_mid_sized_sedan
Definition VehicleModel.h:12
@ e_passenger_van_small
Definition VehicleModel.h:26
@ e_heavy_duty_truck
Definition VehicleModel.h:20
@ e_compact_sedan
Definition VehicleModel.h:11
@ e_large_sedan
Definition VehicleModel.h:13
@ e_light_duty_truck
Definition VehicleModel.h:18
@ e_medium_duty_truck
Definition VehicleModel.h:19
@ e_sub_compact_sedan
Definition VehicleModel.h:10