2024-02-26 23:12:39 +00:00
|
|
|
#ifndef __GAME_H__
|
|
|
|
#define __GAME_H__
|
|
|
|
|
2024-02-25 13:43:30 +00:00
|
|
|
#include "system/vga.h"
|
|
|
|
|
2024-02-27 13:16:16 +00:00
|
|
|
extern struct CompiledSpriteRender rabbit, mouse, bullet, enemy, enemyBullet, shotgun, shieldKiller;
|
2024-02-25 13:43:30 +00:00
|
|
|
extern struct SpriteBounds bounds;
|
2024-02-28 17:50:57 +00:00
|
|
|
|
|
|
|
struct GlobalGameState {
|
|
|
|
int difficulty;
|
|
|
|
int spawnCooldown;
|
2024-03-01 02:29:23 +00:00
|
|
|
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
|