mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-08 10:21:43 +00:00
ads-game:: resources are used
This commit is contained in:
@@ -26,6 +26,9 @@ ld ang = 0;
|
||||
/** ship's current proper time */
|
||||
ld ship_pt;
|
||||
|
||||
/** until when is the ship invincible */
|
||||
ld invincibility_pt;
|
||||
|
||||
/** is the game paused */
|
||||
bool paused;
|
||||
|
||||
@@ -45,6 +48,8 @@ vector<struct ads_object*> displayed;
|
||||
|
||||
color_t missile_color = 0xFF0000FF;
|
||||
|
||||
bool game_over;
|
||||
|
||||
struct player_data {
|
||||
int hitpoints;
|
||||
int score;
|
||||
@@ -53,6 +58,8 @@ struct player_data {
|
||||
ld oxygen;
|
||||
};
|
||||
|
||||
ld how_much_invincibility = TAU / 4;
|
||||
|
||||
player_data pdata, max_pdata, tank_pdata;
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user