From: Holger Schemel Date: Sat, 17 Oct 2020 23:25:04 +0000 (+0200) Subject: added user structure for upcoming multiple user support X-Git-Tag: 4.2.1.0~49 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=d87446c13e6ecb9c2dcf5881ceb9ad2abe897dfe added user structure for upcoming multiple user support --- diff --git a/src/libgame/system.c b/src/libgame/system.c index 156e8a1b..a7a12792 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -40,6 +40,7 @@ struct OverlayInfo overlay; struct ArtworkInfo artwork; struct JoystickInfo joystick; struct SetupInfo setup; +struct UserInfo user; LevelDirTree *leveldir_first_all = NULL; LevelDirTree *leveldir_first = NULL; diff --git a/src/libgame/system.h b/src/libgame/system.h index ab7faa22..3962dbdb 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -1459,6 +1459,11 @@ struct SetupInfo struct OptionInfo options; }; +struct UserInfo +{ + int nr; +}; + struct TreeInfo { struct TreeInfo **node_top; // topmost node in tree @@ -1779,6 +1784,7 @@ extern struct AnimInfo anim; extern struct ArtworkInfo artwork; extern struct JoystickInfo joystick; extern struct SetupInfo setup; +extern struct UserInfo user; extern LevelDirTree *leveldir_first_all; extern LevelDirTree *leveldir_first;