summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
AgeCommit message (Collapse)Author
2013-02-165717 - Gamecode can open file "" for readingZack Middleton
2013-02-16Don't add pk3dirs if connecting to a pure serverZack Middleton
Only .cfg etc would be read from pk3dirs, but they should be treated like pk3s that are not on the pure list.
2013-02-16Change pk3dir README / comments to fit in betterZack Middleton
2013-02-165289 - Support for .pk3dirAndrew Browne
2013-01-13Fix screwed up whitespace in files.cTim Angus
Apologies to anyone merging this :(
2013-01-13Fix FS_FOpenFileRead corner caseTim Angus
FS_FOpenFileRead is a fairly mental function that changes its return behaviour depending on whether or not file is NULL or not. It turns out in the case where file is NULL, we were returning the wrong value when the file didn't exist.
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