1 | /* |
1 | /* |
2 | * static char *rcsid_global_h = |
2 | * static char *rcsid_global_h = |
3 | * "$Id: global.h,v 1.2 2006/04/21 14:40:31 pippijn Exp $"; |
3 | * "$Id: global.h,v 1.4 2006/08/13 17:16:02 elmex Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
177 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
177 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
178 | EXTERN godlink *first_god; |
178 | EXTERN godlink *first_god; |
179 | EXTERN racelink *first_race; |
179 | EXTERN racelink *first_race; |
180 | |
180 | |
181 | #define NROF_COMPRESS_METHODS 4 |
181 | #define NROF_COMPRESS_METHODS 4 |
182 | EXTERN char *uncomp[NROF_COMPRESS_METHODS][3]; |
182 | extern char *uncomp[NROF_COMPRESS_METHODS][3]; |
|
|
183 | |
183 | /* |
184 | /* |
184 | * The editor uses these (will get them out of here later): |
185 | * The editor uses these (will get them out of here later): |
185 | */ |
186 | */ |
186 | |
187 | |
187 | EXTERN long editor; /* if true, edit maps instead of playing (almost obsolete) */ |
188 | EXTERN long editor; /* if true, edit maps instead of playing (almost obsolete) */ |
… | |
… | |
382 | int armor_weight_reduction; /* Weight reduction per enchantment */ |
383 | int armor_weight_reduction; /* Weight reduction per enchantment */ |
383 | uint8 armor_weight_linear; /* If 1, weight reduction is linear, else exponantiel */ |
384 | uint8 armor_weight_linear; /* If 1, weight reduction is linear, else exponantiel */ |
384 | int armor_speed_improvement; /* Speed improvement */ |
385 | int armor_speed_improvement; /* Speed improvement */ |
385 | uint8 armor_speed_linear; /* If 1, speed improvement is linear, else exponantiel */ |
386 | uint8 armor_speed_linear; /* If 1, speed improvement is linear, else exponantiel */ |
386 | uint8 no_player_stealing; /* If 1, can not steal from other players */ |
387 | uint8 no_player_stealing; /* If 1, can not steal from other players */ |
|
|
388 | uint8 create_home_portals; /* If 1, can create portals in personal maps */ |
387 | } Settings; |
389 | } Settings; |
388 | |
390 | |
389 | extern Settings settings; |
391 | extern Settings settings; |
390 | |
392 | |
391 | /* 0.94.1 - change to GETTIMEOFDAY macro - SNI systems only one one option. |
393 | /* 0.94.1 - change to GETTIMEOFDAY macro - SNI systems only one one option. |