defs.h

muddy/ranking/defs.h · 688 B

From the archive astrum.tar.bz2

Download the archive   « Back to the archive contents

#define PLAYER_PATH	"player"
#define HOLDER_LIST "holder.lst" /* list of limit holders */
#define ETC_PATH	"etc"
#define TMP_PATH	"tmp"
#define RANK_DESC_FILE "ranking.conf"
#define ALL_RANKS_FILE "all.rank"

#if	!defined(FALSE)
#define FALSE	 0
#endif

#if	!defined(TRUE)
#define TRUE	 1
#endif

typedef int bool;

#define MAX_STRING_LENGTH	8192
#define MAX_INPUT_LENGTH	1024

#define IS_NULLSTR(str)		(!(str) || *(char*)(str) == '\0')
#define LOWER(c)		(tolower((unsigned char) (c)))

#define UMAX(a, b)		((a) > (b) ? (a) : (b)) 


/*#if defined (WIN32)
	const char PATH_SEPARATOR = (char) '\\';
#else
	const char PATH_SEPARATOR = (char) '/';
#endif
	*/

Site Stats

Snippets: 1791
Codebases: 571