forked from gitter-badger/notes-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
monster.h
55 lines (45 loc) · 1.26 KB
/
monster.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
46
47
48
49
50
51
52
53
54
55
#include "types.h"
/// address: 0x64CCE4
///
/// +Infinity after initialization of monster.cpp.
extern float monster_cpp_init_value;
/// address: 0x64CCE8
///
/// monster_total_kills_from_monster_id tracks the total number of monsters
/// killed per monster_id.
///
/// PSX ref: 0x8010A240
/// PSX def: short monstkills[190]
extern int monster_total_kills_from_monster_id[200];
/// address: 0x64D008
///
/// active_monster_nums keeps track of the monster_num of active monsters.
///
/// PSX ref: 0x8010A0C4
/// PSX def: short monstactive[190]
extern int active_monster_nums[200];
/* TODO: uncomment when the Monster struct has been added to structs.h.
/// address: 0x64D330
///
/// monsters contains the monsters of the current game.
///
/// PSX ref: 0x80105394
/// PSX def: MonsterStruct monster[190]
extern Monster monsters[200];
*/
/* TODO: uncomment when the MonsterType struct has been added to structs.h.
/// address: 0x658558
///
/// monster_types contains the monster types of the current game.
///
/// PSX ref: 0x8010A3BC
/// PSX def: CMonster Monsters[16]
extern MonsterType monster_types[16];
*/
/// address: 0x659AF0
///
/// nmonster_types specifies the number of active monster types.
///
/// PSX ref: 0x8011C29C
/// PSX def: int nummtypes
extern int nmonster_types;