#include <mapalgorithms.h>
Public Member Functions | |
| tdrawgettempline (int _freefields, GameMap *_gamemap) | |
| void | start (int x1, int y1, int x2, int y2) |
| virtual void | putpix8 (int x, int y) |
| double | winkel (int x, int y) |
| int | winkelcomp (double w1, double w2) |
| virtual | ~tdrawgettempline () |
Public Attributes | |
| int | tempsum |
Protected Attributes | |
| GameMap * | gamemap |
Awfully unoptimized!
Definition at line 50 of file mapalgorithms.h.
| tdrawgettempline::tdrawgettempline | ( | int | _freefields, | |
| GameMap * | _gamemap | |||
| ) |
| virtual tdrawgettempline::~tdrawgettempline | ( | ) | [inline, virtual] |
Definition at line 73 of file mapalgorithms.h.
| void tdrawgettempline::start | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2 | |||
| ) |
Definition at line 132 of file mapalgorithms.cpp.
References beeline(), fatalError(), getnextfield(), putpix8(), sidenum, winkel(), and winkelcomp().
Referenced by tcomputeview::testfield().
| void tdrawgettempline::putpix8 | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Definition at line 38 of file mapalgorithms.cpp.
References gamemap, GameMap::getField(), MapField::getjamming(), and tempsum.
Referenced by start().
| double tdrawgettempline::winkel | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 110 of file mapalgorithms.cpp.
References fielddisthalfx, fielddistx, and fielddisty.
Referenced by start().
| int tdrawgettempline::winkelcomp | ( | double | w1, | |
| double | w2 | |||
| ) |
GameMap* tdrawgettempline::gamemap [protected] |
Definition at line 65 of file mapalgorithms.h.
Referenced by putpix8(), tdrawgettempline(), and tcomputeview::testfield().
1.5.1