blob: 45b9b00f0e524bd5d60daf88d4e4ad5f8ba249d1 (
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
|
#ifndef STORAGECLASSES_H_
#define STORAGECLASSES_H_
#include <string>
#include "Elements.h"
class Renderer;
class Simulation;
/*struct part_type
{
char *name;
pixel pcolors;
float advection;
float airdrag;
float airloss;
float loss;
float collision;
float gravity;
float diffusion;
float hotair;
int falldown;
int flammable;
int explosive;
int meltable;
int hardness;
int menu;
int enabled;
int weight;
int menusection;
float heat;
unsigned char hconduct;
char *descs;
char state;
unsigned int properties;
int (*update_func) (UPDATE_FUNC_ARGS);
int (*graphics_func) (GRAPHICS_FUNC_ARGS);
};
typedef struct part_type part_type;*/
/*struct part_transition
{
float plv; // transition occurs if pv is lower than this
int plt;
float phv; // transition occurs if pv is higher than this
int pht;
float tlv; // transition occurs if t is lower than this
int tlt;
float thv; // transition occurs if t is higher than this
int tht;
};
typedef struct part_transition part_transition;*/
#endif
|