Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/renderer/WaterManager.h
/* Copyright (C) 2020 Wildfire Games. | /* Copyright (C) 2021 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
▲ Show 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | public: | ||||
// Use real depth or use the fake precomputed one. | // Use real depth or use the fake precomputed one. | ||||
bool m_WaterRealDepth; | bool m_WaterRealDepth; | ||||
// Use fancy shore effects and show trails behind ships | // Use fancy shore effects and show trails behind ships | ||||
bool m_WaterFancyEffects; | bool m_WaterFancyEffects; | ||||
// Use refractions instead of simply making the water more or less transparent. | // Use refractions instead of simply making the water more or less transparent. | ||||
bool m_WaterRefraction; | bool m_WaterRefraction; | ||||
// Use complete reflections instead of showing merely the sky. | // Use complete reflections instead of showing merely the sky. | ||||
bool m_WaterReflection; | bool m_WaterReflection; | ||||
// Show shadows on the water. | |||||
bool m_WaterShadows; | |||||
bool m_NeedsReloading; | bool m_NeedsReloading; | ||||
// requires also recreating the super fancy information. | // requires also recreating the super fancy information. | ||||
bool m_NeedInfoUpdate; | bool m_NeedInfoUpdate; | ||||
float m_WaterHeight; | float m_WaterHeight; | ||||
double m_WaterTexTimer; | double m_WaterTexTimer; | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator