#include <citerate.h>
Collaboration diagram for Chunk_intersect_iterator:

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 |
Definition at line 33 of file citerate.h.
| 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:

| 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:

Rectangle Chunk_intersect_iterator::tiles [private] |
int Chunk_intersect_iterator::start_tx [private] |
int Chunk_intersect_iterator::startcx [private] |
int Chunk_intersect_iterator::stopcx [private] |
int Chunk_intersect_iterator::stopcy [private] |
int Chunk_intersect_iterator::curcx [private] |
int Chunk_intersect_iterator::curcy [private] |
1.5.1