6 #include "Navigation.h"
10 #include "Rendering.h"
28 const TVehicleVector& GetVehicles()
const {
return m_vehicles; }
32 void ManagePopulation(
bool isOutsideView);
33 void Update(
float deltaSeconds,
float speedMultiplier,
const dv3& ecefInterestPoint);
34 void AddVehicles(
const TVehicleVector vehicles);
36 void RemoveVehicle(
IVehicle* vehicle);
37 void PopulateInitialVehicles();
39 void PopulateRenderableList(
const float maxDistanceForLandVehiclesSq,
const dv3& cameraEcefLocation);
41 void SetModelNameSuffixOnVehicles(
const std::string suffix);
43 void ReleaseVehicles();
46 void DespawnVehicles();
48 void InitialiseVehicles(
const dv3& ecefInterestPoint);
49 void UpdateVehicles(
float deltaSeconds,
float speedMultiplier,
const dv3& ecefInterestPoint);
50 void PerformVehicleCollision();
51 void TransferVehiclesToOtherCells();
52 void RemoveVehicles();
54 void UpdateVehicleIsUnderground(
IVehicle& vehicle);
56 static int CollideVehicles(TVehicleVector& vehicles,
float maxRadius);
60 TVehicleVector m_vehicles;
61 TVehicleVector m_vehiclesToTransferBetweenCells;
62 TVehicleVector m_vehiclesToDelete;
63 TVehicleVector m_vehiclesToCollide;
65 int m_targetVehicleCount;
67 int m_collisionDebugCount;