29 #include "../idlib/precompiled.h"
83 if ( !token.
Icmp(
"name") ) {
89 if ( !token.
Icmp(
"fullname") ) {
95 if ( !token.
Icmp(
"icon") ) {
101 if ( !token.
Icmp(
"id") ) {
107 if ( !token.
Icmp(
"post") ) {
113 if ( !token.
Icmp(
"title") ) {
119 if ( !token.
Icmp(
"security") ) {
125 if ( !token.
Icmp(
"pda_email") ) {
132 if ( !token.
Icmp(
"pda_audio") ) {
139 if ( !token.
Icmp(
"pda_video") ) {
166 "\t" "name \"default pda\"\n"
293 if ( index >= 0 && index <
videos.
Num() ) {
305 if ( index >= 0 && index <
audios.
Num() ) {
317 if ( index >= 0 && index <
emails.
Num() ) {
371 if ( token ==
"}" ) {
375 if ( !token.
Icmp(
"subject") ) {
381 if ( !token.
Icmp(
"to") ) {
387 if ( !token.
Icmp(
"from") ) {
393 if ( !token.
Icmp(
"date") ) {
399 if ( !token.
Icmp(
"text") ) {
401 if ( token !=
"{" ) {
405 while ( src.
ReadToken( &token ) && token !=
"}" ) {
411 if ( !token.
Icmp(
"image") ) {
434 "\t\t" "to\t5Mail recipient\n"
435 "\t\t" "subject\t5Nothing\n"
436 "\t\t" "from\t5No one\n"
496 if ( token ==
"}" ) {
500 if ( !token.
Icmp(
"name") ) {
506 if ( !token.
Icmp(
"preview") ) {
512 if ( !token.
Icmp(
"video") ) {
519 if ( !token.
Icmp(
"info") ) {
525 if ( !token.
Icmp(
"audio") ) {
550 "\t\t" "name\t5Default Video\n"
610 if ( token ==
"}" ) {
614 if ( !token.
Icmp(
"name") ) {
620 if ( !token.
Icmp(
"audio") ) {
627 if ( !token.
Icmp(
"info") ) {
633 if ( !token.
Icmp(
"preview") ) {
657 "\t\t" "name\t5Default Audio\n"
int GetLineNum(void) const
virtual void SetSecurity(const char *sec) const
virtual const idSoundShader * FindSound(const char *name, bool makeDefault=true)=0
virtual void AddAudio(const char *name, bool unique=true) const
virtual size_t Size(void) const
virtual const int GetNumVideos() const
void void bool HadError(void) const
const char * GetFileName(void) const
const int DECL_LEXER_FLAGS
virtual void FreeData(void)
virtual const char * DefaultDefinition(void) const
virtual void Print(void) const
const char * GetName(void) const
GLenum GLsizei GLenum GLenum const GLvoid * image
virtual const idMaterial * FindMaterial(const char *name, bool makeDefault=true)=0
virtual bool Parse(const char *text, const int textLength)
int Icmp(const char *text) const
virtual size_t Size(void) const
virtual const idDeclAudio * GetAudioByIndex(int index) const
virtual void Print(void) const
virtual bool Parse(const char *text, const int textLength)
virtual const idDeclVideo * GetVideoByIndex(int index) const
virtual void AddEmail(const char *name, bool unique=true) const
virtual const int GetNumAudios() const
virtual const idDecl * FindType(declType_t type, const char *name, bool makeDefault=true)=0
virtual void List(void) const
type * Find(type const &obj) const
virtual void Print(void) const
virtual const char * DefaultDefinition(void) const
virtual void Printf(const char *fmt,...) id_attribute((format(printf
int LoadMemory(const char *ptr, int length, const char *name, int startLine=1)
virtual const int GetNumEmails() const
idDeclManager * declManager
virtual bool Parse(const char *text, const int textLength)
virtual const idDeclEmail * GetEmailByIndex(int index) const
virtual size_t Size(void) const
int Append(const type &obj)
void void Warning(const char *str,...) id_attribute((format(printf
virtual bool Parse(const char *text, const int textLength)
virtual void RemoveAddedEmailsAndVideos() const
virtual void AddVideo(const char *name, bool unique=true) const
virtual void List(void) const
bool RemoveIndex(int index)
int SkipUntilString(const char *string)
virtual void FreeData(void)
virtual void FreeData(void)
virtual void List(void) const
virtual void Print(void) const
virtual void List(void) const
virtual const char * DefaultDefinition(void) const
virtual const char * DefaultDefinition(void) const
virtual void FreeData(void)
int ReadToken(idToken *token)
virtual size_t Size(void) const