- Change runtime standalone detection:
* com_standalone now read-only * add new cvars com_basegame, com_homepath * standalone now automatically detected when com_basegame is set to something different than baseq3 and no id pak pk3s are found * This fixes https://bugzilla.icculus.org/show_bug.cgi?id=4699 - Replace a few hardcoded string literals with macros - Add checks for Team Arena PK3s to FS_CheckPak0()
This commit is contained in:
parent
774955c748
commit
3148416c04
13 changed files with 236 additions and 83 deletions
|
@ -573,8 +573,9 @@ issues.
|
|||
#define FS_UI_REF 0x02
|
||||
#define FS_CGAME_REF 0x04
|
||||
#define FS_QAGAME_REF 0x08
|
||||
// number of id paks that will never be autodownloaded from baseq3
|
||||
// number of id paks that will never be autodownloaded from baseq3/missionpack
|
||||
#define NUM_ID_PAKS 9
|
||||
#define NUM_TA_PAKS 4
|
||||
|
||||
#define MAX_FILE_HANDLES 64
|
||||
|
||||
|
@ -702,7 +703,7 @@ void FS_PureServerSetLoadedPaks( const char *pakSums, const char *pakNames );
|
|||
// sole exception of .cfg files.
|
||||
|
||||
qboolean FS_CheckDirTraversal(const char *checkdir);
|
||||
qboolean FS_idPak( char *pak, char *base );
|
||||
qboolean FS_idPak(char *pak, char *base, int numPaks);
|
||||
qboolean FS_ComparePaks( char *neededpaks, int len, qboolean dlstring );
|
||||
|
||||
void FS_Rename( const char *from, const char *to );
|
||||
|
@ -831,6 +832,9 @@ extern cvar_t *com_maxfpsUnfocused;
|
|||
extern cvar_t *com_minimized;
|
||||
extern cvar_t *com_maxfpsMinimized;
|
||||
extern cvar_t *com_altivec;
|
||||
extern cvar_t *com_standalone;
|
||||
extern cvar_t *com_basegame;
|
||||
extern cvar_t *com_homepath;
|
||||
|
||||
// both client and server must agree to pause
|
||||
extern cvar_t *cl_paused;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue