home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Rollenspiele
/
SwordOfFargoal
/
fargoal20030731b.exe
/
fargoal
/
src
/
game.h
< prev
next >
Wrap
C/C++ Source or Header
|
2003-07-31
|
2KB
|
67 lines
#include "main.h"
#include "char.h"
#include "message.h"
#include "save.h"
#define STEPTIME 15
#define TEMPLE_GOLD 2000
#define SWORD_TIME (2000 * FPS)
extern SAMPLE *human[7];
extern SAMPLE *creature[7];
extern SAMPLE *boom;
extern SAMPLE *gold;
extern SAMPLE *pit;
extern SAMPLE *spell;
extern SAMPLE *step;
extern SAMPLE *attack;
extern SAMPLE *teleport;
extern SAMPLE *beacon;
extern SAMPLE *potion;
extern SAMPLE *ding;
extern SAMPLE *victory;
extern SAMPLE *up;
extern SAMPLE *down;
extern SAMPLE *climb;
extern SAMPLE *fight;
extern SAMPLE *item;
extern SAMPLE *levelup;
extern SAMPLE *intro;
extern SAMPLE *sacrifice;
extern SAMPLE *slain;
extern SAMPLE *crunch;
extern SAMPLE *monstermove;
extern int notrunning;
extern int won;
extern int gameover;
extern int spiral_map;
extern int swordrun;
extern int paused;
extern int global_steps;
extern int stepcount;
extern int quest_number;
extern int extensions_nomonsterpause;
extern int extensions_balance;
extern int extensions_monsteraction;
extern int extensions_controls;
extern int extensions_overlapfight;
extern int extensions_dungeons;
extern int extensions_speed;
void game_alt_tab (void);
int get_steptime(void);
int game_init (void);
void game_start_new (void);
void game_continue (void);
void game_exit (void);
void game_frame (void);
void game_render (void);
void add_hit (int x, int y, int v);
void update_stats (void);
void game_original (int health, int skill);
//void game_enhanced1 (void);
//void game_enhanced2 (void);