____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

CTimer Class Reference

#include <trigger.h>

List of all members.

Public Member Functions

 CTimer ()
void Reset ()

Public Attributes

bool Init
 timer is initialized
bool Running
 timer is running
bool Increasing
 increasing or decreasing
long Cycles
 current value in game cycles
unsigned long LastUpdate
 GameCycle of last update.


Detailed Description

Timer structure

Definition at line 45 of file trigger.h.


Constructor & Destructor Documentation

CTimer::CTimer (  )  [inline]

Definition at line 47 of file trigger.h.


Member Function Documentation

void CTimer::Reset (  )  [inline]

Definition at line 50 of file trigger.h.

References Cycles, Increasing, Init, LastUpdate, and Running.

Referenced by CleanTriggers().


Member Data Documentation

timer is initialized

Definition at line 58 of file trigger.h.

Referenced by ActionSetTimer(), ActionStartTimer(), DrawTimer(), GetTimer(), Reset(), and SaveTriggers().

timer is running

Definition at line 59 of file trigger.h.

Referenced by ActionStartTimer(), ActionStopTimer(), Reset(), SaveTriggers(), and UpdateTimer().

increasing or decreasing

Definition at line 60 of file trigger.h.

Referenced by ActionSetTimer(), Reset(), SaveTriggers(), and UpdateTimer().

current value in game cycles

Definition at line 61 of file trigger.h.

Referenced by ActionSetTimer(), DrawTimer(), GetTimer(), Reset(), SaveTriggers(), and UpdateTimer().

unsigned long CTimer::LastUpdate

GameCycle of last update.

Definition at line 62 of file trigger.h.

Referenced by ActionSetTimer(), Reset(), and UpdateTimer().


The documentation for this class was generated from the following file:

Generated on Sat Feb 21 00:28:24 2009 for Bos Wars by  doxygen 1.5.6