FIFE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FIFE Namespace Reference

All FIFE related code is in this namespace. More...

Namespaces

 OGG_cb
 

Classes

struct  SoundBufferEntry
 
class  SoundClip
 Class to handle the buffers of an audio file. More...
 
class  SoundClipManager
 SoundClipManager. More...
 
class  SoundDecoder
 
class  SoundEmitter
 The class for playing audio files. More...
 
class  SoundManager
 
class  IEngineChangeListener
 
class  Engine
 Engine acts as a controller to the whole system Responsibilities of the engine are: More...
 
class  EngineSettings
 This class defines the engine settings on engine init. More...
 
class  Event
 Base class for all events. More...
 
class  InputEvent
 Base class for input events (like mouse and keyboard) More...
 
class  Command
 Class for commands Commands are arbitrary events e.g. More...
 
class  ICommandController
 Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events Also command sending is possible. More...
 
class  ICommandListener
 Listener of command events. More...
 
class  EventManager
 Event Manager manages all events related to FIFE. More...
 
class  IKeyController
 Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events. More...
 
class  IKeyFilter
 Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events. More...
 
class  IKeyListener
 Listener of key events. More...
 
class  Key
 Represents a key or a character. More...
 
class  KeyEvent
 Class for key events. More...
 
class  IMouseController
 Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events. More...
 
class  IMouseListener
 Listener of mouse events. More...
 
class  MouseEvent
 Class for mouse events. More...
 
class  ISdlEventController
 Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events. More...
 
class  ISdlEventListener
 Listener of SDL events. More...
 
class  IEventSource
 Representation of event source (a thing sending events) More...
 
class  GuiFont
 
class  GuiImage
 
class  GuiImageLoader
 
class  OpenGLGuiGraphics
 Overrides Guichan Graphics to enable usage of normal fife images & related facilities. More...
 
class  OpenGLeGuiGraphics
 Overrides Guichan Graphics to enable usage of normal fife images & related facilities. More...
 
class  SdlGuiGraphics
 Overrides Guichan Graphics to enable usage of normal fife images & related facilities. More...
 
class  CommandLine
 A Command line widget. More...
 
class  ConsoleExecuter
 Console executer is listener interface for console activity. More...
 
class  Console
 Ingame Console. More...
 
class  GUIChanManager
 
class  IGUIManager
 
class  OggLoader
 
class  SoundDecoderOgg
 
class  AnimationLoader
 
struct  AtlasData
 
class  Atlas
 
class  AtlasLoader
 
class  IAnimationLoader
 
class  IAtlasLoader
 
class  IMapLoader
 Interface class that all map loaders should derive from. More...
 
class  IObjectLoader
 Interface class that all object loaders should derive from. More...
 
class  MapLoader
 
class  ObjectLoader
 
class  PercentDoneListener
 
class  PercentDoneCallback
 
class  ImageLoader
 ImageLoader for some basic formats like jpeg, png etc. More...
 
class  Action
 
class  CellGrid
 
class  HexGrid
 
class  SquareGrid
 
class  IPather
 
class  IVisual
 
class  Object
 Object class. More...
 
class  TimeProvider
 Timeprovider is an utility providing time management functionality You can have hierarchy of time providers, whose multiplier can be changed independently. More...
 
class  Model
 A model is a facade for everything in the model. More...
 
class  TransitionInfo
 Simple class to hold the data for transistions. More...
 
class  CellDeleteListener
 Listener interface for deletions happening on a cell, used for transistions. More...
 
class  CellChangeListener
 Listener interface for changes happening on a cell. More...
 
class  Cell
 A basic cell on a CellCache. More...
 
class  CellCacheChangeListener
 
class  ZoneCellChangeListener
 
class  Zone
 A Zone is an abstract depiction of a CellCache or of a part of it. More...
 
class  CellCache
 A CellCache is an abstract depiction of one or a few layers and contains additional information, such as different cost and speed and so on. More...
 
class  ActionInfo
 
class  SayInfo
 
class  InstanceActionListener
 
class  InstanceChangeListener
 
class  InstanceDeleteListener
 
class  Instance
 An Instance is an "instantiation" of an Object at a Location. More...
 
class  InstanceListCollector
 
class  InstanceTree
 
class  LayerChangeListener
 Listener interface for changes happening on a layer. More...
 
class  Layer
 A basic layer on a map. More...
 
class  Location
 
class  MapChangeListener
 Listener interface for changes happening on map. More...
 
class  Map
 A container of Layer(s). More...
 
class  NodeInstanceDeleteListener
 
class  RendererNode
 
class  Route
 A basic route. More...
 
class  MultiLayerSearch
 MultiLayerSearch using A*. More...
 
class  RoutePather
 
class  RoutePatherSearch
 RoutePatherSearch using A*. More...
 
class  SingleLayerSearch
 SingleLayerSearch using A*. More...
 
class  IAnimationSaver
 
class  IAtlasSaver
 
class  IMapSaver
 Interface class that all map savers should derive from. More...
 
class  IObjectSaver
 Interface class that all object savers should derive from. More...
 
class  MapSaver
 default map saver class implementing the IMapSaver interface More...
 
class  Exception
 Exception base class. More...
 
class  FifeClass
 Base class for all fife classes Used e.g. More...
 
class  SharedPtr
 shared pointer implementation to provide automatic reference counting and deletion when last reference falls out of scope. More...
 
class  StaticSingleton
 The "classic" Singleton. More...
 
class  DynamicSingleton
 Another Singleton. More...
 
class  LMsg
 Helper class to create log strings out from separate parts Usage: LMsg("some text") << variable << ", " << other variable. More...
 
class  LogManager
 Logmanager takes care of log filtering and output direction. More...
 
class  Logger
 Create a Logger instance to communicate with LogManager Logger stores information about the current module thus reducing the typing needed for individual traces Common way of doing things is to instantiate a static Logger on top of .cpp file and then use that in .cpp-file's methods. More...
 
struct  pprint
 Helper for printing a pointer. More...
 
struct  float_traits
 
struct  float_traits< float >
 
struct  float_traits< double >
 
class  Math
 
class  Matrix
 Minimal matrix class to assist in view 3d calculations. More...
 
class  IResourceLoader
 
class  IResource
 
class  IResourceManager
 IResourceManager. More...
 
class  PointType2D
 A 2D Point. More...
 
class  PointType3D
 A 3D Point. More...
 
class  PriorityQueue
 A pq which stores index-value pairs for elements. More...
 
class  QuadNode
 QuadTree Node. More...
 
class  QuadTree
 Dynamic QuadTree A space partitioning tree automatically expanding to adjust to any object size put into the data structure. More...
 
class  RectType
 A Rectangle on screen. More...
 
class  TimeEvent
 Interface for events to be registered with TimeManager. More...
 
class  TimeManager
 Time Manager. More...
 
class  Timer
 Simple Timer class. More...
 
class  DAT1
 VFSource for the Fallout1 DAT file format. More...
 
class  DAT2
 VFSource for the Fallout2 DAT file format. More...
 
class  LZSSDecoder
 A helper class for unpacking LZSS encoded data. More...
 
class  RawDataDAT1
 A subclass of RawDataMemSource, that fills itself with a FALLOUT1 .DAT file entry. More...
 
class  RawDataDAT2
 A subclass of RawDataMemSource, that fills itself with a FALLOUT1 .DAT file entry. More...
 
class  DirectoryProvider
 Provider for OS directories. More...
 
class  RawData
 Used to access diffrent kinds of data. More...
 
class  IndexSaver
 
class  RawDataFile
 A RawDataSource for a file on the host system. More...
 
class  RawDataMemSource
 Simpe RawDataSource that reads data from raw memory. More...
 
class  RawDataSource
 Abstract baseclass - provides data for RawData. More...
 
class  VFS
 the main VFS (virtual file system) class More...
 
class  VFSDirectory
 The most basic VFSSource for "normal" filesystems. More...
 
class  VFSSource
 VFSSource abstract baseclass. More...
 
class  VFSSourceProvider
 VFSSourceProvider abstract baseclass. More...
 
class  ZipFileSource
 
struct  ZipContentType
 
struct  ZipEntryData
 
class  ZipNode
 
class  ZipProvider
 A VFS provider for Zip archives. More...
 
class  ZipSource
 Implements a Zip archive file source. More...
 
class  ZipTree
 
class  Animation
 Animation. More...
 
class  AtlasBlock
 
class  AtlasPage
 
class  AtlasBook
 
class  Cursor
 Cursor class manages mouse cursor handling. More...
 
class  ScreenMode
 
class  DeviceCaps
 
class  FontBase
 Abstract Font Base Class Uses a pool for rendered strings. More...
 
class  IFont
 Pure abstract Font interface. More...
 
class  ImageFontBase
 ImageFont base class. More...
 
class  SubImageFont
 Imagefont that is able to read glyphs from single image sheet, see e.g. More...
 
class  TextRenderPool
 Generic pool for rendered text Caches a number of Images with text, as rendered by a Font. More...
 
class  TrueTypeFont
 SDL True Type Font implementation of Font. More...
 
class  Image
 Base Class for Images. More...
 
class  ImageManager
 ImageManager. More...
 
class  GLImage
 Implements an Image using OpenGL. More...
 
class  RenderBackendOpenGL
 The main class of the OpenGL-based renderer. More...
 
class  GLeImage
 Implements an Image using experimental OpenGL. More...
 
class  RenderBackendOpenGLe
 The main class of the OpenGL-based experimental renderer. More...
 
class  RenderBackend
 Abstract interface for all the renderbackends. More...
 
class  RenderBackendSDL
 The main class of the SDL-based renderer. More...
 
struct  ColorRGB8
 
struct  ColorRGBA8
 
class  SDLImage
 The SDL implementation of the Image base class. More...
 
class  MapObserver
 
class  Camera
 Camera describes properties of a view port shown in the main screen Main screen can have multiple cameras active simultanously Different cameras can have different properties, like location to shoot, zoom or tilt. More...
 
class  CacheLayerChangeListener
 
class  InstanceDistanceSortCamera
 Comparison functions for sorting. More...
 
class  InstanceDistanceSortLocation
 
class  InstanceDistanceSortCameraAndLocation
 
class  CacheTreeCollector
 
class  LayerCache
 
class  IRendererListener
 RendererListener allows reaction to changes in renderer Having this implemented via callback mechanism should speed up the rendering a bit (e.g. More...
 
class  IRendererContainer
 Interface to class owning the renderers Used to get correct subclass of renderer in scripting side (via renderer's static method) More...
 
class  RendererBase
 Base class for all view renderers View renderer renders one aspect of the view shown on screen. More...
 
class  BlockingInfoRenderer
 
class  CellRenderer
 
class  CellSelectionRenderer
 CellSelectionRenderer renders a frame around selected cells. More...
 
class  CoordinateRenderer
 
class  FloatingTextRenderer
 
class  GenericRendererElementInfo
 
class  GenericRendererLineInfo
 
class  GenericRendererPointInfo
 
class  GenericRendererTriangleInfo
 
class  GenericRendererQuadInfo
 
class  GenericRendererVertexInfo
 
class  GenericRendererImageInfo
 
class  GenericRendererAnimationInfo
 
class  GenericRendererTextInfo
 
class  GenericRendererResizeInfo
 
class  GenericRenderer
 
class  GridRenderer
 
class  InstanceRendererDeleteListener
 
class  InstanceRenderer
 
class  LightRendererElementInfo
 
class  LightRendererImageInfo
 
class  LightRendererAnimationInfo
 
class  LightRendererSimpleLightInfo
 
class  LightRendererResizeInfo
 
class  LightRenderer
 
class  OffRendererElementInfo
 
class  OffRendererLineInfo
 
class  OffRendererPointInfo
 
class  OffRendererTriangleInfo
 
class  OffRendererQuadInfo
 
class  OffRendererVertexInfo
 
class  OffRendererImageInfo
 
class  OffRendererAnimationInfo
 
class  OffRendererTextInfo
 
class  OffRendererResizeInfo
 
class  OffRenderer
 
class  RenderVisitor
 
class  QuadTreeRenderer
 
class  RenderTarget
 
class  TargetRenderer
 
class  RenderItem
 
class  Visual2DGfx
 Base class for all 2 dimensional visual classes Visual classes are extensions to visualize the stuff in model (e.g. More...
 
class  ObjectVisual
 Object visual contains data that is needed for visualizing objects. More...
 
class  InstanceVisual
 Instance visual contains data that is needed to visualize the instance on screen. More...
 
class  ActionVisual
 Action visual contains data that is needed to visualize different actions on screen. More...
 

Typedefs

typedef SharedPtr< SoundClipSoundClipPtr
 
typedef SharedPtr
< IAnimationLoader
AnimationLoaderPtr
 
typedef SharedPtr< AtlasAtlasPtr
 
typedef SharedPtr
< FIFE::IAtlasLoader
AtlasLoaderPtr
 
typedef SharedPtr
< FIFE::IObjectLoader
ObjectLoaderPtr
 
typedef std::list< LocationPath
 A path is a list with locations. Each location holds the coordinate for one cell. More...
 
typedef DoublePoint3D ExactModelCoordinate
 
typedef Point3D ModelCoordinate
 
typedef uint8_t CellTypeInfo
 
typedef uint8_t CellVisualEffect
 
typedef uint32_t InstanceChangeInfo
 
typedef uint8_t VisitorShapeInfo
 
typedef uint8_t RouteStatusInfo
 
typedef SharedPtr
< IAnimationSaver
AnimationSaverPtr
 
typedef SharedPtr
< FIFE::IAtlasSaver
AtlasSaverPtr
 
typedef SharedPtr
< FIFE::IObjectSaver
ObjectSaverPtr
 
typedef std::size_t fifeid_t
 
typedef std::vector< int32_t > IntVector
 
typedef std::map< uint32_t,
int32_t > 
type_angle2id
 
typedef Math< float > Mathf
 
typedef Math< double > Mathd
 
typedef Matrix< double > DoubleMatrix
 
typedef Matrix< int32_t > IntMatrix
 
typedef std::size_t ResourceHandle
 
typedef SharedPtr< IResourceResourcePtr
 
typedef PointType2D< int32_t > Point
 
typedef PointType2D< double > DoublePoint
 
typedef PointType3D< int32_t > Point3D
 
typedef PointType3D< double > DoublePoint3D
 
typedef RectType< int32_t > Rect
 
typedef RectType< float > FloatRect
 
typedef RectType< double > DoubleRect
 
typedef boost::shared_ptr
< RawData
RawDataPtr
 
typedef std::vector< ZipNode * > ZipNodeContainer
 
typedef SharedPtr< AnimationAnimationPtr
 
typedef SharedPtr< ImageImagePtr
 
typedef Point3D ScreenPoint
 
typedef std::map< Layer
*, RenderList
t_layer_to_instances
 
typedef SharedPtr< RenderTargetRenderTargetPtr
 
typedef std::vector< RenderItem * > RenderList
 

Enumerations

enum  SoundPositionType { SD_SAMPLE_POS, SD_TIME_POS, SD_BYTE_POS }
 Different types of audio-file positions. More...
 
enum  CommandType {
  CMD_UNKNOWN = -1, CMD_QUIT_GAME = 402, CMD_MOUSE_FOCUS_GAINED, CMD_MOUSE_FOCUS_LOST,
  CMD_INPUT_FOCUS_GAINED, CMD_INPUT_FOCUS_LOST, CMD_APP_RESTORED, CMD_APP_ICONIFIED
}
 Types for different commands. More...
 
enum  EventSourceType { ES_ENGINE = 1, ES_GUICHAN_WIDGET = 2 }
 Types for different event sources. More...
 
enum  PriorityType { HIGH_PRIORITY, MEDIUM_PRIORITY, LOW_PRIORITY }
 
enum  CellType {
  CTYPE_NO_BLOCKER = 0, CTYPE_STATIC_BLOCKER = 1, CTYPE_DYNAMIC_BLOCKER = 2, CTYPE_CELL_NO_BLOCKER = 3,
  CTYPE_CELL_BLOCKER = 4
}
 Defines different blocker types. More...
 
enum  CellVisualType { CELLV_CONCEALED = 0, CELLV_REVEALED, CELLV_MASKED }
 Defines different cell visuals which are used for Fog of War. More...
 
enum  InstanceChangeType {
  ICHANGE_NO_CHANGES = 0x0000, ICHANGE_LOC = 0x0001, ICHANGE_ROTATION = 0x0002, ICHANGE_SPEED = 0x0004,
  ICHANGE_ACTION = 0x0008, ICHANGE_TIME_MULTIPLIER = 0x0010, ICHANGE_SAYTEXT = 0x0020, ICHANGE_BLOCK = 0x0040,
  ICHANGE_CELL = 0x0080, ICHANGE_TRANSPARENCY = 0x0100, ICHANGE_VISIBLE = 0x0200, ICHANGE_STACKPOS = 0x0400
}
 
enum  VisitorShapeType { ITYPE_NO_SHAPE = 0, ITYPE_QUAD_SHAPE, ITYPE_CIRCLE_SHAPE }
 
enum  PathingStrategy { CELL_EDGES_ONLY, CELL_EDGES_AND_DIAGONALS }
 Defines how pathing can be performed on this layer. More...
 
enum  SortingStrategy { SORTING_CAMERA, SORTING_LOCATION, SORTING_CAMERA_AND_LOCATION }
 
enum  RouteStatus {
  ROUTE_CREATED = 0, ROUTE_SEARCHING, ROUTE_SEARCHED, ROUTE_SOLVED,
  ROUTE_FAILED
}
 Defines different route status types for the search. More...
 
enum  MouseCursorType { CURSOR_NONE, CURSOR_NATIVE, CURSOR_IMAGE, CURSOR_ANIMATION }
 Defines the type of shown cursor native -> default cursor image -> cursor from image pool animation -> cursor from animation pool. More...
 
enum  NativeCursor {
  NC_ARROW = 1000000, NC_IBEAM, NC_WAIT, NC_CROSS,
  NC_UPARROW, NC_RESIZENW, NC_RESIZESE, NC_RESIZESW,
  NC_RESIZENE, NC_RESIZEE, NC_RESIZEW, NC_RESIZEN,
  NC_RESIZES, NC_RESIZEALL, NC_NO, NC_HAND,
  NC_APPSTARTING, NC_HELP
}
 Defines some common native cursors between platforms. More...
 
enum  GLConstants {
  KEEP = 0, ZERO, REPLACE, INCR,
  DECR, INVERT, NEVER, LESS,
  LEQUAL, GREATER, GEQUAL, EQUAL,
  NOTEQUAL, ALWAYS
}
 

Functions

template<typename T >
void removeListener (std::deque< T > &vec, T &listener)
 
template<typename T >
void addListener (std::deque< T > &vec, T &listener)
 
AtlasLoadercreateDefaultAtlasLoader (Model *model, VFS *vfs, ImageManager *imageManager)
 convenience function for creating the default fife atlas loader deleting the object returned from this function is the responsibility of the caller More...
 
MapLoadercreateDefaultMapLoader (Model *model, VFS *vfs, ImageManager *imageManager, RenderBackend *renderBackend)
 convenience function for creating the default fife map loader deleting the object returned from this function is the responsibility of the caller More...
 
uint32_t scaleTime (float multiplier, uint32_t ticks)
 Utility function to calculate time scaling. More...
 
std::ostream & operator<< (std::ostream &, const Location &)
 Stream output operator. More...
 
 FIFE_EXCEPTION_DECL (SDLException,"SDL reported something bad")
 
 FIFE_EXCEPTION_DECL (NotFound,"Something was searched, but not found")
 
 FIFE_EXCEPTION_DECL (NotSet,"Something was not set correctly")
 
 FIFE_EXCEPTION_DECL (IndexOverflow,"Someone tried to access a non-existing element")
 
 FIFE_EXCEPTION_DECL (InvalidFormat,"Found invalid data")
 
 FIFE_EXCEPTION_DECL (CannotOpenFile,"File couldn't be opened")
 
 FIFE_EXCEPTION_DECL (InvalidConversion,"Tried an invalid conversion")
 
 FIFE_EXCEPTION_DECL (NotSupported,"This action was not supported")
 
 FIFE_EXCEPTION_DECL (NameClash,"A name or identifier is already in use")
 
 FIFE_EXCEPTION_DECL (Duplicate,"A duplicate item was added, where this is not allowed")
 
 FIFE_EXCEPTION_DECL (ScriptException,"Error related to scripting functionality")
 
 FIFE_EXCEPTION_DECL (EventException,"Error related to event functionality")
 
 FIFE_EXCEPTION_DECL (GuiException,"Error related to gui functionality")
 
 FIFE_EXCEPTION_DECL (InconsistencyDetected,"An inconsistency in FIFE internals was detected. Please report this is a FIFE Bug.")
 
 FIFE_EXCEPTION_DECL (OutOfMemory,"Buy more ram ;)")
 
template<typename T , typename U >
bool operator== (const SharedPtr< T > &lhs, const SharedPtr< U > &rhs)
 provides equality operator for shared pointers More...
 
template<typename T , typename U >
bool operator!= (const SharedPtr< T > &lhs, const SharedPtr< U > &rhs)
 provides inequality operator for shared pointers More...
 
template<class T , class U >
bool operator< (SharedPtr< T > const &lhs, SharedPtr< U > const &rhs)
 provides less than operator for shared pointers More...
 
template<typename T >
SharedPtr< T > make_shared (T *ptr)
 convenience function for making a shared pointer can be used anytime a shared pointer should be created More...
 
int32_t makeInt32 (const std::string &str)
 
IntVector tokenize (const std::string &str, char delim, char group)
 
int32_t getIndexByAngle (int32_t angle, const type_angle2id &angle2id, int32_t &closestMatchingAngle)
 Returns id for given angle from angle2id map in case there are no elements in the map, negative value is returned. More...
 
int32_t getAngleBetween (const Location &loc1, const Location &loc2)
 Gets angle of vector defined by given locations. More...
 
Location getFacing (const Location &loc, const int32_t angle)
 Gets facing location defined by given angle and location. More...
 
int32_t getAngleBetween (const ExactModelCoordinate &emc1, const ExactModelCoordinate &emc2)
 Gets angle of vector defined by given map coordinates. More...
 
ExactModelCoordinate getFacing (const ExactModelCoordinate &emc, const int32_t angle)
 Gets facing map coordinate defined by given angle and map coordinate. More...
 
unsigned nextPow2 (unsigned x)
 Returns the next higher power of 2 based on the passed argument. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const Matrix< T > &m)
 Print coords of the Matrix to a stream. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const PointType2D< T > &p)
 Print coords of the Point to a stream. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const PointType3D< T > &p)
 Print coords of the Point to a stream. More...
 
Point doublePt2intPt (DoublePoint pt)
 Convert from 2D double point to 2D int32_t point. More...
 
Point3D doublePt2intPt (DoublePoint3D pt)
 Convert from 3D double point to 3D int32_t point. More...
 
DoublePoint intPt2doublePt (Point pt)
 Convert from 2D int32_t point to 2D double point. More...
 
DoublePoint3D intPt2doublePt (Point3D pt)
 Convert from 3D int32_t point to 3D double point. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const RectType< T > &r)
 Stream output operator. More...
 
const char * getVersion ()
 
int getMajor ()
 
int getMinor ()
 
int getSubMinor ()
 
int getRevision ()
 
bool HasParentPath (const bfs::path &path)
 Helper function to determine if a path object has a parent path. More...
 
bfs::path GetParentPath (const bfs::path &path)
 Helper function to retrieve a parent path object from a path object. More...
 
std::string GetFilenameFromPath (const bfs::path &path)
 Helper function to retrieve the filename from a boost filesystem path filename is just the name of the file and any extension without a path. More...
 
std::string GetFilenameFromDirectoryIterator (const bfs::directory_iterator &iter)
 Helper function to retrieve a filename string from a directory iterator. More...
 
std::string GetPathIteratorAsString (const bfs::path::iterator &pathIter)
 Helper function to retrieve the path iterator in a string representation. More...
 
bfs::path GetAbsolutePath (const std::string &path)
 Helper function to retrieve an absolute path from a given relative path. More...
 
bfs::path GetAbsolutePath (const bfs::path &path)
 Helper function to retrieve an absolute path from a given relative path. More...
 
bool HasExtension (const std::string &path)
 Helper function to check if a filename has an extension. More...
 
bool HasExtension (const bfs::path &path)
 Helper function to check if a filename has an extension. More...
 
std::string GetExtension (const std::string &path)
 Helper function to retrieve the extension. More...
 
std::string GetExtension (const bfs::path &path)
 Helper function to retrieve the extension. More...
 
std::string GetStem (const std::string &path)
 Helper function to retrieve the filename minus any extension. More...
 
std::string GetStem (const bfs::path &path)
 Helper function to retrieve the filename minus any extension. More...
 
void SDL_BlendRow_RGBA8_to_RGBA8 (const uint8_t *src, uint8_t *dst, uint32_t alpha, int32_t n)
 Blends one row of n pixels from src with n pixels of dst. More...
 
void SDL_BlendRow_RGBA8_to_RGB8 (const uint8_t *src, uint8_t *dst, uint32_t alpha, int32_t n)
 Blends one row of n pixels from src with n pixels of dst. More...
 
void SDL_BlendRow_RGBA8_to_RGB565 (const uint8_t *src, uint8_t *dst, uint32_t alpha, int32_t n)
 Blends one row of n pixels from src with n pixels of dst. More...
 
void SDL_BlendRow_RGBA4_to_RGB565 (const uint8_t *src, uint8_t *dst, uint32_t alpha, int32_t n)
 Blends one row of n pixels from src with n pixels of dst. More...
 
void SDL_BlitSurfaceWithAlpha (const SDL_Surface *src, const SDL_Rect *srcRect, SDL_Surface *dst, SDL_Rect *dstRect, uint8_t alpha)
 
void zoomSurface (SDL_Surface *src, SDL_Surface *dst)
 
SDL_Surface * getZoomedSurface (SDL_Surface *src, double zoomx, double zoomy)
 
bool nearlyEqual (float a, float b)
 
bool pipelineSort (const RendererBase *lhs, const RendererBase *rhs)
 
bool aboveThreshold (int32_t threshold, int32_t alpha, int32_t prev_alpha)
 

Variables

static Logger _log (LM_AUDIO)
 
static Logger _log (LM_RESMGR)
 
const uint32_t MAX_KEEP_IN_MEM = 3145728
 
const int16_t BUFFER_NUM = 3
 
const uint32_t BUFFER_LEN = 1048576
 
static Logger _log (LM_AUDIO)
 
static Logger _log (LM_CONTROLLER)
 
const float MAXIMUM_VOLUME = 10.0
 
static Logger _log (LM_EVTCHANNEL)
 
static Logger _log (LM_GUI)
 
static Logger _log (LM_CONSOLE)
 
static Logger _log (LM_NATIVE_LOADERS)
 
const uint32_t minPercent = 0
 
const uint32_t maxPercent = 100
 
static Logger _log (LM_CELLGRID)
 
static Logger _log (LM_HEXGRID)
 
static const double HEX_WIDTH = 1
 
static const double HEX_TO_EDGE = HEX_WIDTH / 2
 
static const double HEX_TO_CORNER = 0.5 / Mathd::Cos(Mathd::pi() / 6)
 
static const double HEX_EDGE_HALF = HEX_TO_CORNER * Mathd::Sin(Mathd::pi() / 6)
 
static const double VERTICAL_MULTIP = Mathd::Sqrt(HEX_WIDTH*HEX_WIDTH - HEX_TO_EDGE*HEX_TO_EDGE)
 
static const double VERTICAL_MULTIP_INV = 1 / VERTICAL_MULTIP
 
static const double HEX_EDGE_GRADIENT = 1 / Mathd::Sqrt(3)
 
static Logger _log (LM_SQUAREGRID)
 
static Logger _log (LM_MODEL)
 
static Logger _log (LM_STRUCTURES)
 
static const double MIN_CELL_Z = -9999999
 
static Logger _log (LM_STRUCTURES)
 
static Logger _log (LM_INSTANCE)
 
static Logger _log (LM_STRUCTURES)
 
static std::string INVALID_LAYER_SET = "Cannot set layer coordinates, given layer is not initialized properly"
 
static std::string INVALID_LAYER_GET = "Cannot get layer coordinates, layer is not initialized properly"
 
static Logger _log (LM_VIEWVIEW)
 
static Logger _log (LM_STRUCTURES)
 
static Logger _log (LM_NATIVE_SAVERS)
 
static Logger _log (LM_EXCEPTION)
 
const uint32_t RMASK = 0xff000000
 
const uint32_t GMASK = 0x00ff0000
 
const uint32_t BMASK = 0x0000ff00
 
const uint32_t AMASK = 0x000000ff
 
const uint32_t NULLMASK = 0x00000000
 
static const float FLT_STD_EPSILON = std::numeric_limits<float>::epsilon()
 
static const float FLT_STD_MAX = std::numeric_limits<float>::max()
 
static const float FLT_ZERO_TOLERANCE = 1e-06f
 
static const float FLT_PI = 4.0f*std::atan(1.0f)
 
static const float FLT_TWO_PI = 2.0f*FLT_PI
 
static const float FLT_HALF_PI = 0.5f*FLT_PI
 
static const float FLT_INVERSE_PI = 1.0f/FLT_PI
 
static const float FLT_INVERSE_TWO_PI = 1.0f/FLT_TWO_PI
 
static const float FLT_DEG_TO_RAD = FLT_PI/180.0f
 
static const float FLT_RAD_TO_DEG = 180.0f/FLT_PI
 
static const float FLT_LOG_2 = std::log(2.0f)
 
static const float FLT_LOG_10 = std::log(10.0f)
 
static const float FLT_INV_LOG_2 = 1.0f/std::log(2.0f)
 
static const float FLT_INV_LOG_10 = 1.0f/std::log(10.0f)
 
static const double DBL_STD_EPSILON = std::numeric_limits<double>::epsilon()
 
static const double DBL_STD_MAX = std::numeric_limits<double>::max()
 
static const double DBL_ZERO_TOLERANCE = 1e-08
 
static const double DBL_PI = 4.0*std::atan(1.0)
 
static const double DBL_TWO_PI = 2.0*DBL_PI
 
static const double DBL_HALF_PI = 0.5*DBL_PI
 
static const double DBL_INVERSE_PI = 1.0/DBL_PI
 
static const double DBL_INVERSE_TWO_PI = 1.0/DBL_TWO_PI
 
static const double DBL_DEG_TO_RAD = DBL_PI/180.0
 
static const double DBL_RAD_TO_DEG = 180.0f/DBL_PI
 
static const double DBL_LOG_2 = std::log(2.0)
 
static const double DBL_LOG_10 = std::log(10.0)
 
static const double DBL_INV_LOG_2 = 1.0/std::log(2.0)
 
static const double DBL_INV_LOG_10 = 1.0/std::log(10.0)
 
static const uint32_t UNDEFINED_TIME_DELTA = 999999
 
static Logger _log (LM_UTIL)
 
static Logger _log (LM_FO_LOADERS)
 
static Logger _log (LM_VFS)
 
static const uint32_t LF_HEADER = 0x04034b50
 
static const uint32_t DE_HEADER = 0x08064b50
 
static const uint32_t CF_HEADER = 0x02014b50
 
static Logger _log (LM_LOADERS)
 
static const int max_quads_per_texbatch = 600
 
static const int max_tex = 400
 
static const int buffer_default_size = 4 * max_quads_per_texbatch * max_tex
 
static Logger _log (LM_CAMERA)
 
const double OVERDRAW = 1.5
 
static Logger _log (LM_VIEW)
 
const int32_t DEFAULT_RENDERER_POSITION = 1000
 
static Logger _log (LM_VIEWVIEW)
 
const int32_t MIN_COORD = -9999999
 
const int32_t MAX_COORD = 9999999
 
const int32_t STATIC_IMAGE_NOT_INITIALIZED = -2
 

Detailed Description

All FIFE related code is in this namespace.

We currently only use one namespace for all our code with the exception of the gcn namespace which is used for our custom widgets.

Typedef Documentation

Definition at line 157 of file animation.h.

Definition at line 54 of file iatlasloader.h.

Definition at line 36 of file iatlasloader.h.

Definition at line 45 of file iatlassaver.h.

typedef uint8_t FIFE::CellTypeInfo

Definition at line 65 of file cell.h.

typedef uint8_t FIFE::CellVisualEffect

Definition at line 78 of file cell.h.

typedef Matrix<double> FIFE::DoubleMatrix

Definition at line 376 of file matrix.h.

typedef PointType2D<double> FIFE::DoublePoint

Definition at line 195 of file point.h.

Definition at line 326 of file point.h.

typedef RectType<double> FIFE::DoubleRect

Definition at line 260 of file rect.h.

Definition at line 36 of file modelcoords.h.

typedef std::size_t FIFE::fifeid_t

Definition at line 37 of file fifeclass.h.

typedef RectType<float> FIFE::FloatRect

Definition at line 259 of file rect.h.

Definition at line 42 of file image.h.

typedef uint32_t FIFE::InstanceChangeInfo

Definition at line 73 of file instance.h.

typedef Matrix<int32_t> FIFE::IntMatrix

Definition at line 377 of file matrix.h.

typedef std::vector<int32_t> FIFE::IntVector

Definition at line 32 of file stringutils.h.

typedef Math<double> FIFE::Mathd

Definition at line 168 of file fife_math.h.

typedef Math<float> FIFE::Mathf

Definition at line 167 of file fife_math.h.

Definition at line 37 of file modelcoords.h.

Definition at line 57 of file iobjectsaver.h.

typedef std::list< Location > FIFE::Path

A path is a list with locations. Each location holds the coordinate for one cell.

Definition at line 38 of file ipather.h.

typedef PointType2D<int32_t> FIFE::Point

Definition at line 194 of file point.h.

typedef PointType3D<int32_t> FIFE::Point3D

Definition at line 325 of file point.h.

typedef boost::shared_ptr<RawData> FIFE::RawDataPtr

Definition at line 187 of file rawdata.h.

typedef RectType<int32_t> FIFE::Rect

Definition at line 258 of file rect.h.

typedef std::vector<RenderItem*> FIFE::RenderList

Definition at line 82 of file renderitem.h.

Definition at line 70 of file targetrenderer.h.

typedef std::size_t FIFE::ResourceHandle

Definition at line 38 of file resource.h.

Definition at line 88 of file resource.h.

typedef uint8_t FIFE::RouteStatusInfo

Definition at line 56 of file route.h.

Definition at line 45 of file camera.h.

Definition at line 150 of file soundclip.h.

Definition at line 50 of file camera.h.

typedef std::map<uint32_t, int32_t> FIFE::type_angle2id

Definition at line 37 of file angles.h.

typedef uint8_t FIFE::VisitorShapeInfo

Definition at line 92 of file instance.h.

typedef std::vector<ZipNode*> FIFE::ZipNodeContainer

Definition at line 61 of file zipnode.h.

Enumeration Type Documentation

Defines different blocker types.

CTYPE_NO_BLOCKER means there is no blocker. CTYPE_STATIC_BLOCKER means there is at least one blocking instance which is static. CTYPE_DYNAMIC_BLOCKER means there is at least one blocking instance which is not static. CTYPE_CELL_NO_BLOCKER means there will never be a blocker. Regardless of the instances on this cell. CTYPE_CELL_BLOCKER means there will always be a blocker. Regardless of the instances on this cell.

Enumerator
CTYPE_NO_BLOCKER 
CTYPE_STATIC_BLOCKER 
CTYPE_DYNAMIC_BLOCKER 
CTYPE_CELL_NO_BLOCKER 
CTYPE_CELL_BLOCKER 

Definition at line 58 of file cell.h.

Defines different cell visuals which are used for Fog of War.

CELLV_CONCEALED mark the cell as hidden. CELLV_REVEALED mark the cell as explored and in visible range. CELLV_MASKED mark the cell as explored but currently not in visible range.

Enumerator
CELLV_CONCEALED 
CELLV_REVEALED 
CELLV_MASKED 

Definition at line 73 of file cell.h.

Types for different commands.

Enumerator
CMD_UNKNOWN 
CMD_QUIT_GAME 
CMD_MOUSE_FOCUS_GAINED 
CMD_MOUSE_FOCUS_LOST 
CMD_INPUT_FOCUS_GAINED 
CMD_INPUT_FOCUS_LOST 
CMD_APP_RESTORED 
CMD_APP_ICONIFIED 

Definition at line 40 of file ec_commandids.h.

Types for different event sources.

Enumerator
ES_ENGINE 
ES_GUICHAN_WIDGET 

Definition at line 41 of file ec_eventsourcetypes.h.

Enumerator
KEEP 
ZERO 
REPLACE 
INCR 
DECR 
INVERT 
NEVER 
LESS 
LEQUAL 
GREATER 
GEQUAL 
EQUAL 
NOTEQUAL 
ALWAYS 

Definition at line 73 of file renderbackend.h.

Enumerator
ICHANGE_NO_CHANGES 
ICHANGE_LOC 
ICHANGE_ROTATION 
ICHANGE_SPEED 
ICHANGE_ACTION 
ICHANGE_TIME_MULTIPLIER 
ICHANGE_SAYTEXT 
ICHANGE_BLOCK 
ICHANGE_CELL 
ICHANGE_TRANSPARENCY 
ICHANGE_VISIBLE 
ICHANGE_STACKPOS 

Definition at line 59 of file instance.h.

Defines the type of shown cursor native -> default cursor image -> cursor from image pool animation -> cursor from animation pool.

Enumerator
CURSOR_NONE 
CURSOR_NATIVE 
CURSOR_IMAGE 
CURSOR_ANIMATION 

Definition at line 48 of file cursor.h.

Defines some common native cursors between platforms.

In addition to these, you can use the values in: Windows: http://msdn.microsoft.com/en-us/library/ms648391(VS.85).aspx X11: http://fife.pastebin.com/f5b89dd6b

Enumerator
NC_ARROW 
NC_IBEAM 
NC_WAIT 
NC_CROSS 
NC_UPARROW 
NC_RESIZENW 
NC_RESIZESE 
NC_RESIZESW 
NC_RESIZENE 
NC_RESIZEE 
NC_RESIZEW 
NC_RESIZEN 
NC_RESIZES 
NC_RESIZEALL 
NC_NO 
NC_HAND 
NC_APPSTARTING 
NC_HELP 

Definition at line 60 of file cursor.h.

Defines how pathing can be performed on this layer.

CELL_EDGES_ONLY allows pather to use only cell edges when moving instances from cell to cell on map CELL_EDGES_AND_DIAGONALS allows pather to use both cell edges and diagonals when moving instances from cell to cell on map

Enumerator
CELL_EDGES_ONLY 
CELL_EDGES_AND_DIAGONALS 

Definition at line 57 of file layer.h.

Enumerator
HIGH_PRIORITY 
MEDIUM_PRIORITY 
LOW_PRIORITY 

Definition at line 43 of file ipather.h.

Defines different route status types for the search.

ROUTE_CREATED means, route is created but has no path and no search. ROUTE_SEARCHING means, route is created but has no path and it is still being sought. ROUTE_SEARCHED means, route is created and the search completed, on the next step the route is solved. ROUTE_SOLVED means that a path could be found. ROUTE_FAILED means the search failed. No path could be found.

Enumerator
ROUTE_CREATED 
ROUTE_SEARCHING 
ROUTE_SEARCHED 
ROUTE_SOLVED 
ROUTE_FAILED 

Definition at line 49 of file route.h.

Enumerator
SORTING_CAMERA 
SORTING_LOCATION 
SORTING_CAMERA_AND_LOCATION 

Definition at line 62 of file layer.h.

Different types of audio-file positions.

Enumerator
SD_SAMPLE_POS 
SD_TIME_POS 
SD_BYTE_POS 

Definition at line 44 of file soundclip.h.

Enumerator
ITYPE_NO_SHAPE 
ITYPE_QUAD_SHAPE 
ITYPE_CIRCLE_SHAPE 

Definition at line 87 of file instance.h.

Function Documentation

bool FIFE::aboveThreshold ( int32_t  threshold,
int32_t  alpha,
int32_t  prev_alpha 
)
inline

Definition at line 477 of file instancerenderer.cpp.

Referenced by FIFE::InstanceRenderer::bindOutline().

+ Here is the caller graph for this function:

template<typename T >
void FIFE::addListener ( std::deque< T > &  vec,
T &  listener 
)

Definition at line 74 of file eventmanager.cpp.

AtlasLoader * FIFE::createDefaultAtlasLoader ( Model *  model,
VFS *  vfs,
ImageManager *  imageManager 
)

convenience function for creating the default fife atlas loader deleting the object returned from this function is the responsibility of the caller

Definition at line 458 of file atlasloader.cpp.

MapLoader * FIFE::createDefaultMapLoader ( Model *  model,
VFS *  vfs,
ImageManager *  imageManager,
RenderBackend *  renderBackend 
)

convenience function for creating the default fife map loader deleting the object returned from this function is the responsibility of the caller

Definition at line 815 of file maploader.cpp.

Point FIFE::doublePt2intPt ( DoublePoint  pt)
inline

Convert from 2D double point to 2D int32_t point.

Definition at line 330 of file point.h.

References FIFE::PointType2D< T >::x, and FIFE::PointType2D< T >::y.

Referenced by FIFE::RoutePather::followRoute(), FIFE::Location::getLayerCoordinates(), FIFE::Camera::toScreenCoordinates(), and FIFE::Camera::virtualScreenToScreen().

+ Here is the caller graph for this function:

Point3D FIFE::doublePt2intPt ( DoublePoint3D  pt)
inline

Convert from 3D double point to 3D int32_t point.

Definition at line 337 of file point.h.

References FIFE::PointType3D< T >::x, FIFE::PointType3D< T >::y, and FIFE::PointType3D< T >::z.

FIFE::FIFE_EXCEPTION_DECL ( SDLException  ,
"SDL reported something bad"   
)
FIFE::FIFE_EXCEPTION_DECL ( NotFound  ,
"Something was  searched,
but not found"   
)
FIFE::FIFE_EXCEPTION_DECL ( NotSet  ,
"Something was not set correctly"   
)
FIFE::FIFE_EXCEPTION_DECL ( IndexOverflow  ,
"Someone tried to access a non-existing element"   
)
FIFE::FIFE_EXCEPTION_DECL ( InvalidFormat  ,
"Found invalid data"   
)
FIFE::FIFE_EXCEPTION_DECL ( CannotOpenFile  ,
"File couldn't be opened"   
)
FIFE::FIFE_EXCEPTION_DECL ( InvalidConversion  ,
"Tried an invalid conversion"   
)
FIFE::FIFE_EXCEPTION_DECL ( NotSupported  ,
"This action was not supported"   
)
FIFE::FIFE_EXCEPTION_DECL ( NameClash  ,
"A name or identifier is already in use"   
)
FIFE::FIFE_EXCEPTION_DECL ( Duplicate  ,
"A duplicate item was  added,
where this is not allowed"   
)
FIFE::FIFE_EXCEPTION_DECL ( ScriptException  ,
"Error related to scripting functionality"   
)
FIFE::FIFE_EXCEPTION_DECL ( EventException  ,
"Error related to event functionality"   
)
FIFE::FIFE_EXCEPTION_DECL ( GuiException  ,
"Error related to gui functionality"   
)
FIFE::FIFE_EXCEPTION_DECL ( InconsistencyDetected  ,
"An inconsistency in FIFE internals was detected. Please report this is a FIFE Bug."   
)
FIFE::FIFE_EXCEPTION_DECL ( OutOfMemory  ,
"Buy more ram ;   
)
bfs::path FIFE::GetAbsolutePath ( const std::string &  path)

Helper function to retrieve an absolute path from a given relative path.

Parameters
pathstd::string object
Returns
a boost filesystem path object

Definition at line 150 of file fife_boost_filesystem.cpp.

bfs::path FIFE::GetAbsolutePath ( const bfs::path &  path)

Helper function to retrieve an absolute path from a given relative path.

Parameters
pathboost filesystem path object
Returns
a boost filesystem path object

Definition at line 154 of file fife_boost_filesystem.cpp.

int32_t FIFE::getAngleBetween ( const Location &  loc1,
const Location &  loc2 
)

Gets angle of vector defined by given locations.

Returns
angle in polar coordinates between the line defined by the two locations and the horizontal axis (East <-> West)

Definition at line 98 of file angles.cpp.

References FIFE::Math< T >::ATan2(), FIFE::Layer::getCellGrid(), FIFE::Location::getLayer(), FIFE::Location::getMapCoordinates(), FIFE::CellGrid::getRotation(), FIFE::Math< T >::pi(), FIFE::PointType3D< T >::x, and FIFE::PointType3D< T >::y.

Referenced by FIFE::RoutePather::followRoute(), FIFE::Instance::setFacingLocation(), FIFE::SingleLayerSearch::updateSearch(), and FIFE::MultiLayerSearch::updateSearch().

+ Here is the caller graph for this function:

int32_t FIFE::getAngleBetween ( const ExactModelCoordinate &  emc1,
const ExactModelCoordinate &  emc2 
)

Gets angle of vector defined by given map coordinates.

Returns
angle in polar coordinates between the line defined by the two map coordinates and the horizontal axis (East <-> West)

Definition at line 125 of file angles.cpp.

References FIFE::Math< T >::ATan2(), FIFE::Math< T >::pi(), FIFE::PointType3D< T >::x, and FIFE::PointType3D< T >::y.

std::string FIFE::GetExtension ( const std::string &  path)

Helper function to retrieve the extension.

Note
the extension includes the "."
Parameters
paththe input path string
Returns
the extension on the input path

Definition at line 184 of file fife_boost_filesystem.cpp.

Referenced by HasExtension().

+ Here is the caller graph for this function:

std::string FIFE::GetExtension ( const bfs::path &  path)

Helper function to retrieve the extension.

Note
the extension includes the "."
Parameters
paththe input path object
Returns
the extension on the input path

Definition at line 188 of file fife_boost_filesystem.cpp.

Location FIFE::getFacing ( const Location &  loc,
const int32_t  angle 
)
ExactModelCoordinate FIFE::getFacing ( const ExactModelCoordinate &  emc,
const int32_t  angle 
)

Gets facing map coordinate defined by given angle and map coordinate.

Returns
facing map coordinate

Definition at line 137 of file angles.cpp.

References FIFE::Math< T >::Cos(), FIFE::Math< T >::pi(), FIFE::Math< T >::Sin(), FIFE::PointType3D< T >::x, and FIFE::PointType3D< T >::y.

std::string FIFE::GetFilenameFromDirectoryIterator ( const bfs::directory_iterator &  iter)

Helper function to retrieve a filename string from a directory iterator.

Parameters
iterboost filesystem directory_iterator object
Returns
a filename string

Definition at line 107 of file fife_boost_filesystem.cpp.

Referenced by FIFE::VFSDirectory::list().

+ Here is the caller graph for this function:

std::string FIFE::GetFilenameFromPath ( const bfs::path &  path)

Helper function to retrieve the filename from a boost filesystem path filename is just the name of the file and any extension without a path.

Parameters
pathboost filesystem path object
Returns
filename string

Definition at line 87 of file fife_boost_filesystem.cpp.

int32_t FIFE::getIndexByAngle ( int32_t  angle,
const type_angle2id &  angle2id,
int32_t &  closestMatchingAngle 
)

Returns id for given angle from angle2id map in case there are no elements in the map, negative value is returned.

Definition at line 37 of file angles.cpp.

Referenced by FIFE::ActionVisual::getAnimationByAngle(), FIFE::ObjectVisual::getClosestMatchingAngle(), FIFE::Object::getMultiObjectCoordinates(), FIFE::Object::getMultiPartCoordinates(), FIFE::Object::getRestrictedRotation(), and FIFE::ObjectVisual::getStaticImageIndexByAngle().

+ Here is the caller graph for this function:

int FIFE::getMajor ( )
inline

Definition at line 56 of file version.h.

References FIFE_MAJOR_VERSION.

int FIFE::getMinor ( )
inline

Definition at line 60 of file version.h.

References FIFE_MINOR_VERSION.

bfs::path FIFE::GetParentPath ( const bfs::path &  path)

Helper function to retrieve a parent path object from a path object.

Parameters
pathboost filesystem path object
Returns
a path object with parent of passed in parameter

Definition at line 79 of file fife_boost_filesystem.cpp.

Referenced by FIFE::AnimationLoader::load(), FIFE::ObjectLoader::load(), FIFE::MapLoader::load(), and FIFE::AtlasLoader::load().

+ Here is the caller graph for this function:

std::string FIFE::GetPathIteratorAsString ( const bfs::path::iterator &  pathIter)

Helper function to retrieve the path iterator in a string representation.

Parameters
pathIterthe iterator to get the string from
Returns
a string representing the value in the path iterator

Definition at line 134 of file fife_boost_filesystem.cpp.

Referenced by FIFE::ZipTree::addNode(), and FIFE::ZipTree::getNode().

+ Here is the caller graph for this function:

int FIFE::getRevision ( )
inline

Definition at line 68 of file version.h.

std::string FIFE::GetStem ( const std::string &  path)

Helper function to retrieve the filename minus any extension.

Note
the "." is NOT included
Parameters
paththe input path string
Returns
the filename minus any extension

Definition at line 196 of file fife_boost_filesystem.cpp.

std::string FIFE::GetStem ( const bfs::path &  path)

Helper function to retrieve the filename minus any extension.

Note
the "." is NOT included
Parameters
paththe input path object
Returns
the filename minus any extension

Definition at line 200 of file fife_boost_filesystem.cpp.

References HasExtension().

int FIFE::getSubMinor ( )
inline

Definition at line 64 of file version.h.

References FIFE_SUBMINOR_VERSION.

const char* FIFE::getVersion ( )
inline

Definition at line 52 of file version.h.

References FIFE_VERSION_STRING, and FIFE_XSTR.

SDL_Surface* FIFE::getZoomedSurface ( SDL_Surface *  src,
double  zoomx,
double  zoomy 
)

Definition at line 298 of file sdlimage.cpp.

References AMASK, BMASK, GMASK, RMASK, and zoomSurface().

Referenced by FIFE::SDLImage::render().

+ Here is the caller graph for this function:

bool FIFE::HasExtension ( const std::string &  path)

Helper function to check if a filename has an extension.

Parameters
pathboost filesystem path object
Returns
true if filename has extension, false if not

Definition at line 162 of file fife_boost_filesystem.cpp.

Referenced by FIFE::ZipNode::getChild(), GetStem(), FIFE::ZipNode::removeChild(), and FIFE::ZipNode::ZipNode().

+ Here is the caller graph for this function:

bool FIFE::HasExtension ( const bfs::path &  path)

Helper function to check if a filename has an extension.

Parameters
pathboost filesystem path object
Returns
true if filename has extension, false if not

Definition at line 166 of file fife_boost_filesystem.cpp.

References GetExtension().

bool FIFE::HasParentPath ( const bfs::path &  path)

Helper function to determine if a path object has a parent path.

Parameters
pathboost filesystem path object
Returns
true - does have parent path false - does not have parent path

Definition at line 71 of file fife_boost_filesystem.cpp.

Referenced by FIFE::AnimationLoader::load(), FIFE::ObjectLoader::load(), FIFE::MapLoader::load(), and FIFE::AtlasLoader::load().

+ Here is the caller graph for this function:

DoublePoint3D FIFE::intPt2doublePt ( Point3D  pt)
inline

Convert from 3D int32_t point to 3D double point.

Definition at line 351 of file point.h.

References FIFE::PointType3D< T >::x, FIFE::PointType3D< T >::y, and FIFE::PointType3D< T >::z.

template<typename T >
SharedPtr<T> FIFE::make_shared ( T *  ptr)

convenience function for making a shared pointer can be used anytime a shared pointer should be created

Definition at line 275 of file sharedptr.h.

int FIFE::makeInt32 ( const std::string &  str)

Definition at line 32 of file stringutils.cpp.

Referenced by tokenize().

+ Here is the caller graph for this function:

bool FIFE::nearlyEqual ( float  a,
float  b 
)

Definition at line 331 of file sdlimage.cpp.

References ABS.

Referenced by FIFE::SDLImage::render().

+ Here is the caller graph for this function:

unsigned FIFE::nextPow2 ( unsigned  x)
inline

Returns the next higher power of 2 based on the passed argument.

Definition at line 292 of file fife_math.h.

Referenced by FIFE::GLImage::generateGLSharedTexture(), FIFE::GLeImage::generateGLSharedTexture(), FIFE::GLImage::generateGLTexture(), and FIFE::GLeImage::generateGLTexture().

+ Here is the caller graph for this function:

template<typename T , typename U >
bool FIFE::operator!= ( const SharedPtr< T > &  lhs,
const SharedPtr< U > &  rhs 
)
inline

provides inequality operator for shared pointers

Definition at line 260 of file sharedptr.h.

References FIFE::SharedPtr< T >::get().

template<class T , class U >
bool FIFE::operator< ( SharedPtr< T > const &  lhs,
SharedPtr< U > const &  rhs 
)
inline

provides less than operator for shared pointers

Definition at line 267 of file sharedptr.h.

template<typename T >
std::ostream& FIFE::operator<< ( std::ostream &  os,
const RectType< T > &  r 
)

Stream output operator.

Useful for debugging purposes, this will output the coordinates of the rectangle to the stream.

Definition at line 160 of file rect.h.

std::ostream & FIFE::operator<< ( std::ostream &  ,
const Location &   
)

Stream output operator.

Useful for debugging purposes

Definition at line 164 of file location.cpp.

References FIFE::Location::getExactLayerCoordinates(), FIFE::PointType3D< T >::x, and FIFE::PointType3D< T >::y.

template<typename T >
std::ostream& FIFE::operator<< ( std::ostream &  os,
const PointType2D< T > &  p 
)

Print coords of the Point to a stream.

Definition at line 190 of file point.h.

template<typename T >
std::ostream& FIFE::operator<< ( std::ostream &  os,
const PointType3D< T > &  p 
)

Print coords of the Point to a stream.

Definition at line 321 of file point.h.

template<typename T >
std::ostream& FIFE::operator<< ( std::ostream &  os,
const Matrix< T > &  m 
)

Print coords of the Matrix to a stream.

Definition at line 382 of file matrix.h.

template<typename T , typename U >
bool FIFE::operator== ( const SharedPtr< T > &  lhs,
const SharedPtr< U > &  rhs 
)
inline

provides equality operator for shared pointers

Definition at line 253 of file sharedptr.h.

References FIFE::SharedPtr< T >::get().

bool FIFE::pipelineSort ( const RendererBase *  lhs,
const RendererBase *  rhs 
)
template<typename T >
void FIFE::removeListener ( std::deque< T > &  vec,
T &  listener 
)

Definition at line 69 of file eventmanager.cpp.

uint32_t FIFE::scaleTime ( float  multiplier,
uint32_t  ticks 
)

Utility function to calculate time scaling.

Mostly done to avoid littering other code with related casting

Returns
multiplier * ticks

Definition at line 73 of file timeprovider.cpp.

Referenced by FIFE::LightRendererAnimationInfo::render(), FIFE::OffRendererAnimationInfo::render(), FIFE::GenericRendererAnimationInfo::render(), and FIFE::Camera::renderOverlay().

+ Here is the caller graph for this function:

void FIFE::SDL_BlendRow_RGBA4_to_RGB565 ( const uint8_t *  src,
uint8_t *  dst,
uint32_t  alpha,
int32_t  n 
)

Blends one row of n pixels from src with n pixels of dst.

Parameters
srcSource.
dstDestiny.
alphaLevel of alphablending.
nNumber of pixels.

< upgrade to range 0-255

multiplying by alpha resulted in shift.

Definition at line 102 of file sdlblendingfunctions.cpp.

Referenced by SDL_BlitSurfaceWithAlpha().

+ Here is the caller graph for this function:

void FIFE::SDL_BlendRow_RGBA8_to_RGB565 ( const uint8_t *  src,
uint8_t *  dst,
uint32_t  alpha,
int32_t  n 
)

Blends one row of n pixels from src with n pixels of dst.

Parameters
srcSource.
dstDestiny.
alphaLevel of alphablending.
nNumber of pixels.

Definition at line 79 of file sdlblendingfunctions.cpp.

References FIFE::ColorRGBA8::a, FIFE::ColorRGBA8::b, FIFE::ColorRGBA8::g, and FIFE::ColorRGBA8::r.

Referenced by SDL_BlitSurfaceWithAlpha().

+ Here is the caller graph for this function:

void FIFE::SDL_BlendRow_RGBA8_to_RGB8 ( const uint8_t *  src,
uint8_t *  dst,
uint32_t  alpha,
int32_t  n 
)

Blends one row of n pixels from src with n pixels of dst.

Parameters
srcSource.
dstDestiny.
alphaLevel of alphablending.
nNumber of pixels.

Definition at line 61 of file sdlblendingfunctions.cpp.

References FIFE::ColorRGBA8::a, FIFE::ColorRGB8::b, FIFE::ColorRGBA8::b, FIFE::ColorRGB8::g, FIFE::ColorRGBA8::g, FIFE::ColorRGB8::r, and FIFE::ColorRGBA8::r.

Referenced by SDL_BlitSurfaceWithAlpha().

+ Here is the caller graph for this function:

void FIFE::SDL_BlendRow_RGBA8_to_RGBA8 ( const uint8_t *  src,
uint8_t *  dst,
uint32_t  alpha,
int32_t  n 
)

Blends one row of n pixels from src with n pixels of dst.

Parameters
srcSource.
dstDestiny.
alphaLevel of alphablending.
nNumber of pixels.

Definition at line 42 of file sdlblendingfunctions.cpp.

References FIFE::ColorRGBA8::a, FIFE::ColorRGBA8::b, FIFE::ColorRGBA8::g, and FIFE::ColorRGBA8::r.

Referenced by SDL_BlitSurfaceWithAlpha().

+ Here is the caller graph for this function:

void FIFE::SDL_BlitSurfaceWithAlpha ( const SDL_Surface *  src,
const SDL_Rect *  srcRect,
SDL_Surface *  dst,
SDL_Rect *  dstRect,
uint8_t  alpha 
)

Definition at line 101 of file sdlimage.cpp.

References SDL_BlendRow_RGBA4_to_RGB565(), SDL_BlendRow_RGBA8_to_RGB565(), SDL_BlendRow_RGBA8_to_RGB8(), and SDL_BlendRow_RGBA8_to_RGBA8().

Referenced by FIFE::SDLImage::render().

+ Here is the caller graph for this function:

IntVector FIFE::tokenize ( const std::string &  str,
char  delim,
char  group 
)

Definition at line 38 of file stringutils.cpp.

References makeInt32().

Referenced by FIFE::MapLoader::load().

+ Here is the caller graph for this function:

void FIFE::zoomSurface ( SDL_Surface *  src,
SDL_Surface *  dst 
)

Definition at line 233 of file sdlimage.cpp.

Referenced by getZoomedSurface().

+ Here is the caller graph for this function:

Variable Documentation

Logger FIFE::_log(LM_EXCEPTION)
related
Logger FIFE::_log(LM_CELLGRID)
related
Logger FIFE::_log(LM_VIEW)
related
Logger FIFE::_log(LM_HEXGRID)
related
Logger FIFE::_log(LM_FO_LOADERS)
related
Logger FIFE::_log(LM_GUI)
related
Logger FIFE::_log(LM_STRUCTURES)
related
Logger FIFE::_log(LM_RESMGR)
related
Logger FIFE::_log(LM_SQUAREGRID)
related
Logger FIFE::_log(LM_VFS)
related
Logger FIFE::_log(LM_UTIL)
related
Logger FIFE::_log(LM_AUDIO)
related

Referenced by FIFE::Console::action(), FIFE::SoundClipManager::add(), FIFE::ImageManager::add(), FIFE::InstanceTree::addInstance(), FIFE::Layer::addInstance(), FIFE::VFS::addNewSource(), FIFE::VFS::addProvider(), FIFE::Camera::attach(), FIFE::SoundEmitter::attachSoundClip(), FIFE::ImageManager::create(), FIFE::SoundClipManager::create(), FIFE::VFS::createSource(), FIFE::DAT1::DAT1(), FIFE::DAT2::DAT2(), FIFE::Engine::destroy(), FIFE::OpenGLGuiGraphics::drawText(), FIFE::OpenGLeGuiGraphics::drawText(), FIFE::Console::execute(), FIFE::EventManager::fillKeyEvent(), FIFE::Instance::finalizeAction(), FIFE::DAT2::findFileEntry(), FIFE::Instance::follow(), FIFE::SoundClipManager::free(), FIFE::ImageManager::free(), FIFE::SoundClipManager::freeAll(), FIFE::ImageManager::freeAll(), FIFE::SoundClipManager::freeUnreferenced(), FIFE::ImageManager::freeUnreferenced(), FIFE::SoundClipManager::get(), FIFE::ImageManager::get(), FIFE::RendererNode::getAttachedInstance(), FIFE::RendererNode::getAttachedLayer(), FIFE::RendererNode::getAttachedLocation(), FIFE::RendererNode::getAttachedPoint(), FIFE::RendererNode::getCalculatedPoint(), FIFE::Model::getCellGrid(), FIFE::SoundEmitter::getCursor(), FIFE::RendererNode::getOffsetLocation(), FIFE::RendererNode::getOffsetPoint(), FIFE::Model::getPather(), FIFE::GuiImage::getPixel(), FIFE::ImageManager::getPtr(), FIFE::SoundClipManager::getResourceHandle(), FIFE::ImageManager::getResourceHandle(), FIFE::VFS::getSourceForFile(), FIFE::HexGrid::getVertices(), FIFE::HexGrid::HexGrid(), FIFE::SoundManager::init(), FIFE::Engine::init(), FIFE::ObjectLoader::isLoadable(), FIFE::MapLoader::isLoadable(), FIFE::RawData::littleEndian(), FIFE::AnimationLoader::load(), FIFE::ObjectLoader::load(), FIFE::MapLoader::load(), FIFE::AtlasLoader::load(), FIFE::SoundClipManager::load(), FIFE::ImageManager::load(), FIFE::SoundClipManager::loadUnreferenced(), FIFE::ImageManager::loadUnreferenced(), FIFE::Instance::move(), FIFE::Camera::onRendererEnabledChanged(), FIFE::GUIChanManager::onSdlEvent(), FIFE::ZipSource::open(), FIFE::VFS::open(), FIFE::SDLImage::optimize(), FIFE::TimeManager::printStatistics(), FIFE::CellGrid::ptInTriangle(), FIFE::GuiImage::putPixel(), FIFE::DAT2::readFileEntry(), FIFE::ZipSource::readFileToIndex(), FIFE::RawData::readInto(), FIFE::SoundClipManager::reload(), FIFE::ImageManager::reload(), FIFE::SoundClipManager::remove(), FIFE::ImageManager::remove(), FIFE::Instance::removeActionListener(), FIFE::SoundClipManager::removeAll(), FIFE::ImageManager::removeAll(), FIFE::Instance::removeChangeListener(), FIFE::Instance::removeDeleteListener(), FIFE::InstanceTree::removeInstance(), FIFE::Cell::removeInstance(), FIFE::SoundClipManager::removeUnreferenced(), FIFE::ImageManager::removeUnreferenced(), FIFE::GridRenderer::render(), FIFE::InstanceRenderer::render(), FIFE::QuadTreeRenderer::render(), FIFE::CellSelectionRenderer::render(), FIFE::BlockingInfoRenderer::render(), FIFE::CellRenderer::render(), FIFE::EngineSettings::setBitsPerPixel(), FIFE::SoundEmitter::setCursor(), FIFE::EngineSettings::setInitialVolume(), FIFE::EngineSettings::setLightingModel(), FIFE::Cursor::setNativeCursor(), FIFE::RendererNode::setRelative(), FIFE::EngineSettings::setRenderBackend(), FIFE::RenderBackendSDL::setScreenMode(), FIFE::RenderBackendOpenGL::setScreenMode(), FIFE::VFSSourceProvider::setVFS(), FIFE::SoundEmitter::SoundEmitter(), FIFE::SubImageFont::SubImageFont(), FIFE::HexGrid::toExactLayerCoordinates(), FIFE::HexGrid::toLayerCoordinates(), FIFE::HexGrid::toMapCoordinates(), FIFE::GUIChanManager::translateKeyEvent(), FIFE::LayerCache::update(), FIFE::SoundEmitter::updateEvent(), FIFE::Camera::updateReferenceScale(), FIFE::Camera::updateRenderLists(), FIFE::VFSDirectory::VFSDirectory(), and FIFE::SoundManager::~SoundManager().

Logger FIFE::_log(LM_STRUCTURES)
related
Logger FIFE::_log(LM_AUDIO)
related
Logger FIFE::_log(LM_STRUCTURES)
related
Logger FIFE::_log(LM_NATIVE_LOADERS)
related
Logger FIFE::_log(LM_VIEWVIEW)
related
Logger FIFE::_log(LM_STRUCTURES)
related
Logger FIFE::_log(LM_EVTCHANNEL)
related
Logger FIFE::_log(LM_MODEL)
related
Logger FIFE::_log(LM_NATIVE_SAVERS)
related
Logger FIFE::_log(LM_CONSOLE)
related
Logger FIFE::_log(LM_LOADERS)
related
Logger FIFE::_log(LM_VIEWVIEW)
related
Logger FIFE::_log(LM_INSTANCE)
related
Logger FIFE::_log(LM_CAMERA)
related
Logger FIFE::_log(LM_CONTROLLER)
related
const int FIFE::buffer_default_size = 4 * max_quads_per_texbatch * max_tex
static

Definition at line 81 of file renderbackendopengle.cpp.

Referenced by FIFE::RenderBackendOpenGLe::setScreenMode().

const uint32_t FIFE::BUFFER_LEN = 1048576

Definition at line 46 of file soundconfig.h.

Referenced by FIFE::SoundClip::getStream(), and FIFE::SoundClip::load().

const uint32_t FIFE::CF_HEADER = 0x02014b50
static

Definition at line 47 of file zipsource.cpp.

Referenced by FIFE::ZipSource::readFileToIndex().

const double FIFE::DBL_DEG_TO_RAD = DBL_PI/180.0
static

Definition at line 76 of file fife_math.h.

Referenced by FIFE::float_traits< double >::degToRad().

const double FIFE::DBL_HALF_PI = 0.5*DBL_PI
static

Definition at line 73 of file fife_math.h.

Referenced by FIFE::float_traits< double >::halfPi().

const double FIFE::DBL_INV_LOG_10 = 1.0/std::log(10.0)
static

Definition at line 81 of file fife_math.h.

Referenced by FIFE::float_traits< double >::invLog10().

const double FIFE::DBL_INV_LOG_2 = 1.0/std::log(2.0)
static

Definition at line 80 of file fife_math.h.

Referenced by FIFE::float_traits< double >::invLog2().

const double FIFE::DBL_INVERSE_PI = 1.0/DBL_PI
static

Definition at line 74 of file fife_math.h.

Referenced by FIFE::float_traits< double >::inversePi().

const double FIFE::DBL_INVERSE_TWO_PI = 1.0/DBL_TWO_PI
static

Definition at line 75 of file fife_math.h.

Referenced by FIFE::float_traits< double >::inverseTwoPi().

const double FIFE::DBL_LOG_10 = std::log(10.0)
static

Definition at line 79 of file fife_math.h.

Referenced by FIFE::float_traits< double >::log10().

const double FIFE::DBL_LOG_2 = std::log(2.0)
static

Definition at line 78 of file fife_math.h.

Referenced by FIFE::float_traits< double >::log2().

const double FIFE::DBL_PI = 4.0*std::atan(1.0)
static

Definition at line 71 of file fife_math.h.

Referenced by FIFE::float_traits< double >::pi().

const double FIFE::DBL_RAD_TO_DEG = 180.0f/DBL_PI
static

Definition at line 77 of file fife_math.h.

Referenced by FIFE::float_traits< double >::radToDeg().

const double FIFE::DBL_STD_EPSILON = std::numeric_limits<double>::epsilon()
static

Definition at line 68 of file fife_math.h.

Referenced by FIFE::float_traits< double >::epsilon().

const double FIFE::DBL_STD_MAX = std::numeric_limits<double>::max()
static

Definition at line 69 of file fife_math.h.

Referenced by FIFE::float_traits< double >::max().

const double FIFE::DBL_TWO_PI = 2.0*DBL_PI
static

Definition at line 72 of file fife_math.h.

Referenced by FIFE::float_traits< double >::twoPi().

const double FIFE::DBL_ZERO_TOLERANCE = 1e-08
static

Definition at line 70 of file fife_math.h.

Referenced by FIFE::float_traits< double >::zeroTolerance().

const uint32_t FIFE::DE_HEADER = 0x08064b50
static

Definition at line 46 of file zipsource.cpp.

Referenced by FIFE::ZipSource::readFileToIndex().

const int32_t FIFE::DEFAULT_RENDERER_POSITION = 1000

Definition at line 39 of file rendererbase.cpp.

const float FIFE::FLT_DEG_TO_RAD = FLT_PI/180.0f
static

Definition at line 61 of file fife_math.h.

Referenced by FIFE::float_traits< float >::degToRad().

const float FIFE::FLT_HALF_PI = 0.5f*FLT_PI
static

Definition at line 58 of file fife_math.h.

Referenced by FIFE::float_traits< float >::halfPi().

const float FIFE::FLT_INV_LOG_10 = 1.0f/std::log(10.0f)
static

Definition at line 66 of file fife_math.h.

Referenced by FIFE::float_traits< float >::invLog10().

const float FIFE::FLT_INV_LOG_2 = 1.0f/std::log(2.0f)
static

Definition at line 65 of file fife_math.h.

Referenced by FIFE::float_traits< float >::invLog2().

const float FIFE::FLT_INVERSE_PI = 1.0f/FLT_PI
static

Definition at line 59 of file fife_math.h.

Referenced by FIFE::float_traits< float >::inversePi().

const float FIFE::FLT_INVERSE_TWO_PI = 1.0f/FLT_TWO_PI
static

Definition at line 60 of file fife_math.h.

Referenced by FIFE::float_traits< float >::inverseTwoPi().

const float FIFE::FLT_LOG_10 = std::log(10.0f)
static

Definition at line 64 of file fife_math.h.

Referenced by FIFE::float_traits< float >::log10().

const float FIFE::FLT_LOG_2 = std::log(2.0f)
static

Definition at line 63 of file fife_math.h.

Referenced by FIFE::float_traits< float >::log2().

const float FIFE::FLT_PI = 4.0f*std::atan(1.0f)
static

Definition at line 56 of file fife_math.h.

Referenced by FIFE::float_traits< float >::pi().

const float FIFE::FLT_RAD_TO_DEG = 180.0f/FLT_PI
static

Definition at line 62 of file fife_math.h.

Referenced by FIFE::float_traits< float >::radToDeg().

const float FIFE::FLT_STD_EPSILON = std::numeric_limits<float>::epsilon()
static

Definition at line 53 of file fife_math.h.

Referenced by FIFE::float_traits< float >::epsilon().

const float FIFE::FLT_STD_MAX = std::numeric_limits<float>::max()
static

Definition at line 54 of file fife_math.h.

Referenced by FIFE::float_traits< float >::max().

const float FIFE::FLT_TWO_PI = 2.0f*FLT_PI
static

Definition at line 57 of file fife_math.h.

Referenced by FIFE::float_traits< float >::twoPi().

const float FIFE::FLT_ZERO_TOLERANCE = 1e-06f
static

Definition at line 55 of file fife_math.h.

Referenced by FIFE::float_traits< float >::zeroTolerance().

const double FIFE::HEX_EDGE_GRADIENT = 1 / Mathd::Sqrt(3)
static

Definition at line 45 of file hexgrid.cpp.

Referenced by FIFE::HexGrid::toLayerCoordinates().

const double FIFE::HEX_EDGE_HALF = HEX_TO_CORNER * Mathd::Sin(Mathd::pi() / 6)
static

Definition at line 42 of file hexgrid.cpp.

Referenced by FIFE::HexGrid::getVertices(), and FIFE::HexGrid::HexGrid().

const double FIFE::HEX_TO_CORNER = 0.5 / Mathd::Cos(Mathd::pi() / 6)
static
const double FIFE::HEX_TO_EDGE = HEX_WIDTH / 2
static
const double FIFE::HEX_WIDTH = 1
static

Definition at line 39 of file hexgrid.cpp.

Referenced by FIFE::HexGrid::HexGrid().

std::string FIFE::INVALID_LAYER_GET = "Cannot get layer coordinates, layer is not initialized properly"
static
std::string FIFE::INVALID_LAYER_SET = "Cannot set layer coordinates, given layer is not initialized properly"
static
const uint32_t FIFE::LF_HEADER = 0x04034b50
static

Definition at line 45 of file zipsource.cpp.

Referenced by FIFE::ZipSource::readFileToIndex().

const int32_t FIFE::MAX_COORD = 9999999

Definition at line 96 of file coordinaterenderer.cpp.

Referenced by FIFE::CoordinateRenderer::render().

const uint32_t FIFE::MAX_KEEP_IN_MEM = 3145728

Definition at line 40 of file soundconfig.h.

Referenced by FIFE::SoundDecoder::needsStreaming().

const int FIFE::max_quads_per_texbatch = 600
static
const int FIFE::max_tex = 400
static

Definition at line 80 of file renderbackendopengle.cpp.

const float FIFE::MAXIMUM_VOLUME = 10.0

Definition at line 44 of file enginesettings.cpp.

Referenced by FIFE::EngineSettings::getMaxVolume().

const uint32_t FIFE::maxPercent = 100

Definition at line 37 of file percentdonelistener.cpp.

Referenced by FIFE::PercentDoneCallback::incrementCount().

const double FIFE::MIN_CELL_Z = -9999999
static

Definition at line 48 of file cell.h.

Referenced by FIFE::Cell::updateCellBlockingInfo().

const int32_t FIFE::MIN_COORD = -9999999

Definition at line 95 of file coordinaterenderer.cpp.

Referenced by FIFE::CoordinateRenderer::render().

const uint32_t FIFE::minPercent = 0
const double FIFE::OVERDRAW = 1.5

Definition at line 58 of file layercache.cpp.

Referenced by FIFE::LayerCache::updatePosition().

const int32_t FIFE::STATIC_IMAGE_NOT_INITIALIZED = -2
const uint32_t FIFE::UNDEFINED_TIME_DELTA = 999999
static

Definition at line 39 of file timemanager.cpp.

const double FIFE::VERTICAL_MULTIP_INV = 1 / VERTICAL_MULTIP
static

Definition at line 44 of file hexgrid.cpp.

Referenced by FIFE::HexGrid::getVertices(), and FIFE::HexGrid::toLayerCoordinates().