keys.cc File Reference

#include "SDL_keyboard.h"
#include "actors.h"
#include "keys.h"
#include "exult.h"
#include "game.h"
#include "cheat.h"
#include "U7file.h"
#include "Scroll_gump.h"
#include "mouse.h"
#include "gamewin.h"
#include "utils.h"
#include "keyactions.h"

Include dependency graph for keys.cc:

Go to the source code of this file.

Classes

class  Chardata
struct  Action

Typedefs

typedef void(*) ActionFunc (int *)
typedef std::map< std::string,
SDLKey > 
ParseKeyMap
typedef std::map< std::string,
const Action * > 
ParseActionMap

Functions

static void skipspace (string &s)

Variables

static class Chardata chardata
Action ExultActions []
struct {
   const char *   s
   SDLKey   k
SDLKeyStringTable []
static ParseKeyMap keys
static ParseActionMap actions


Typedef Documentation

typedef void(*) ActionFunc(int *)

Definition at line 64 of file keys.cc.

typedef std::map<std::string, const Action*> ParseActionMap

Definition at line 249 of file keys.cc.

typedef std::map<std::string, SDLKey> ParseKeyMap

Definition at line 248 of file keys.cc.


Function Documentation

static void skipspace ( string &  s  )  [static]

Definition at line 392 of file keys.cc.

References chardata, and Chardata::whitespace.

Referenced by KeyBinder::ParseLine().


Variable Documentation

ParseActionMap actions [static]

Definition at line 252 of file keys.cc.

Referenced by KeyBinder::FillParseMaps(), Sequence_actor_action::handle_event(), KeyBinder::ParseLine(), Sequence_actor_action::Sequence_actor_action(), and Sequence_actor_action::~Sequence_actor_action().

class Chardata chardata [static]

Referenced by KeyBinder::ParseLine(), and skipspace().

struct Action ExultActions[]

Referenced by KeyBinder::FillParseMaps().

SDLKey k

Definition at line 195 of file keys.cc.

Referenced by KeyBinder::AddKeyBinding(), KeyBinder::FillParseMaps(), ucxtInit::misc(), KeyBinder::ParseLine(), save_image(), Configuration::set(), and UCOpcodeData::UCOpcodeData().

ParseKeyMap keys [static]

Definition at line 251 of file keys.cc.

Referenced by ActionTryKeys(), exult_main(), KeyBinder::FillParseMaps(), ucxtInit::opcodes(), and KeyBinder::ParseLine().

const char* s

Definition at line 194 of file keys.cc.

Referenced by Conversation::add_answer(), Audio::Audio(), Audio::can_sfx(), Paperdoll_gump::check_shape(), demunge_ocstring(), XMLnode::dump(), Uc_function::end_breakable(), XMIDI::ExtractTracks(), exult_main(), KeyBinder::FillParseMaps(), Gump::find_object(), Game_window::find_object(), Gump_widget::get_rect(), Gump::get_rect(), Image_window::get_scaler_for_name(), Gump::get_shape_rect(), Game_window::get_shape_rect(), Object_sfx::get_shape_sfx(), Gump::has_point(), Projectile_effect::init(), MyMidiPlayer::init_device(), Audio::Init_sfx(), Configuration::listkeys(), AudioOptions_gump::load_settings(), main(), map_type_size(), Zombie::NewPath(), Astar::NewPath(), Spellbook_gump::on_button(), on_open_equip_button_clicked(), on_shinfo_frame_changed(), ucxtInit::opcodes(), Serial_in::operator<<(), Serial_out::operator<<(), Paint_map::paint(), Spellbook_gump::paint(), Portrait_button::paint(), Paperdoll_gump::paint_arms(), Paperdoll_gump::paint_belt(), Paperdoll_gump::paint_body(), Paint_centered::Paint_centered(), Paperdoll_gump::paint_head(), Paperdoll_gump::paint_object(), KeyBinder::ParseLine(), printfunc(), process_func(), process_ops(), Projectile_effect::Projectile_effect(), Shape::read(), read_params(), rebuild(), Chunk_chooser::render_chunk(), Usecode_internal::run(), BG_Game::scene_desk(), BG_Game::scene_guardian(), Bookmark_button::set(), Uc_arrayloop_statement::set_statement(), Uc_function::set_statement(), Show_atts(), Spellbook_gump::Spellbook_gump(), Uc_function::start_breakable(), MyMidiPlayer::start_track(), to_uppercase(), File_gump::toggle_option(), and ucc_parse_parambytes().

struct { ... } SDLKeyStringTable[]

Referenced by KeyBinder::FillParseMaps().


Generated on Mon Jul 9 14:44:39 2007 for ExultEngine by  doxygen 1.5.1