Searched refs:numpackfiles (Results 1 – 2 of 2) sorted by relevance
1657 int numpackfiles; in COM_LoadPackFile() local1675 numpackfiles = header.dirlen / sizeof(dpackfile_t); in COM_LoadPackFile()1677 if (numpackfiles > MAX_FILES_IN_PACK) in COM_LoadPackFile()1678 Sys_Error ("%s has %i files", packfile, numpackfiles); in COM_LoadPackFile()1680 if (numpackfiles != PAK0_COUNT) in COM_LoadPackFile()1683 newfiles = (packfile_t*) Hunk_AllocName (numpackfiles * sizeof(packfile_t), "packfile"); in COM_LoadPackFile()1696 for (i=0 ; i<numpackfiles ; i++) in COM_LoadPackFile()1706 pack->numfiles = numpackfiles; in COM_LoadPackFile()1709 Con_Printf ("Added packfile %s (%i files)\n", packfile, numpackfiles); in COM_LoadPackFile()
1647 int numpackfiles; in COM_LoadPackFile() local1663 numpackfiles = header.dirlen / sizeof(dpackfile_t); in COM_LoadPackFile()1665 if (numpackfiles > MAX_FILES_IN_PACK) in COM_LoadPackFile()1666 Sys_Error ("%s has %i files", packfile, numpackfiles); in COM_LoadPackFile()1668 if (numpackfiles != PAK0_COUNT) in COM_LoadPackFile()1671 newfiles = Z_Malloc (numpackfiles * sizeof(packfile_t)); in COM_LoadPackFile()1686 for (i=0 ; i<numpackfiles ; i++) in COM_LoadPackFile()1696 pack->numfiles = numpackfiles; in COM_LoadPackFile()1699 Con_Printf ("Added packfile %s (%i files)\n", packfile, numpackfiles); in COM_LoadPackFile()