1
/***************************************************************************
2
* Copyright (C) 2006 by Frederic MARTIN *
3
* martin-frederic@users.sourceforge.net *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, write to the *
17
* Free Software Foundation, Inc., *
18
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19
***************************************************************************/
22
#ifndef __E_SCENE_MAIN_MENU_H__
23
#define __E_SCENE_MAIN_MENU_H__
28
#include "globalInfos.h"
31
class E_scene_main_menu: public Chess_Scene,GUIEventListener
35
virtual ~E_scene_main_menu();
37
virtual void unload();
38
virtual void update();
41
CBasicTexture* texture_background;
43
unsigned short menu_to_display;
46
void Initialize_scene(GUI_scene scene_to_init);
47
void display_main_menu();
48
void display_options();
51
bool fade_in, fade_out;
52
Game_scene scene_to_go;
56
* GUI event management
57
* @param evt the current event to manage
59
virtual void actionPerformed(GUIEvent &evt);