Skip to content

Commit

Permalink
Rearrange GameData struct to remain compatible with Discord bot
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills committed Mar 22, 2024
1 parent 0ff3d98 commit 0e3f76c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/multi.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ struct Player;

struct GameData {
int32_t size;
/** Used to initialise the seed table for dungeon levels so players in multiplayer games generate the same layout */
uint32_t gameSeed[4];
uint8_t reserved[4];
uint32_t programid;
uint8_t versionMajor;
uint8_t versionMinor;
Expand All @@ -35,6 +34,8 @@ struct GameData {
uint8_t bCowQuest;
uint8_t bFriendlyFire;
uint8_t fullQuests;
/** Used to initialise the seed table for dungeon levels so players in multiplayer games generate the same layout */
uint32_t gameSeed[4];
};

/* @brief Contains info of running public game (for game list browsing) */
Expand Down

0 comments on commit 0e3f76c

Please sign in to comment.