Combat Class Reference

#include <combat_opts.h>

Inheritance diagram for Combat:

Inheritance graph
[legend]
Collaboration diagram for Combat:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Mode { original = 0, keypause = 1 }

Static Public Member Functions

static void toggle_pause ()
static void resume ()
static bool is_paused ()

Static Public Attributes

static int difficulty
static Mode mode
static bool show_hits

Static Private Attributes

static bool paused

Detailed Description

Definition at line 27 of file combat_opts.h.


Member Enumeration Documentation

enum Combat::Mode

Enumerator:
original 
keypause 

Definition at line 32 of file combat_opts.h.


Member Function Documentation

void Combat::toggle_pause (  )  [static]

Definition at line 1227 of file combat.cc.

References Game_window::get_tqueue(), gwin, and Time_queue::pause().

Referenced by ActionCombatPause().

Here is the call graph for this function:

void Combat::resume (  )  [static]

Definition at line 1250 of file combat.cc.

References Game_window::get_tqueue(), gwin, and Time_queue::resume().

Referenced by Game_window::clear_world(), and Game_window::toggle_combat().

Here is the call graph for this function:

static bool Combat::is_paused (  )  [inline, static]

Definition at line 42 of file combat_opts.h.

References paused.

Referenced by Game_window::double_clicked(), Handle_event(), and Mouse::set_speed_cursor().


Member Data Documentation

bool Combat::paused [static, private]

Definition at line 29 of file combat_opts.h.

Referenced by is_paused().

int Combat::difficulty [static]

Definition at line 31 of file combat_opts.h.

Referenced by Actor::figure_hit_points(), Game_window::Game_window(), CombatOptions_gump::load_settings(), and CombatOptions_gump::save_settings().

Combat::Mode Combat::mode [static]

Definition at line 37 of file combat_opts.h.

Referenced by Game_window::Game_window(), CombatOptions_gump::load_settings(), CombatOptions_gump::save_settings(), and Game_window::show_items().

bool Combat::show_hits [static]

Definition at line 38 of file combat_opts.h.

Referenced by Actor::figure_hit_points(), Game_window::Game_window(), CombatOptions_gump::load_settings(), and CombatOptions_gump::save_settings().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:48:43 2007 for ExultEngine by  doxygen 1.5.1