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
1d2d67cdde
strdup still not accepted by some systems. *sigh*.
2011-02-07 03:56:15 +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
7bb5906599
Patch by Simon McVittie to improve dynamic library loading ( #4700 )
2011-02-04 17:47:57 +00:00
Thilo Schulz
d2f8b9f4bb
Support GNU/kFreeBSD, patch by Cyril Brulebois. Thanks.
2011-02-04 17:31:12 +00:00
Thilo Schulz
e66abb3237
- Add support for linearly desaturating images via r_greyscale
...
- Use correct luminance values for rendering textures
Patch submitted by Forrest Voight.
2011-02-04 16:04:37 +00:00
Thilo Schulz
2cddb3e0ea
https://bugzilla.icculus.org/show_bug.cgi?id=4460
2011-02-04 13:43:41 +00:00
Thilo Schulz
67a8b273c2
- Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
2011-02-04 13:25:51 +00:00
Thilo Schulz
0eb5d1720c
Fix banfile writing to wrong game directory
2011-02-04 12:34:11 +00:00
Thilo Schulz
3148416c04
- 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()
2011-02-04 12:04:56 +00:00
Thilo Schulz
cf791d14c5
- Fix bug #4769 remote server crash
...
- Fix potential 1-byte-buffer overflow in gamecode
2011-02-03 02:54:36 +00:00
Thilo Schulz
16c83ae2c5
Server crash can cause recursive call to Com_Error, too
2011-02-02 23:57:22 +00:00
Thilo Schulz
4982bf8e6b
r1833 now made some Linux systems spit out warnings. Fix this once and for all
2011-02-02 16:49:52 +00:00
Thilo Schulz
e5dbce839a
- Use select() to sleep when idle as opposed to busy waiting.
...
- Introduce com_busyWait cvar to go back to old behaviour
2011-02-02 16:46:23 +00:00
Thilo Schulz
0baadba7d1
Windows doesn't know z in format string
2011-01-31 21:13:37 +00:00
Thilo Schulz
0c662f25f2
Make Ludwig happy
2011-01-27 16:41:08 +00:00
Thilo Schulz
d1c0401c73
well, shit.
2011-01-27 12:34:58 +00:00
Thilo Schulz
92495a70bc
Fix compiler warnings ( #4887 )
2011-01-27 11:13:39 +00:00
Thilo Schulz
74be070642
Make sure com_developer global var gets written right after developer has been read from cmd line
2011-01-25 16:18:49 +00:00
Thilo Schulz
5c0ae99642
Make number of supported master servers tunable via define
2011-01-25 02:04:25 +00:00
Thilo Schulz
bf07014b1d
Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too.
2011-01-24 18:09:20 +00:00
Thilo Schulz
6179036ac9
Fix name resolution for domains with A and AAAA record
2011-01-24 01:55:12 +00:00
Thilo Schulz
8243a77c0e
Revert changes because dpmaster doesn't work that way.
2011-01-24 01:24:07 +00:00
Thilo Schulz
7861cde4a2
Make it use the correct game name in getserversExt queries
2011-01-24 00:21:33 +00:00
Tim Angus
c314f29290
* Use correct compiler defines for OS detection on Windows
2010-12-19 16:34:35 +00:00
Ludwig Nussel
c51d99117c
use mmap on freebsd too
2010-11-22 07:12:35 +00:00
Thilo Schulz
83a3e2ae1b
First batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
...
#4736
#4730
#4731
#4732
#4733
#4735
#4736
#4737
#4738
#4739
2010-08-29 17:32:54 +00:00
Thilo Schulz
3ff2666375
Fix buffer overflow, report and patch by Eugene C. ( #4669 )
2010-07-02 20:21:20 +00:00
Ludwig Nussel
233fcb0caa
fix stack alignment dynamically for OP_BLOCK_COPY
2010-06-02 14:46:16 +00:00
Ludwig Nussel
2950bb98ea
fix OP_BLOCK_COPY alignment for win64 (patch by Marcus Meissner)
2010-05-17 08:59:53 +00:00
Ludwig Nussel
760f4a1949
64bit Windows support (patch by Michael Menegakis)
2010-02-28 09:00:02 +00:00
Ludwig Nussel
a9fdf0ef3b
need to hardcode "baseq3" to prevent download of id files even if compiled STANDALONE
2010-02-28 08:56:54 +00:00
Tim Angus
3ebe048968
* Fix a memory leak in OS X Sys_Dialog
...
* Fix compilation on Snow Leopard
2010-02-26 16:32:49 +00:00
Tim Angus
005f870ebe
* Sys_Dialog for more user friendly error reporting
...
* (bug #3932 ) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Ludwig Nussel
4876413217
__WORDSIZE is not available on non-GNU systems (Dominic Fandrey)
2010-01-16 10:55:51 +00:00
Tim Angus
9018fedd16
* Clean-up whitespace in net_ip.c
2010-01-10 18:28:32 +00:00
Tim Angus
240b25a41f
* (bug #4271 ) FreeBSD fixes (Dominic Fandrey)
2010-01-07 19:53:52 +00:00
Tim Angus
e7f9b8d193
* That probably deserves a Com_DPrintf as well
2010-01-03 22:07:20 +00:00
Tim Angus
bb30f51f67
* (bug #4357 ) CVAR_ROM+CVAR_ARCHIVE is not read from q3config
2010-01-03 19:44:37 +00:00
Tim Angus
78df7a1de4
* (bug #4346 ) Dedicated server uses 100% CPU when stdin is not a TTY
...
* com_speeds reports misleading values on dedicated server (Guillaume Bougard)
2009-12-24 00:40:39 +00:00
Tim Angus
fa2a698aa3
* (bug #4369 ) Cvar modified flags are not updated in Cvar_Get (Lakitu7)
2009-12-18 21:57:56 +00:00
Thilo Schulz
10cdcdb0a1
Forgot this one
2009-11-14 01:59:01 +00:00
Thilo Schulz
258429efe7
- Add unset command for cvars created by the user
...
- Fix crash bug when maximum number of cvars has been reached
- Fix cvar_restart
- Add possibility to cleanly switch mods ingame (#2819 )
2009-11-09 22:41:42 +00:00
Thilo Schulz
606ce66726
This is true always, anyways.
2009-11-09 13:50:48 +00:00
Thilo Schulz
5785b45e6a
Shut up warn_unused_result warning
2009-11-08 17:00:27 +00:00
Tim Angus
108705d31f
* Rewrite win32 Sys_Mkdir to use CreateDirectory
...
* Make FS_ReplaceSeparators filter out runs of multiple separators
* Make FS_CreatePath skip creation of the root directory
2009-11-07 16:43:02 +00:00
Tim Angus
0f9a5e09eb
* Improve displayed error message when pak?.pk3 is missing
2009-11-06 16:25:14 +00:00
Thilo Schulz
4ba2452f83
Use new Sys_SetEnv here
2009-11-06 10:50:16 +00:00
Tim Angus
eee9770fbf
* Reimplement r1597-1598 in a better way (Oopss)
...
* Fix Sys_SetEnv warning
2009-11-05 20:20:23 +00:00
Thilo Schulz
621f91783c
Different default values for multicast-scope on Windows and non-Windows OS
2009-11-04 00:42:22 +00:00