view property.h @ 36:4516141d844a

fix.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Sun, 09 Jan 2011 19:47:52 +0900
parents c122e3d2302e
children 6989f8cb0259
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 infg_level;
  int enemycount;

  player jiki;
  stge lg;
  stge infg;

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

} CollisionProperty, *CollisionPropertyPtr;


typedef struct ObjData {
  int type;

  int tama_type;
  int charano;
  int task;
  int zorder;
  int number;
  int color;
  float angle;
  float x, y;
  float vx, vy;
  float w, h;
  float scalex, scaley;
  short middlex, middley;
} ObjData, *ObjDataPtr;

typedef struct ObjContainer {
  bool flag;
  int length;

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


typedef struct Boss1Property {
  int count;
  int fastebos;
  int rinkx;
  int rinky;
  int rinkf2;
} Boss1Property, *Boss1PropertyPtr;

#endif