10#ifndef DIRECTINPUT_VERSION
11#define DIRECTINPUT_VERSION 0x0800
43#define depthFloorResolutionC 2048L
170 void CheckLogo(
unsigned char array,
char* logofile);
171 static RECT
WhichRoom(
const std::vector<tagRECT>&
rooms,
float x,
float y,
short* roomIndex);
174 void OnFrameMove(
double fTime,
float fElapsedTime);
187 Sani GetAni(
float f_time,
unsigned char ani)
const;
191 void Movement(
short t,
float ElapsedTime);
203 void TriggerBCLLightning(
int u,
int v,
float distanceKm,
int seed,
int chainedBolts)
const;
334 void DamageLandingLight(
unsigned lamp,
float clearanceKm,
float closingMps,
const char* cause);
HRESULT(WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
const RiseMath::Vector3 centerC
Rendering::RenderFont * m_pFontLicense
Rendering::RenderTexture * m_pddsShipTexture[shiptextureC]
Rendering::RenderQuery * m_pNightVisionRangeQuery
Rendering::ProceduralLightning11 proceduralLightning
RiseMath::Vector3 position
ULONGLONG headAccelerationDiagnosticUntil
void EnableLandingLights() const
ULONGLONG headAccelerationNextSample
float reentryDamageIntensity
RiseMath::Quaternion startorient
float GetSuspensionRollOffsetRadians() const
float suspensionNormalLoadG
Rendering::RenderTexture * m_pddsHullDynamicTexture[MAX_SCAN]
Rendering::RenderBuffer * m_avInstrument
Rendering::RenderTexture * m_pddsHeart[heartanimateC]
void ShowCloudFallbackWarning(HWND owner) const
void ResetSuspensionState()
Rendering::RenderTexture * m_pddsFlame
Rendering::RenderTexture * m_pddsFirework2[firework2C]
bool ApplyBufferedVehicleState(int t, float fElapsedTime)
void Movement(short t, float ElapsedTime)
std::unique_ptr< renderer > ptrRenderer
RiseMath::Matrix matrixProjSim
std::unique_ptr< keyboard > ptrKeyboard
Rendering::RenderTexture * m_pddsSinker[weaponanimateC]
RiseMath::Vector3 startoffset
float CheckFloorMap(VECTOR2SHORT newdepthpos, short u, short v)
Rendering::RenderBuffer * m_avStaticStars
float GetSuspensionPitchOffsetRadians() const
Rendering::RenderBuffer * m_avCone
void OnFrameRender(Rendering::RenderDevice *pd3dDevice, double fTime) const
Rendering::RenderBuffer * m_avSkyDome
unsigned activeLandingLightCount
static constexpr UINT CloudFallbackWarningMessage
CloudVolumeRenderer cloudVolume
Rendering::RenderToTexture * m_pHullRender2Surface
Rendering::Material restore
void DamageLandingLight(unsigned lamp, float clearanceKm, float closingMps, const char *cause)
Rendering::RenderTexture * m_pddsNamePlate
Rendering::RenderTexture * m_pddsFuelIcon
Rendering::RenderTexture * m_pddsBinoculars
static float ComputeSpotlightBrightness(const RiseMath::Vector3 &pos)
Rendering::RenderTexture * m_pddsShipLights[shiptextureC]
RiseMath::Matrix matrixProjCock
bool m_nightVisionRangefinderActive
Rendering::RenderBuffer * m_avLocalGrid
Rendering::RenderBuffer * m_aiCloudGrid
Rendering::RenderTexture * m_pddsWeapon[weaponanimateC]
RiseMath::Vector3 UniverseRelativeVelocityKms
Rendering::RenderTexture * m_pddsDIHV[dihvanimateC]
void RunBindingFunction(BindingEnum function, bool repeating)
bool cloudFallbackWarningShown
void ApplyCollisionImpulse(const RiseMath::Vector3 &impulseKms)
Rendering::RenderQuery * m_pLightSunVizQuery
RiseMath::Vector3 LandingLightImpactVelocity(unsigned lamp, const RiseMath::Vector3 &velocityBody) const
Rendering::RenderTexture * m_pddsDockTexture[docktextureC]
RiseMath::Vector3 QuadraticVectorInterpolation(RiseMath::Vector3 *vel0, RiseMath::Vector3 *vel1, RiseMath::Vector3 *vel2, float t) const
void OnDestroyDevice(bool preserveModels=false)
Rendering::RenderToTexture * m_pRenderToSurface
float GetAverageSuspensionBumpTravelKm() const
Rendering::RenderBuffer * m_avRainDrops
std::array< LandingLights::Light, LandingLights::MaxLights > landingLights
Rendering::RenderTexture * m_pddsMarston1
void SetHornPressed(bool pressed)
RiseMath::Vector3 rainarray[MAX_RAINDROPS]
static RECT WhichRoom(const std::vector< tagRECT > &rooms, float x, float y, short *roomIndex)
Rendering::RenderTexture * m_pddsSinkerX
RiseMath::Vector3 gravityacc
Rendering::RenderTexture * m_pddsInterlace[2]
Sani GetAni(float f_time, unsigned char ani) const
std::unique_ptr< waypoints > ptrWaypoints
std::vector< std::string > logofiles
bool VolumeCloudsEnabled() const
void DamageLandingLightsAgainstSphere(const RiseMath::Vector3 ¢erBody, float radiusKm, const RiseMath::Vector3 &velocityBody, float seconds)
RiseMath::Vector3 leveler
static bool CheckPlotRoads(float f_tempu, float f_tempv)
Rendering::RenderTexture * m_pddsCloudDetailBelow
HeadAcceleration::RepositionGuard headAccelerationGuard
BiometerDiagnostics::Monitor biometerDiagnostics
RiseMath::Matrix matrixLookAdj
RiseMath::Vector3 compassnorth
Rendering::RenderTexture * m_pddsAtmosphere
Rendering::RenderTexture * m_pddsNightVisionArrow
ReentryEnvelope::State reentryState
bool InventoryItemEffectsEnabled() const
float m_nightVisionRangeHighKm
void SetRainProtection(bool enabled)
std::unique_ptr< propulsion > ptrPropulsion
Rendering::RenderTexture * m_pddsWaterNormal
RiseMath::Matrix matrixView
Rendering::RenderTexture * m_pddsWorld2a1
Rendering::RenderTexture * m_pddsCloudDetailAbove
float nightVisionOverexposure
RiseMath::Vector3 oldsumofforces
bool m_bDeviceSupportsVizQuery
HRESULT OnCreateDevice(Rendering::RenderDevice *pd3dDevice)
RiseMath::Matrix matrixLook
int curbDiagnosticFramesRemaining
RiseMath::Vector3 reentryWindward
Rendering::RenderTexture * m_pddsCityTexture[citytextureC]
std::unique_ptr< weather > ptrWeather
Rendering::RenderBuffer * m_avRunningLights
std::vector< SCamera > cameras
unsigned int curbDiagnosticSequence
RiseMath::Vector3 posnorml
std::unique_ptr< grid > ptrGrid
Rendering::RenderTexture * m_pddsGVCompass
unsigned short causearray
bool IsRepositionSettling() const
ULONGLONG headAccelerationNextAnomaly
void SetCrashHornFault(bool enabled)
void SetProjectionMatrices()
Rendering::RenderTexture * m_pddsNightVision
Rendering::RenderTexture * m_pddsStarTexture
Rendering::RenderTexture * m_pddsElmo[elmoAnimateC]
std::array< SuspensionWheelState, 4 > suspensionWheels
Rendering::RenderTexture * m_pddsBinocularsCompass
void NetworkObjectsProcessing(int t, float fElapsedTime, bool allowOurParent=false)
void ApplyEnvironmentMap()
std::vector< std::string > sofTracking
void OnFrameRender2(Rendering::RenderDevice *pd3dDevice, float fElapsedTime)
void LoadVehicleProfile(short t)
Rendering::Light sunlight
static RiseMath::Color HSVtoRGB(float hue, float s, float v)
Converts HSV in [0…1] to RGB in [0…1].
Rendering::RenderTexture * m_pddsLetters
bool AssertTelemetry(const char *location, short id)
void LogCurbDiagnostic(const char *text)
Rendering::RenderFont * m_pFontHull
Rendering::RenderTexture * m_pddsNightVisionCompass
float CalculateAGLd(RiseMath::Vector3 terpos, double terprecisionx, double terprecisiony, double terprecisionz, double proposedx, double proposedy, double proposedz, RiseMath::Vector3 proposed, bool makeleveler)
std::unique_ptr< instruments > ptrInstruments
Rendering::RenderBuffer * m_avSkyRing
Rendering::RenderTexture * m_pddsRunwayEdgeLight1
Rendering::AdDiagnostics11 adDiagnostics
Rendering::RenderTexture * m_pddsRoad
CityCampaignLogos cityCampaignLogos
float UniverseRelativeSpeedKms
Rendering::RenderTexture * m_pddsGVBackground
Rendering::RenderTexture * m_pddsRTSLights[RTStextureC]
VECTOR2SHORT CalculateCGC(RiseMath::Vector3 position, char cube) const
RiseMath::Color alphascreen
Rendering::RenderSprite * m_spriteVector
Rendering::RenderTexture * m_pddsCockpitTexture[cockpittextureC]
Rendering::RenderTexture * m_pddsCityLights[citytextureC]
void UpdateCrashDamage(const RiseMath::Vector3 &frameForces, float seconds)
float CalculateAGL(short u, short v, RiseMath::Vector3 position, bool makeleveler)
Rendering::RenderTexture * m_pddsLandform[landformtextureC]
void DamageLandingLights(const RiseMath::Vector3 &surfaceNormalBody, float planeDistanceKm, const RiseMath::Vector3 &impactVelocityBody, const char *cause)
RiseMath::Vector3 cockpitSpecificForceMss
unsigned int curbDiagnosticFrame
static RiseMath::Vector3 CalculateBarycentric(RiseMath::Vector3 *position, RiseMath::Vector3 *gthrust, float *radius)
Rendering::RenderBuffer * m_avBillboardVertices
VECTOR2SHORT CalculateWrap(short u, short v, char cube, char *rotate) const
void QueueCloudFallbackWarning() const
Rendering::RenderTexture * m_pddsGVDialSmall
std::unique_ptr< buildings > ptrBuildings
long FontOffset(char letter) const
Rendering::RenderTexture * m_pddsRTSTexture[RTStextureC]
void OnFrameMove(double fTime, float fElapsedTime)
Rendering::RenderTexture * m_pddsCockpitLights[cockpittextureC]
void ApplySuspensionImpact(float absorbedVelocityKms)
Rendering::RenderBuffer * m_avScreen
RiseMath::Vector3 cloudpos
RiseMath::Vector3 sumofforces
std::vector< Rendering::RenderTexture * > m_pddsLogos
Rendering::RenderTexture * m_pddsGVDirection
unsigned int headAccelerationResetSequence
Rendering::RenderTexture * m_pddsSunglasses
LOCALGRID2 CalculateSRV(short t, short s, VECTOR2SHORT tcp, char cube, SRenderVertex sourcedata)
bool suspensionStateInitialized
CollisionDamage::StructuralEpisode crashDamageEpisode
RiseMath::Vector3 CalculatePlanar(short u, short v)
Rendering::RenderBuffer * m_avCloudGrid
std::unique_ptr< cockpit > ptrCockpit
bool m_nightVisionRangeQueryPending
bool cloudFallbackWarningPending
float CheckDepthMap(VECTOR2SHORT newdepthpos, short u, short v)
Rendering::RenderSurface * m_pddsDynamicSurface
s_polygon_extras2 polyextras2
RiseMath::Vector3 gravityvec
void TriggerBCLLightningAt(const RiseMath::Vector3 &ground, const RiseMath::Vector3 &cloud, float distanceKm, int seed, int chainedBolts, bool testStrike=false) const
void UpdateLandingLights(double seconds)
std::unique_ptr< joystick > ptrJoystick
RiseMath::Vector3 lookvec
Rendering::RenderTexture * m_pddsBlastX
float onlinePlayersInVicinity
WindshieldRainRenderer windshieldRain
Rendering::RenderSurface * m_pddsProjectionSurface
RiseMath::Vector3 forwardVector
char CalculateCube(RiseMath::Vector3 position) const
Rendering::RenderTexture * m_pddsFirework1[firework1C]
std::unique_ptr< FreeTrack > ptrFreeTrack
HRESULT OnResetDevice(Rendering::RenderDevice *pd3dDevice, const Rendering::SurfaceDescription *pBackBufferSurfaceDesc)
std::unique_ptr< weapon > ptrWeapon
Rendering::RenderTexture * m_pddsIntersection
bool CockpitPropMotionSuppressed() const
void CheckLogo(unsigned char array, char *logofile)
Rendering::RenderTexture * m_pddsCracked
Rendering::RenderTexture * m_pddsCloudBaseMap
Rendering::RenderTexture * m_pddsHolidayTexture
float nightVisionOverexposureHold
float m_nightVisionRangeKm
ExteriorRainRenderer exteriorRainRenderer
Rendering::RenderTexture * m_pddsProjectionTexture
void UpdateNightVisionRangefinder(Rendering::RenderDevice *pd3dDevice) const
CollisionDamage::Episode controlJoltEpisode
Rendering::RenderTexture * m_pddsBinocularsArrow
Rendering::RenderTexture * m_pddsTransition[transitiontextureC]
void ClearCollisionEffects()
Rendering::RenderTexture * m_pddsSunTexture
Rendering::RenderToTexture * m_pRenderToSurfaceNextGen
RiseMath::Matrix matrixProj
void ComputeSimulatorMotion(unsigned char type)
Rendering::RenderTexture * m_pddsLightsCruiseIcons
bool PrepareHullTextures(Rendering::RenderDevice *pd3dDevice, unsigned budget=2)
float ProbeBoundSphere(RiseMath::Vector3 *position, const RiseMath::Vector3 *Xsunlight) const
Rendering::RenderTexture * m_pddsAOA[3]
Rendering::RenderTexture * m_pddsFirework3[firework3C]
float UpdateSuspensionState(float elapsedTime, const RiseMath::Vector3 &vehicleG)
Rendering::RenderFont * m_pFontNamePlate
RiseMath::Vector3 structuralImpactImpulse
void ResetHeadAccelerationEffects(const char *reason, bool waitForTerrain=false)
Rendering::RenderTexture * m_pddsFuzerX
Rendering::ReentryEnvelope11 reentryRenderer
std::vector< RECT > rooms
float m_nightVisionRangeTestKm
Rendering::RenderFont * m_pFont
float timeToNextDecrement
Rendering::RenderTexture * m_pddsDynamicTexture
float m_nightVisionRangeLowKm
Rendering::RenderTexture * m_pddsDockLights[docktextureC]
void TriggerBCLLightning(int u, int v, float distanceKm, int seed, int chainedBolts) const
s_network_objects playerships[MAX_SCAN]
#define transitiontextureC