X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=22ea2e7ee74e1aa2ae49a9b2d38555d46eec6f25;hb=ee8d69f9ab839ca2ea408787ab49dea683c2e5a1;hp=d1431c22b8b236bd7812a8886ac40ab6da1a5e04;hpb=358fe8d37855c22ee5ee4e24d486757500043178;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index d1431c22..22ea2e7e 100644 --- a/src/game.h +++ b/src/game.h @@ -1,15 +1,13 @@ -/*********************************************************** -* 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 @@ -30,7 +28,6 @@ #define NUM_PANEL_ELEMENTS 8 #define NUM_PANEL_CE_SCORE 8 -#if 1 struct GamePanelInfo { struct TextPosInfo level_number; @@ -92,23 +89,14 @@ struct GameButtonInfo struct Rect stop; struct Rect pause; struct Rect play; + struct Rect sound_music; struct Rect sound_loops; struct Rect sound_simple; -}; - -#else -struct GamePanelInfo -{ - struct XY level; - struct XY gems; - struct XY inventory; - struct XY keys; - struct XY score; - struct XY time; + struct Rect save; + struct Rect load; }; -#endif struct GameInfo { @@ -365,6 +353,7 @@ boolean CheckEngineSnapshot(); void CreateGameButtons(); void FreeGameButtons(); +void MapGameButtons(); void UnmapGameButtons(); void RedrawGameButtons();