Browse Source

engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported

pull/2/head
SNMetamorph 3 years ago committed by Alibek Omarov #SupportRMS
parent
commit
8c351d9255
  1. 4
      engine/client/cl_game.c
  2. 2
      engine/client/client.h

4
engine/client/cl_game.c

@ -1329,7 +1329,7 @@ pfnSPR_Load @@ -1329,7 +1329,7 @@ pfnSPR_Load
=========
*/
HSPRITE GAME_EXPORT pfnSPR_Load( const char *szPicName )
HSPRITE EXPORT pfnSPR_Load( const char *szPicName )
{
model_t *spr;
@ -1376,7 +1376,7 @@ pfnSPR_Frames @@ -1376,7 +1376,7 @@ pfnSPR_Frames
=========
*/
static int GAME_EXPORT pfnSPR_Frames( HSPRITE hPic )
int EXPORT pfnSPR_Frames( HSPRITE hPic )
{
int numFrames;

2
engine/client/client.h

@ -827,7 +827,7 @@ int CL_FindModelIndex( const char *m ); @@ -827,7 +827,7 @@ int CL_FindModelIndex( const char *m );
cl_entity_t *CL_GetLocalPlayer( void );
model_t *CL_LoadClientSprite( const char *filename );
model_t *CL_LoadModel( const char *modelname, int *index );
HSPRITE pfnSPR_Load( const char *szPicName );
HSPRITE EXPORT pfnSPR_Load( const char *szPicName );
HSPRITE pfnSPR_LoadExt( const char *szPicName, uint texFlags );
void PicAdjustSize( float *x, float *y, float *w, float *h );
int CL_GetScreenInfo( SCREENINFO *pscrinfo );

Loading…
Cancel
Save