Atrinik Server 2.5
Data Fields
Settings Struct Reference

#include <global.h>

Data Fields

char * logfilename
uint16 csport
LogLevel debug
uint8 dumpvalues
char * dumparg
uint8 daemonmode
char * datadir
char * localdir
char * mapdir
char * playerdir
char * archetypes
char * treasures
char * uniquedir
char * tmpdir
uint8 stat_loss_on_death
uint8 balanced_stat_loss
unsigned int meta_on:1
char meta_server [MAX_BUF]
char meta_host [MAX_BUF]
char meta_name [MAX_BUF]
char meta_comment [MAX_BUF]
char world_maker_dir [MAX_BUF]
char client_maps_url [MAX_BUF]
uint8 watchdog
uint8 interactive
uint8 unit_tests
uint8 world_maker
sint8 magic_devices_level
float item_power_factor
uint8 timestamp

Detailed Description

Settings structure

Definition at line 506 of file global.h.


Field Documentation

Name of the archetypes file - libdir is prepended.

Definition at line 539 of file global.h.

If true, Death stat depletion based on level etc.

Definition at line 554 of file global.h.

Location of the client maps.

Definition at line 575 of file global.h.

Port for new client/server

Definition at line 512 of file global.h.

If true, detach and become daemon

Definition at line 524 of file global.h.

Read only data files

Definition at line 527 of file global.h.

Default debugging level

Definition at line 515 of file global.h.

Additional arguments for some dump functions

Definition at line 521 of file global.h.

Set to dump various values/tables

Definition at line 518 of file global.h.

Interactive mode on?

Definition at line 581 of file global.h.

See note in setings file.

Definition at line 593 of file global.h.

Read/write data files

Definition at line 530 of file global.h.

Logfile to use

Definition at line 509 of file global.h.

Adjustment to maximum magical device level the player may use.

Definition at line 590 of file global.h.

Where the map files are.

Definition at line 533 of file global.h.

char Settings::meta_comment[MAX_BUF]

Comment about the server we send to the metaserver.

Definition at line 569 of file global.h.

char Settings::meta_host[MAX_BUF]

Hostname of this server.

Definition at line 563 of file global.h.

char Settings::meta_name[MAX_BUF]

Name of this server.

Definition at line 566 of file global.h.

unsigned int Settings::meta_on

True if we should send updates

Definition at line 557 of file global.h.

char Settings::meta_server[MAX_BUF]

HTTP URL of the metaserver.

Definition at line 560 of file global.h.

Where the players are saved.

Definition at line 536 of file global.h.

If true, players lose a random stat when they die.

Definition at line 551 of file global.h.

Directory to use for temporary files.

Definition at line 548 of file global.h.

Location of the treasures file.

Definition at line 542 of file global.h.

Directory for the unique items.

Definition at line 545 of file global.h.

Are we going to run unit tests?

Definition at line 584 of file global.h.

Use watchdog?

Definition at line 578 of file global.h.

Executing the world maker?

Definition at line 587 of file global.h.

Where to store the images.

Definition at line 572 of file global.h.


The documentation for this struct was generated from the following file: