]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Thu, 30 Jan 2014 02:05:50 +0000 (02:05 +0000)]
allow .rtlights files to have style values outside the range
0...MAX_LIGHTSTYLES - in particular, -1 is used by fte for unstyled
lights and this is a compatible behavior, just that the loader was
getting in the way.
for safety the MAX_LIGHTSTYLES comparison has been added to each use of
light->style in rendering.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12052
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 24 Jan 2014 16:39:06 +0000 (16:39 +0000)]
Fix some d0_blind_id related bugs:
- Higher numbered CAs should have priority over lower numbered CAs,
making CA 0 the "default" CA.
- Fix the "Authenticated connection to ..." message (no more -@- crap).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12051
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 18 Jan 2014 11:19:45 +0000 (11:19 +0000)]
Always pass CDS_FULLSCREEN to ChangeDisplaySettings, fixes #1797.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12050
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 10 Jan 2014 18:53:30 +0000 (18:53 +0000)]
sdl2: fix mouse wheel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12049
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 10 Jan 2014 18:38:11 +0000 (18:38 +0000)]
sdl2: fix compile.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12048
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 8 Jan 2014 16:02:04 +0000 (16:02 +0000)]
Support statementprofiling in the fast interpreter.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12047
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 8 Jan 2014 16:02:01 +0000 (16:02 +0000)]
Restructure profiling to allow easier statement coverage later.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12046
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 8 Jan 2014 16:01:58 +0000 (16:01 +0000)]
Use PreError() for warnings too. Simpler code!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12045
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 7 Jan 2014 19:22:59 +0000 (19:22 +0000)]
Use an explicit jump table for QCVM instruction dispatch.
Also, duplicate the dispatch into the end of each case for additional
speedup (each of these branches gets a separate branch prediction slot
on many CPUs, which pays off quickly).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12044
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 7 Jan 2014 16:29:29 +0000 (16:29 +0000)]
Better coverage output.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12043
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 7 Jan 2014 16:29:25 +0000 (16:29 +0000)]
COVERAGE! Also fixes prvm always running as PRVMSLOWINTERPRETER :(
Very basic implementation. Needs a persistent store later, I suppose, as
well as better output (e.g. for statements and coverage(), also show
function, file and line).
prvm_coverage 1: report function call coverage
prvm_coverage 2: report coverage() builtin coverage (compiler aided)
prvm_coverage 4: report statement coverage (SLOW)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12042
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 7 Jan 2014 16:29:21 +0000 (16:29 +0000)]
Fix some warnings.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12041
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 10:00:04 +0000 (10:00 +0000)]
Patch by graphitemaster to support column number enhanced lno format.
From: Dale Weiler <killfieldengine@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12040
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:49:47 +0000 (09:49 +0000)]
Disable r_water_hideplayer while in chase camera view
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12039
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:46 +0000 (09:48 +0000)]
CSQC entity sending rework.
Properly support returning FALSE from a CSQC entity to mean "remove".
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12038
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:43 +0000 (09:48 +0000)]
Kill csqcentityglobalhistory.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12037
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:40 +0000 (09:48 +0000)]
Give CSQC entity scopes names.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12036
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Jan 2014 12:46:04 +0000 (12:46 +0000)]
Fix cl_curl_maxspeed 0 + sv_curl_maxspeed > 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12035
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 3 Jan 2014 08:26:05 +0000 (08:26 +0000)]
Unbreak most of sv_ratelimitlocalplayer.
A redesign to move the rate stuff from function parameters into the
netconn struct needs doing.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12034
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 23 Dec 2013 10:52:33 +0000 (10:52 +0000)]
"log_file_stripcolors" cvar to strip colors from log_file;
Also add condump_stripcolors.
From: nitroxis <nitroxis@wtwrp.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12033
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Dec 2013 13:04:19 +0000 (13:04 +0000)]
ENTITYSIZEPROFILING: also log entity number and sendflags.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12032
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Dec 2013 01:22:30 +0000 (01:22 +0000)]
Upgrade CL_VM_InputEvent to using floats rather than ints, this keeps
the precision on fractional absolute mouse positions.
Changed CL_VM_InputEvent passing of relative mouse moves to no longer
scale by vid_conwidth, vid_conheight as this goes against the intention
in most cases (where mouse turning or similar is being achieved).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12031
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 Dec 2013 10:15:36 +0000 (10:15 +0000)]
don't try to validate parameters to an opcode that is unrecognized
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12030
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Nov 2013 02:49:09 +0000 (02:49 +0000)]
Patch from graphitemaster adding r_fxaa cvar, this enables the popular pseudo-antialiasing method in postprocess.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12029
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Nov 2013 20:14:31 +0000 (20:14 +0000)]
patch from Blub to make BSDmakefile work again, this also changes the
build directories from obj/ to build-obj/ due to pmake having a peculiar
fondness for obj/
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12028
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Nov 2013 06:06:41 +0000 (06:06 +0000)]
suppress shadow entities when preparing an rtlight with shadows
disabled, this way we don't call R_AnimCache_GetEntity on each one
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12027
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Nov 2013 06:36:48 +0000 (06:36 +0000)]
enable CONFIG_CD on Visual Studio projects, somehow only CONFIG_MENU was added... which meant the cd command was missing, so even if hardware cd playback was not wanted it also lost the ability to play music entirely.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12026
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 16 Oct 2013 20:53:13 +0000 (20:53 +0000)]
clarify in_pitch_* cvar descriptions about upward/downward values
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12025
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 13 Oct 2013 16:40:38 +0000 (16:40 +0000)]
Software tcmod/tcgen: skip if pass needs no texcoords. Fixes #1326.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12024
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 Oct 2013 14:43:19 +0000 (14:43 +0000)]
Netconn: when an encrypted connection is used, randomly set one or more of three unused NETFLAGs.
When AES encryption is enabled, this will then work around substring
matching in routers/IPS thanks to CBC and our method of IV selection.
See "startkeylogger". Note that this neither improves nor weakens
security - SSL e.g. has the very issue we're fixing here because it is
based on TCP, and thus resends always are identical payloads.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12023
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:15:03 +0000 (17:15 +0000)]
Update m_draw prototype in dpdefs.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12022
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:12:47 +0000 (17:12 +0000)]
Add SLIF_CATEGORY for the server list, and a menu QC function to set it.
Callback:
float m_gethostcachecategory(float entry_id) {
// Is supposed to use gethostcachestring() etc. and return a
// category integer.
// The server list is sorted by this category first if
// SLSF_CATEGORIES is set in the sort flags.
}
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12021
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:09:20 +0000 (17:09 +0000)]
Allow refreshserverlist() to also clear the list like net_slist command.
Usage: refreshserverlist(TRUE);
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12020
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 16:53:28 +0000 (16:53 +0000)]
sv_checkforpacketsduringsleep: perform a netconn master server frame
immediately. Fixes ping view in server browser.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12019
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 9 Oct 2013 12:55:05 +0000 (12:55 +0000)]
Fix cl_curl_enabled 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 30 Sep 2013 19:52:54 +0000 (19:52 +0000)]
support "declaring" particle effects at the top of the effectinfo file
Now "effect EFFECTNAME" without any fields set is harmless; the slot it creates
will be used by a later "effect EFFECTNAME" definition.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12017
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 29 Sep 2013 11:47:50 +0000 (11:47 +0000)]
Initialize host_dirtytime.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12016
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 23:27:19 +0000 (23:27 +0000)]
fix several visual studio projects which did not have CONFIG_MENU added
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12015
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 20:54:23 +0000 (20:54 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 20:47:40 +0000 (20:47 +0000)]
added GAME_SSAMMO
added another column to gameinfo for the network filter name (gamename
for master server), and now replaces spaces with _ characters
automatically when using -customgamename, added
-customgamenetworkfiltername to override this if desired
this is necessary to resolve an issue where games whose names contain
spaces were not being supported by dpmaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12013
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 21 Sep 2013 18:30:38 +0000 (18:30 +0000)]
restore the wrapping behavior on tcMod scroll for compatibility reasons
(this matches Quake3 logic)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12012
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Sep 2013 07:22:34 +0000 (07:22 +0000)]
GLX: Fix desktopfullscreen size when we actually switched to it.
Should fix a few possible issues with getresolution(-1) on a multihead
setup with some window managers.
Also, remove a superfluous memory allocation on GLX when not using
DPSOFTRAST.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12011
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Sep 2013 07:15:58 +0000 (07:15 +0000)]
Fix a compile error on win32 I introduced.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12010
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 12:19:24 +0000 (12:19 +0000)]
Rework game specific hacks to have a special group for Nexuiz-derived games.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12009
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 12:19:20 +0000 (12:19 +0000)]
Game definitions for Vore Tournament
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12008
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 11:49:40 +0000 (11:49 +0000)]
TEMPHACK_origin is no longer needed. Begone!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12007
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Sep 2013 09:33:21 +0000 (09:33 +0000)]
vid_desktopfullscreen improvements; allow querying the desktop mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12006
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 17 Sep 2013 19:38:35 +0000 (19:38 +0000)]
rename netwmfullscreen to desktopfullscreen; implement in other drivers (except agl)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12005
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 17 Sep 2013 01:17:53 +0000 (01:17 +0000)]
reworked tcmod to wrap shadertime every 9.1 hours (32768 seconds) rather
than attempting to fixup precision issues in tcmod scroll, which was
breaking shaders that had other tcmod effects after tcmod scroll (or if
they used clampmap)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12004
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 15 Sep 2013 18:54:47 +0000 (18:54 +0000)]
set world.absmin and world.absmax in csqc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12003
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 12 Sep 2013 12:43:08 +0000 (12:43 +0000)]
Fix loading of common.LANGUAGE.po.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12002
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 11 Sep 2013 14:58:18 +0000 (14:58 +0000)]
.po support: support common.<language>.po as secondary translation source independent from progs filename
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12001
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 29 Aug 2013 12:55:48 +0000 (12:55 +0000)]
remove this movetype from CSQC. How did it get there...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12000
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 29 Aug 2013 12:40:35 +0000 (12:40 +0000)]
sync dpdefs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11999
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 22 Aug 2013 14:45:18 +0000 (14:45 +0000)]
fix bug in Crypto_RetrieveLocalKey
From: Jan Behrens <zykure@web.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11998
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Aug 2013 10:15:09 +0000 (10:15 +0000)]
fix typo, sorry
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11997
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 8 Aug 2013 09:42:21 +0000 (09:42 +0000)]
Make d0_rijndael library optional again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11996
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 6 Aug 2013 13:40:35 +0000 (13:40 +0000)]
In prog reset functions, do not call functions unless prog->loaded.
This fixes segfaults in case progs loading itself may have caused Host_Error.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11995
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 3 Aug 2013 16:03:26 +0000 (16:03 +0000)]
fix DP_FS_BASEDIR escaping
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11994
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 3 Aug 2013 12:48:23 +0000 (12:48 +0000)]
Fix name of CONFIG_VIDEO_CAPTURE macro.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11993
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 3 Aug 2013 12:48:18 +0000 (12:48 +0000)]
Revert "Revert "Build in subdirs"", as the issues seem to be ironed out now.
Revert "Revert "Make cdda optional, server does not need to play music" because it", as its requirements are there now.
Do not include menu QC support in server builds.
Author: Nikoli
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11992
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 29 Jul 2013 10:50:09 +0000 (10:50 +0000)]
audit all uses of CL_ParticleEffect and CL_ParticleTrail and state box/trail intention
Should fix Nexuiz.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11991
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 29 Jul 2013 10:50:06 +0000 (10:50 +0000)]
Treat attempts to draw trails with pointparticles as zero length trails.
This means they will get dlight, and count/countabsolute do get applied.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11990
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 28 Jul 2013 13:58:09 +0000 (13:58 +0000)]
cl_particles_forcetraileffects: emulate old trail behaviour (Xonotic 0.7 compatibility).
When this is set, trail effects are always drawn, even if a box is requested.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11989
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 28 Jul 2013 00:11:33 +0000 (00:11 +0000)]
added FORCEGAME define for building an engine that runs a specific game
regardless of executable name (this basically overrides the executable
name check)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11988
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 28 Jul 2013 00:10:50 +0000 (00:10 +0000)]
fix an unused variable warning caused by USEODE
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11987
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 27 Jul 2013 10:36:19 +0000 (10:36 +0000)]
Revert "Make cdda optional, server does not need to play music" because it
depends on having separate build directories. No hard feelings, Nikoli, when
separate build directories work again, feel free to revert this revert.
This reverts commit
97b79884ee55276e90c4dd60f9bfde8b9dbbff68 .
Conflicts:
makefile.inc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11986
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 27 Jul 2013 10:24:22 +0000 (10:24 +0000)]
Separate box and trail particles. Makes Xonotic's Nex beam possible again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11985
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 27 Jul 2013 10:06:26 +0000 (10:06 +0000)]
Revert "Build in subdirs"
This reverts commit
f41e93d3e84e082d4728e3d6a9aadb3ca686a9b9 .
Conflicts:
BSDmakefile
makefile.inc
From: Matthias Krüger <matthias.krueger@famsik.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11984
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 27 Jul 2013 09:29:35 +0000 (09:29 +0000)]
use DP_LINK_ZLIB=dlopen on mingw build to reduce compile-time
dependencies
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11983
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 26 Jul 2013 19:01:50 +0000 (19:01 +0000)]
removed modplug support, the library is too insecure and barely used by
anyone
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11982
d7cf8633 -e32d-0410-b094-
e92efae38249
nikoli [Fri, 26 Jul 2013 08:19:12 +0000 (08:19 +0000)]
Make cdda optional, server does not need to play music
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11981
d7cf8633 -e32d-0410-b094-
e92efae38249
nikoli [Fri, 26 Jul 2013 04:27:29 +0000 (04:27 +0000)]
Build in subdirs
Now this command works fine:
make cl-debug sdl-release sv-release-profile -j9
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11980
d7cf8633 -e32d-0410-b094-
e92efae38249
nikoli [Wed, 24 Jul 2013 16:27:58 +0000 (16:27 +0000)]
Update build system, fix and enable ODE by default
Fixed crash when running in Hardened Gentoo with libode installed.
Fixed building and running with USEODE disabled.
Use same LINK_TO_NAME, LIB_NAME, CFLAGS_NAME style for dependencies.
Link to libz and libode by default.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11979
d7cf8633 -e32d-0410-b094-
e92efae38249
nikoli [Wed, 24 Jul 2013 16:13:57 +0000 (16:13 +0000)]
Add ability to reproduce build
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11978
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 24 Jul 2013 11:44:30 +0000 (11:44 +0000)]
make clock_gettime default (since 2.6.28 it is NTP-adjusted)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11977
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 22 Jul 2013 14:47:00 +0000 (14:47 +0000)]
fix alpha screenshots
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11976
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 22 Jul 2013 14:39:25 +0000 (14:39 +0000)]
fix typo leading to DP_PHYSICS_ODE not being detectable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11975
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Sun, 21 Jul 2013 22:04:34 +0000 (22:04 +0000)]
Fix C++ typecast/linkage specification errors.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11974
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 05:44:37 +0000 (05:44 +0000)]
Steel Storm additions for mobile (EluanCM)
engine support for Android (EluanCM's port, some cleanup by Forest Hale)
engine support for iPhoneOS (Forest Hale)
credit: EluanCM, myself (Forest Hale)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11973
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 04:07:25 +0000 (04:07 +0000)]
moved #include <SDL.h> above #include "quakedef.h"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11972
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 04:05:48 +0000 (04:05 +0000)]
fix an unused variable warning with USE_GLES2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11971
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 04:03:07 +0000 (04:03 +0000)]
added #ifndef DP_MOBILETOUCH on the command history and ip logging
credit: EluanCM
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11970
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 04:00:01 +0000 (04:00 +0000)]
we need to #include <SDL.h> before #include "quakedef.h"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11969
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 03:59:09 +0000 (03:59 +0000)]
Cmd_ExecuteString now calls Cbuf_LockThreadMutex
credit: EluanCM
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11968
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 17 Jul 2013 03:54:31 +0000 (03:54 +0000)]
new #define DP_FREETYPE_STATIC for compiling with freetype linked
directly rather than runtime loaded
credit: EluanCM
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11967
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 13 Jul 2013 10:15:35 +0000 (10:15 +0000)]
New rate burst handling; cvars: cl_rate_burstsize, net_usesizelimit, net_burstreserve
This supports some kind of packet size bursting to give better experience at
small rates. Can be controlled by the client.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11966
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 8 Jul 2013 09:39:13 +0000 (09:39 +0000)]
implement curl --cachepic and curl --skinframe (experimental)
which can load textures from the web
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11965
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 7 Jul 2013 06:42:11 +0000 (06:42 +0000)]
fix a serious issue with CSQC frametime being non-zero on both calls
when using stereo rendering, it is now zero on the second eye so that
frametime does not lie
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11964
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 29 Jun 2013 11:21:01 +0000 (11:21 +0000)]
oops... fix nul termination. luckily not exploitable.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11963
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 27 Jun 2013 06:55:10 +0000 (06:55 +0000)]
reenabled index buffers on GLES2 path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11962
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 27 Jun 2013 06:20:52 +0000 (06:20 +0000)]
fix severe (crashing) bugs with two calls to qglDrawElements when using
index buffers (this bug was hidden by gl_mesh_drawrangeelements being 1
by default)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11961
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 27 Jun 2013 05:57:31 +0000 (05:57 +0000)]
remove cvar gl_mesh_prefer_short_elements because many draw calls do not
even provide an element3i to use
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11960
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 27 Jun 2013 05:53:59 +0000 (05:53 +0000)]
allow use of cvar gl_vbo_dynamicindex in RENDERPATH_GLES2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11959
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 19 Jun 2013 02:47:18 +0000 (02:47 +0000)]
further optimizations for gl_vbo_dynamicvertex and gl_vbo_dynamicindex
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11958
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 19 Jun 2013 01:42:17 +0000 (01:42 +0000)]
gl_vbo_dynamicvertex and gl_vbo_dynamicindex now use R_BufferData_Store
rather than the much slower path they used before
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11957
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 19 Jun 2013 01:27:59 +0000 (01:27 +0000)]
some cleanup of glDelete calls to guard against bugs caused by GL
changing the binding when we delete a currently active object
fix a major resource leak by calling R_FrameData_NewFrame and
R_BufferData_NewFrame earlier so that they work when disconnected
improved gl_vbostats output
clarify some logic related to r_batch_dynamicbuffer
don't bother destroying a temporary vertex buffer that we end up
destroying as part of the array cleanup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11956
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jun 2013 23:01:15 +0000 (23:01 +0000)]
fix a critical bug with r_restart or vid_restart in R_BufferData_Reset
where it did not properly reset all buffers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11955
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jun 2013 21:08:14 +0000 (21:08 +0000)]
renamed r_bufferdatasize_ cvars to r_buffermegs_ to give them new good
values, as the old cvar increase logic was badly bugged and would
arbitrarily increase them when not necessary
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11954
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jun 2013 20:51:30 +0000 (20:51 +0000)]
removed allowfail flag on R_BufferData_Store and made cvar management
more consistent, increased the buffer cycle to 3 frames
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11953
d7cf8633 -e32d-0410-b094-
e92efae38249