Freeciv21
Develop your civilization from humble roots to a global empire
pages_g.h
Go to the documentation of this file.
1
/**************************************************************************
2
Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3
__ __ part of Freeciv21. Freeciv21 is free software: you can
4
/ \\..// \ redistribute it and/or modify it under the terms of the GNU
5
( oo ) General Public License as published by the Free Software
6
\__/ Foundation, either version 3 of the License, or (at your
7
option) any later version. You should have received
8
a copy of the GNU General Public License along with Freeciv21. If not,
9
see https://www.gnu.org/licenses/.
10
**************************************************************************/
11
#pragma once
12
13
/**************************************************************************
14
Toplevel window pages modes.
15
**************************************************************************/
16
#define SPECENUM_NAME client_pages
17
#define SPECENUM_VALUE0 PAGE_MAIN
// Main menu, aka intro page.
18
#define SPECENUM_VALUE1 PAGE_START
// Start new game page.
19
#define SPECENUM_VALUE2 PAGE_SCENARIO
// Start new scenario page.
20
#define SPECENUM_VALUE3 PAGE_LOAD
// Load saved game page.
21
#define SPECENUM_VALUE4 PAGE_NETWORK
// Connect to network page.
22
#define SPECENUM_VALUE5 PAGE_GAME
// In game page.
23
#define SPECENUM_VALUE6 PAGE_LOADING
// Loading something.
24
#define SPECENUM_COUNT PAGE_COUNT
25
#include "specenum_gen.h"
26
27
void
update_start_page
(
void
);
28
29
// Actually defined in update_queue.c
30
void
set_client_page
(
enum
client_pages page);
31
void
client_start_server_and_set_page
(
enum
client_pages page);
32
enum
client_pages
get_client_page
();
client_start_server_and_set_page
void client_start_server_and_set_page(enum client_pages page)
Definition:
update_queue.cpp:300
set_client_page
void set_client_page(enum client_pages page)
Definition:
update_queue.cpp:292
get_client_page
enum client_pages get_client_page()
Definition:
update_queue.cpp:312
update_start_page
void update_start_page(void)
Update the start page.
Definition:
fc_client.cpp:597
client
include
pages_g.h
Generated by
1.9.1