view Magoroku.h.orig @ 122:5219bf3d5e71

title_draw
author e085768
date Mon, 27 Jun 2011 19:44:46 +0900
parents 411ba68e9cf8
children
line wrap: on
line source

#ifndef INCLUDE_MAGOROKU_H
#define INCLUDE_MAGOROKU_H

#include "TaskManager.h"
#include "SceneGraph.h"
#include "Application.h"
#include "MainLoop.h"
#include "Func.h"

class Magoroku : public Application {
  bool app_loop(Viewer *viewer);
  HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
  MainLoopPtr init(Viewer *viewer, int w, int h);
};

extern Viewer *droot;

typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);

#endif

// 初期設定の画面サイズ 
#define SCREEN_W 640
#define SCREEN_H 480

int getScreen_W ();
int getScreen_H ();