Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tplasma Class Reference

#include <edgen.h>

List of all members.

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


Constructor & Destructor Documentation

tplasma::tplasma void   ) 
 

Definition at line 876 of file edgen.cpp.

References flip, maxvalue, maxx, maxy, xsymm, and ysymm.


Member Function Documentation

int tplasma::creatememblock void   ) 
 

Definition at line 887 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::generateplasma char  resettile  ) 
 

Definition at line 1049 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::getmem int  x,
int  y
 

Definition at line 1010 of file edgen.cpp.

References maxx, maxy, memblock, and tmemoryblock::mempointer.

Referenced by generateplasma().

void tplasma::membar int  x1,
int  y1,
int  x2,
int  y2,
int  color
 

Definition at line 1025 of file edgen.cpp.

References setmemory().

Referenced by generateplasma().

void tplasma::setmemory int  x,
int  y,
int  color
 

Definition at line 1018 of file edgen.cpp.

References maxx, maxy, memblock, and tmemoryblock::mempointer.

Referenced by generateplasma(), and membar().


Member Data Documentation

int tplasma::blockcount
 

Definition at line 121 of file edgen.h.

Referenced by creatememblock(), tmapgenerator::generatefinishmap(), tmapgenerator::montlayer(), and tmapgenerator::showmontlayer().

char tplasma::flip
 

Definition at line 120 of file edgen.h.

Referenced by tmapgenerator::buttonpressed(), tmapgenerator::init(), and tplasma().

int tplasma::maxvalue
 

Definition at line 119 of file edgen.h.

Referenced by creatememblock(), and tplasma().

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().

pmemoryblock tplasma::memblock
 

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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:44 2008 for Advanced Strategic Command by  doxygen 1.4.2