Home
last modified time | relevance | path

Searched refs:drawRefraction (Results 1 – 9 of 9) sorted by relevance

/dports/games/spring/spring_98.0/rts/Rendering/
H A DProjectileDrawer.h35 void Draw(bool drawReflection, bool drawRefraction = false);
105 …es(int modelType, int numFlyingPieces, int* drawnPieces, bool drawReflection, bool drawRefraction);
106 … DrawProjectilesSet(std::set<CProjectile*>& projectiles, bool drawReflection, bool drawRefraction);
107 void DrawProjectile(CProjectile* projectile, bool drawReflection, bool drawRefraction);
H A DUnitDrawer.h67 void Draw(bool drawReflection, bool drawRefraction = false);
71 void DrawDeferredPass(const CUnit* excludeUnit, bool drawReflection, bool drawRefraction);
131 …id DrawOpaqueUnit(CUnit* unit, const CUnit* excludeUnit, bool drawReflection, bool drawRefraction);
135 …DrawOpaqueUnits(int modelType, const CUnit* excludeUnit, bool drawReflection, bool drawRefraction);
H A DProjectileDrawer.cpp406 …les(int modelType, int numFlyingPieces, int* drawnPieces, bool drawReflection, bool drawRefraction) in DrawProjectiles() argument
420 DrawProjectilesSet(binIt->second, drawReflection, drawRefraction); in DrawProjectiles()
426 …::DrawProjectilesSet(std::set<CProjectile*>& projectiles, bool drawReflection, bool drawRefraction) in DrawProjectilesSet() argument
429 DrawProjectile(*setIt, drawReflection, drawRefraction); in DrawProjectilesSet()
433 void CProjectileDrawer::DrawProjectile(CProjectile* pro, bool drawReflection, bool drawRefraction) in DrawProjectile() argument
459 if (drawRefraction && pro->pos.y > pro->drawRadius) { in DrawProjectile()
615 void CProjectileDrawer::Draw(bool drawReflection, bool drawRefraction) { in Draw() argument
642 DrawProjectiles(modelType, numFlyingPieces, &drawnPieces, drawReflection, drawRefraction); in Draw()
650 DrawProjectilesSet(renderProjectiles, drawReflection, drawRefraction); in Draw()
H A DUnitDrawer.cpp314 …er::DrawOpaqueUnit(CUnit* unit, const CUnit* excludeUnit, bool drawReflection, bool drawRefraction) in DrawOpaqueUnit() argument
341 else if (drawRefraction) { in DrawOpaqueUnit()
362 void CUnitDrawer::Draw(bool drawReflection, bool drawRefraction) in Draw() argument
369 } else if (drawRefraction) { in Draw()
383 DrawDeferredPass(excludeUnit, drawReflection, drawRefraction); in Draw()
391 DrawOpaqueUnits(modelType, excludeUnit, drawReflection, drawRefraction); in Draw()
407 …d CUnitDrawer::DrawDeferredPass(const CUnit* excludeUnit, bool drawReflection, bool drawRefraction) in DrawDeferredPass() argument
416 if (drawRefraction) in DrawDeferredPass()
442 DrawOpaqueUnits(modelType, excludeUnit, drawReflection, drawRefraction); in DrawDeferredPass()
459 …:DrawOpaqueUnits(int modelType, const CUnit* excludeUnit, bool drawReflection, bool drawRefraction) in DrawOpaqueUnits() argument
[all …]
H A DFeatureDrawer.cpp419 bool drawReflection, drawRefraction; member in CFeatureQuadDrawer
457 if (drawRefraction) { in DrawQuad()
505 drawer.drawRefraction = water->DrawRefractionPass(); in GetVisibleFeatures()
/dports/games/spring/spring_98.0/rts/Rendering/Env/
H A DIWater.h36 bool DrawRefractionPass() const { return drawRefraction; } in DrawRefractionPass()
46 bool drawRefraction; variable
H A DIWater.cpp29 , drawRefraction(false) in IWater()
H A DBumpWater.cpp1181 drawRefraction = true; in DrawRefraction()
1200 drawRefraction = false; in DrawRefraction()
H A DDynWater.cpp522 drawRefraction = true; in DrawRefraction()
563 drawRefraction=false; in DrawRefraction()