summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
AgeCommit message (Collapse)Author
2013-01-12Fix some "> MAX_*" to be ">= MAX_*".Zack Middleton
2013-01-12Fix restoring fs_game when default.cfg is missing.Zack Middleton
2013-01-12Revert pk3dir patch because some users report the code gets stuck in an ↵Thilo Schulz
infinite loop in the new code
2013-01-12Support for .pk3dir (#5298) - Patch by Andrew (dersaidin@gmail.com)Thilo Schulz
2013-01-12REFACTOR [reletive -> relative]Zack Middleton
From /dev/humancontroller.
2013-01-12#5462 - do not require clients to have a matching qagame.qvm (adapted from ↵Zack Middleton
OpenArena)
2013-01-12* (bug #5283) Changes to the Makefile to make building standalone games ↵Tim Angus
easier (JBravo)
2013-01-10Allow VM_Restart to load unpure qagame.qvm so that local server won't crash ↵Thilo Schulz
after map_restart if server operator has qagame.qvm residing outside pak file (#5196) Thanks to "rg3" for providing a shell account
2013-01-10Use correct variable for getting buffer length, reported by Ensiform.Zack Middleton
2013-01-10Use platform's path separator in FS_Path_f (for consistent output on ↵Zack Middleton
Windows), reported by Ensiform.
2013-01-10Fix auto game-restart when disconnecting from a server that explicitly set ↵Thilo Schulz
fs_game to "baseq3" instead of ""
2013-01-10Don't do game_restart if game directory changed from "" to "baseq3" or ↵Thilo Schulz
"baseq3" to ""
2013-01-10Fix pak order when reconnecting to a server. When /connect to the same ↵Thilo Schulz
server is issued while already connected, an initial call to CL_Disconnect will remove all pak file references and reset the pak order. Reordering only occurs through FS_Restart, which in turn is called when checksum feed changes. Because we reconnect to the same server, checksum feed never changes and pak file order is not restored to server order again. With certain pak file constellations between client/server, this may result in an inability to load files from paks which are not correctly detected as referenced paks.
2013-01-10Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes ↵Thilo Schulz
unused-but-set gcc warnings
2013-01-10Fix extension name comparison for DLL filesThilo Schulz
2013-01-10- Automatically reset fs_game to "" if it was supplied by the user and is ↵Thilo Schulz
equal to com_basegame - Fix problem where users could change values of CVAR_INIT variables after the call to Cvar_Get() via Com_StartupVariable() - Move sound shutdown after client shutdown so VMs don't hold invalid sound handles in memory
2013-01-10- Improve game_restart: * differing screen resolutions and network settings ↵Thilo Schulz
are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2013-01-10- Don't try to load QVM/DLL files on pure servers - Fallback after failed ↵Thilo Schulz
DLL load will be VMI_COMPILED, not INTERPRETED
2013-01-10- Small change to search path order - local files not in .pk3s take ↵Thilo Schulz
precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3 - Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path - Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
2013-01-09Fix newlines in Com_Error, patch by Zack Middleton (#5023)Thilo Schulz
2013-01-09- Remove Q_strrchr(), replace with standard, portable strrchr() - Add ↵Thilo Schulz
strrchr() to bg_lib.c, patch by DevHC
2013-01-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-03* Fix bad merge (DevHC)Tim Angus
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Fix a couple of whitespace inconsistencies in fs_which that I noticed ↵Christopher Schwarz
while making the patch for upstream
2013-01-03* Three minor cleanups (/dev/humancontroller)Christopher Schwarz
- Properly initialize cvartable entry for g_teamforcebalance - Properly remove the "which" command on shutdown - Clear all SS_ flags on stopping spectating instead of just wallwalk so free spectators don't get stuck with slowblob or whatever
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1752Tim Angus
2013-01-03* Merge ioq3-r1708Tim Angus
2013-01-03* (bug 4311) Print file locations of relevant items to simplify ↵Christopher Schwarz
troubleshooting (Amanieu)
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Merge ioq3-r1458Tim Angus
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* Merge ioq3-r1272Tim Angus
2013-01-03* Merge ioq3-r1248Tim Angus
2007-10-25* Fix a couple of Q3isms accidentally introduced during a mergeTim Angus
2007-09-05* Merge of ioq3-r1163Tim Angus
+ SDL everywhere + New R_LoadImage + net_ip.c + Window icon + GUI based dedicated server support + Compile time linked OpenGL * Remove ui_menuFiles cvar
2007-08-24* Merged ioq3-r1133Tim Angus
+ PNG image loader + Non-gas dependent x86_64 VM + Collision optimisations + Slew of other bug fixes
2007-03-21* ioq3-r1052 mergeTim Angus
2006-11-28* Merge ioq3-989Tim Angus
2006-08-14* Merged ioq3-r838Tim Angus
- OS X Universal Binary creation script - OS X x86 support - OS X vm support - SDL video mode selection bug fix - "Home directory" support on windows - Windows SMP deadlock fix - Improved JPEG quality (screenshots/video) - AVIs recorded with \video command are now actually AVIs - Usual assortment of ioq3 tweaks and fixes
2006-06-17* Merged ioq3-r810Tim Angus
2006-05-16* Merged ioq3-r783Tim Angus
* Added back the syscalls things I didn't mean to remove
2006-05-06* Merged ioq3-r775Tim Angus
- SDL_GammaRamp stuff - Anisotropic texture filtering - q3testesque r_flares - cl_guid - Security fixes
2006-03-15* Merged ioq3-r647Tim Angus
2006-01-24* Merged ioq3-r522Tim Angus
- i586 is now default -march - Couple of OpenAL "bug" fixes - Fancy autocompletion - Delete key on *nix fixed - Client now sleeps when inactive - Persistent console history
2006-01-18* Merged ioq3-r506Tim Angus
* Removed copyfiles rule from Makefile
2006-01-05* Merged ioq3-460Tim Angus
- avi exporter - cl_autoRecordDemo - .asm dependencies
2005-12-28* Added master server to source, based on dpmasterTim Angus
* Removed gametype, fraglimit and dmflags cvars * Removed CD key authentication stuff * Implemented a means to save and restore cmd context * Bumped protocol version up to 69 (same as 68) * Removed various references to punkbuster * Maps on create server menu now sorted by name * Fixed some warnings