Atrinik Client  4.0
server_settings.h
Go to the documentation of this file.
1 /*************************************************************************
2  * Atrinik, a Multiplayer Online Role Playing Game *
3  * *
4  * Copyright (C) 2009-2014 Alex Tokar and Atrinik Development Team *
5  * *
6  * Fork from Crossfire (Multiplayer game for X-windows). *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the Free Software *
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
21  * *
22  * The author can be reached at admin@atrinik.org *
23  ************************************************************************/
24 
30 #ifndef SERVER_SETTINGS_H
31 #define SERVER_SETTINGS_H
32 
34 enum {
35  SERVER_TEXT_PROTECTION_GROUPS,
36  SERVER_TEXT_PROTECTION_LETTERS,
37  SERVER_TEXT_PROTECTION_FULL,
38  SERVER_TEXT_SPELL_PATHS,
39  SERVER_TEXT_ALLOWED_CHARS_ACCOUNT,
40  SERVER_TEXT_ALLOWED_CHARS_ACCOUNT_MAX,
41  SERVER_TEXT_ALLOWED_CHARS_CHARNAME,
42  SERVER_TEXT_ALLOWED_CHARS_CHARNAME_MAX,
43  SERVER_TEXT_ALLOWED_CHARS_PASSWORD,
44  SERVER_TEXT_ALLOWED_CHARS_PASSWORD_MAX,
45 
46  SERVER_TEXT_MAX
47 };
48 
50 typedef struct char_struct {
52  char *name;
53 
56 
59 
61  char *desc;
62 } char_struct;
63 
68 typedef struct server_settings {
70  uint8_t max_level;
71 
73  int64_t *level_exp;
74 
77 
80 
82  char *text[SERVER_TEXT_MAX];
83 
86 
88  char *protection_letters[20];
89 
91  char *protection_full[20];
92 
96 
97 #endif
#define SPELL_PATH_NUM
Definition: main.h:189
char * text[SERVER_TEXT_MAX]
#define GENDER_MAX
Definition: player.h:46
char * protection_full[20]
char * protection_letters[20]
char * protection_groups[5]
char * spell_paths[SPELL_PATH_NUM]
char * gender_archetypes[GENDER_MAX]
int64_t * level_exp
char * gender_faces[GENDER_MAX]
struct char_struct char_struct
char_struct * characters
struct server_settings server_settings