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
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
0afedc928c
How could this stay undiscovered for so long? Unbelievable.
2011-02-06 20:06:03 +00:00
Thilo Schulz
f03ee4b61c
Oops typo.
2011-02-06 18:59:39 +00:00
Thilo Schulz
44fb8f49b6
Fix adding multiple entries for same server when using globalservers several times, patch by Tequila
2011-02-06 17:59:23 +00:00
Thilo Schulz
61c8b878b8
Fix tourney score board. Thanks Zack Middleton for the patch and report
2011-02-06 17:33:51 +00:00
Thilo Schulz
f34b96b586
Fix flag collision in botlib code, thanks Cyrri for reporting ( #4886 )
2011-02-04 18:23:52 +00:00
Thilo Schulz
387e33a4e3
Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting
2011-02-04 17:50:34 +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
Tim Angus
c61ad8a074
* Fix fp literals
2011-02-04 17:22:42 +00:00
Thilo Schulz
8869e989e4
typos, patch by Ansgar Burchardt <ansgar@43-1.org>
2011-02-04 17:18:40 +00:00
Thilo Schulz
31d99e2c4e
Fix division by zero, reported by Simon McVittie
2011-02-04 17:16:53 +00:00
Thilo Schulz
dc92a6cd79
Fix #4683 , thanks Zack Middleton
2011-02-04 17:01:08 +00:00
Thilo Schulz
91f3c1596f
Ben Millwood fixing his own stuff ( #4598 )
2011-02-04 16:09:05 +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
13836e5f4a
Thanks for the patch, gimhael. ( #4576 )
2011-02-04 15:21:15 +00:00
Thilo Schulz
ecbe1ab9fd
Thanks Simon McVittie for fixing the bug regression in https://bugzilla.icculus.org/show_bug.cgi?id=4629
2011-02-04 15:11:57 +00:00
Thilo Schulz
01d7eaddf5
https://bugzilla.icculus.org/show_bug.cgi?id=4576
2011-02-04 15:07:32 +00:00
Thilo Schulz
d563deba76
Fix https://bugzilla.icculus.org/show_bug.cgi?id=4733
2011-02-04 14:44:17 +00:00
Thilo Schulz
f6ea5315f7
Fix a warning
2011-02-04 14:19:51 +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
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
Thilo Schulz
3ff2666375
Fix buffer overflow, report and patch by Eugene C. ( #4669 )
2010-07-02 20:21:20 +00:00
Ludwig Nussel
1434fd1845
fix typo
2010-06-21 07:11:52 +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
368a3be2a6
64bit Windows fix (patch by Marcus Meissner)
2010-04-16 09:29:34 +00:00
Ludwig Nussel
2728dc403a
fix mingw32 build
2010-03-19 08:59:17 +00:00
Ludwig Nussel
760f4a1949
64bit Windows support (patch by Michael Menegakis)
2010-02-28 09:00:02 +00:00
Ludwig Nussel
34d616dbef
enable (dummy) cdkey calls in standalone mode to prevents mods from crashing
2010-02-28 08:58:03 +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
Ludwig Nussel
6f9b34ef75
avoid setting cvars by name each frame
2010-01-06 13:47:41 +00:00
Ludwig Nussel
9b1a3387cb
fix mumble coordinate transmission
2010-01-06 13:47:38 +00:00
Ludwig Nussel
42b8b8ecec
make reason for voip disable more visible
2010-01-06 13:47:35 +00:00
Ludwig Nussel
6ebc650542
set default rate to broadband
2010-01-06 13:47:32 +00:00
Ludwig Nussel
4abf1aa398
mmap could fail, handle gracefully
2010-01-04 16:02:01 +00:00
Ludwig Nussel
f19d437564
update mumble link interface for version 1.2
2010-01-04 14:12:18 +00:00
Tim Angus
fc05ba7f46
* Fix some compiler warnings
2010-01-03 22:37:14 +00:00
Tim Angus
4056c90358
* Rate limit getstatus and rcon connectionless requests
2010-01-03 22:12:20 +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
a405637985
* Handle SIGINT
2009-12-24 01:39:30 +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
Tim Angus
d33e24b6d8
* Remove r_displayRefresh as it's not connected to anything, now
2009-12-18 20:02:39 +00:00
Tim Angus
8b0f1a6737
* Rephrase broken compiler warning
2009-11-18 20:26:44 +00:00
Thilo Schulz
10cdcdb0a1
Forgot this one
2009-11-14 01:59:01 +00:00
Tim Angus
3b63c54a24
* Fix demo playback being broken, not entirely sure by what or when
2009-11-11 10:51:33 +00:00
Thilo Schulz
04c5efd739
Fix possible buffer overflow in console, thanks to John Ellis for the patch.
2009-11-10 02:17:32 +00:00
Thilo Schulz
be0a82d496
- Add stopmusic command
...
- Make cvar s_muted read-only
2009-11-10 01:55:54 +00:00
Thilo Schulz
2a0812bc06
Mute sounds with 0 volume when game is minimized/unfocused instead of Stopping all sounds. Fixes ( #4336 )
2009-11-10 01:08:15 +00:00
Thilo Schulz
e8ae8f5d3a
Remove leftover stub
2009-11-10 00:25:48 +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
eee5498019
Zakk wisheth - Thilo answereth ( #4070 )
...
Use cg_drawWeapon 2/3 to make weapon left-handed/centered
2009-11-09 12:23:03 +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
Tim Angus
c98df5ad58
* Make window centering optional, defaulting to off
2009-11-06 15:34:05 +00:00
Thilo Schulz
223b851b7b
Commit two patches from SmokingGuns's Tequila, fixing problems with very fast movers and a typo in the string drawing function. ( #4329 ) and ( #4330 )
2009-11-06 12:02:02 +00:00
Thilo Schulz
4ba2452f83
Use new Sys_SetEnv here
2009-11-06 10:50:16 +00:00
Tim Angus
568cf2732a
* Fix to GLimp_DetectAvailableModes not sorting the first returned mode
2009-11-05 20:29:26 +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
Ludwig Nussel
e8f5d5055d
fix wrong strcpy usage ( #4331 , patch by Andreas Bierfert)
2009-11-04 18:13:05 +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
Thilo Schulz
d574e10bc4
Ugh. Forgotten )
2009-11-03 20:44:16 +00:00
Thilo Schulz
bd2ab9bffd
- implement r_noborder, inspired by patch from ensiform ( #4289 )
...
- Add Sys_SetEnv for portable setting of environment variables
- Default ioquake3 to appear on the center of the screen if running in windowed mode.
2009-11-03 20:29:43 +00:00
Thilo Schulz
f5d79ea066
Fix bug where game freezes in infinite loop because it doesn't find a spawn point on maps with many bot/human-only spawnpoints. Thanks Pan for reporting this
2009-11-03 13:28:52 +00:00
Thilo Schulz
018de1dd2e
Added TTimo's QuakeLive-style mouse acceleration, thanks Gabriel Schnoering and TTimo for the patch. ( #3693 )
2009-11-02 16:17:10 +00:00
Ludwig Nussel
3d7d2d9f5b
check all jumps ( #4249 )
2009-11-01 19:58:27 +00:00
Ludwig Nussel
12189381b5
fix cmp imm reg
2009-11-01 19:58:25 +00:00
Ludwig Nussel
da31866f6d
report memory violations in debug mode
2009-11-01 19:58:21 +00:00
Ludwig Nussel
4722d311fd
better range checks
2009-11-01 19:58:18 +00:00
Ludwig Nussel
b7eae0dca5
implement immediate argument for call
2009-11-01 19:58:16 +00:00
Ludwig Nussel
ed98f65d10
optimize const before jump
2009-11-01 19:58:12 +00:00
Ludwig Nussel
a7dee44def
check const jump argument
2009-11-01 19:58:09 +00:00
Ludwig Nussel
469c986640
more security checks in interpreter ( #4249 )
2009-11-01 19:58:07 +00:00
Ludwig Nussel
cc9a74a218
Define stack sizes at central place
...
also reverts bug 4282 as stack is included in bss already so nothing that needs fixing
2009-11-01 19:58:03 +00:00
Tony J. White =
698127ad32
* Updated to SDL 1.2.14. For future reference, the command you can't
...
remember is: 'install_name_tool -id @executable_path/libSDL-1.2.0.dylib
libSDL-1.2.0.dylib'
2009-10-29 03:09:07 +00:00
Tim Angus
9f6cee30d3
* Remove disabling of stdout/err redirection on windows as it doesn't work
...
(since the environment variable is acted upon by the SDL_main stuff, which
happens before our main)
2009-10-27 11:48:18 +00:00
Thilo Schulz
e345f9f81f
New batch of fixes for the OpenAL part:
...
- Don't play sources outside the listening range (Thanks Kpaxian for bringing this to my attention)
- Handle previously unhandled errors for old OpenAL sample implementation which does not support AL_SEC_OFFSET (sounds won't be synchronized then),
thanks to Tequila from SmokingGuns for reporting this.
2009-10-27 11:13:33 +00:00
Thilo Schulz
0ecfcfa872
Make not playing loop sources weaker in priority, so if we have reached the maximum number of sources, inaudible loops are removed first.
2009-10-26 23:20:05 +00:00