Chunk_intersect_iterator Class Reference

#include <citerate.h>

Collaboration diagram for Chunk_intersect_iterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Chunk_intersect_iterator (Rectangle t)
int get_next (Rectangle &intersect, int &cx, int &cy)

Private Attributes

Rectangle tiles
int start_tx
int startcx
int stopcx
int stopcy
int curcx
int curcy

Detailed Description

Definition at line 33 of file citerate.h.


Constructor & Destructor Documentation

Chunk_intersect_iterator::Chunk_intersect_iterator ( Rectangle  t  )  [inline]

Definition at line 41 of file citerate.h.

References c_tiles_per_chunk, curcx, curcy, Rectangle::shift(), start_tx, startcx, stopcx, stopcy, tiles, Rectangle::x, and Rectangle::y.

Here is the call graph for this function:


Member Function Documentation

int Chunk_intersect_iterator::get_next ( Rectangle intersect,
int &  cx,
int &  cy 
) [inline]

Definition at line 57 of file citerate.h.

References c_tiles_per_chunk, curcx, curcy, INCR_CHUNK, Rectangle::intersect(), start_tx, startcx, stopcx, stopcy, tiles, Rectangle::x, and Rectangle::y.

Referenced by Map_chunk::find_in_area(), Barge_object::gather(), Map_chunk::gravity(), Barge_object::okay_to_land(), Map_chunk::setup_dungeon_levels(), Map_chunk::try_all_eggs(), Chunk_cache::update_egg(), and Chunk_cache::update_object().

Here is the call graph for this function:


Member Data Documentation

Rectangle Chunk_intersect_iterator::tiles [private]

Definition at line 35 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::start_tx [private]

Definition at line 36 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::startcx [private]

Definition at line 38 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::stopcx [private]

Definition at line 38 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::stopcy [private]

Definition at line 38 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::curcx [private]

Definition at line 39 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().

int Chunk_intersect_iterator::curcy [private]

Definition at line 39 of file citerate.h.

Referenced by Chunk_intersect_iterator(), and get_next().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:48:26 2007 for ExultEngine by  doxygen 1.5.1