aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* * Fix memory leak in win32 VM code (arQon/dmitry)tma2008-08-062-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1438 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on tma2008-08-031-1/+8
| | | | | | | | | | | | | | more or less any input event; fine for the server, not so much use for the client * In the main loop, don't bother sleeping if it's going to be less than 10ms as the methods we're using to sleep at the moment aren't very precise * Add Sys_PlatformInit for platform specific initialisation * In win32 Sys_PlatformInit force selection of the DirectX SDL backend in order to get better fullscreen mouse input (in conjunction with a patched SDL DLL http://bugzilla.libsdl.org/show_bug.cgi?id=265) git-svn-id: svn://svn.icculus.org/quake3/trunk@1434 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Sign check com_maxfps* variablestma2008-07-211-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1432 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use Sys_Sleep to limit FPS, which will save CPUtma2008-07-212-2/+19
| | | | | | | | * Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory * Fix reopening of bug 3703, I hope git-svn-id: svn://svn.icculus.org/quake3/trunk@1431 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3712) MSVC build fix s/strtof/strtod/ (Pat Raynor <raynorpat@gmail.com>)tma2008-07-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1423 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-075-12/+169
| | | | | | | | | * s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove silly range check on sv_voip during initialisationtma2008-07-061-1/+1
| | | | | | | * Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check git-svn-id: svn://svn.icculus.org/quake3/trunk@1410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change dedicated cvar to CVAR_LATCH on the dedicated servertma2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1407 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend tma2008-07-052-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | <TylerSchwend@gmail.com>) * (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>) * (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>) * (bug 3669) Some files left out of Solaris Packages (Vincent Cojot <vincent@cojot.name>) * (bug 3680) server quit messages (Ben Millwood) * (bug 3682) Maps with >1024 models cause a segfault (misantropia <bnoordhuis@gmail.com>) * (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers (misantropia <bnoordhuis@gmail.com>) * (bug 3688) q3asm potential segfault fix and other changes (TsT <tst2006@gmail.com>) * (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT <tst2006@gmail.com>) * (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not working (Matthias <Kapffer@macbay.de>) * (bug 3698) #error reported as warning in q3cpp (and no #warning support) (Ben Millwood) * (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller <devhc97@gmail.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1405 edf5b092-35ff-0310-97b2-ce42778d08ea
* Thanks to Lakitu7 for pointing this out.zakk2008-06-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1388 edf5b092-35ff-0310-97b2-ce42778d08ea
* bind ipv6 sockets firstludwig2008-06-121-20/+21
| | | | | | | | by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and :: to the same port. git-svn-id: svn://svn.icculus.org/quake3/trunk@1386 edf5b092-35ff-0310-97b2-ce42778d08ea
* show numeric address the server binds toludwig2008-06-121-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1385 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add PRODUCT_VERSION back into q_shared.h for MSVC builds.juz2008-06-041-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1367 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-033-7/+35
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-011-2/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray)ludwig2008-05-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1346 edf5b092-35ff-0310-97b2-ce42778d08ea
* whoops.thilo2008-05-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1345 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't ↵thilo2008-05-171-2/+10
| | | | | | | | | accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting. - Add -faltivec flag for debug builds. git-svn-id: svn://svn.icculus.org/quake3/trunk@1344 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3641) Server is left running following a local disconnecttma2008-05-121-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bunch of compile warningstma2008-05-101-14/+17
| | | | | | | | * Only call pkg-config if it exists * Remove cl_consoleHistory from README git-svn-id: svn://svn.icculus.org/quake3/trunk@1342 edf5b092-35ff-0310-97b2-ce42778d08ea
* define the product version in the Makefileludwig2008-05-061-7/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1340 edf5b092-35ff-0310-97b2-ce42778d08ea
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-011-10/+11
| | | | | | | | | | - tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* - variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar ↵thilo2008-05-011-11/+30
| | | | | | | | | exists already but was created by the user. - Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1334 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make forced unloading work in more cases than just server disconnectsthilo2008-04-291-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1333 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-121-3/+3
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only don't send packet on disabled multicast if it actually is a multicast ↵thilo2008-04-121-2/+2
| | | | | | packet git-svn-id: svn://svn.icculus.org/quake3/trunk@1313 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-122-1/+3
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Revamp in-game server browser: you can now scan for games on multiple ↵thilo2008-04-112-15/+18
| | | | | | | | | master servers, while retaining compatibility with old QVMs. - Make Master server reporting/server queries ipv6 capable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-104-15/+39
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-093-13/+27
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix uninitialized usage warnings on MacOSX.thilo2008-04-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1306 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add Multicast capabilities for LAN server scanning.thilo2008-04-096-135/+326
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* set flag to allow forced unload of a running VMludwig2008-04-063-2/+21
| | | | | | required to prevent a client from exiting if the server disconnects (bug 3585) git-svn-id: svn://svn.icculus.org/quake3/trunk@1300 edf5b092-35ff-0310-97b2-ce42778d08ea
* debug output for EXEC_NOWludwig2008-04-061-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1299 edf5b092-35ff-0310-97b2-ce42778d08ea
* revert changes to that one as this is not necessary.thilo2008-04-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1296 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure that one broken shader file cannot crash the game / make the other ↵thilo2008-04-061-1/+1
| | | | | | shaders unusable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1295 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to MinGW build following IPv6 changestma2008-04-051-5/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1294 edf5b092-35ff-0310-97b2-ce42778d08ea
* I hope this makes the code work on solaris, too and fix the EINVAL on sendto()thilo2008-04-051-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1293 edf5b092-35ff-0310-97b2-ce42778d08ea
* - include Winsock2.h for windowsthilo2008-04-052-1/+5
| | | | | | | - add a __BSD__ define for all bsd platforms if it doesn't exist. git-svn-id: svn://svn.icculus.org/quake3/trunk@1292 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix compilation on Solaris and possibly other platforms that have no ↵thilo2008-04-051-91/+24
| | | | | | getifaddrs() git-svn-id: svn://svn.icculus.org/quake3/trunk@1291 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-043-384/+770
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* strcpy -> memmove as string does overlap which should be avoided according ↵thilo2008-03-251-1/+2
| | | | | | to the manpage. Thanks to Jacques Boscq. git-svn-id: svn://svn.icculus.org/quake3/trunk@1280 edf5b092-35ff-0310-97b2-ce42778d08ea
* Commit patch from Jacques Boscq, which will prohibit the calling of memcpy ↵thilo2008-03-251-2/+4
| | | | | | with src=dest git-svn-id: svn://svn.icculus.org/quake3/trunk@1278 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replace vsprintf function in bg_lib.c with vsnprintf implementation ↵thilo2008-03-254-38/+39
| | | | | | | | | started by Patrick Powell. - Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf. git-svn-id: svn://svn.icculus.org/quake3/trunk@1277 edf5b092-35ff-0310-97b2-ce42778d08ea
* vsnprintf -> Q_vsnprintfthilo2008-03-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1276 edf5b092-35ff-0310-97b2-ce42778d08ea
* Applied patch to clean up code for reading cvars and add new command "print" ↵thilo2008-03-251-87/+70
| | | | | | | | | for printing the content of cvars, by Ben Millwood. See also https://bugzilla.icculus.org/show_bug.cgi?id=3546 git-svn-id: svn://svn.icculus.org/quake3/trunk@1275 edf5b092-35ff-0310-97b2-ce42778d08ea
* use vm->callLevel to count recursive calls to VM_Callludwig2008-03-244-16/+18
| | | | | | | Throw an error if vm->callLevel is set and VM_Free is called. git-svn-id: svn://svn.icculus.org/quake3/trunk@1274 edf5b092-35ff-0310-97b2-ce42778d08ea