dos-vga-arena-shooter-game/game.h

24 lines
441 B
C
Raw Normal View History

2024-02-26 23:12:39 +00:00
#ifndef __GAME_H__
#define __GAME_H__
#include "system/vga.h"
2024-02-27 13:16:16 +00:00
extern struct CompiledSpriteRender rabbit, mouse, bullet, enemy, enemyBullet, shotgun, shieldKiller;
extern struct SpriteBounds bounds;
2024-02-28 17:50:57 +00:00
struct GlobalGameState {
int difficulty;
int spawnCooldown;
int kills;
int health;
2024-03-04 22:38:03 +00:00
int maxHealth;
int healthGainPerKill;
int coins;
int damageUpgradeLevel;
int healthUpgradeLevel;
int healthGainUpgradeLevel;
2024-02-28 17:50:57 +00:00
};
2024-02-26 23:12:39 +00:00
#endif