comparison dandy.h @ 1:7dc2d920fc7c

local update. xml,image, blender add. ppe/move, ppe/coll add.
author tkaito
date Tue, 15 Jun 2010 11:14:36 +0900
parents
children 6e1afe1016dc
comparison
equal deleted inserted replaced
0:e66ea5014aa1 1:7dc2d920fc7c
1 #include <math.h>
2 #include <stdlib.h>
3 #include "SceneGraph.h"
4 #include "Application.h"
5 #include "MainLoop.h"
6
7 class dandy : public Application {
8 MainLoopPtr init(Viewer *viewer, int w, int h);
9 };
10
11 typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
12 typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);
13
14 typedef struct {
15 double x, y;
16 double vx, vy;
17 const char *chara;
18 int vital;
19 int score;
20 void *parent;
21 void *root;
22
23 } *ObjPropertyPtr, ObjProperty;