Freeciv-3.2
Loading...
Searching...
No Matches
Macros | Functions
pages_g.h File Reference
#include "specenum_gen.h"
#include "gui_proto_constructor.h"

Go to the source code of this file.

Macros

#define SPECENUM_NAME   client_pages
 
#define SPECENUM_VALUE0   PAGE_MAIN /* Main menu, aka intro page. */
 
#define SPECENUM_VALUE1   PAGE_START /* Start new game page. */
 
#define SPECENUM_VALUE2   PAGE_SCENARIO /* Start new scenario page. */
 
#define SPECENUM_VALUE3   PAGE_LOAD /* Load saved game page. */
 
#define SPECENUM_VALUE4   PAGE_NETWORK /* Connect to network page. */
 
#define SPECENUM_VALUE5   PAGE_GAME /* In game page. */
 

Functions

void set_client_page (enum client_pages page)
 
void client_start_server_and_set_page (enum client_pages page)
 
enum client_pages get_client_page (void)
 

Macro Definition Documentation

◆ SPECENUM_NAME

Definition at line 19 of file pages_g.h.

◆ SPECENUM_VALUE0

#define SPECENUM_VALUE0   PAGE_MAIN /* Main menu, aka intro page. */

Definition at line 20 of file pages_g.h.

◆ SPECENUM_VALUE1

#define SPECENUM_VALUE1   PAGE_START /* Start new game page. */

Definition at line 21 of file pages_g.h.

◆ SPECENUM_VALUE2

#define SPECENUM_VALUE2   PAGE_SCENARIO /* Start new scenario page. */

Definition at line 22 of file pages_g.h.

◆ SPECENUM_VALUE3

#define SPECENUM_VALUE3   PAGE_LOAD /* Load saved game page. */

Definition at line 23 of file pages_g.h.

◆ SPECENUM_VALUE4

#define SPECENUM_VALUE4   PAGE_NETWORK /* Connect to network page. */

Definition at line 24 of file pages_g.h.

◆ SPECENUM_VALUE5

#define SPECENUM_VALUE5   PAGE_GAME /* In game page. */

Definition at line 25 of file pages_g.h.

Function Documentation

◆ client_start_server_and_set_page()

void client_start_server_and_set_page ( enum client_pages  page)

Start server and then, set the client page.

Definition at line 506 of file update_queue.c.

Referenced by load_saved_game_callback(), start_scenario_callback(), and fc_client::switch_page().

◆ get_client_page()

enum client_pages get_client_page ( void  )

◆ set_client_page()

void set_client_page ( enum client_pages  page)