-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back! *
-*----------------------------------------------------------*
-* (c) 1995-2006 Artsoft Entertainment *
-* Holger Schemel *
-* Detmolder Strasse 189 *
-* 33604 Bielefeld *
-* Germany *
-* e-mail: info@artsoft.org *
-*----------------------------------------------------------*
-* game.h *
-***********************************************************/
+// ============================================================================
+// Rocks'n'Diamonds - McDuffin Strikes Back!
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+// Holger Schemel
+// info@artsoft.org
+// http://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// game.h
+// ============================================================================
#ifndef GAME_H
#define GAME_H
#define NUM_PANEL_ELEMENTS 8
#define NUM_PANEL_CE_SCORE 8
-#if 1
struct GamePanelInfo
{
struct TextPosInfo level_number;
struct GameButtonInfo
{
- struct Rect stop;
- struct Rect pause;
- struct Rect play;
- struct Rect sound_music;
- struct Rect sound_loops;
- struct Rect sound_simple;
-};
+ struct XY stop;
+ struct XY pause;
+ struct XY play;
-#else
+ struct XY sound_music;
+ struct XY sound_loops;
+ struct XY sound_simple;
-struct GamePanelInfo
-{
- struct XY level;
- struct XY gems;
- struct XY inventory;
- struct XY keys;
- struct XY score;
- struct XY time;
+ struct XY save;
+ struct XY load;
};
-#endif
struct GameInfo
{
void CreateGameButtons();
void FreeGameButtons();
+void MapGameButtons();
void UnmapGameButtons();
void RedrawGameButtons();