doom3-gpl
Doom 3 GPL source release
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <time.h>
#include <stdarg.h>
Go to the source code of this file.
Typedefs | |
typedef void( | PFN_ERR )(const char *pFormat,...) |
typedef void( | PFN_PRINTF )(const char *pFormat,...) |
typedef void( | PFN_ERR_NUM )(int nNum, const char *pFormat,...) |
typedef void( | PFN_PRINTF_NUM )(int nNum, const char *pFormat,...) |
Functions | |
int | LoadFile (const char *filename, void **bufferptr) |
void | DefaultExtension (char *path, char *extension) |
void | DefaultPath (char *path, char *basepath) |
void | StripFilename (char *path) |
void | StripExtension (char *path) |
void | Error (const char *pFormat,...) |
void | Printf (const char *pFormat,...) |
void | ErrorNum (int n, const char *pFormat,...) |
void | PrintfNum (int n, const char *pFormat,...) |
void | SetErrorHandler (PFN_ERR pe) |
void | SetPrintfHandler (PFN_PRINTF pe) |
void | SetErrorHandlerNum (PFN_ERR_NUM pe) |
void | SetPrintfHandlerNum (PFN_PRINTF_NUM pe) |
void DefaultExtension | ( | char * | path, |
char * | extension | ||
) |
Definition at line 166 of file cmdlib.cpp.
void DefaultPath | ( | char * | path, |
char * | basepath | ||
) |
Definition at line 190 of file cmdlib.cpp.
Definition at line 45 of file cmdlib.cpp.
Definition at line 67 of file cmdlib.cpp.
Definition at line 133 of file cmdlib.cpp.
Definition at line 56 of file cmdlib.cpp.
Definition at line 78 of file cmdlib.cpp.
Definition at line 89 of file cmdlib.cpp.
void SetErrorHandlerNum | ( | PFN_ERR_NUM | pe | ) |
Definition at line 99 of file cmdlib.cpp.
void SetPrintfHandler | ( | PFN_PRINTF | pe | ) |
Definition at line 94 of file cmdlib.cpp.
void SetPrintfHandlerNum | ( | PFN_PRINTF_NUM | pe | ) |
void StripExtension | ( | char * | path | ) |
Definition at line 222 of file cmdlib.cpp.
void StripFilename | ( | char * | path | ) |
Definition at line 206 of file cmdlib.cpp.