194 std::vector<VertexTex2> vertices;
195 unsigned int staticBufferId;
196 bool updateStaticBuffer;
202 , material(_material)
205 , updateStaticBuffer(
false)
216 std::vector<EngineBaseObjDataTier> next;
219 : lodLevel(_lodLevel)
229 std::string tex1Name;
231 std::string tex2Name;
233 std::vector<EngineBaseObjLODTier> next;
235 inline EngineBaseObjTexTier(
const std::string& _tex1Name =
"",
const std::string& _tex2Name =
"")
236 : tex1Name(_tex1Name)
237 , tex2Name(_tex2Name)
260 std::vector<EngineBaseObjTexTier>
next;
267 inline void LoadDefault()
370 inline void LoadDefault()
412 inline void LoadDefault()
476 inline void LoadDefault()
495 ENG_TEX_MAPPING_X = 1,
496 ENG_TEX_MAPPING_Y = 2,
497 ENG_TEX_MAPPING_Z = 3,
498 ENG_TEX_MAPPING_1X = 4,
499 ENG_TEX_MAPPING_1Y = 5,
500 ENG_TEX_MAPPING_1Z = 6
568 inline EngineMouse(
int _icon1 = -1,
int _icon2 = -1,
int _iconShadow = -1,
735 bool WriteScreenShot(
const std::string& fileName,
int width,
int height);
797 const Material& material,
int state,
798 std::string tex1Name, std::string tex2Name,
799 LODLevel lodLevel,
bool globalUpdate);
803 std::string tex1Name, std::string tex2Name,
804 LODLevel lodLevel,
bool globalUpdate);
821 int GetObjectBaseRank(
int objRank);
833 void GetObjectTransform(
int objRank,
Math::Matrix& transform);
852 int state, std::string tex1Name, std::string tex2Name,
857 std::vector<EngineTriangle>& triangles);
864 const std::string& tex1Name,
const std::string& tex2Name,
866 float au,
float bu,
float av,
float bv);
870 const std::string& tex1Name,
const std::string& tex2Name,
872 float pos,
float factor,
float tl,
float ts,
float tt);
887 void SetObjectShadowPos(
int objRank,
const Math::Vector& pos);
888 void SetObjectShadowNormal(
int objRank,
const Math::Vector& normal);
889 void SetObjectShadowAngle(
int objRank,
float angle);
890 void SetObjectShadowRadius(
int objRank,
float radius);
891 void SetObjectShadowIntensity(
int objRank,
float intensity);
892 void SetObjectShadowHeight(
int objRank,
float height);
893 float GetObjectShadowRadius(
int objRank);
911 void SetObjectGroundSpotRadius(
int rank,
float radius);
912 void SetObjectGroundSpotColor(
int rank,
const Color& color);
913 void SetObjectGroundSpotMinMax(
int rank,
float min,
float max);
914 void SetObjectGroundSpotSmooth(
int rank,
float smooth);
919 float delay1,
float delay2,
float delay3,
920 int dx,
int dy,
char* table);
953 float tolerance1,
float tolerance2,
956 float shift = 0.0f,
bool hsv =
false);
960 bool SetTexture(
const std::string& name,
int stage = 0);
987 bool GetGroundSpot();
1011 int GetSecondTexture();
1029 Color GetAmbientColor(
int rank = 0);
1035 Color GetWaterAddColor();
1041 Color GetFogColor(
int rank = 0);
1048 void SetDeepView(
float length,
int rank = 0,
bool ref=
false);
1049 float GetDeepView(
int rank = 0);
1058 float GetFogStart(
int rank = 0);
1066 void GetBackground(std::string& name,
Color& up,
Color& down,
1081 float GetParticleDensity();
1090 float GetClippingDistance();
1096 float GetObjectDetail();
1102 float GetGadgetQuantity();
1108 int GetTextureQuality();
1126 bool GetWaterMode();
1129 void SetLightingMode(
bool present);
1130 bool GetLightingMode();
1141 bool GetBackForce();
1147 bool GetPlanetMode();
1153 bool GetLightMode();
1160 bool GetEditIndentMode();
1167 int GetEditIndentValue();
1173 float GetTracePrecision();
1301 std::string m_fpsText;
1342 Color m_ambientColor[2];
1343 Color m_backColor[2];
1344 Color m_fogColor[2];
1345 float m_deepView[2];
1346 float m_fogStart[2];
1347 Color m_waterAddColor;
1348 int m_statisticTriangle;
1349 bool m_updateGeometry;
1350 bool m_updateStaticBuffers;
1352 bool m_groundSpotVisible;
1353 bool m_shadowVisible;
1356 bool m_firstGroundSpot;
1358 bool m_backgroundFull;
1359 std::string m_backgroundName;
1361 Color m_backgroundColorUp;
1362 Color m_backgroundColorDown;
1363 Color m_backgroundCloudUp;
1364 Color m_backgroundCloudDown;
1368 std::string m_foregroundName;
1372 float m_particleDensity;
1373 float m_clippingDistance;
1374 float m_lastClippingDistance;
1375 float m_objectDetail;
1376 float m_terrainVision;
1377 float m_gadgetQuantity;
1378 int m_textureQuality;
1386 bool m_editIndentMode;
1387 int m_editIndentValue;
1388 float m_tracePrecision;
1438 bool m_debugDumpLights;