Files
mcpe/source/client/gui/screens/OptionsScreen.hpp
jonkadelic e6ab1214af Biome colour and grass side tint options (#98)
* Added biome colour and grass side tint options

* Moved GrassColor and FoliageColor to client/renderer/

* * Fix some build issues.

* * Add the new files to the CMakeLists.txt

---------

Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
2023-11-05 18:19:41 +02:00

45 lines
1.0 KiB
C++

/********************************************************************
Minecraft: Pocket Edition - Decompilation Project
Copyright (C) 2023 iProgramInCpp
The following code is licensed under the BSD 1 clause license.
SPDX-License-Identifier: BSD-1-Clause
********************************************************************/
#pragma once
#include "../Screen.hpp"
class OptionsScreen : public Screen
{
public:
OptionsScreen();
void init() override;
void render(int, int, float) override;
void removed() override;
#ifndef ORIGINAL_CODE
void buttonClicked(Button* pButton) override;
void setWidthAllButtons(int width);
void updateTexts();
bool isCramped();
private:
Button m_BackButton;
Button m_AOButton;
Button m_srvVisButton;
Button m_fancyGfxButton;
Button m_invertYButton;
Button m_anaglyphsButton;
Button m_viewBobButton;
Button m_viewDistButton;
Button m_flightHaxButton;
Button m_autoJumpButton;
Button m_blockLinesButton;
Button m_fancyGrassButton;
Button m_biomeColorsButton;
#endif
};