New version of Engine.

This commit is contained in:
David Anderson
2004-05-26 05:15:40 +00:00
parent 7bb4c78a33
commit 37a08f66b0
16 changed files with 4129 additions and 1075 deletions

45
dlls/engine/messages.h Executable file
View File

@ -0,0 +1,45 @@
#ifndef _MSGS_INCLUDE_H
#define _MSGS_INCLUDE_H
#include "engine.h"
#define MAX_MESSAGES 255
#define BLOCK_NOT 0
#define BLOCK_ONCE 1
#define BLOCK_SET 2
enum {
arg_byte = 1,
arg_char,
arg_short,
arg_long,
arg_angle,
arg_coord,
arg_string,
arg_entity,
};
enum {
type_int = 1,
type_float,
type_string,
};
class argMsg
{
public:
argMsg();
void Reset();
void Send();
int Type();
int type;
REAL fData;
std::string cData;
int iData;
};
extern AMX_NATIVE_INFO msg_Natives[];
#endif //_MSGS_INCLUDE_H