Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

spriteloader.cpp File Reference

Function implementations for SpriteLoader. More...

#include <stdio.h>
#include <ctype.h>
#include "toyparse.h"
#include "sprite.h"
#include "spriteloader.h"

Include dependency graph for spriteloader.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int isblankstr (const char *str)
char lastchar (const char *str)
char * SprMakePath (const char *filename, const char *path, char *buf)
 Function to assemble a full path from a path and filename.


Variables

const char * Type_Param []
 Recognizes valid parameter types.

const char * Type_Comment [] = { "#", "#%s", NULL}
 Recognizes comments.

const char * Type_Integer [] = { "%u", NULL }
 Recognizes integers.

const char * Type_String [] = { "\"%s", NULL }
 Recognizes strings.

const char ** Types []
 Complete command table.


Detailed Description

Definition in file spriteloader.cpp.


Function Documentation

int isblankstr const char *  str  ) 
 

Returns nonzero if string contains nothing but whitespace characters.

Definition at line 263 of file spriteloader.cpp.

Referenced by SpriteLoader::Load(), and SpriteLoader::ProcessLine().

char lastchar const char *  str  ) 
 

Returns the last character in the string, or '' on error.

Definition at line 406 of file spriteloader.cpp.

Referenced by SprMakePath().


Generated on Sat Oct 11 13:19:31 2003 for Spritelib by doxygen 1.3.4