blob: 0621d75dd21be52df454d0260e95cb10c026e5dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#include "simulation/Elements.h"
//#TPT-Directive ElementClass Element_STKM2 PT_STKM2 128
Element_STKM2::Element_STKM2()
{
Identifier = "DEFAULT_PT_STKM2";
Name = "STK2";
Colour = PIXPACK(0x6464FF);
MenuVisible = 1;
MenuSection = SC_SPECIAL;
Enabled = 1;
Advection = 0.5f;
AirDrag = 0.00f * CFDS;
AirLoss = 0.2f;
Loss = 1.0f;
Collision = 0.0f;
Gravity = 0.0f;
Diffusion = 0.0f;
HotAir = 0.00f * CFDS;
Falldown = 0;
Flammable = 0;
Explosive = 0;
Meltable = 0;
Hardness = 0;
Weight = 50;
Temperature = R_TEMP+14.6f+273.15f;
HeatConduct = 0;
Description = "Stickman. Don't kill him!";
State = ST_NONE;
Properties = 0;
LowPressure = IPL;
LowPressureTransition = NT;
HighPressure = IPH;
HighPressureTransition = NT;
LowTemperature = ITL;
LowTemperatureTransition = NT;
HighTemperature = 620.0f;
HighTemperatureTransition = PT_FIRE;
Update = &Element_STKM2::update;
Graphics = &Element_STKM::graphics;
}
//#TPT-Directive ElementHeader Element_STKM2 static int update(UPDATE_FUNC_ARGS)
int Element_STKM2::update(UPDATE_FUNC_ARGS)
{
Element_STKM::run_stickman(&sim->player2, UPDATE_FUNC_SUBCALL_ARGS);
return 0;
}
Element_STKM2::~Element_STKM2() {}
|