#include <edgen.h>
Public Member Functions | |
| tplasma (void) | |
| void | membar (int x1, int y1, int x2, int y2, int color) |
| int | getmem (int x, int y) |
| int | creatememblock (void) |
| void | setmemory (int x, int y, int color) |
| void | generateplasma (char resettile) |
Public Attributes | |
| int | maxx |
| int | maxy |
| int | maxvalue |
| char | flip |
| int | blockcount |
| pmemoryblock | memblock |
| int | xsymm |
| int | ysymm |
Definition at line 117 of file edgen.h.
| tplasma::tplasma | ( | void | ) |
| void tplasma::membar | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | color | |||
| ) |
| int tplasma::getmem | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 1011 of file edgen.cpp.
References maxx, maxy, memblock, and tmemoryblock::mempointer.
Referenced by generateplasma().
| int tplasma::creatememblock | ( | void | ) |
Definition at line 888 of file edgen.cpp.
References tmemoryblock::acttile, blockcount, tmemoryblock::color, tmemoryblock::generated, tmemoryblock::maxset, maxvalue, maxx, maxy, memblock, tmemoryblock::mempointer, tmemoryblock::res, tmemoryblock::startblocksize, and tmemoryblock::tilevalcount.
Referenced by tmapgenerator::buttonpressed().
| void tplasma::setmemory | ( | int | x, | |
| int | y, | |||
| int | color | |||
| ) |
Definition at line 1019 of file edgen.cpp.
References maxx, maxy, memblock, and tmemoryblock::mempointer.
Referenced by generateplasma(), and membar().
| void tplasma::generateplasma | ( | char | resettile | ) |
Definition at line 1050 of file edgen.cpp.
References blocksize, tmemoryblock::generated, getmem(), tmemoryblock::maxset, maxx, maxy, membar(), memblock, random2(), tmemoryblock::res, setmemory(), tmemoryblock::startblocksize, tmemoryblock::tileval, tmemoryblock::tilevalcount, xsymm, and ysymm.
Referenced by tmapgenerator::buttonpressed().
| int tplasma::maxx |
Definition at line 119 of file edgen.h.
Referenced by creatememblock(), generateplasma(), getmem(), tmapgenerator::init(), tmapgenerator::setmap(), setmemory(), tmapgenerator::showmontlayer(), and tplasma().
| int tplasma::maxy |
Definition at line 119 of file edgen.h.
Referenced by creatememblock(), generateplasma(), getmem(), tmapgenerator::init(), tmapgenerator::setmap(), setmemory(), tmapgenerator::showmontlayer(), and tplasma().
| char tplasma::flip |
Definition at line 121 of file edgen.h.
Referenced by creatememblock(), tmapgenerator::generatefinishmap(), tmapgenerator::montlayer(), and tmapgenerator::showmontlayer().
Definition at line 122 of file edgen.h.
Referenced by tmapgenerator::buttonpressed(), creatememblock(), generateplasma(), getmem(), and setmemory().
| int tplasma::xsymm |
Definition at line 132 of file edgen.h.
Referenced by generateplasma(), tmapgenerator::init(), and tplasma().
| int tplasma::ysymm |
Definition at line 132 of file edgen.h.
Referenced by generateplasma(), tmapgenerator::init(), and tplasma().
1.5.1