Freeciv-3.3
Loading...
Searching...
No Matches
Macros | Functions | Variables
graphics.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "log.h"
#include "mem.h"
#include "shared.h"
#include "support.h"
#include "game.h"
#include "movement.h"
#include "unit.h"
#include "version.h"
#include "climisc.h"
#include "colors.h"
#include "mapview_g.h"
#include "options.h"
#include "tilespec.h"
#include "gui_main.h"
#include "graphics.h"

Go to the source code of this file.

Macros

#define COLOR_MOTTO_FACE_R   0x2D
 
#define COLOR_MOTTO_FACE_G   0x71
 
#define COLOR_MOTTO_FACE_B   0xE3
 

Functions

bool is_view_supported (enum ts_type type)
 
void tileset_type_set (enum ts_type type)
 
void load_cursors (void)
 

Variables

GdkCursorfc_cursors [CURSOR_LAST][NUM_CURSOR_FRAMES]
 

Macro Definition Documentation

◆ COLOR_MOTTO_FACE_B

#define COLOR_MOTTO_FACE_B   0xE3

Definition at line 79 of file graphics.c.

◆ COLOR_MOTTO_FACE_G

#define COLOR_MOTTO_FACE_G   0x71

Definition at line 78 of file graphics.c.

◆ COLOR_MOTTO_FACE_R

#define COLOR_MOTTO_FACE_R   0x2D

Definition at line 77 of file graphics.c.

Function Documentation

◆ is_view_supported()

bool is_view_supported ( enum ts_type  type)

Returns TRUE to indicate that gtk4-client supports given view type

Definition at line 53 of file graphics.c.

◆ load_cursors()

void load_cursors ( void  )

Load cursor sprites

Definition at line 84 of file graphics.c.

◆ tileset_type_set()

void tileset_type_set ( enum ts_type  type)

Loading tileset of the specified type

Definition at line 73 of file graphics.c.

Variable Documentation

◆ fc_cursors

Definition at line 48 of file graphics.c.