gamewin.cc File Reference

#include <cstdlib>
#include <cstring>
#include <cstdarg>
#include <cstdio>
#include "Astar.h"
#include "Audio.h"
#include "Configuration.h"
#include "Face_stats.h"
#include "Flex.h"
#include "Gump.h"
#include "Gump_manager.h"
#include "actions.h"
#include "monsters.h"
#include "animate.h"
#include "barge.h"
#include "bodies.h"
#include "cheat.h"
#include "chunks.h"
#include "chunkter.h"
#include "combat_opts.h"
#include "delobjs.h"
#include "dir.h"
#include "effects.h"
#include "egg.h"
#include "exult.h"
#include "files/U7file.h"
#include "flic/playfli.h"
#include "fnames.h"
#include "game.h"
#include "gamewin.h"
#include "gamemap.h"
#include "gameclk.h"
#include "gamerend.h"
#include "items.h"
#include "jawbone.h"
#include "keys.h"
#include "mouse.h"
#include "npcnear.h"
#include "objiter.h"
#include "paths.h"
#include "schedule.h"
#include "spellbook.h"
#include "ucmachine.h"
#include "ucsched.h"
#include "utils.h"
#include "virstone.h"
#include "mappatch.h"
#include "version.h"
#include "drag.h"
#include "glshape.h"
#include "party.h"

Include dependency graph for gamewin.cc:

Go to the source code of this file.

Classes

class  Background_noise

Defines

#define BG_PLASMA_START_COLOR   128
#define BG_PLASMA_CYCLE_RANGE   80
#define SI_PLASMA_START_COLOR   16
#define SI_PLASMA_CYCLE_RANGE   96

Functions

static void Set_renderer (Image_window8 *win, Palette *pal)
void Send_location (Game_window *gwin)
void Get_shape_location (Tile_coord t, int scrolltx, int scrollty, int &x, int &y)
static bool Is_sign (int shnum)
int Get_guard_shape (Tile_coord pos)


Define Documentation

#define BG_PLASMA_CYCLE_RANGE   80

Definition at line 2791 of file gamewin.cc.

Referenced by Game_window::setup_load_palette().

#define BG_PLASMA_START_COLOR   128

Definition at line 2790 of file gamewin.cc.

Referenced by Game_window::setup_load_palette().

#define SI_PLASMA_CYCLE_RANGE   96

Definition at line 2794 of file gamewin.cc.

Referenced by Game_window::setup_load_palette().

#define SI_PLASMA_START_COLOR   16

Definition at line 2793 of file gamewin.cc.

Referenced by Game_window::setup_load_palette().


Function Documentation

int Get_guard_shape ( Tile_coord  pos  ) 

Definition at line 2339 of file gamewin.cc.

References GAME_SI, Tile_coord::tx, and Tile_coord::ty.

Referenced by Game_window::attack_avatar(), and Game_window::call_guards().

void Get_shape_location ( Tile_coord  t,
int  scrolltx,
int  scrollty,
int &  x,
int &  y 
) [inline]

Definition at line 1034 of file gamewin.cc.

References c_num_tiles, c_tilesize, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.

Referenced by Game_window::get_shape_location().

static bool Is_sign ( int  shnum  )  [static]

Definition at line 2141 of file gamewin.cc.

Referenced by Game_window::double_clicked().

void Send_location ( Game_window gwin  )  [inline]

Definition at line 819 of file gamewin.cc.

References c_tilesize, cheat, Game_window::get_height(), Image_window::get_scale(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_width(), Game_window::get_win(), gwin, Cheat::in_map_editor(), Exult_server::Send_data(), Exult_server::view_pos, and Write4().

Referenced by Game_window::send_location(), Game_window::view_down(), Game_window::view_left(), Game_window::view_right(), and Game_window::view_up().

Here is the call graph for this function:

static void Set_renderer ( Image_window8 win,
Palette pal 
) [static]

Definition at line 269 of file gamewin.cc.

References Palette::get_blue(), Palette::get_green(), Image_window::get_height(), Image_window8::get_ib8(), GL_manager::get_instance(), Palette::get_red(), Image_window::get_scale(), Image_window::get_scaler(), Image_window::get_width(), Palette::load(), Image_window::OpenGL, PALETTES_FLX, and Shape_frame::set_to_render().

Referenced by Game_window::Game_window(), and Game_window::resized().

Here is the call graph for this function:


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