Game_render Class Reference

#include <gamerend.h>

Collaboration diagram for Game_render:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Game_render ()
void paint_terrain_only (int start_chunkx, int start_chunky, int stop_chunkx, int stop_chunky)
int paint_map (int x, int y, int w, int h)
void paint_chunk_flats (int cx, int cy, int xoff, int yoff)
void paint_chunk_flat_rles (int cx, int cy, int xoff, int yoff)
int paint_chunk_objects (int cx, int cy)
void paint_object (Game_object *obj)
void paint_blackness (int cx, int cy, int stop_chunkx, int stop_chunky, int index=0)

Private Attributes

unsigned long render_seq
int skip

Detailed Description

Definition at line 28 of file gamerend.h.


Constructor & Destructor Documentation

Game_render::Game_render (  )  [inline]

Definition at line 34 of file gamerend.h.


Member Function Documentation

void Game_render::paint_terrain_only ( int  start_chunkx,
int  start_chunky,
int  stop_chunkx,
int  stop_chunky 
)

Definition at line 142 of file gamerend.cc.

References cheat, Figure_screen_offset(), Game_map::get_chunk(), Shape_manager::get_instance(), Game_window::get_instance(), Shape_manager::get_special_pixel(), Map_chunk::get_terrain(), Game_map::get_terrain_num(), Shape_manager::get_xform(), gwin, HIT_PIXEL, Cheat::in_map_editor(), INCR_CHUNK, Game_window::map, Paint_chunk_outline(), Paint_grid(), Chunk_terrain::render_all(), Game_window::scrolltx, Game_window::scrollty, and Cheat::show_tile_grid().

Here is the call graph for this function:

int Game_render::paint_map ( int  x,
int  y,
int  w,
int  h 
)

Definition at line 179 of file gamerend.cc.

References c_num_chunks, c_tiles_per_chunk, c_tilesize, cheat, DECR_CHUNK, Figure_screen_offset(), Game_window::get_instance(), Game_window::get_render_skip_lift(), Cheat::get_selected(), Shape_manager::get_special_pixel(), Game_map::get_terrain_num(), Shape_manager::get_xform(), gwin, HIT_PIXEL, Game_window::ice_dungeon, Game_window::in_dungeon, Cheat::in_map_editor(), INCR_CHUNK, Game_window::map, Exult_server::obj, Paint_chunk_outline(), Paint_grid(), Game_window::painted, Game_window::scrolltx, Game_window::scrollty, Game_window::shape_man, Cheat::show_tile_grid(), Game_window::skip_above_actor, and Game_window::skip_lift.

Referenced by Game_window::create_mini_screenshot().

Here is the call graph for this function:

void Game_render::paint_chunk_flats ( int  cx,
int  cy,
int  xoff,
int  yoff 
)

Definition at line 349 of file gamerend.cc.

References c_chunksize, Image_window8::copy8(), Image_buffer::get_bits(), Game_map::get_chunk(), Chunk_terrain::get_glflats(), GL_manager::get_instance(), Game_window::get_instance(), Map_chunk::get_rendered_flats(), Map_chunk::get_terrain(), gwin, Game_window::map, and Game_window::win.

Here is the call graph for this function:

void Game_render::paint_chunk_flat_rles ( int  cx,
int  cy,
int  xoff,
int  yoff 
)

Definition at line 379 of file gamerend.cc.

References Game_map::get_chunk(), Game_window::get_instance(), T_Flat_object_iterator< T, L >::get_next(), gwin, Game_window::map, and Exult_server::obj.

Here is the call graph for this function:

int Game_render::paint_chunk_objects ( int  cx,
int  cy 
)

Definition at line 399 of file gamerend.cc.

References Game_map::get_chunk(), Map_chunk::get_dungeon_lights(), Game_window::get_instance(), T_Object_iterator< T >::get_next(), Map_chunk::get_non_dungeon_lights(), Game_window::get_render_skip_lift(), gwin, Game_window::is_in_dungeon(), Game_window::map, and Exult_server::obj.

Here is the call graph for this function:

void Game_render::paint_object ( Game_object obj  ) 

Definition at line 425 of file gamerend.cc.

References Exult_server::obj.

void Game_render::paint_blackness ( int  cx,
int  cy,
int  stop_chunkx,
int  stop_chunky,
int  index = 0 
)

Definition at line 474 of file gamerend.cc.

References c_tiles_per_chunk, c_tilesize, Figure_screen_offset(), Image_window8::fill8(), Game_map::get_chunk(), Game_window::get_instance(), gwin, Map_chunk::has_dungeon(), Game_window::in_dungeon, INCR_CHUNK, Map_chunk::is_dungeon(), Game_window::map, Game_window::scrolltx, Game_window::scrollty, and Game_window::win.

Here is the call graph for this function:


Member Data Documentation

unsigned long Game_render::render_seq [private]

Definition at line 30 of file gamerend.h.

int Game_render::skip [private]

Definition at line 31 of file gamerend.h.


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