#include <edmisc.h>
Inheritance diagram for tputresources:

Public Member Functions | |
| void | init (int sx, int sy, int dst, int restype, int resmax, int resmin) |
| virtual void | testfield (const MapCoordinate &mc) |
| tputresources (GameMap *_gamemap) | |
Definition at line 49 of file edmisc.h.
| tputresources::tputresources | ( | GameMap * | _gamemap | ) | [inline] |
| void tputresources::init | ( | int | sx, | |
| int | sy, | |||
| int | dst, | |||
| int | restype, | |||
| int | resmax, | |||
| int | resmin | |||
| ) |
Definition at line 122 of file edmisc.cpp.
References SearchFields::initsearch(), and SearchFields::startsearch().
Referenced by tputresourcesdlg::run().
| void tputresources::testfield | ( | const MapCoordinate & | mc | ) | [virtual] |
Implements SearchFields.
Definition at line 133 of file edmisc.cpp.
References beeline(), SearchFields::dist, SearchFields::gamemap, GameMap::getField(), MapField::material, and min().
1.5.1