webperimental: killstack decides stack protects.
[freeciv.git] / client / include / pages_g.h
blob8d70a9e431ab4ca7b24e3e558b331df0601192d3
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__PAGES_G_H
14 #define FC__PAGES_G_H
16 /**************************************************************************
17 Toplevel window pages modes.
18 **************************************************************************/
19 #define SPECENUM_NAME client_pages
20 #define SPECENUM_VALUE0 PAGE_MAIN /* Main menu, aka intro page. */
21 #define SPECENUM_VALUE1 PAGE_START /* Start new game page. */
22 #define SPECENUM_VALUE2 PAGE_SCENARIO /* Start new scenario page. */
23 #define SPECENUM_VALUE3 PAGE_LOAD /* Load saved game page. */
24 #define SPECENUM_VALUE4 PAGE_NETWORK /* Connect to network page. */
25 #define SPECENUM_VALUE5 PAGE_GAME /* In game page. */
26 #include "specenum_gen.h"
28 #include "gui_proto_constructor.h"
30 GUI_FUNC_PROTO(void, real_set_client_page, enum client_pages page)
31 GUI_FUNC_PROTO(enum client_pages, get_current_client_page, void)
32 GUI_FUNC_PROTO(void, update_start_page, void)
34 /* Actually defined in update_queue.c */
35 void set_client_page(enum client_pages page);
36 void client_start_server_and_set_page(enum client_pages page);
37 enum client_pages get_client_page(void);
39 #endif /* FC__PAGES_G_H */