Mail Archives: djgpp/1998/02/07/18:15:30
On 7 Feb 1998 10:16:13 GMT, George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
wrote:
>I suspect that something further up your .c file is causing this, for
>example a `const' modifier or `inline', or something similar. What
>comes before this function definition in the file?
>--
>george DOT foot AT merton DOT oxford DOT ac DOT uk
I have the following before the function prototypes in my header file:
#define MAX_X 500
#define MAX_Y 500
typedef unsigned char byte;
struct TileType
{
int tile;
int flag;
};
struct ObjType
{
int tile;
int flag;
int Active;
}
and the following variables/declarations before my main() procedure:
#include "mapedit.h"
#include "mapgfx.h"
#include <allegro.h>
#include <stdlib.h>
struct TileType Map[MAX_Y][MAX_X];
struct ObjType Obj[MAX_Y][MAX_X];
int x,y;
byte CurrTile;
int MaxTiles;
BITMAP *Buffer;
DATAFILE *Data;
--Jeff W.
"The finding of DMT in normal human body fluids
opens up interesting moral and legal questions.
Since DMT is illegal, as is 'any substance, compound
or mixture' containing DMT, it would seem that we
are all guilty of possesion of a controlled substance"
-Jonathon Ott
My weird, trippy page:
http://www.geocities.com/SunsetStrip/Alley/3450/index.html
- Raw text -