Skip to content

Commit

Permalink
add NET_StringToAdr
Browse files Browse the repository at this point in the history
  • Loading branch information
voron00 committed Jan 13, 2019
1 parent 8dd8090 commit 93148a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,15 @@ static const NET_AdrToString_t NET_AdrToString = (NET_AdrToString_t)0x0806B1DC;
static const NET_AdrToString_t NET_AdrToString = (NET_AdrToString_t)0x0806B1D4;
#endif

typedef qboolean (*NET_StringToAdr_t)(char *s, netadr_t *a);
#if COD_VERSION == COD2_1_0
static const NET_StringToAdr_t NET_StringToAdr = (NET_StringToAdr_t)0x0806C750;
#elif COD_VERSION == COD2_1_2
static const NET_StringToAdr_t NET_StringToAdr = (NET_StringToAdr_t)0x0806CCCC;
#elif COD_VERSION == COD2_1_3
static const NET_StringToAdr_t NET_StringToAdr = (NET_StringToAdr_t)0x0806CD98;
#endif

typedef void (*Scr_Error_t)(const char *string);
#if COD_VERSION == COD2_1_0
static const Scr_Error_t Scr_Error = (Scr_Error_t)0x08084DB4;
Expand Down

0 comments on commit 93148a4

Please sign in to comment.