Thilo Schulz
1ea7ab1f42
Fix menu corruption on IRIX ( #5097 ), patch by Rainer Canavan
2011-07-29 11:42:57 +00:00
Thilo Schulz
2349148cf1
- Apply parts of Ben Millwood's target bitfield patch ( #3787 )
...
- Fix Ryan's FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer
- Improve voip target parsing on top of Ben Millwood's patch
- Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance)
(#4467 )
- Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency
- Protocol version incremented to 71
2011-07-27 15:47:29 +00:00
Thilo Schulz
41ac8a232a
Bug 5096 - Define PRODUCT_VERSION in q_shared.h if it is not, patch by Zack Middleton
2011-07-27 00:04:29 +00:00
Thilo Schulz
62757b28f4
Fix last "noreturn" warnings
2011-07-27 00:02:45 +00:00
Thilo Schulz
b6a4aa3ecc
Include q_shared.h instead of redefining these
2011-07-26 23:56:21 +00:00
Thilo Schulz
c4f739b8d0
Fix extension name comparison for DLL files
2011-07-24 22:12:21 +00:00
Tim Angus
22552c7bab
* Replace usage of system with fork/exec
2011-07-24 22:01:50 +00:00
Thilo Schulz
1972bf97db
Fix client crash on windows with old OpenAL
2011-07-22 16:43:27 +00:00
Thilo Schulz
59e9bb9ed3
Bug 5084 - [patch] add support for Debian cross compiling, by q3urt.undead@gmail.com
2011-07-18 22:27:25 +00:00
Thilo Schulz
5cad803e58
Revert attribute patch from r2090 because the jpeg functions really shouldn't be deviating from the codebase unnecessarily
2011-07-18 22:04:22 +00:00
Thilo Schulz
dd859ae43d
Shut up returning functions with noreturn attribute warning
2011-07-18 22:02:16 +00:00
Tim Angus
b248479376
* Fix various issues with unix Sys_Dialog
2011-07-18 19:32:25 +00:00
Thilo Schulz
66f0777552
- Bug 5083 - Cross compiling for 64bit is missing libcurl.a
...
- Fix a compiler warning for cross compile
2011-07-18 16:32:36 +00:00
Thilo Schulz
9dc32d55e2
Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2011-07-18 14:56:57 +00:00
Thilo Schulz
69a7ada911
Fix delta compression breaking due to packet queuing
2011-07-18 14:23:54 +00:00
Tim Angus
ea6cf5fda9
* Use specific exit code for xmessage
2011-07-18 10:14:04 +00:00
Thilo Schulz
8a831d34ab
Fix legacy protocol with new packet queueing
2011-07-17 23:43:33 +00:00
Thilo Schulz
242c938d7f
Fix alignment issues in message sending/reading that would crash IRIX, thanks to Canavan for supplying a shell where I could fix this ( #5077 )
2011-07-17 01:41:39 +00:00
Thilo Schulz
4c5e9963e3
Fix compile for USE_VOIP=0
2011-07-16 11:14:20 +00:00
Thilo Schulz
ac054c198d
Bug 5075 - Fix comments in quake3 configs, patch by q3urt.undead@gmail.com
2011-07-16 11:06:56 +00:00
Thilo Schulz
e6ba500164
Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.c
2011-07-15 16:51:54 +00:00
Thilo Schulz
58a5d3d383
Have server send protocol version in challengeResponse so protocol negotiation works. (Where did this one get lost?)
2011-07-15 14:49:51 +00:00
Thilo Schulz
f6d6ed4b30
- Revert back to Z_Malloc from Hunk_FreeTempMemory introduced in r2077 as Hunk_FreeTempMemory must be freed in LIFO order ( #5079 )
...
- Introduce SV_ClientFree() to prevent memory leaks r2077 was supposed to fix
2011-07-15 14:44:06 +00:00
Thilo Schulz
265d6e0374
Remove one unnecessary loop in the beginning
2011-07-13 19:16:25 +00:00
Thilo Schulz
1c3ecb3d3c
- Make sure at least one round of download packets and packet queues gets sent each frame
...
- Fix timeVal select timeout value for case of unlimited data rate and now downloads are active
2011-07-13 18:57:32 +00:00
Thilo Schulz
d827447da8
- Forgot to mention: last rev (2077) bumped default protocol version to 70
...
- Fix queued packet rate control
2011-07-13 18:37:26 +00:00
Thilo Schulz
ac30d86db0
- Improve snapshot rate and data rate control
...
- Make server send packet fragments and queued packets when server is idle
- Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary
- Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much
- Disable packet scrambling for new protocol as it is useless now
- Get rid of the old packet scrambling functions predating latest point release
- Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak when client gets disconnected with packets in the queue
- Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when client gets disconnected with download blocks in the queue
- Fix SV_RateMsec to account for udp/udp6 packet lengths
2011-07-13 17:11:30 +00:00
Thilo Schulz
a844c94af1
- Add dual protocol support to team arena demo selector
...
- Fix demo selection in team arena menu on case sensitive file systems
- Some changes in the way how vanilla q3 demo file lists are compiled in the menu
2011-07-13 08:40:30 +00:00
Thilo Schulz
e06c117e9e
- Implement dual protocol support ( #4962 )
...
- Fix several UDP spoofing security issues
2011-07-12 11:59:48 +00:00
Thilo Schulz
309c322b80
Forgot to set default rate back to 100kbyte/s
2011-07-12 11:01:49 +00:00
Thilo Schulz
e52a492f61
- Greatly improve UDP downloading speed for clients
...
- Add download rate control cvar sv_dlRate
- Don't send snapshots to downloading clients
2011-07-12 11:01:20 +00:00
Thilo Schulz
1d880da777
Permit downloading files larger than 65 Megabytes via UDP by working around short int wraparound.
2011-07-12 00:34:25 +00:00
Thilo Schulz
7c5ec6aac4
Bug 5069 - Remove unused variable console_color, by uZu
2011-07-08 13:09:59 +00:00
Thilo Schulz
f011fe9914
Bug 5066 - Plasmagun and BFG don't play the explosion when they hit players, patch by Ensiform
2011-07-07 23:14:31 +00:00
Thilo Schulz
cbd3c24542
Bug 5067 - Remove references to unused teamtournament gametype. Toggle areaportal on mover ents where due is needed, patch by Ensiform
2011-07-07 23:13:20 +00:00
Thilo Schulz
b8627b8774
Fix indentation
2011-07-07 23:05:09 +00:00
Thilo Schulz
0ed9c43453
Make naming a bit more foolproof for new macro
2011-07-07 16:21:06 +00:00
Thilo Schulz
7666c2f54c
Add fixes to ui menu by Ensiform and DevHC ( #5062 )
2011-07-07 16:12:53 +00:00
Thilo Schulz
74e538ffcf
- Add better protection against DoSing connecting users from connecting
...
- Have Com_sprintf return string length
- add STR_LEN macro for static strings
2011-07-07 16:07:58 +00:00
Thilo Schulz
53d89b6c10
More color fixes for railgun
...
Show other players' railgun color and their firetime state.
Show snapshot client's color on world item models of railgun.
Fix the impact mark using color2 (spiral) rather than color1 (beam).
Credits go to Ensiform and Harekiet for the refire portion.
2011-06-28 08:28:12 +00:00
Thilo Schulz
c52bfbd5a8
All patches by Zack Middleton:
...
- Bug 5057 - Two weapon number range checks allows invalid number
- Bug 5058 - Railgun explosion cannot be colorized
- Bug 5059 - Client's railgun does not glow in third person and mirror
- Bug 5060 - Warning in RAVENMD4 R_GetAnimTag cross compiling with amd64-mingw32
2011-06-27 23:53:40 +00:00
Thilo Schulz
2f502aceb2
- Fix opStack size for vm_x86.c
...
- Change opStack alignment to 16 for vm_x86_64.c
2011-06-27 20:22:32 +00:00
Thilo Schulz
774ed53948
Make g_doWarmup archived cvar
2011-06-25 20:36:36 +00:00
Thilo Schulz
8a72bbb38f
Make sound fallback behaviour for music streams less verbose
2011-06-25 09:35:03 +00:00
Thilo Schulz
5c4813da51
Add forced VM unloading to Com_Quit_f
2011-06-25 09:05:57 +00:00
Thilo Schulz
88f1fc7500
Fix ipv6 server query
2011-06-25 00:17:44 +00:00
Thilo Schulz
fe7b088de2
Get rid of redundancy
2011-06-24 23:25:30 +00:00
Thilo Schulz
eda3faccea
Fix grenade rotation ends always the orientation ( #5053 ), patch by Eugene C.
2011-06-24 13:15:03 +00:00
Thilo Schulz
23ceb05c87
Correct fix to ( #5051 ), patch by Roughael
2011-06-24 13:10:45 +00:00
Thilo Schulz
19f54e5400
Allow recursive VM entry for VM operations as well
2011-06-23 00:00:27 +00:00