BVB Source Codes

CRYENGINE Show VehicleCVars.h Source code

Return Download CRYENGINE: download VehicleCVars.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description: VehicleSystem CVars
  8.    -------------------------------------------------------------------------
  9.    History:
  10.    - 02:01:2007  12:47 : Created by MichaelR
  11.  
  12. *************************************************************************/
  13.  
  14. #ifndef __VEHICLECVARS_H__
  15. #define __VEHICLECVARS_H__
  16.  
  17. #pragma once
  18.  
  19. class CVehicleCVars
  20. {
  21. public:
  22. #if ENABLE_VEHICLE_DEBUG
  23.         // debug draw
  24.         int v_debugdraw;
  25.         int   v_draw_components;
  26.         int   v_draw_helpers;
  27.         int   v_draw_seats;
  28.         int   v_draw_tm;
  29.         int   v_draw_passengers;
  30.         int   v_debug_mem;
  31.  
  32.         int   v_debug_flip_over;
  33.         int   v_debug_reorient;
  34.  
  35.         int   v_debugViewDetach;
  36.         int   v_debugViewAbove;
  37.         float v_debugViewAboveH;
  38.         int   v_debugCollisionDamage;
  39. #endif
  40.  
  41.         // dev vars
  42.         int v_transitionAnimations;
  43.         int   v_playerTransitions;
  44.         int   v_autoDisable;
  45.         int   v_lights;
  46.         int   v_lights_enable_always;
  47.         int   v_set_passenger_tm;
  48.         int   v_disable_hull;
  49.         int   v_ragdollPassengers;
  50.         int   v_goliathMode;
  51.         int   v_show_all;
  52.         int   v_staticTreadDeform;
  53.         float v_tpvDist;
  54.         float v_tpvHeight;
  55.         int   v_debugSuspensionIK;
  56.         int   v_serverControlled;
  57.         int   v_clientPredict;
  58.         int   v_clientPredictSmoothing;
  59.         int   v_testClientPredict;
  60.         float v_clientPredictSmoothingConst;
  61.         float v_clientPredictAdditionalTime;
  62.         float v_clientPredictMaxTime;
  63.  
  64.         int   v_enableMannequin;
  65.  
  66.         // tweaking
  67.         float v_slipSlopeFront;
  68.         float v_slipSlopeRear;
  69.         float v_slipFrictionModFront;
  70.         float v_slipFrictionModRear;
  71.  
  72.         float v_FlippedExplosionTimeToExplode;
  73.         float v_FlippedExplosionPlayerMinDistance;
  74.         int   v_FlippedExplosionRetryTimeMS;
  75.  
  76.         int   v_vehicle_quality;
  77.         int   v_driverControlledMountedGuns;
  78.         int   v_independentMountedGuns;
  79.  
  80.         int   v_disableEntry;
  81.  
  82.         static inline CVehicleCVars& Get()
  83.         {
  84.                 assert(s_pThis != 0);
  85.                 return *s_pThis;
  86.         }
  87.  
  88. private:
  89.         friend class CVehicleSystem; // Our only creator
  90.  
  91.         CVehicleCVars(); // singleton stuff
  92.         ~CVehicleCVars();
  93.         CVehicleCVars(const CVehicleCVars&);
  94.         CVehicleCVars& operator=(const CVehicleCVars&);
  95.  
  96.         static CVehicleCVars* s_pThis;
  97. };
  98.  
  99. ILINE const CVehicleCVars& VehicleCVars() { return CVehicleCVars::Get(); }
  100.  
  101. #endif // __VEHICLECVARS_H__
  102.  
downloadVehicleCVars.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top