Zachary J. Slater
5555788867
Merge pull request #103 from openmoh/ioq3-intro
...
Have custom intro cinematics for standalone game
2015-12-28 08:56:20 -08:00
SmileTheory
2f77a98afe
Use Windows uninstall path to find Steam Quake 3 install.
...
Thanks Pan- and Ensiform for pointing this out.
2015-09-25 04:55:41 -07:00
Zack Middleton
7e96fd9cb6
Make steam path optional at compile time for standalone games
2015-09-22 19:25:16 -05:00
Zack Middleton
750fdc0e43
Align indent of defines at top of q_shared.h to 4 space tabs
2015-09-22 19:05:46 -05:00
SmileTheory
f860a753e0
Add Steam's Quake 3 Arena dir to game dirs on Windows.
2015-09-17 02:53:19 -07:00
Michael Rieder
7c5feef6a2
Have custom intro cinematics for standalone game
2015-01-07 23:47:18 +01:00
Tim Angus
f83334d81b
Add facility to describe cvars
2014-09-26 14:29:51 +01:00
Pan7
18e08125dd
Add ColorIndexForNumber macro replacing '& 0x07'
...
Makes it easier to add more colors.
2014-08-28 20:09:37 -05:00
Tequila
baca82d64e
Bunch of comment fixes
2014-03-13 02:20:54 +01:00
Zack Middleton
6b13806066
Fix getting servers from and being listed on id's q3 master server
...
Use q3 master protocol when com_gamename is Quake3Arena (the default), otherwise use dpmaster protocol.
2013-07-07 16:31:36 -05:00
Zack Middleton
3ec2b02dce
Check for shaders without closing brace
...
Shaders without closing brace can eat shaders in other files.
Pass depth to SkipBracedSection instead of reparsing text as it messed up parse line numbers.
2013-06-02 21:55:19 -05:00
Zack Middleton
693e51c654
Remove old FIXME, pmove_framecount isn't networked
2013-01-11 17:29:39 -06:00
Zack Middleton
29c406c9ec
Fix function prototype for Info_RemoveKey_Big. Pointed out by Ensiform.
2012-11-29 17:09:28 +00:00
Zack Middleton
1f8db4c14a
Remove references to non-existent functions CM_MarkFragments and CM_LerpTag.
2012-11-19 05:48:27 +00:00
Zack Middleton
ad5c5c32a6
REFACTOR [reletive -> relative]
...
From /dev/humancontroller.
2012-06-18 16:32:03 +00:00
Zack Middleton
4bd24d3182
never set groundEntityNum to -1, use ENTITYNUM_NONE instead
...
From /dev/humancontroller.
2012-06-18 16:28:39 +00:00
Zack Middleton
5c1ddf4020
Enable zone and hunk debug in debug build.
2011-12-08 22:24:48 +00:00
Tim Angus
fd986dae06
* Fix various warnings with GCC and clang
2011-10-27 21:32:28 +00:00
Thilo Schulz
de182882f1
Fix auto game-restart when disconnecting from a server that explicitly set fs_game to "baseq3" instead of ""
2011-08-24 14:47:57 +00:00
Thilo Schulz
c1b3b6f0be
Fix compilation on non-x86 platforms, by Simon McVittie
2011-08-05 12:11:27 +00:00
Thilo Schulz
ba385fa43c
- Switch master server protocol to dpmaster for better game separation. Based partly on patch by Zack Middleton
...
- Get rid of ugly cvars sv_heartbeat and cl_gamename and replace with single com_gamename
- Remove sv_flatline. Flatlines are ignored by dpmaster and are considered to be insecure because flatlines can be udp-spoofed.
2011-07-29 13:46:50 +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
c4f739b8d0
Fix extension name comparison for DLL files
2011-07-24 22:12:21 +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
e06c117e9e
- Implement dual protocol support ( #4962 )
...
- Fix several UDP spoofing security issues
2011-07-12 11:59:48 +00:00
Thilo Schulz
0ed9c43453
Make naming a bit more foolproof for new macro
2011-07-07 16:21:06 +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
664f8e578d
- align sse control word storage space to 16 byte boundary for snapvector
...
- replace some whitespace with tabs in snapvector.c
- Give gcc a bit more freedom in choice of registers
2011-06-22 14:36:11 +00:00
Thilo Schulz
a447aa82af
Fix #if macros for idx64 and id386
2011-06-15 14:10:20 +00:00
Thilo Schulz
bb8f40531b
- Fix macro that uses constant float suffix as argument
...
- retval variables in ftola.c must have type long, not int
2011-06-13 10:39:42 +00:00
Thilo Schulz
03201aff22
- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
...
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms
2011-06-13 09:56:39 +00:00
Thilo Schulz
b003422d92
- Fix lokisetup makefile problems
...
- Bump version number to 1.36
2011-05-15 14:49:38 +00:00
Thilo Schulz
b509d770a7
- Remove Q_strrchr(), replace with standard, portable strrchr()
...
- Add strrchr() to bg_lib.c, patch by DevHC
2011-05-15 14:08:03 +00:00
Thilo Schulz
3ddc59a3ba
move MIN/MAX definition, use MIN() instead of min(), patch by DevHC
2011-05-15 13:27:24 +00:00
Thilo Schulz
5f63ab9160
Choose better alignment for heavy-duty rendering structures, patch by Matt Turner ( #4981 )
2011-05-09 23:39:40 +00:00
Thilo Schulz
876fd7dcb9
- Add HOMEPATH default name define to q_shared.c, patch by uZu ( #4973 )
...
- Reverted change from (#4972 ) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
2011-05-04 15:39:35 +00:00
Thilo Schulz
d34c6b7e0b
Revert protocol 69 pending further discussion ( #4962 )
2011-04-27 20:17:45 +00:00
Thilo Schulz
a5580d8974
- Harden the client and server protocol against UDP spoofing attacks. This will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt ( #3041 )
...
- Retains full compatibility to the old but unsecure protocol between clients and servers
- Harden the connection process against DoS attacks, possibly connected to UDP spoofing
2011-04-27 16:03:35 +00:00
Thilo Schulz
6a203bc8e9
- Fix data alignment issue with glReadPixel call, reported by Guillaume Bougard ( #4954 )
...
- Fix data alignment issue in raw AVI recording for weird resolutions (like 1366x768)
2011-04-18 16:06:10 +00:00
Thilo Schulz
8c3f320504
( #3767 ) Some protection from malicious qvms - patches and ideas by Amanieu d'Antras and Ben Millwood
2011-03-08 01:39:34 +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
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
Thilo Schulz
3b40467599
Finally fix missionpack compiling for STANDALONE=1, yes, this is tested.
2011-02-09 00:42:54 +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
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
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