view property.h @ 31:ccb8d9956a1e

add multi container function.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Fri, 31 Dec 2010 19:19:13 +0900
parents 427e1aac0bd7
children 39e643fc4f90
line wrap: on
line source

#ifndef INCLUDE_PROPERTY
#define INCLUDE_PROPERTY

#include "Character.h"
#include "bom.h"
#include "count2.h"
#include "sgoex.h"

typedef struct CollisionProperty {
  int bomend;
  int enemycount;
  int infg_level;

  player jiki;
  stge lg;
  stge infg;

  tama1 tama_lv1[20];
  tama2 tama_lv2[20];
  tama1 tlv3;
  laser laser_lv1[20];
  laser laser_lv2[20];
  laser laser_lv3[128];
  bomchar bchar[100];

} CollisionProperty, *CollisionPropertyPtr;

typedef struct ObjData {
  int tama_type;
  int charano;
  int task;

  float x, y;
  float vx, vy;
} ObjData, *ObjDataPtr;

typedef struct ObjContainer {
  bool flag;
  int length;
  int type;

  ObjData data[1];
} ObjContainer, *ObjContainerPtr;

#endif