Mercurial > hg > forks > 3x666-SDL
changeset 7:4c1d187d0cf6
Moar.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 15 Mar 2013 05:03:26 +0200 |
parents | 20534e52d7db |
children | bbc901af24fb |
files | 3x666.c config.h |
diffstat | 2 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/3x666.c Fri Mar 15 05:02:19 2013 +0200 +++ b/3x666.c Fri Mar 15 05:03:26 2013 +0200 @@ -6,8 +6,6 @@ #include "config.h" #include "3xfont.h" -extern int TIKLGT; - /** typedefs **/ typedef struct @@ -15,6 +13,8 @@ signed int x, y, z; } vec3d; +int TIKLGT; + char *ruutu; int *mxbuf; @@ -781,8 +781,6 @@ srand((int) time(NULL)); -#define MAXROWLGT TIKLGT*ROWTIX - oxl_init_audio(ROWTIX); TIKLGT = AUFREQ / DEMOHZ; mxbuf = malloc(MAXROWLGT * sizeof(int));