Commit graph

1138 commits

Author SHA1 Message Date
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
774955c748 whatever devhc you're right 2011-02-03 17:34:26 +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
fa8201c9b6 Delete unused variable 2011-01-31 22:09:47 +00:00
Thilo Schulz
0baadba7d1 Windows doesn't know z in format string 2011-01-31 21:13:37 +00:00
Thilo Schulz
5cd116d3ad Only adjust timer resolution for clients 2011-01-31 20:32:00 +00:00
Thilo Schulz
e0a85521c9 Explicitly set timer resolution on windows 2011-01-31 20:23:05 +00:00
Ludwig Nussel
14c5a82c14 cvar is called fs_game (bug 4866) 2011-01-30 13:34:54 +00:00
Thilo Schulz
f725b23c4f Fix floating point imprecision causing glitches in snapshot sending 2011-01-29 22:01:55 +00:00
Thilo Schulz
cd3e202fca - Add parameter checking to CL_*Ping* functions.
- Remove unused CL_UpdateServerInfo function
2011-01-27 17:07:07 +00:00
Thilo Schulz
0c662f25f2 Make Ludwig happy 2011-01-27 16:41:08 +00:00
Thilo Schulz
de0e3cba34 Fix hanging client when map_restart executed on the server while client is still loading the map 2011-01-27 16:40:15 +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
Zachary Slater
e2e8b566e7 Sony NGP Support.
Alan Cox provided these patch notes:
Guvf vf npghnyyl n cngpu gb eryvrir hapbzsbegnoyr btt/ibeovf pbafgreangvbanoyr pbzcvyr-gvzr jneavatf sebz /qri/uhznapbagebyyre

Gunaxf 2 lbh.
2011-01-27 07:30:21 +00:00
Zachary Slater
2a083d6d60 add a missing \n from a cgame print
(thanks again /dev/hc)
2011-01-27 07:22:25 +00:00
Zachary Slater
5e2ccac7f0 remove the unused flags_t::field (/dev/hc again for this and previous checkin on Makefile, thanks!!!) 2011-01-27 07:20:56 +00:00
Zachary Slater
275d3b45b5 Patch from /dev/humancontroller (thx) 2011-01-27 07:00:35 +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
b179fb087c Make sure status reply always has at least one space between address and qport, important for ipv6 addresses. 2011-01-25 15:16:50 +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
4f7317c617 Fix bug reported by cyrri 2011-01-24 18:04: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
Thilo Schulz
b0a753eb0f Fix this bug in a better way. 2011-01-22 01:13:30 +00:00
Thilo Schulz
fdb66505bf Fix potential segfault when no PK3s have been loaded (may happen when compiled with -DSTANDALONE) 2011-01-22 01:10:34 +00:00
Thilo Schulz
7471510c8e Shut up compiler error 2011-01-21 20:47:32 +00:00
Tim Angus
35c1e98934 * (bug #4842) Speedup shader buffer creation (Eugene C.) 2010-12-19 18:17:56 +00:00
Tim Angus
7000b9a315 * (bug #4853) Fix comment that refers to old code 2010-12-19 17:45:03 +00:00
Tim Angus
c081b9c1fd * (bug #4800) Don't prepend a slash to console commands if they're empty
* (bug #4800) Limit console input length such that there is always room for a
  leading slash
2010-12-19 17:35:01 +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
Zachary Slater
df758ba6c2 Bugzilla #4629
commands sent to client when disconnecte
2010-10-25 06:43:55 +00:00
Zachary Slater
a4327ef965 Bugzilla #4753
Potential buffer overflow in UpdateTournamentInfo()
2010-10-25 06:39:11 +00:00
Zachary Slater
956f495726 Bugzilla #4749
TAHUD: Fix hud fallback
2010-10-25 06:34:33 +00:00
Thilo Schulz
cd8a5aaec8 Followup to #4733 2010-09-01 11:50:09 +00:00
Thilo Schulz
b1a86fb3d9 Fix flaw in my fix to #4737, thanks Zakk Middleton 2010-09-01 11:43:19 +00:00
Thilo Schulz
fa34239f58 another fix. Thanks Zakk Middleton 2010-08-30 23:25:44 +00:00
Thilo Schulz
a13aaa8b0b fix typo 2010-08-30 23:21:34 +00:00
Thilo Schulz
eb2860f756 Fix "unhandles OpenAL error", and sound fallback behaviour for model files. Thanks Ansa89 for reporting, and Zack Middleton for the patch. 2010-08-29 18:11:15 +00:00
Thilo Schulz
5fe2a61910 Second batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4740
#4741
#4742
#4743
#4744
2010-08-29 18:08:29 +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
392b246ee9 Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting. 2010-08-29 16:49:42 +00:00