diff options
| author | jacob1 <jfu614@gmail.com> | 2013-06-23 02:48:51 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-06-23 02:48:51 (GMT) |
| commit | 43540eb7e42facfd1dfa8eb213d8ee91ad35fa43 (patch) | |
| tree | 86dae3611218cc97b54532a35b46f3eb66ecaf53 /src/simulation/SimulationData.h | |
| parent | 625766028d8eb7bb6dcd28962a172546226a597e (diff) | |
| download | powder-43540eb7e42facfd1dfa8eb213d8ee91ad35fa43.zip powder-43540eb7e42facfd1dfa8eb213d8ee91ad35fa43.tar.gz | |
Add back replace mode and specific delete *
* only usable by Lua
Diffstat (limited to 'src/simulation/SimulationData.h')
| -rw-r--r-- | src/simulation/SimulationData.h | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/src/simulation/SimulationData.h b/src/simulation/SimulationData.h index 219db51..2dc275f 100644 --- a/src/simulation/SimulationData.h +++ b/src/simulation/SimulationData.h @@ -19,8 +19,6 @@ #define SC_CRACKER2 16 #define SC_TOTAL 15 -#define UI_WALLCOUNT 16 - #define O_WL_WALLELEC 122 #define O_WL_EWALL 123 #define O_WL_DETECT 124 @@ -40,7 +38,6 @@ #define O_WL_GRAV 142 #define O_WL_ALLOWENERGY 145 - #define WL_ERASE 0 #define WL_WALLELEC 1 #define WL_EWALL 2 @@ -59,6 +56,8 @@ #define WL_ALLOWENERGY 15 #define WL_FLOODHELPER 255 +#define UI_WALLCOUNT 16 + #define OLD_SPC_AIR 236 #define SPC_AIR 256 @@ -122,30 +121,21 @@ #define NGT_FROG 22 #define NGT_BRAN 23 -#ifndef SIMULATIONDATA_H_ -#define SIMULATIONDATA_H_ - -//#include "elements/NULLElement.h" -//#include "Simulation.h" +//replace mode / specific delete flags +#define REPLACE_MODE 0x1 +#define SPECIFIC_DELETE 0x2 -/*class Simulation; -class Renderer; -struct Particle;*/ +#ifndef SIMULATIONDATA_H +#define SIMULATIONDATA_H struct part_type; - struct part_transition; struct wall_type; - struct gol_menu; - struct menu_section; -struct wall_type; - class SimTool; - class Element; gol_menu * LoadGOLMenu(int & golMenuCount); @@ -160,4 +150,4 @@ menu_section * LoadMenus(int & menuCount); unsigned int * LoadLatent(int & elementCount); -#endif /* SIMULATIONDATA_H_ */ +#endif /* SIMULATIONDATA_H */ |
