29 #include "../idlib/precompiled.h"
71 if ( !token.
Icmp(
"}" ) ) {
75 src.
Warning(
"Unexpected end of file" );
80 if ( !token.
Icmp(
"model" ) ) {
87 if ( !token.
Icmp(
"*" ) ) {
110 char generated[2048];
113 "skin %s // IMPLICITLY GENERATED\n"
132 "\t" "\"*\"\t\"_default\"\n"
178 if ( !map->
from || map->
from == shader ) {
int GetLineNum(void) const
static int snPrintf(char *dest, int size, const char *fmt,...) id_attribute((format(printf
const char * GetFileName(void) const
const int DECL_LEXER_FLAGS
const idMaterial * RemapShaderBySkin(const idMaterial *shader) const
const char * GetName(void) const
virtual const idMaterial * FindMaterial(const char *name, bool makeDefault=true)=0
int Icmp(const char *text) const
virtual bool Parse(const char *text, const int textLength)
idStrList associatedModels
virtual size_t Size(void) const
virtual const idDecl * FindType(declType_t type, const char *name, bool makeDefault=true)=0
virtual bool SetDefaultText(void)
virtual void FreeData(void)
int LoadMemory(const char *ptr, int length, const char *name, int startLine=1)
void SetText(const char *text)
idDeclManager * declManager
int Append(const type &obj)
void void Warning(const char *str,...) id_attribute((format(printf
int SkipUntilString(const char *string)
const int GetNumModelAssociations() const
virtual const char * DefaultDefinition(void) const
idList< skinMapping_t > mappings
int ReadToken(idToken *token)
const char * GetAssociatedModel(int index) const