Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
movecost.h
Go to the documentation of this file.
1
8
#ifndef MOVECOST_H
9
#define MOVECOST_H
10
11
namespace
Pol
12
{
13
namespace
Mobile
14
{
15
class
Character;
16
}
17
namespace
Core
18
{
19
#define MAX_CARRY_PERC 200
20
21
struct
MovementCost
22
{
23
double
cost[
MAX_CARRY_PERC
+ 1];
24
double
over
;
25
};
26
27
unsigned
short
movecost
(
const
Mobile::Character
* chr,
int
carry_perc,
bool
running,
bool
mounted );
28
}
29
}
30
#endif
Pol::Core::MovementCost
Definition:
movecost.h:21
Pol::Core::MovementCost::over
double over
Definition:
movecost.h:24
Pol::Mobile::Character
Definition:
charactr.h:334
Pol::Core::FilterType::Mobile
Pol::Core::movecost
unsigned short movecost(const Mobile::Character *chr, int carry_perc, bool running, bool mounted)
Definition:
movecost.cpp:87
MAX_CARRY_PERC
#define MAX_CARRY_PERC
Definition:
movecost.h:19
Pol
Definition:
berror.cpp:12
pol
movecost.h
Generated on Wed Oct 10 2018 02:42:15 for Pol by
1.8.11