added everything

This commit is contained in:
Metario
2017-04-17 06:17:10 -06:00
commit 9c6ff74f19
6121 changed files with 1625704 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//-----------------------------------------------
// Synapse Gaming - Lighting System
// Copyright <20> Synapse Gaming 2003
// Written by John Kabus
//-----------------------------------------------
#ifndef _SGDETAILMAPPING_H_
#define _SGDETAILMAPPING_H_
class MaterialList;
class sgDetailMapping
{
private:
TextureHandle *sgWhiteTexture;
MaterialList *sgMaterialsCache;
Vector<TextureHandle *> sgDetailMaps;
public:
sgDetailMapping()
{
sgWhiteTexture = NULL;
sgMaterialsCache = NULL;
}
~sgDetailMapping() {sgClearDetailMapping();}
void sgInitDetailMapping(MaterialList *materials);
void sgClearDetailMapping();
void sgBindDetailMap(U32 surfaceindex);
void sgEnableDetailMapping(void *buffer, U32 elementsize);
void sgDisableDetailMapping();
};
#endif//_SGDETAILMAPPING_H_