crawl_view_geometry Struct Reference

#include <viewgeom.h>

Collaboration diagram for crawl_view_geometry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 crawl_view_geometry ()
void init_geometry ()
void init_view ()
void set_player_at (const coord_def &c, bool force_centre=false)
void shift_player_to (const coord_def &c)
void calc_vlos ()
coord_def view2grid (const coord_def &pos) const
coord_def grid2view (const coord_def &pos) const
coord_def view2show (const coord_def &pos) const
coord_def show2view (const coord_def &pos) const
coord_def grid2show (const coord_def &pos) const
coord_def show2grid (const coord_def &pos) const
coord_def screen2view (const coord_def &pos) const
coord_def view2screen (const coord_def &pos) const
coord_def screen2grid (const coord_def &pos) const
coord_def grid2screen (const coord_def &pos) const
coord_def glosc () const
bool in_los_bounds_g (const coord_def &c) const
bool in_los_bounds_v (const coord_def &c) const
bool in_viewport_v (const coord_def &c) const
bool in_viewport_s (const coord_def &c) const
bool in_viewport_g (const coord_def &c) const

Public Attributes

coord_def termp
coord_def termsz
coord_def viewp
coord_def viewsz
coord_def hudp
coord_def hudsz
coord_def msgp
coord_def msgsz
coord_def mlistp
coord_def mlistsz
crawl_view_buffer vbuf
coord_def vgrdc
coord_def viewhalfsz
coord_def glos1
coord_def glos2
coord_def vlos1
coord_def vlos2
coord_def mousep


Constructor & Destructor Documentation

crawl_view_geometry::crawl_view_geometry (  ) 


Member Function Documentation

void crawl_view_geometry::init_geometry (  ) 

Here is the call graph for this function:

void crawl_view_geometry::init_view (  ) 

Here is the call graph for this function:

void crawl_view_geometry::set_player_at ( const coord_def c,
bool  force_centre = false 
)

Here is the call graph for this function:

void crawl_view_geometry::shift_player_to ( const coord_def c  ) 

Here is the call graph for this function:

void crawl_view_geometry::calc_vlos (  ) 

Here is the call graph for this function:

coord_def crawl_view_geometry::view2grid ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::grid2view ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::view2show ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::show2view ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::grid2show ( const coord_def pos  )  const [inline]

Here is the call graph for this function:

coord_def crawl_view_geometry::show2grid ( const coord_def pos  )  const [inline]

Here is the call graph for this function:

coord_def crawl_view_geometry::screen2view ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::view2screen ( const coord_def pos  )  const [inline]

coord_def crawl_view_geometry::screen2grid ( const coord_def pos  )  const [inline]

Here is the call graph for this function:

coord_def crawl_view_geometry::grid2screen ( const coord_def pos  )  const [inline]

Here is the call graph for this function:

coord_def crawl_view_geometry::glosc (  )  const [inline]

bool crawl_view_geometry::in_los_bounds_g ( const coord_def c  )  const [inline]

bool crawl_view_geometry::in_los_bounds_v ( const coord_def c  )  const [inline]

Here is the call graph for this function:

bool crawl_view_geometry::in_viewport_v ( const coord_def c  )  const [inline]

bool crawl_view_geometry::in_viewport_s ( const coord_def c  )  const [inline]

Here is the call graph for this function:

bool crawl_view_geometry::in_viewport_g ( const coord_def c  )  const [inline]

Here is the call graph for this function:


Member Data Documentation


The documentation for this struct was generated from the following files:

Generated on Thu Jan 13 13:32:11 2011 by  doxygen 1.5.6