mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
final fixes
This commit is contained in:
37
source/NinecraftApp.hpp
Normal file
37
source/NinecraftApp.hpp
Normal file
@@ -0,0 +1,37 @@
|
||||
/********************************************************************
|
||||
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 "Minecraft.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "Tile.hpp"
|
||||
|
||||
//@TYPO: This is probably meant to say "MinecraftApp". Still not fixed in V0.3.0 though so not sure
|
||||
class NinecraftApp : public Minecraft
|
||||
{
|
||||
public:
|
||||
virtual ~NinecraftApp();
|
||||
|
||||
bool handleBack(bool) override;
|
||||
void init() override;
|
||||
void update() override;
|
||||
void onGraphicsReset() override;
|
||||
void teardown();
|
||||
|
||||
void updateStats();
|
||||
void initGLStates();
|
||||
|
||||
private:
|
||||
int field_DBC = 0;
|
||||
bool field_DC0 = 1;
|
||||
int m_fps = 0;
|
||||
|
||||
static bool _hasInitedStatics;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user