summaryrefslogtreecommitdiff
path: root/src/qcommon/q_shared.h
AgeCommit message (Collapse)Author
2017-03-09implement part 2 of the multi-protocol functionality: pk3 control/dev/humancontroller
this contains a simple method to control the serving of alternate pk3 files to clients using the alternate-2 protocol (69); there's also a fixup for the VoIP part the new fs_pk3PrefixPairs cvar has the format "P1&A1|P2&A2|...", where, for each i, Pi and Ai are corresponding primary and alternate pk3 filename prefixes, one of which one may be empty (eg. "P1&|&A2|...") to denote no correspondence
2017-03-09implement part 1 of the multi-protocol functionality: protocols/dev/humancontroller
this contains support for connecting via, and serving simultaneously via, any of the three protocols: latest, GPP and 1.1 alternate-1 means protocol 70 (GPP), alternate-2 means protocol 69 (1.1) relevant cvars: - net_alternateProtocols - net_alt{1|2}port[6] - sv_alt{1|2}master{1|...|5} - sv_clAltProto{0|..|63}
2017-03-09increase MAX_SAY_TEXT to 800/dev/humancontroller
2017-02-07fix compilation with MSVC/dev/humancontroller
TODO: uhm, _snprintf()... WRONG ?
2015-03-17Add facility to describe cvarsTim Angus
2015-03-17Add ColorIndexForNumber macro replacing '& 0x07'Pan7
Makes it easier to add more colors.
2014-06-17Various adjustments so it compilesTim Angus
2014-06-17Bunch of comment fixesTequila
2014-06-17Check for shaders without closing braceZack Middleton
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-03-27Fix some warnings caused by lack of noreturnTim Angus
2013-02-16Update copyright noticesTim Angus
2013-01-13Update src/qcommon/q_shared.hM. Kristall
ioq3 merge prevented servers from showing up on the master The Tremulous master server expects HEARTBEAT_FOR_MASTER to be the same as GAMENAME_FOR_MASTER, but dpmaster wants DarkPlaces
2013-01-12Fix a bunch of warningsTim Angus
2013-01-12Remove old FIXME, pmove_framecount isn't networkedZack Middleton
2013-01-12Fix function prototype for Info_RemoveKey_Big. Pointed out by Ensiform.Zack Middleton
2013-01-12Remove references to non-existent functions CM_MarkFragments and CM_LerpTag.Zack Middleton
2013-01-12REFACTOR [reletive -> relative]Zack Middleton
From /dev/humancontroller.
2013-01-12never set groundEntityNum to -1, use ENTITYNUM_NONE insteadZack Middleton
From /dev/humancontroller.
2013-01-12Enable zone and hunk debug in debug build.Zack Middleton
2013-01-10* Fix various warnings with GCC and clangTim Angus
2013-01-10Fix auto game-restart when disconnecting from a server that explicitly set ↵Thilo Schulz
fs_game to "baseq3" instead of ""
2013-01-10Fix compilation on non-x86 platforms, by Simon McVittieThilo Schulz
2013-01-10- Switch master server protocol to dpmaster for better game separation. ↵Thilo Schulz
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.
2013-01-10- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's ↵Thilo Schulz
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
2013-01-10Bug 5096 - Define PRODUCT_VERSION in q_shared.h if it is not, patch by Zack ↵Thilo Schulz
Middleton
2013-01-10Fix extension name comparison for DLL filesThilo Schulz
2013-01-10Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions ↵Thilo Schulz
etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2013-01-10Make naming a bit more foolproof for new macroThilo Schulz
2013-01-10- Add better protection against DoSing connecting users from connecting - ↵Thilo Schulz
Have Com_sprintf return string length - add STR_LEN macro for static strings
2013-01-10More color fixes for railgunThilo Schulz
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.
2013-01-10- align sse control word storage space to 16 byte boundary for snapvector - ↵Thilo Schulz
replace some whitespace with tabs in snapvector.c - Give gcc a bit more freedom in choice of registers
2013-01-09Fix #if macros for idx64 and id386Thilo Schulz
2013-01-09- Fix macro that uses constant float suffix as argument - retval variables ↵Thilo Schulz
in ftola.c must have type long, not int
2013-01-09- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 ↵Thilo Schulz
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
2013-01-09- Remove Q_strrchr(), replace with standard, portable strrchr() - Add ↵Thilo Schulz
strrchr() to bg_lib.c, patch by DevHC
2013-01-09Choose better alignment for heavy-duty rendering structures, patch by Matt ↵Thilo Schulz
Turner (#4981)
2013-01-09- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973) - ↵Thilo Schulz
Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
2013-01-09Revert protocol 69 pending further discussion (#4962)Thilo Schulz
2013-01-09- Harden the client and server protocol against UDP spoofing attacks. This ↵Thilo Schulz
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
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Merge ioq3-r1813Tim Angus
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1752Tim Angus
2013-01-03* Indent wrapped chat lines to avoid potential imitation exploitsTim Angus
2013-01-03* (bug 3961) Fix the taunt delay to no longer be cancelled by jumping. Note ↵Christopher Schwarz
that even with this change it is still possible to spam taunt sounds on the client end due to mispredicts. However, others will not hear/see them. (Thanks kevlarman, Cadynum)
2013-01-03* Various small style fixes/corrections/changes (Undeference, Timbo, benmachine)Christopher Schwarz
* Restore /ignore functionality to a couple message types I forgot (Undeference) * Fix some color bleeds on names (Rezyn) * Fix an uninitialized buffer in featured labels (Rezyn) * Apply team colors to only the letter and not the brackets too, in cg_chatteamprefix (Undeference) * Default cg_drawcrosshairs 2, crosshairs for everything (kevlarman)
2013-01-03* (bug 4306) Fix display formatting between different types of chat textChristopher Schwarz
* Support parsing /say_area out of /say * General cleanups/refactors to messaging code
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* (bug 4295) Add an option to view Tremulous news to the main menuChristopher Schwarz