2009-09-23 03:22:01 +00:00
|
|
|
/*
|
|
|
|
* mape - C4 Landscape.txt editor
|
2009-09-21 04:04:52 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Copyright (c) 2005-2009, Armin Burgmeier
|
2009-09-21 04:04:52 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-09-21 04:04:52 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
|
|
|
|
* See accompanying file "TRADEMARK" for details.
|
2009-09-23 03:22:01 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* To redistribute this file separately, substitute the full license texts
|
|
|
|
* for the above references.
|
2009-09-21 04:04:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INC_MAPE_PREFERENCES_H
|
|
|
|
#define INC_MAPE_PREFERENCES_H
|
|
|
|
|
2009-09-27 02:08:40 +00:00
|
|
|
#include <glib.h>
|
2009-09-27 02:43:09 +00:00
|
|
|
#include "mape/forward.h"
|
2009-09-21 04:04:52 +00:00
|
|
|
|
|
|
|
struct MapePreferences_ {
|
|
|
|
unsigned int tab_width;
|
|
|
|
gboolean tab_to_spaces;
|
|
|
|
gboolean auto_indentation;
|
|
|
|
gboolean text_wrapping;
|
|
|
|
gboolean line_numbers;
|
|
|
|
gboolean highlight_line;
|
|
|
|
gboolean bracket_matching;
|
|
|
|
gboolean fixed_seed;
|
|
|
|
unsigned int random_seed;
|
|
|
|
unsigned int map_width;
|
|
|
|
unsigned int map_height;
|
2014-08-24 17:20:13 +00:00
|
|
|
double map_zoom;
|
2009-09-21 04:04:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void mape_preferences_from_config(MapePreferences* preferences,
|
|
|
|
MapeConfigFile* config);
|
|
|
|
void mape_preferences_to_config(MapePreferences* preferences,
|
|
|
|
MapeConfigFile* config);
|
|
|
|
|
|
|
|
#endif /* INC_MAPE_PREFERENCES_H */
|