projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added user structure for upcoming multiple user support
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 68a94cec543e27646cbc54344c64edcd974f1d49..3962dbdba4107a6e5fae8890a49d73cb832dee3a 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-1390,6
+1390,8
@@
struct SetupInfo
{
char *player_name;
{
char *player_name;
+ boolean multiple_users;
+
boolean sound;
boolean sound_loops;
boolean sound_music;
boolean sound;
boolean sound_loops;
boolean sound_music;
@@
-1457,6
+1459,11
@@
struct SetupInfo
struct OptionInfo options;
};
struct OptionInfo options;
};
+struct UserInfo
+{
+ int nr;
+};
+
struct TreeInfo
{
struct TreeInfo **node_top; // topmost node in tree
struct TreeInfo
{
struct TreeInfo **node_top; // topmost node in tree
@@
-1777,6
+1784,7
@@
extern struct AnimInfo anim;
extern struct ArtworkInfo artwork;
extern struct JoystickInfo joystick;
extern struct SetupInfo setup;
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;
extern LevelDirTree *leveldir_first_all;
extern LevelDirTree *leveldir_first;