projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060407-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index cd24b1340b005722068bd252a58e64c381c46b22..12e724040fcb56d54728626c75e30018e4e1a165 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-41,6
+41,7
@@
struct ArtworkInfo artwork;
struct JoystickInfo joystick;
struct SetupInfo setup;
struct JoystickInfo joystick;
struct SetupInfo setup;
+LevelDirTree *leveldir_first_all = NULL;
LevelDirTree *leveldir_first = NULL;
LevelDirTree *leveldir_current = NULL;
int level_nr;
LevelDirTree *leveldir_first = NULL;
LevelDirTree *leveldir_current = NULL;
int level_nr;
@@
-1250,6
+1251,11
@@
inline void InitJoysticks()
#elif defined(PLATFORM_MSDOS)
MSDOSInitJoysticks();
#endif
#elif defined(PLATFORM_MSDOS)
MSDOSInitJoysticks();
#endif
+
+#if 0
+ for (i = 0; i < MAX_PLAYERS; i++)
+ printf("::: Joystick for player %d: %d\n", i, joystick.fd[i]);
+#endif
}
inline boolean ReadJoystick(int nr, int *x, int *y, boolean *b1, boolean *b2)
}
inline boolean ReadJoystick(int nr, int *x, int *y, boolean *b1, boolean *b2)