Don't include server_settings.h in fc_interface.h
commit1e10a1d48d9e4a9126cefbcc7b474fb00affd1da
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Thu, 27 Apr 2017 13:18:40 +0000 (27 13:18 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Thu, 27 Apr 2017 13:18:40 +0000 (27 13:18 +0000)
treebc1da6433ffe60b23559a24a91b32f721049bb43
parent0e37b5fb682b1ec514349b77a5f1babddacd3831
Don't include server_settings.h in fc_interface.h

The fc_interface module needs the sset_type enum and the server_setting_id
type to provide its server setting access abstractions. But fc_interface is
supposed to be used where the client and the server does things differently
yet still needs a common interface. It is already used in many non server
setting related places.

Stop pulling in server_settings.h everywhere fc_interface.h is included.
Move the sset_type enum and the server_setting_id type to fc_types.h and
include them to fc_interface.h from there.

See hrm Feature #655355

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@35302 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
client/client_main.c
common/fc_interface.h
common/fc_types.h
common/server_settings.h