Commit Graph

1462 Commits

Author SHA1 Message Date
Thilo Schulz 97ed3650d7 Make Video settings menu revert some settings to default values via Cvar_Reset() instead of hardcoded values (#2589) 2011-03-07 23:07:24 +00:00
Thilo Schulz dd0161f475 Add in_availableJoysticks to list usable joysticks, similar to s_alAvailableDevices. Some parts of the patch provided by Zack Middleton 2011-03-07 22:56:03 +00:00
Thilo Schulz c0cca7a0a8 - Fix potential out-of-bounds read in files.c, fix by using new FS_IsExt
- Add capability to load demos with com_protocol suffix, partially applied patches from Simon McVittie
- Fix demo loading if protocol number has more digits than 2
- Minor refactoring, replace all occurances of suffix "dm_" with global macro DEMOEXT
2011-03-07 22:08:48 +00:00
Thilo Schulz fef4d12d68 Refactoring patch by DevHC 2011-03-05 19:20:37 +00:00
Thilo Schulz 21668c0616 Fix systeminfo command, fix by DevHC 2011-03-05 19:11:56 +00:00
Thilo Schulz 0387b8002e Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself 2011-03-05 19:10:23 +00:00
Thilo Schulz 3639108763 Also send empty valued system cvars, fix proposed by DevHC 2011-03-05 19:07:56 +00:00
Thilo Schulz 2e2e54e3c5 Fix quirk reported by Zack Middleton 2011-03-04 21:51:34 +00:00
Thilo Schulz 75cd136c44 (#4922) Use screenYScale, not screenXScale, for scaling Y, by Zack Middleton 2011-03-04 20:32:03 +00:00
Thilo Schulz b764150a97 (#4291) Redundant statement in client console, by Zack Middleton 2011-03-04 20:29:24 +00:00
Thilo Schulz 0b538a929e (#4919) Extra variable in missionpack ui's bind_t structure, by Zack Middleton 2011-03-04 20:26:57 +00:00
Thilo Schulz 8bdd8e6705 (#4918) Gametype clamping using constant integer in missionpack ui, by Zack Middleton 2011-03-04 20:23:29 +00:00
Thilo Schulz b1f861b8da Patch by Zack Middleton (#4920) 2011-03-04 20:20:43 +00:00
Thilo Schulz 34e0a6c6f6 Make NET_Sleep wait 1ms less than requested, then busy-wait the last ms for better timeout precision. 2011-02-23 18:09:17 +00:00
Thilo Schulz ccd24cd647 - Fix unterminated string errors in Q_vsnprintf() on windows. Thanks to Eugene C. for reporting (#4907)
- Get rid of bigbuffer in Com_sprintf()
- Get rid of Q_snprintf and replace with Com_sprintf()
2011-02-23 16:17:09 +00:00
Tim Angus ab9b08e584 * Fix Sys_Milliseconds wrapping causing the flood protection code to
malfunction and block all traffic (reported by bubu^)
2011-02-18 23:46:02 +00:00
Thilo Schulz 6516be2fed Support non-256x256 videos in shaders, by Zack Middleton (#4745) 2011-02-11 14:46:34 +00:00
Thilo Schulz 8bb9a261bd Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton (#4794) 2011-02-11 14:30:55 +00:00
Thilo Schulz 91d1a6aab4 OMGWHATISTHISSHITIDONTEVENKNOW 2011-02-10 23:16:14 +00:00
Thilo Schulz 4dc750aedb Merge "which" command upstream from Tremulous, patch provided by Chris Schwarz 2011-02-10 23:07:07 +00:00
Thilo Schulz 2c57226d9f JPEG quality control patch, by Zack Middleton (#4673) 2011-02-10 21:18:31 +00:00
Thilo Schulz 614f315ce8 Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton 2011-02-10 19:58:20 +00:00
Thilo Schulz 48aef31d9e update readme for last commit 2011-02-10 19:37:30 +00:00
Thilo Schulz a56e448850 Add minimize command (#4531) 2011-02-10 19:21:13 +00:00
Thilo Schulz e05c9ad1c2 - Make some string functions in g_cmds.c cleaner, by DevHC
- embed VM_FREEBUFFERS() macro in do-while-loop
2011-02-10 18:56:18 +00:00
Thilo Schulz 544a1c0c1a - Use MAP_FAILED error code for check whether mmap() was successful
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
2011-02-10 18:45:28 +00:00
Zachary Slater 5e0d0efd2e http://www.angryflower.com/aposter.html
(minor English issues, most of which are via /dev/humancontroller)
2011-02-09 05:51:33 +00:00
Thilo Schulz 476e35f50e Make Q_vsnprintf() more standard conform in bg_lib.c, patch by devhc 2011-02-09 01:31:26 +00:00
Thilo Schulz 3b40467599 Finally fix missionpack compiling for STANDALONE=1, yes, this is tested. 2011-02-09 00:42:54 +00:00
Thilo Schulz f5759d3c68 Brace for incoming grammar fix by DevHC! 2011-02-09 00:32:11 +00:00
Thilo Schulz 956c9a262a First batch of getting replacing malloc() with Z_Malloc 2011-02-09 00:02:42 +00:00
Thilo Schulz 8cd4b77a1e Fix strcpy copying buffer into itself, thanks to Simon McVittie for reporting and the patch (#4894) 2011-02-08 23:16:03 +00:00
Thilo Schulz 8a3f2ff805 It's late, I'm tired. 2011-02-08 21:38:49 +00:00
Thilo Schulz c257dc2cfa Fix memmove with new size_t typedef, thanks DevHC for reporting 2011-02-08 21:27:45 +00:00
Thilo Schulz eb11388cac Fix STANDALONE in files.c 2011-02-08 20:27:49 +00:00
Thilo Schulz ba19fe1152 Still not compiling when STANDALONE is set 2011-02-08 20:24:41 +00:00
Thilo Schulz 7efcc91265 fix compiling error when in standalone mode 2011-02-08 20:21:37 +00:00
Thilo Schulz 2d2bdea553 Cleanup STANDALONE 2011-02-08 19:51:43 +00:00
Thilo Schulz dd30b09526 By ZTurtleMan: Cleanup; only load harvester data in harvester gametype, removed unused var, and ifdef a missionpack only var. 2011-02-08 18:38:29 +00:00
Thilo Schulz 2b52867b74 Code cleanup patch by devhc 2011-02-08 18:19:31 +00:00
Thilo Schulz 9f786f4def - A few code cleanups in gamecode
- Add a bit of stuff from Zakk Middleton
2011-02-08 18:06:39 +00:00
Thilo Schulz d2612c8a36 Fix levelshot so that it cannot be executed by remote clients (#4339) 2011-02-08 17:58:31 +00:00
Thilo Schulz be4e459148 mage size_t typedef unsigned int instead of just int, thx devhc for suggesting 2011-02-08 17:25:45 +00:00
Thilo Schulz 48b03a035b Ok, getifaddrs() is not POSIX compliant. Fix #3984 as suggested by Vincent Cojot 2011-02-07 05:20:31 +00:00
Thilo Schulz fd4cf3b783 Thank you devhc 2011-02-07 04:34:39 +00:00
Thilo Schulz 54aa7f2583 Allow user to specify different temp dir for building (#4349) 2011-02-07 04:03:19 +00:00
Thilo Schulz 1d2d67cdde strdup still not accepted by some systems. *sigh*. 2011-02-07 03:56:15 +00:00
Thilo Schulz a2715bc283 Fix buffer overflow, reported by Mads Lind 2011-02-06 20:35:46 +00:00
Thilo Schulz 0e6427f3ff - Hopefully fix (#3984) compiler errors on Solaris while not introducing too many new ones on the other platforms
- With _BSD_SOURCE now explicitly defined bring back strdup to vm_x86_64_assembler.c
2011-02-06 20:26:18 +00:00
Thilo Schulz 58a8f5ef8b Fix GNU/kFreeBSD patch by Cyril Brulebois. --> ... <-- 2011-02-06 20:10:43 +00:00