gamerend.cc File Reference

#include <cstdio>
#include "gamewin.h"
#include "gamerend.h"
#include "gameclk.h"
#include "gamemap.h"
#include "actors.h"
#include "chunks.h"
#include "objiter.h"
#include "Gump_manager.h"
#include "Gump.h"
#include "effects.h"
#include "cheat.h"
#include "drag.h"

Include dependency graph for gamerend.cc:

Go to the source code of this file.

Namespaces

namespace  std

Functions

int snprintf (char *, size_t, const char *,...)
int Figure_screen_offset (int ch, int scroll)
void Paint_chunk_outline (Game_window *gwin, int pixel, int cx, int cy, int tnum, int xoff, int yoff)
static void Paint_grid (Game_window *gwin, Xform_palette &xform)


Function Documentation

int Figure_screen_offset ( int  ch,
int  scroll 
) [inline]

Definition at line 79 of file gamerend.cc.

References c_num_tiles, c_tiles_per_chunk, and c_tilesize.

Referenced by Game_render::paint_blackness(), Game_render::paint_map(), and Game_render::paint_terrain_only().

void Paint_chunk_outline ( Game_window gwin,
int  pixel,
int  cx,
int  cy,
int  tnum,
int  xoff,
int  yoff 
) [inline]

Definition at line 97 of file gamerend.cc.

References c_chunksize, Image_window8::fill8(), Shape_manager::get_instance(), Game_window::get_win(), gwin, Shape_manager::paint_text(), and snprintf.

Referenced by Game_render::paint_map(), and Game_render::paint_terrain_only().

Here is the call graph for this function:

static void Paint_grid ( Game_window gwin,
Xform_palette xform 
) [static]

Definition at line 117 of file gamerend.cc.

References c_tilesize, cheat, Image_window::fill_translucent8(), Cheat::get_edit_lift(), Game_window::get_height(), Game_window::get_width(), Game_window::get_win(), and gwin.

Referenced by Game_render::paint_map(), and Game_render::paint_terrain_only().

Here is the call graph for this function:

int snprintf ( char *  ,
size_t  ,
const char *  ,
  ... 
)


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