diff dandy.h @ 3:7b4c2cfeba45

task not move 2%
author tkaito
date Thu, 17 Jun 2010 06:31:01 +0900
parents 6e1afe1016dc
children ccc811ee5f55
line wrap: on
line diff
--- a/dandy.h	Thu Jun 17 05:11:29 2010 +0900
+++ b/dandy.h	Thu Jun 17 06:31:01 2010 +0900
@@ -1,8 +1,13 @@
 #include <math.h>
 #include <stdlib.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "TaskManager.h"
 #include "SceneGraph.h"
 #include "Application.h"
 #include "MainLoop.h"
+#include "Func.h"
 
 class dandy : public Application {
   MainLoopPtr init(Viewer *viewer, int w, int h);
@@ -14,6 +19,7 @@
 typedef struct {
   double x, y;
   double vx, vy;
+  int frame;
   const char *chara;
   int vital;
   int score;
@@ -23,7 +29,7 @@
 } *ObjPropertyPtr, ObjProperty;
 
 static const int ENEMY_NUM = 1;
-extern ObjProperty charactor[ENEMY_NUM];
+extern ObjPropertyPtr charactor;
 
 static const float player_speed = 10.0f;
 static const float player_radius = 42.0f;