OpenClonk
preferences.h
Go to the documentation of this file.
1
/*
2
* mape - C4 Landscape.txt editor
3
*
4
* Copyright (c) 2005-2009, Armin Burgmeier
5
*
6
* Distributed under the terms of the ISC license; see accompanying file
7
* "COPYING" for details.
8
*
9
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
10
* See accompanying file "TRADEMARK" for details.
11
*
12
* To redistribute this file separately, substitute the full license texts
13
* for the above references.
14
*/
15
16
#ifndef INC_MAPE_PREFERENCES_H
17
#define INC_MAPE_PREFERENCES_H
18
19
#include <glib.h>
20
#include "
mape/forward.h
"
21
22
struct
MapePreferences_
{
23
unsigned
int
tab_width
;
24
gboolean
tab_to_spaces
;
25
gboolean
auto_indentation
;
26
gboolean
text_wrapping
;
27
gboolean
line_numbers
;
28
gboolean
highlight_line
;
29
gboolean
bracket_matching
;
30
gboolean
fixed_seed
;
31
unsigned
int
random_seed
;
32
unsigned
int
map_width
;
33
unsigned
int
map_height
;
34
double
map_zoom
;
35
};
36
37
void
mape_preferences_from_config
(
MapePreferences
* preferences,
38
MapeConfigFile
* config);
39
void
mape_preferences_to_config
(
MapePreferences
* preferences,
40
MapeConfigFile
* config);
41
42
#endif
/* INC_MAPE_PREFERENCES_H */
MapeConfigFile_
Definition:
configfile.h:27
forward.h
MapePreferences_::highlight_line
gboolean highlight_line
Definition:
preferences.h:28
MapePreferences_::map_zoom
double map_zoom
Definition:
preferences.h:34
mape_preferences_from_config
void mape_preferences_from_config(MapePreferences *preferences, MapeConfigFile *config)
Definition:
preferences.c:84
MapePreferences_::auto_indentation
gboolean auto_indentation
Definition:
preferences.h:25
mape_preferences_to_config
void mape_preferences_to_config(MapePreferences *preferences, MapeConfigFile *config)
Definition:
preferences.c:113
MapePreferences_::text_wrapping
gboolean text_wrapping
Definition:
preferences.h:26
MapePreferences_::fixed_seed
gboolean fixed_seed
Definition:
preferences.h:30
MapePreferences_::tab_width
unsigned int tab_width
Definition:
preferences.h:23
MapePreferences_::tab_to_spaces
gboolean tab_to_spaces
Definition:
preferences.h:24
MapePreferences_::bracket_matching
gboolean bracket_matching
Definition:
preferences.h:29
MapePreferences_::map_height
unsigned int map_height
Definition:
preferences.h:33
MapePreferences_::map_width
unsigned int map_width
Definition:
preferences.h:32
MapePreferences_::line_numbers
gboolean line_numbers
Definition:
preferences.h:27
MapePreferences_::random_seed
unsigned int random_seed
Definition:
preferences.h:31
MapePreferences_
Definition:
preferences.h:22
openclonk
src
mape
preferences.h
Generated on Fri May 16 2025 04:33:19 for OpenClonk by
1.9.1