<commit_before>/**
* Contains: mud constants and values.
*/
#pragma once
#ifndef MUD_H
#define MUD_H
#include "conf.h"
/**
* @todo move to utils.h
*/
//used to show where an exception was thrown:
#define WHERE() std::string(" In ")+std::string(__FUNCTION__)+std::string(" at ")+std::string(__FILE__)+std::string(".")

//typedefs:
typedef int FLAG; //bitfield flags
typedef int VNUM;
typedef int BOOL;
/**
* @todo clean some of these up.
*/
typedef unsigned int UINT;
typedef unsigned int DWORD;
typedef unsigned long long int OBJID;

struct range
{
    int min;
    int max;
};

/**
* @todo remove these or as many as possible, put forward declarations in the files that require them.
*/
//forward declarations
//I wanted to avoid these, but it seems I have no choice
class Uuid;
class Entity;
class Socket;
class Player;
class Component;
class Variant;
class BaseObject;
class StaticObject;
class Zone;
class Room;
class ObjectManager;

//olc forward declarations
struct OLC_DATA;

//player rankings:
#define RANK_PLAYER 1<<1
#define RANK_PLAYTESTER 1<<2
#define RANK_NEWBIEHELPER 1<<3
#define RANK_NEWBIE 1<<4<commit_msg>Removed UUID as forward declaration.<commit_after>/**
* Contains: mud constants and values.
*/
#pragma once
#ifndef MUD_H
#define MUD_H
#include "conf.h"
/**
* @todo move to utils.h
*/
//used to show where an exception was thrown:
#define WHERE() std::string(" In ")+std::string(__FUNCTION__)+std::string(" at ")+std::string(__FILE__)+std::string(".")

//typedefs:
typedef int FLAG; //bitfield flags
typedef int VNUM;
typedef int BOOL;
/**
* @todo clean some of these up.
*/
typedef unsigned int UINT;
typedef unsigned int DWORD;
typedef unsigned long long int OBJID;

struct range
{
    int min;
    int max;
};

/**
* @todo remove these or as many as possible, put forward declarations in the files that require them.
*/
//forward declarations
//I wanted to avoid these, but it seems I have no choice
class Entity;
class Socket;
class Player;
class Component;
class Variant;
class BaseObject;
class StaticObject;
class Zone;
class Room;
class ObjectManager;

//olc forward declarations
struct OLC_DATA;

//player rankings:
#define RANK_PLAYER 1<<1
#define RANK_PLAYTESTER 1<<2
#define RANK_NEWBIEHELPER 1<<3
#define RANK_NEWBIE 1<<4
{'fraction_non_alphanumeric': 0.11519716437749225, 'fraction_numerical': 0.007089056269384138, 'mean_word_length': 4.702020202020202, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3155795', 'n_tokens_mistral': 770, 'n_tokens_neox': 717, 'n_words': 287}