X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=86c26eeb9c90b2758ed9b3f10d587ba6aaab380f;hb=01342840f91b6a1a215d4f7ed90cddbe7da18099;hp=db61769a5ac04deb74627ec140f49d1b1477c424;hpb=08077278b4277434ebbeb0e828cf45f9ce9ee387;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index db61769a..86c26eeb 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; @@ -89,31 +86,18 @@ struct GamePanelInfo struct GameButtonInfo { - struct Rect stop; - struct Rect pause; - struct Rect play; + struct XY stop; + struct XY pause; + struct XY play; - struct Rect sound_music; - struct Rect sound_loops; - struct Rect sound_simple; + struct XY sound_music; + struct XY sound_loops; + struct XY sound_simple; - struct Rect save; - struct Rect load; + struct XY save; + struct XY load; }; -#else - -struct GamePanelInfo -{ - struct XY level; - struct XY gems; - struct XY inventory; - struct XY keys; - struct XY score; - struct XY time; -}; -#endif - struct GameInfo { /* values for control panel */