diff options
Diffstat (limited to 'src/simulation/elements')
| -rw-r--r-- | src/simulation/elements/LOLZ.cpp | 11 | ||||
| -rw-r--r-- | src/simulation/elements/LOVE.cpp | 11 |
2 files changed, 4 insertions, 18 deletions
diff --git a/src/simulation/elements/LOLZ.cpp b/src/simulation/elements/LOLZ.cpp index a5e8371..f1d4167 100644 --- a/src/simulation/elements/LOLZ.cpp +++ b/src/simulation/elements/LOLZ.cpp @@ -42,8 +42,6 @@ Element_LOLZ::Element_LOLZ() HighTemperature = ITH; HighTemperatureTransition = NT; - Update = &Element_LOLZ::update; - } //#TPT-Directive ElementHeader Element_LOLZ static int RuleTable[9][9] @@ -60,12 +58,7 @@ int Element_LOLZ::RuleTable[9][9] = {0,1,0,0,0,0,0,1,0}, }; -//#TPT-Directive ElementHeader Element_LOLZ static int update(UPDATE_FUNC_ARGS) -int Element_LOLZ::update(UPDATE_FUNC_ARGS) - { - sim->ISLOLZ = true; - return 0; -} - +//#TPT-Directive ElementHeader Element_LOLZ static int lolz[XRES/9][YRES/9]; +int Element_LOLZ::lolz[XRES/9][YRES/9]; Element_LOLZ::~Element_LOLZ() {}
\ No newline at end of file diff --git a/src/simulation/elements/LOVE.cpp b/src/simulation/elements/LOVE.cpp index 3e7b3d4..c5ce789 100644 --- a/src/simulation/elements/LOVE.cpp +++ b/src/simulation/elements/LOVE.cpp @@ -42,8 +42,6 @@ Element_LOVE::Element_LOVE() HighTemperature = ITH; HighTemperatureTransition = NT; - Update = &Element_LOVE::update; - } //#TPT-Directive ElementHeader Element_LOVE static int RuleTable[9][9] @@ -60,12 +58,7 @@ int Element_LOVE::RuleTable[9][9] = {0,0,1,1,0,0,0,0,0}, }; -//#TPT-Directive ElementHeader Element_LOVE static int update(UPDATE_FUNC_ARGS) -int Element_LOVE::update(UPDATE_FUNC_ARGS) - { - sim->ISLOVE = true; - return 0; -} - +//#TPT-Directive ElementHeader Element_LOVE static int love[XRES/9][YRES/9]; +int Element_LOVE::love[XRES/9][YRES/9]; Element_LOVE::~Element_LOVE() {}
\ No newline at end of file |
