File: barragemanager.h

package info (click to toggle)
rrootage 0.23a-12
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,624 kB
  • ctags: 3,332
  • sloc: cpp: 11,562; ansic: 3,444; xml: 2,032; makefile: 127; yacc: 124; sh: 52
file content (40 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (2)
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
/*
 * $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;
  double 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