Pol  Revision:3cfda13
realmlos.cpp File Reference
#include <stdlib.h>
#include "../../clib/compilerspecifics.h"
#include "../../clib/rawtypes.h"
#include "../../plib/mapcell.h"
#include "../baseobject.h"
#include "../item/item.h"
#include "../mobile/charactr.h"
#include "../uworld.h"
#include "realm.h"

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Realms
 

Macros

#define ABS(a)   ( ( ( a ) < 0 ) ? -( a ) : ( a ) )
 absolute value of a More...
 
#define ZSGN(a)   ( ( ( a ) < 0 ) ? -1 : ( a ) > 0 ? 1 : 0 )
 take sign of a, either -1, 0, or 1 More...
 

Variables

const int Pol::Realms::los_range = 20
 

Detailed Description

History

Definition in file realmlos.cpp.

Macro Definition Documentation

#define ABS (   a)    ( ( ( a ) < 0 ) ? -( a ) : ( a ) )

absolute value of a

Definition at line 138 of file realmlos.cpp.

Referenced by Pol::Realms::Realm::has_los().

#define ZSGN (   a)    ( ( ( a ) < 0 ) ? -1 : ( a ) > 0 ? 1 : 0 )

take sign of a, either -1, 0, or 1

Definition at line 141 of file realmlos.cpp.

Referenced by Pol::Realms::Realm::has_los().