1 #include "simulation/ElementCommon.h"
2 
Element_LOVE()3 void Element::Element_LOVE()
4 {
5 	Identifier = "DEFAULT_PT_LOVE";
6 	Name = "LOVE";
7 	Colour = PIXPACK(0xFF30FF);
8 	MenuVisible = 1;
9 	MenuSection = SC_CRACKER2;
10 	Enabled = 1;
11 
12 	Advection = 0.0f;
13 	AirDrag = 0.00f * CFDS;
14 	AirLoss = 0.00f;
15 	Loss = 0.00f;
16 	Collision = 0.0f;
17 	Gravity = 0.0f;
18 	Diffusion = 0.0f;
19 	HotAir = 0.000f	* CFDS;
20 	Falldown = 0;
21 
22 	Flammable = 0;
23 	Explosive = 0;
24 	Meltable = 0;
25 	Hardness = 0;
26 
27 	Weight = 100;
28 
29 	DefaultProperties.temp = 373.0f;
30 	HeatConduct = 40;
31 	Description = "Love...";
32 
33 	Properties = TYPE_SOLID;
34 
35 	LowPressure = IPL;
36 	LowPressureTransition = NT;
37 	HighPressure = IPH;
38 	HighPressureTransition = NT;
39 	LowTemperature = ITL;
40 	LowTemperatureTransition = NT;
41 	HighTemperature = ITH;
42 	HighTemperatureTransition = NT;
43 }
44 
45 int Element_LOVE_RuleTable[9][9] =
46 {
47 	{0,0,1,1,0,0,0,0,0},
48 	{0,1,0,0,1,1,0,0,0},
49 	{1,0,0,0,0,0,1,0,0},
50 	{1,0,0,0,0,0,0,1,0},
51 	{0,1,0,0,0,0,0,0,1},
52 	{1,0,0,0,0,0,0,1,0},
53 	{1,0,0,0,0,0,1,0,0},
54 	{0,1,0,0,1,1,0,0,0},
55 	{0,0,1,1,0,0,0,0,0},
56 };
57 
58 int Element_LOVE_love[XRES/9][YRES/9];
59