exult.h File Reference

#include "mouse.h"

Include dependency graph for exult.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  quitting_time_enum { QUIT_TIME_NO = 0, QUIT_TIME_YES = 1, QUIT_TIME_RESTART = 2 }

Functions

int Get_click (int &x, int &y, Mouse::Mouse_shapes shape, char *chr=0, bool drag_ok=false, Paintable *paint=0)
void make_screenshot (bool silent=false)
void Wait_for_arrival (Actor *actor, Tile_coord dest, long maxticks=0)
void change_gamma (bool down)
void increase_resolution ()
void decrease_resolution ()

Variables

KeyBinderkeybinder
Configurationconfig
quitting_time_enum quitting_time


Enumeration Type Documentation

enum quitting_time_enum

Enumerator:
QUIT_TIME_NO 
QUIT_TIME_YES 
QUIT_TIME_RESTART 

Definition at line 72 of file exult.h.


Function Documentation

void change_gamma ( bool  down  ) 

Definition at line 1685 of file exult.cc.

References Effects_manager::center_text(), config, Game_window::get_effects(), Image_window8::get_gamma(), Game_window::get_pal(), gwin, Configuration::set(), Palette::set(), Image_window8::set_gamma(), and snprintf.

Referenced by ActionBrighter(), and ActionDarker().

Here is the call graph for this function:

void decrease_resolution (  ) 

Definition at line 1642 of file exult.cc.

References cheat, num_res, and set_resolution().

Referenced by ActionResDecrease().

Here is the call graph for this function:

int Get_click ( int &  x,
int &  y,
Mouse::Mouse_shapes  shape,
char *  chr = 0,
bool  drag_ok = false,
Paintable paint = 0 
)

Definition at line 1387 of file exult.cc.

References Mouse::dontchange, Get_click(), Mouse::get_shape(), Game::get_ticks(), Game_window::get_tqueue(), gwin, Mouse::mouse, Paintable::paint(), Time_queue::pause(), Time_queue::resume(), Mouse::set_shape(), Game_window::show(), and Mouse::show().

Here is the call graph for this function:

void increase_resolution (  ) 

Definition at line 1632 of file exult.cc.

References cheat, num_res, and set_resolution().

Referenced by ActionResIncrease().

Here is the call graph for this function:

void make_screenshot ( bool  silent = false  ) 

Definition at line 1652 of file exult.cc.

References Effects_manager::center_text(), Game_window::get_effects(), Game_window::get_win(), gwin, Image_window::screenshot(), and snprintf.

Referenced by ActionScreenshot(), ShapeBrowser::browse_shapes(), Get_click(), MenuList::handle_events(), Gump_manager::handle_modal_gump_event(), CheatScreen::SharedInput(), SoundTester::test_sound(), and wait_delay().

Here is the call graph for this function:

void Wait_for_arrival ( Actor actor,
Tile_coord  dest,
long  maxticks = 0 
)

Definition at line 1417 of file exult.cc.

References Time_queue::activate(), Delay(), Actor::get_action(), Game_window::get_fastmouse(), Image_window::get_scale(), Game_object::get_tile(), Game_window::get_tqueue(), Game_window::get_win(), gwin, Game_window::have_focus(), Mouse::hide(), Actor::is_moving(), Mouse::is_onscreen(), Mouse::mouse, Mouse::mouse_update, Mouse::move(), Game_window::paint_dirty(), Game::set_ticks(), Game_window::show(), Mouse::show(), and Game_window::was_painted().

Referenced by Actor::approach_another(), and Usecode_internal::UI_nap_time().

Here is the call graph for this function:


Variable Documentation

Configuration* config

Definition at line 41 of file xmain.cc.

KeyBinder* keybinder

Definition at line 105 of file exult.cc.

Referenced by ActionCheatHelp(), ActionHelp(), Handle_event(), and Game_window::init_files().

quitting_time_enum quitting_time

Definition at line 111 of file exult.cc.

Referenced by Handle_events(), Gump_manager::okay_to_quit(), Play(), File_gump::quit(), Gamemenu_gump::quit(), Usecode_internal::UI_restart_game(), and Usecode_internal::UI_run_endgame().


Generated on Mon Jul 9 14:43:21 2007 for ExultEngine by  doxygen 1.5.1