include/newserver.h File Reference

Go to the source code of this file.

Data Structures

struct  MapCell_struct
struct  Map
struct  socket_buffer
struct  socket_struct
struct  Socket_Info_struct
struct  update_file_struct

Defines

#define NUM_LOOK_OBJECTS   15
#define MAP2_FLAG_MULTI   1
#define MAP2_FLAG_NAME   2
#define MAP2_FLAG_PROBE   4
#define MAP2_FLAG_HEIGHT   8
#define MAP2_FLAG_ZOOM   16
#define MAP2_FLAG_ALIGN   32
#define MAP2_FLAG_EXT_ANIM   1
#define ANIM_DAMAGE   1
#define ANIM_KILL   2
#define MAP2_MASK_CLEAR   0x2
#define MAP2_MASK_DARKNESS   0x4
#define MAP2_LAYER_CLEAR   255
#define UPDATES_FILE_NAME   "updates"
#define UPDATES_DIR_NAME   "updates"
#define MAX_PASSWORD_FAILURES   3

Typedefs

typedef struct MapCell_struct MapCell
typedef struct Socket_Info_struct Socket_Info

Enumerations

enum  Sock_Status {
  Ns_Avail, Ns_Wait, Ns_Add, Ns_Login,
  Ns_Dead, Ns_Zombie
}

Variables

Socket_Info socket_info

Detailed Description

Defines various structures and values that are used for the new client server communication method.

See also:
newclient.h

Definition in file newserver.h.


Define Documentation

#define MAX_PASSWORD_FAILURES   3

Maximum password failures allowed before the server kills the socket.

Definition at line 320 of file newserver.h.

#define NUM_LOOK_OBJECTS   15

How many items to show in the below window. Used in esrv_draw_look().

Definition at line 37 of file newserver.h.

#define UPDATES_DIR_NAME   "updates"

Directory to recursively traverse, looking for files that the client can request for an update.

Definition at line 315 of file newserver.h.

#define UPDATES_FILE_NAME   "updates"

Filename used to store information about the updated files.

Definition at line 311 of file newserver.h.


Typedef Documentation

typedef struct MapCell_struct MapCell

One map cell. Used to hold 'cache' of faces we already sent to the client.

Holds some system related information.


Enumeration Type Documentation

Possible socket statuses.

Definition at line 129 of file newserver.h.


Variable Documentation

Socket information.

Definition at line 54 of file init.c.


Generated by  doxygen 1.6.2