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


Detailed Description

Definition at line 117 of file edgen.h.


Constructor & Destructor Documentation

tplasma::tplasma ( void   ) 

Definition at line 877 of file edgen.cpp.

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


Member Function Documentation

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

Definition at line 1026 of file edgen.cpp.

References setmemory().

Referenced by generateplasma().

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


Member Data Documentation

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

int tplasma::maxvalue

Definition at line 119 of file edgen.h.

Referenced by creatememblock(), and tplasma().

char tplasma::flip

Definition at line 120 of file edgen.h.

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

int tplasma::blockcount

Definition at line 121 of file edgen.h.

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

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 Mon May 21 01:47:53 2012 for Advanced Strategic Command by  doxygen 1.5.1