#include "qbsp.h"
#include "l_mem.h"
Include dependency graph for l_utils.c:

Go to the source code of this file.
Functions | |
| void | AppendPathSeperator (char *path, int length) |
| void | ConvertPath (char *path) |
|
||||||||||||
|
Definition at line 94 of file l_utils.c. References length(), and strlen(). Referenced by AASOuputFile(), CreateAASFilesForAllBSPFiles(), FindQuakeFilesWithPakFilter(), and main(). 00095 {
00096 int pathlen = strlen(path);
00097
00098 if (strlen(path) && length-pathlen > 1 && path[pathlen-1] != '/' && path[pathlen-1] != '\\')
00099 {
00100 path[pathlen] = PATHSEPERATOR_CHAR;
00101 path[pathlen+1] = '\0';
00102 } //end if
00103 } //end of the function AppenPathSeperator
|
Here is the call graph for this function:

|
|
Definition at line 80 of file l_utils.c. Referenced by FindQuakeFiles(), FindQuakeFilesInPak(), and FindQuakeFilesInZip(). 00081 {
00082 while(*path)
00083 {
00084 if (*path == '/' || *path == '\\') *path = PATHSEPERATOR_CHAR;
00085 path++;
00086 } //end while
00087 } //end of the function ConvertPath
|
1.3.9.1