added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / libgame / libgame.h
index fd613b9ce9cd97339d5f81743b838d4dc571c92e..2573a635b249052532d0101c8414a65378c2d803 100644 (file)
@@ -1,49 +1,33 @@
-/***********************************************************
-*  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
-*----------------------------------------------------------*
-*  (c) 1995-98 Artsoft Entertainment                       *
-*              Holger Schemel                              *
-*              Oststrasse 11a                              *
-*              33604 Bielefeld                             *
-*              phone: ++49 +521 290471                     *
-*              email: aeglos@valinor.owl.de                *
-*----------------------------------------------------------*
-*  libgame.h                                               *
-***********************************************************/
+// ============================================================================
+// Artsoft Retro-Game Library
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+//                         Holger Schemel
+//                 info@artsoft.org
+//                 https://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// libgame.h
+// ============================================================================
 
 #ifndef LIBGAME_H
 #define LIBGAME_H
 
+#define LIBGAME_VERSION_1_0_0
+
 #include "platform.h"
 #include "types.h"
-#include "private.h"
 #include "system.h"
 #include "random.h"
 #include "gadgets.h"
 #include "text.h"
 #include "sound.h"
+#include "snapshot.h"
+#include "joystick.h"
 #include "image.h"
-#include "pcx.h"
+#include "setup.h"
 #include "misc.h"
+#include "http.h"
+#include "base64.h"
+#include "zip/miniunz.h"
 
-
-/* areas in bitmap PIX_DOOR */
-/* meaning in PIX_DB_DOOR: (3 PAGEs)
-   PAGEX1: 1. buffer for DOOR_1
-   PAGEX2: 2. buffer for DOOR_1
-   PAGEX3: buffer for animations
-*/
-
-#define DOOR_GFX_PAGESIZE      (gfx.dxsize)
-#define DOOR_GFX_PAGEX1                (0 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX2                (1 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX3                (2 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX4                (3 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX5                (4 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX6                (5 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX7                (6 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEX8                (7 * DOOR_GFX_PAGESIZE)
-#define DOOR_GFX_PAGEY1                (0)
-#define DOOR_GFX_PAGEY2                (gfx.dysize)
-
-#endif /* LIBGAME_H */
+#endif // LIBGAME_H