Added reload of levels on F7 (Update levelpack) to ease the test of changes.
[enigmagame.git] / src / game.hh
blobc3ef092d0b5abeff1f59a065b5b3c17d2851a5da
1 /*
2 * Copyright (C) 2002,2003,2004 Daniel Heck
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef ENIGMA_GAME_HH
20 #define ENIGMA_GAME_HH
22 #include "fwd.hh"
23 #include "ecl_fwd.hh"
24 #include "lev/Proxy.hh"
26 namespace enigma_game
28 using enigma_levels::LevelPack;
29 using enigma_levels::Level;
31 void ResetGameTimer();
33 void StartGame();
35 /*! Draw a level preview into video::BackBuffer(). Return true if
36 successful. */
37 bool DrawLevelPreview (ecl::GC &, enigma::lev::Proxy *levelProxy);
41 namespace enigma
43 namespace game = enigma_game;
45 #endif