mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
layout change
This commit is contained in:
21
includes/air.h
Normal file
21
includes/air.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef AIR_H
|
||||
#define AIR_H
|
||||
#include "defines.h"
|
||||
|
||||
extern float vx[YRES/CELL][XRES/CELL], ovx[YRES/CELL][XRES/CELL];
|
||||
extern float vy[YRES/CELL][XRES/CELL], ovy[YRES/CELL][XRES/CELL];
|
||||
extern float pv[YRES/CELL][XRES/CELL], opv[YRES/CELL][XRES/CELL];
|
||||
|
||||
extern float cb_vx[YRES/CELL][XRES/CELL], cb_ovx[YRES/CELL][XRES/CELL];
|
||||
extern float cb_vy[YRES/CELL][XRES/CELL], cb_ovy[YRES/CELL][XRES/CELL];
|
||||
extern float cb_pv[YRES/CELL][XRES/CELL], cb_opv[YRES/CELL][XRES/CELL];
|
||||
|
||||
extern float fvx[YRES/CELL][XRES/CELL], fvy[YRES/CELL][XRES/CELL];
|
||||
|
||||
extern float kernel[9];
|
||||
|
||||
void make_kernel(void);
|
||||
|
||||
void update_air(void);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user