mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 20:12:50 +02:00
Gravity zoning
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#define UI_WALLSTART 222
|
||||
#define UI_ACTUALSTART 122
|
||||
#define UI_WALLCOUNT 20
|
||||
#define UI_WALLCOUNT 21
|
||||
|
||||
#define WL_WALLELEC 122
|
||||
#define WL_EWALL 123
|
||||
@@ -40,6 +40,7 @@
|
||||
#define WL_ALLOWSOLID 133
|
||||
#define WL_ALLOWALLELEC 134
|
||||
#define WL_EHOLE 135
|
||||
#define WL_GRAV 142
|
||||
|
||||
#define SPC_AIR 236
|
||||
#define SPC_HEAT 237
|
||||
@@ -832,6 +833,7 @@ static wall_type wtypes[] =
|
||||
{PIXPACK(0x303030), PIXPACK(0x000000), -1, "Vacuum, reduces air pressure."},
|
||||
{PIXPACK(0x579777), PIXPACK(0x000000), 1, "Wall. Indestructible. Blocks liquids and solids, allows gasses"},
|
||||
{PIXPACK(0x000000), PIXPACK(0x000000), -1, "Drag tool"},
|
||||
{PIXPACK(0xFFEE00), PIXPACK(0xAA9900), 4, "Gravity wall"},
|
||||
};
|
||||
|
||||
#define CHANNELS ((int)(MAX_TEMP-73.15f)/100+2)
|
||||
@@ -839,6 +841,8 @@ particle portalp[CHANNELS][8][80];
|
||||
const particle emptyparticle;
|
||||
int wireless[CHANNELS][2];
|
||||
|
||||
extern int gravwl_timeout;
|
||||
|
||||
extern int isplayer;
|
||||
extern float player[27];
|
||||
|
||||
@@ -913,4 +917,6 @@ void orbitalparts_get(int block1, int block2, int resblock1[], int resblock2[]);
|
||||
|
||||
void orbitalparts_set(int *block1, int *block2, int resblock1[], int resblock2[]);
|
||||
|
||||
void gravity_mask();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user