mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Remove ebiten_controller.c
This commit is contained in:
parent
54557aadf2
commit
0c51a7a362
@ -32,7 +32,7 @@ func loadImage(path string) (image.Image, error) {
|
||||
func main() {
|
||||
const screenWidth = 256
|
||||
const screenHeight = 240
|
||||
const screenScale = 2
|
||||
const screenScale = 3
|
||||
const fps = 60
|
||||
const title = "Ebiten Demo"
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
// -*- objc -*-
|
||||
|
||||
#import "ebiten_controller.h"
|
||||
|
||||
@implementation EbitenController {
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:
|
||||
(NSApplication*)theApplication {
|
||||
(void)theApplication;
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
@ -3,7 +3,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <OpenGL/gl.h>
|
||||
|
||||
#import "ebiten_controller.h"
|
||||
#import "ebiten_window.h"
|
||||
|
||||
void initMenu(void) {
|
||||
@ -23,13 +22,11 @@ void initMenu(void) {
|
||||
}
|
||||
|
||||
void StartApplication(void) {
|
||||
EbitenController* controller = [[EbitenController alloc] init];
|
||||
NSApplication* app = [NSApplication sharedApplication];
|
||||
[app setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||
|
||||
initMenu();
|
||||
|
||||
[app setDelegate:controller];
|
||||
[app finishLaunching];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user