Add scr_string_t

This commit is contained in:
Diavolo 2022-05-16 14:08:49 +02:00
parent b4b7c45624
commit 43af23c3ba
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
2 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ namespace game
typedef void (*Scr_AddEntityNum_t)(int entnum, unsigned int classnum); typedef void (*Scr_AddEntityNum_t)(int entnum, unsigned int classnum);
extern Scr_AddEntityNum_t Scr_AddEntityNum; extern Scr_AddEntityNum_t Scr_AddEntityNum;
typedef void (*Scr_Notify_t)(gentity_s* ent, unsigned int stringValue, unsigned int paramcount); typedef void (*Scr_Notify_t)(gentity_s* ent, scr_string_t, unsigned int paramcount);
extern Scr_Notify_t Scr_Notify; extern Scr_Notify_t Scr_Notify;
typedef void (*Scr_NotifyLevel_t)(unsigned int stringValue, unsigned int paramcount); typedef void (*Scr_NotifyLevel_t)(unsigned int stringValue, unsigned int paramcount);

View File

@ -463,6 +463,8 @@ namespace game
typedef void (__cdecl * scr_call_t)(int entref); typedef void (__cdecl * scr_call_t)(int entref);
typedef unsigned __int16 scr_string_t;
enum scriptType_e enum scriptType_e
{ {
SCRIPT_NONE = 0, SCRIPT_NONE = 0,