1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 05:23:00 +00:00

ads-game:: view history while paused

This commit is contained in:
Zeno Rogue
2022-09-17 17:34:54 +02:00
parent 37ab1b523d
commit 9799ff1ccf
3 changed files with 42 additions and 1 deletions

View File

@@ -24,10 +24,17 @@ struct ads_object {
enum eWalltype { wtNone, wtDestructible, wtSolid, wtGate };
struct shipstate {
ads_matrix at;
ld start;
ld duration;
};
struct cellinfo {
int mpd_terrain; /* 0 = fully generated terrain */
int rock_dist; /* rocks generated in this radius */
vector<std::unique_ptr<ads_object>> rocks;
vector<shipstate> shipstates;
eWalltype type;
cellinfo() {
mpd_terrain = 4;