Change pk3dir README / comments to fit in better

This commit is contained in:
Zack Middleton 2013-02-11 18:02:40 -06:00
parent 37a9614179
commit ebee21157c
2 changed files with 4 additions and 4 deletions

4
README
View File

@ -497,8 +497,8 @@ QuakeLive mouse acceleration (patch and this text written by TTimo from id)
---------------------------------------------------- README for Developers -----
pk3dir
Ioquake3 has a useful new feature for mappers. Paths in a game directory with
the extension ".pk3dir" are treated like pak files. This means you can keep
ioquake3 has a useful new feature for mappers. Paths in a game directory with
the extension ".pk3dir" are treated like pk3 files. This means you can keep
all files specific to your map in one directory tree and easily zip this
folder for distribution.

View File

@ -2926,8 +2926,8 @@ void FS_AddGameDirectory( const char *path, const char *dir ) {
search = Z_Malloc(sizeof(searchpath_t));
search->dir = Z_Malloc(sizeof(*search->dir));
Q_strncpyz(search->dir->path, curpath, sizeof(search->dir->path)); // c:\xreal\base
Q_strncpyz(search->dir->fullpath, pakfile, sizeof(search->dir->fullpath)); // c:\xreal\base\mypak.pk3dir
Q_strncpyz(search->dir->path, curpath, sizeof(search->dir->path)); // c:\quake3\baseq3
Q_strncpyz(search->dir->fullpath, pakfile, sizeof(search->dir->fullpath)); // c:\quake3\baseq3\mypak.pk3dir
Q_strncpyz(search->dir->gamedir, pakdirs[pakdirsi], sizeof(search->dir->gamedir)); // mypak.pk3dir
search->next = fs_searchpaths;