Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
tplasma Class Reference

#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 (Uint8 resettile)
 

Public Attributes

int maxx
 
int maxy
 
int maxvalue
 
Uint8 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

int tplasma::creatememblock ( void  )
void tplasma::generateplasma ( Uint8  resettile)
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().

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

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

Member Data Documentation

int tplasma::blockcount
Uint8 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
int tplasma::maxy
pmemoryblock tplasma::memblock
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: