Mercurial > hg > Members > tkaito > task_dandy
view 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 |
line wrap: on
line source
#include <math.h> #include <stdlib.h> #include "SceneGraph.h" #include "Application.h" #include "MainLoop.h" class dandy : public Application { MainLoopPtr init(Viewer *viewer, int w, int h); }; typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h); typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree); typedef struct { double x, y; double vx, vy; const char *chara; int vital; int score; void *parent; void *root; } *ObjPropertyPtr, ObjProperty;