diff car.h @ 90:8edae89a3877

compile on Mac OS X
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 19 May 2011 16:41:21 +0900
parents ce9ef7dcf2f0
children cb6c6de125dc
line wrap: on
line diff
--- a/car.h	Thu May 19 16:38:44 2011 +0900
+++ b/car.h	Thu May 19 16:41:21 2011 +0900
@@ -1,10 +1,10 @@
-/*
- * $Id$
- */
+#ifndef CAR_H
+#define CAR_H
+
 typedef struct car {
-    FVECTOR direction;    // 向き
-    FVECTOR vertical;     //
-    FVECTOR location;     // 位置
+  //FVECTOR direction;    // 向き
+  //FVECTOR vertical;     //
+  //FVECTOR location;     // 位置
     float speed;          // 速度
     float speed_accel;    // 加速度
     float speed_max;      // 最高速度
@@ -13,9 +13,11 @@
     float y_angle;        // 角度
     void *free_addr;
     struct car *next;
-    OBJECT*  body;
+  //OBJECT*  body;
 } Car, *CarPtr;
 
 extern CarPtr car_init(int id);
 extern void car_accelerate(CarPtr, int);
 extern void car_swerve(CarPtr, int);
+
+#endif