Freeciv21
Develop your civilization from humble roots to a global empire
rulesave.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
#ifndef FC__RULESAVE_H
12
#define FC__RULESAVE_H
13
14
struct
rule_data
{
15
char
*
nationlist
;
16
char
*
nationlist_saved
;
17
};
18
19
bool
save_ruleset
(
const
char
*path,
const
char
*
name
,
20
struct
rule_data
*data);
21
22
#endif
// FC__RULESAVE_H
name
const char * name
Definition:
inputfile.cpp:118
save_ruleset
bool save_ruleset(const char *path, const char *name, struct rule_data *data)
Save ruleset to directory given.
Definition:
rulesave.cpp:3013
rule_data
Definition:
rulesave.h:14
rule_data::nationlist
char * nationlist
Definition:
rulesave.h:15
rule_data::nationlist_saved
char * nationlist_saved
Definition:
rulesave.h:16
tools
ruleutil
rulesave.h
Generated by
1.9.1