forked from mirrors/kolyah35-minecraft-pe-0.6.1
restore include paths for cross-platform builds because i messed absolutely every #include up.
This commit is contained in:
parent
8867878ccf
commit
aec534d948
8 changed files with 17 additions and 23 deletions
|
|
@ -97,6 +97,9 @@ typedef std::vector<std::string> StringVector;
|
|||
class Options
|
||||
{
|
||||
public:
|
||||
// deepfriedwaffles: for iOS, was getting compile errors saying: No member named 'sound' in 'Options' and No member named 'music' in 'Options' so I floated them here. 1.0f means full volume out of the box, but if everything is too loud, you might want to try adjusting this
|
||||
float sound = 1.0f;
|
||||
float music = 1.0f;
|
||||
|
||||
static bool debugGl;
|
||||
|
||||
|
|
@ -161,9 +164,7 @@ private:
|
|||
if (m_options[key] == nullptr) return nullptr;
|
||||
return dynamic_cast<T*>(m_options[key]);
|
||||
}
|
||||
// apple stuff
|
||||
float sound;
|
||||
float music;
|
||||
|
||||
std::array<Option*, OPTIONS_COUNT> m_options;
|
||||
OptionsFile optionsFile;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue