Logo Search packages:      
Sourcecode: castle-combat version File versions

main.h

#ifndef MAIN_H
#define MAIN_H

#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>
#include <SDL_timer.h>
#include <math.h>

#include "gfx.h"
#include "game.h"
#include "sound.h"
#include "SFont.h"
#include "build.h"
#include "land.h"
#include "place.h"
#include "battle.h"
#include "house.h"
#include "net.h"
#include "netdefs.h"

#define BackPic FadeBuffer
#define SDL_SetAlpha($1,$2,$3) SDL_SetAlpha($1,0,0);SDL_SetAlpha($1,$2,$3)
#define BSIZE 20

extern int fullscreen,Quit,Server,NetworkOpen;
extern SDL_Surface *WaterPic,*LandPic,*CannonPic[30],*Font,*CrosshairPic,
               *ShotPic,*SelectPic,*WallPic,*CastlePic,*NotReadyPic,
               *CannonDestroyedPic[5],*BigCannonPic[30],*BigCannonDestroyedPic[5],
               *GarbagePic,*HousePic,*TankPic[4],*BigCastlePic,
               *WaitBlockPic,*CastleSelectPic,*CantBuildPic,
               *GradientPic,*Back,*GroundPic;
extern SDL_Event event;
extern char ServerName[200];

extern int Wait( int time_in_ms );

#ifndef M_PI
#define M_PI 3.141592654
#endif

#endif

Generated by  Doxygen 1.6.0   Back to index