mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Fix skin functions for plugins.
This commit is contained in:
parent
f5d6959f4b
commit
52e518bb1b
14 changed files with 57 additions and 50 deletions
|
@ -96,8 +96,6 @@ typedef struct vid_model_funcs_s {
|
|||
void (*Skin_SetTranslation) (int cmap, int top, int bottom);
|
||||
void (*Skin_ProcessTranslation) (int cmap, const byte *translation);
|
||||
void (*Skin_InitTranslations) (void);
|
||||
int (*Skin_Init_Textures) (int base);
|
||||
void (*Skin_SetPlayerSkin) (int width, int height, const byte *data);
|
||||
} vid_model_funcs_t;
|
||||
|
||||
typedef struct vid_render_funcs_s {
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
#include "QF/model.h"
|
||||
#include "QF/skin.h"
|
||||
#include "QF/plugin/vid_render.h"
|
||||
|
||||
extern vid_model_funcs_t *m_funcs;
|
||||
|
||||
void Mod_LoadExternalTextures (model_t *mod);
|
||||
void Mod_LoadLighting (bsp_t *bsp);
|
||||
|
@ -15,10 +18,19 @@ void Mod_LoadSpriteModel (model_t *mod, void *buffer);
|
|||
void Skin_Init (void);
|
||||
skin_t *Skin_SetColormap (skin_t *skin, int cmap);
|
||||
skin_t *Skin_SetSkin (skin_t *skin, int cmap, const char *skinname);
|
||||
void Skin_SetupSkin (skin_t *skin, int cmap);
|
||||
void Skin_SetTranslation (int cmap, int top, int bottom);
|
||||
void Skin_ProcessTranslation (int cmap, const byte *translation);
|
||||
void Skin_InitTranslations (void);
|
||||
int Skin_Init_Textures (int base);
|
||||
void Skin_SetPlayerSkin (int width, int height, const byte *data);
|
||||
|
||||
void sw_Skin_SetupSkin (skin_t *skin, int cmap);
|
||||
void sw_Skin_ProcessTranslation (int cmap, const byte *translation);
|
||||
void sw_Skin_InitTranslations (void);
|
||||
|
||||
void glsl_Skin_SetupSkin (skin_t *skin, int cmap);
|
||||
void glsl_Skin_ProcessTranslation (int cmap, const byte *translation);
|
||||
void glsl_Skin_InitTranslations (void);
|
||||
|
||||
void gl_Skin_SetupSkin (skin_t *skin, int cmap);
|
||||
void gl_Skin_ProcessTranslation (int cmap, const byte *translation);
|
||||
void gl_Skin_InitTranslations (void);
|
||||
int gl_Skin_Init_Textures (int base);
|
||||
void gl_Skin_SetPlayerSkin (int width, int height, const byte *data);
|
||||
#endif// __mod_internal_h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue