Pol  Revision:cb584c9
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 
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
unsigned short movecost(const Mobile::Character *chr, int carry_perc, bool running, bool mounted)
Definition: movecost.cpp:87
#define MAX_CARRY_PERC
Definition: movecost.h:19
Definition: berror.cpp:12