-
Notifications
You must be signed in to change notification settings - Fork 1
/
Monster.h
79 lines (64 loc) · 2.29 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_MONSTER_H__88C4B4AD_2D3B_4EB8_ABA1_07FEFBF7C2F1__INCLUDED_)
#define AFX_MONSTER_H__88C4B4AD_2D3B_4EB8_ABA1_07FEFBF7C2F1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "action.h"
#include "DungeonGenerator.h"
#include ".\resistancebrands.h"
#include ".\effects.h"
#include <vector>
class Monster : public ResistanceBrands, public Effects
{
public:
Monster();
//Monster(const Monster& rhs);
virtual ~Monster();
virtual int Create(int type,int level, int level_variation=0);
int createPlayer();
int createOrc(int level);
int createWarlock();
int createSpecial(int level);
int createBridgeMaster(bool wereRat = false);
int createWerewolf();
int createDigger();
void createCrocodile();
int dead();
void setColor(int c1, int c2, int c3);
int newPos(int x,int y);
int GetType() {return type; };
int MaxStamina() { return max_stamina; };
void setDescription(const std::string & about);
const std::string getDescription() const;
void setColour(unsigned char color1, unsigned char color2, unsigned char color3);
char symbol;
unsigned char color1, color2, color3;
signed char stamina;
unsigned char skill;
char luck;
unsigned char sight_range;
unsigned char asleep_sight_Range;
std::string name;
bool humanoid;
bool special;
bool undead;
int experience;
unsigned char max_stamina;
signed char speed;
protected:
unsigned char mLevelVariation;
unsigned char mLevel;
unsigned char type;
unsigned char description;
static std::vector<std::string> descriptions;
};
#endif // !defined(AFX_MONSTER_H__88C4B4AD_2D3B_4EB8_ABA1_07FEFBF7C2F1__INCLUDED_)