view Magoroku.h @ 137:298825d8837f

chmod
author e085768
date Fri, 22 Jul 2011 18:43:45 +0900
parents d9e3137e70a0
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