diff options
| author | Simon <simon@hardwired.org.uk> | 2010-09-02 23:06:18 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-09-02 23:06:18 (GMT) |
| commit | 274383105a675af4235c250e7c0690a86e71a8c0 (patch) | |
| tree | 79801fe8b463163591f87804f4bfbd8c41f0d3fc /powder.c | |
| parent | 32b1a2c3ab928bec980601f257487db39b0b8e33 (diff) | |
| download | powder-274383105a675af4235c250e7c0690a86e71a8c0.zip powder-274383105a675af4235c250e7c0690a86e71a8c0.tar.gz | |
Revert "does not compile at the moment, cause unknown, also. always use // for one line comments"
This reverts commit 32b1a2c3ab928bec980601f257487db39b0b8e33.
Diffstat (limited to 'powder.c')
| -rw-r--r-- | powder.c | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -4,6 +4,22 @@ #include "air.h" #include "misc.h" +int isplayer = 0; +float player[20]; //[0] is a command cell, [3]-[18] are legs positions, [19] is index + +particle *parts; +particle *cb_parts; + +unsigned char bmap[YRES/CELL][XRES/CELL]; +unsigned char emap[YRES/CELL][XRES/CELL]; + +unsigned char cb_bmap[YRES/CELL][XRES/CELL]; +unsigned char cb_emap[YRES/CELL][XRES/CELL]; + +int pfree; + +unsigned pmap[YRES][XRES]; +unsigned cb_pmap[YRES][XRES]; int try_move(int i, int x, int y, int nx, int ny) { @@ -2855,4 +2871,4 @@ void create_line(int x1, int y1, int x2, int y2, int r, int c) e -= 1.0f; } } -} +}
\ No newline at end of file |
