blob: 08e8c5e0290e7ef13fc51ae7f7e3e45d18d43a1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef GAME_CLIENT_COMPONENTS_SKINS_H
#define GAME_CLIENT_COMPONENTS_SKINS_H
#include <base/vmath.h>
#include <base/tl/array.h>
#include <game/client/component.h>
class CSkins : public CComponent
{
public:
// do this better and nicer
struct CSkin
{
int m_OrgTexture;
int m_ColorTexture;
char m_aName[32];
vec3 m_BloodColor;
};
void Init();
vec4 GetColor(int v);
int Num();
const CSkin *Get(int Index);
int Find(const char *pName);
private:
array<CSkin> m_aSkins;
static void SkinScan(const char *pName, int IsDir, void *pUser);
};
#endif
|