diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 10:46:42 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 10:46:42 (GMT) |
| commit | 798c78b04eda4bf8bf9b9dc4997692e0010eb93c (patch) | |
| tree | ed3ce2fa2a3a29e09b0fe8d6dae955c5e9a66dad /src/simulation/Simulation.cpp | |
| parent | c88079d084f2f3b7ec891da22f8c497cd2652853 (diff) | |
| download | powder-798c78b04eda4bf8bf9b9dc4997692e0010eb93c.zip powder-798c78b04eda4bf8bf9b9dc4997692e0010eb93c.tar.gz | |
Add missing GOL data
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index b52907b..764d29d 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -3412,6 +3412,11 @@ Simulation::Simulation(): memcpy(grule, golRulesT, sizeof(int) * (golRulesCount*10)); free(golRulesT); + int golTypesCount; + int * golTypesT = LoadGOLTypes(golTypesCount); + memcpy(goltype, golTypesT, sizeof(int) * (golTypesCount)); + free(golTypesT); + int golMenuCount; gol_menu * golMenuT = LoadGOLMenu(golMenuCount); memcpy(gmenu, golMenuT, sizeof(gol_menu) * golMenuCount); |
