the whole game

This commit is contained in:
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
//
// minecraftpeViewController.h
// minecraftpe
//
// Created by rhino on 10/17/11.
// Copyright 2011 Mojang AB. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import "../../../src/App.h"
#import "../../../src/AppPlatform_iOS.h"
#import "../../../src/NinecraftApp.h"
#import "ShowKeyboardView.h"
#import "../../lib_projects/InAppSettingsKit/Controllers/IASKAppSettingsViewController.h"
@class EAGLContext;
//@class App;
//@class AppContext;
//@class AppPlatform_iOS;
@class BaseDialogController;
@interface minecraftpeViewController : UIViewController<IASKSettingsDelegate> {
EAGLContext *context;
// App and AppPlatform
App* _app;
AppContext* _context;
AppPlatform_iOS* _platform;
UITouch** _touchMap;
BOOL animating;
NSInteger animationFrameInterval;
CADisplayLink *displayLink;
BaseDialogController* _dialog;
int _dialogResultStatus;
std::vector<std::string> _dialogResultStrings;
ShowKeyboardView* _keyboardView;
@public
float viewScale;
}
@property (readonly, nonatomic, getter=isAnimating) BOOL animating;
@property (nonatomic) NSInteger animationFrameInterval;
@property (nonatomic, retain) IASKAppSettingsViewController *appSettingsViewController;
- (void)startAnimation;
- (void)stopAnimation;
- (void)enteredBackground;
- (void)setAudioEnabled:(BOOL)status;
-(int) getUserInputStatus;
-(std::vector<std::string>)getUserInput;
- (void)showDialog_CreateWorld;
- (void)showDialog_MainMenuOptions;
- (void)showDialog_RenameMPWorld;
- (void)showKeyboard;
- (void)hideKeyboard;
- (void) closeDialog;
- (BaseDialogController*) dialog;
+ (void) initialize;
@end