-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbarragemanager.h
45 lines (38 loc) · 1002 Bytes
/
barragemanager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* $Id: barragemanager.h,v 1.3 2003/04/04 03:46:20 kenta Exp $
*
* Copyright 2002 Kenta Cho. All rights reserved.
*/
/**
* Barrage data.
*
* @version $Revision: 1.3 $
*/
#ifndef BARRAGEMANAGER_H_
#define BARRAGEMANAGER_H_
#include "bulletml/bulletmlparser.h"
#include "bulletml/bulletmlparser-tinyxml.h"
#include "bulletml/bulletmlrunner.h"
typedef struct
{
BulletMLParser *bulletml;
//senquack TODO: make sure conversion to floats from doubles here didn't mess up the bullet patterns, etc:
//senquack - complete conversion to floats:
// double maxRank, rank;
float maxRank, rank;
} Barrage;
#define BARRAGE_TYPE_NUM 6
#define BARRAGE_PATTERN_MAX 32
#define NORMAL_BARRAGE 0
#define REVERSIBLE_BARRAGE 1
#define MORPH_BARRAGE 2
#define SIMPLE_BARRAGE 3
#define MORPH_HEAVY_BARRAGE 4
#define PSY_MORPH_BARRAGE 5
extern Barrage barragePattern[BARRAGE_TYPE_NUM][BARRAGE_PATTERN_MAX];
extern int barragePatternNum[BARRAGE_TYPE_NUM];
extern "C"
{
#include "brgmng_mtd.h"
}
#endif