#include <Grid.h>
Public Member Functions | |
Grid () | |
~Grid () | |
void | ReCalculate () |
void | SetSize (int, int) |
void | SetBase (int) |
void | SetDirection (Event::Facing *) |
void | SetPosition (Event::Position *) |
int | GetBase () |
int | GetWidth () |
int | GetHeight () |
void | GetXY (int x, int y, int *cx, int *cy, int *elevation) |
int | GetHBase () |
double | Sin (int) |
Private Attributes | |
int | m_x |
int | m_y |
int | m_base |
int | m_hbase |
int | m_left |
int | m_right |
int | m_top |
int | m_bottom |
int | m_w |
int | m_h |
double | m_sin [360] |
int | m_riktning |
int | m_xpos |
int | m_ypos |
Definition at line 30 of file Grid.h.
|
File ......... Grid.cpp Published .... 2005-02-07 Author ....... grymse@alhem.net Definition at line 34 of file Grid.cpp. References m_sin, and ReCalculate().
|
|
Definition at line 57 of file Grid.cpp.
|
|
Definition at line 122 of file Grid.cpp. References m_base. Referenced by MainWindow::DecreaseBase(), MainWindow::Draw(), and MainWindow::IncreaseBase().
|
|
Definition at line 178 of file Grid.cpp. References m_hbase. Referenced by MainWindow::Draw().
|
|
Definition at line 134 of file Grid.cpp. References m_h. Referenced by MainWindow::Draw().
|
|
Definition at line 128 of file Grid.cpp. References m_w. Referenced by MainWindow::Draw().
|
|
Definition at line 140 of file Grid.cpp. References GetXY(), m_base, m_hbase, m_x, m_y, and mandel_color(). Referenced by MainWindow::Draw(), and GetXY().
|
|
Definition at line 62 of file Grid.cpp. References DEB, m_base, m_bottom, m_h, m_hbase, m_left, m_right, m_top, m_w, m_x, m_y, and MAX_ELEVATION. Referenced by Grid(), SetBase(), and SetSize().
|
|
Definition at line 115 of file Grid.cpp. References m_base, ReCalculate(), and SetBase(). Referenced by MainWindow::DecreaseBase(), MainWindow::IncreaseBase(), MainWindow::MainWindow(), and SetBase().
|
|
Definition at line 190 of file Grid.cpp. References m_riktning, and SetDirection(). Referenced by SetDirection().
|
|
Definition at line 196 of file Grid.cpp. References m_xpos, m_ypos, and SetPosition(). Referenced by SetPosition().
|
|
Definition at line 107 of file Grid.cpp. References m_x, m_y, ReCalculate(), and SetSize(). Referenced by MainWindow::MainWindow(), and SetSize().
|
|
Definition at line 184 of file Grid.cpp. Referenced by MainWindow::Draw(), and Sin().
|
|
Definition at line 53 of file Grid.h. Referenced by GetBase(), GetXY(), ReCalculate(), and SetBase(). |
|
Definition at line 58 of file Grid.h. Referenced by ReCalculate(). |
|
Definition at line 60 of file Grid.h. Referenced by GetHeight(), and ReCalculate(). |
|
Definition at line 54 of file Grid.h. Referenced by GetHBase(), GetXY(), and ReCalculate(). |
|
Definition at line 55 of file Grid.h. Referenced by ReCalculate(). |
|
Definition at line 56 of file Grid.h. Referenced by ReCalculate(). |
|
Definition at line 62 of file Grid.h. Referenced by SetDirection(). |
|
|
|
Definition at line 57 of file Grid.h. Referenced by ReCalculate(). |
|
Definition at line 59 of file Grid.h. Referenced by GetWidth(), and ReCalculate(). |
|
Definition at line 51 of file Grid.h. Referenced by GetXY(), ReCalculate(), and SetSize(). |
|
Definition at line 63 of file Grid.h. Referenced by SetPosition(). |
|
Definition at line 52 of file Grid.h. Referenced by GetXY(), ReCalculate(), and SetSize(). |
|
Definition at line 64 of file Grid.h. Referenced by SetPosition(). |