]> git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
10 years agofix a typo
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
::stable-branch::merge=bd6ea691f42e1788efd6bb38447f889d03b9f089

10 years agoadded GAME_SSAMMO
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
::stable-branch::merge=f7d07d8eab555dd446483d77cf9465489a4cf0ec

10 years agorestore the wrapping behavior on tcMod scroll for compatibility reasons
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
::stable-branch::merge=0efdb76a8237a96b860b88341f3b42fe5034e34e

10 years agosupport "declaring" particle effects at the top of the effectinfo file
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

10 years agoInitialize host_dirtytime.
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

10 years agofix several visual studio projects which did not have CONFIG_MENU added
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

10 years agofix a typo
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

10 years agoadded GAME_SSAMMO
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

10 years agorestore the wrapping behavior on tcMod scroll for compatibility reasons
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

10 years agoGLX: Fix desktopfullscreen size when we actually switched to it.
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
::stable-branch::merge=21f2a75b80193c21c1e5458f531445b979f20454

10 years agoFix a compile error on win32 I introduced.
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
::stable-branch::merge=7033142b17600b88c273c2460678b386bf7051dd

10 years agoRework game specific hacks to have a special group for Nexuiz-derived games.
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
::stable-branch::merge=01f19c6c3ff8d4645b8589b3c8274d08a5775af6

10 years agoGame definitions for Vore Tournament
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
::stable-branch::merge=0a9cb13c130407234be6c297af3006258e90bf3d

10 years agoTEMPHACK_origin is no longer needed. Begone!
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
::stable-branch::merge=4cbebb927f4c6705d991608f61ed8e0f68d06f32

10 years agoGLX: Fix desktopfullscreen size when we actually switched to it.
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

10 years agoFix a compile error on win32 I introduced.
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

10 years agoRework game specific hacks to have a special group for Nexuiz-derived games.
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

10 years agoGame definitions for Vore Tournament
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

10 years agoTEMPHACK_origin is no longer needed. Begone!
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

10 years agovid_desktopfullscreen improvements; allow querying the desktop mode
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
::stable-branch::merge=e32c37df7da8febe7fd6d5c97159b3fb01c14717

10 years agorename netwmfullscreen to desktopfullscreen; implement in other drivers (except agl)
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
::stable-branch::merge=ecfa97404a1e344f1617cca6a22863652cd9774e

10 years agoreworked tcmod to wrap shadertime every 9.1 hours (32768 seconds) rather
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
::stable-branch::merge=5927c6f5fe5fd0fcd20072ce6679d9e1c7b4212e

10 years agoset world.absmin and world.absmax in csqc
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
::stable-branch::merge=e0f6398b3b10f91918de43bac33ea3ca093d33c8

10 years agovid_desktopfullscreen improvements; allow querying the desktop mode
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

10 years agorename netwmfullscreen to desktopfullscreen; implement in other drivers (except agl)
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

10 years agoreworked tcmod to wrap shadertime every 9.1 hours (32768 seconds) rather
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

10 years agoset world.absmin and world.absmax in csqc
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

10 years agoFix loading of common.LANGUAGE.po.
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
::stable-branch::merge=9772a3d686ff2cb9958dc3450bd23aca608c20d8

10 years agoFix loading of common.LANGUAGE.po.
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

10 years ago.po support: support common.<language>.po as secondary translation source independent...
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
::stable-branch::merge=668fc41f79b91c7c33baef71384a7c4f88d9a919

10 years agoremove this movetype from CSQC. How did it get there...
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
::stable-branch::merge=75d7c43117740688f30a9ea432ea2638458457b0

10 years agosync dpdefs
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
::stable-branch::merge=385719b2c60565a899cacc94d315aae7bc6fbdd8

10 years ago.po support: support common.<language>.po as secondary translation source independent...
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

10 years agoremove this movetype from CSQC. How did it get there...
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

10 years agosync dpdefs
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

10 years agofix bug in Crypto_RetrieveLocalKey
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
::stable-branch::merge=fa69b3e45b5cf486826fcb9d5865159706c6f0e9

10 years agofix bug in Crypto_RetrieveLocalKey
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

10 years agofix typo, sorry
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
::stable-branch::merge=07179d141ad100dd3f5cec7083b171bdfa96efd4

10 years agofix typo, sorry
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

10 years agoMake d0_rijndael library optional again.
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
::stable-branch::merge=e9b60787543c255b4d6b09c92602cbe63bea95d1

10 years agoMake d0_rijndael library optional again.
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

10 years agoIn prog reset functions, do not call functions unless prog->loaded.
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
::stable-branch::merge=97703839c970c295ba6173da463906bdec6d55cd

10 years agoIn prog reset functions, do not call functions unless prog->loaded.
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

10 years agofix DP_FS_BASEDIR escaping
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
::stable-branch::merge=4f1a1c642316d2f85a4073eb969f962f24ed647b

10 years agofix DP_FS_BASEDIR escaping
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

10 years agoFix name of CONFIG_VIDEO_CAPTURE macro.
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
::stable-branch::merge=18eb1f68267407be6241a6ec5c3612788b153b20

10 years agoRevert "Revert "Build in subdirs"", as the issues seem to be ironed out now.
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
::stable-branch::merge=221a6cb74c3a3b30b9e60247d6e42d7a6fcdebf0

10 years agoaudit all uses of CL_ParticleEffect and CL_ParticleTrail and state box/trail intention
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
::stable-branch::merge=50fbadcbc923f9be4fa7623e60ffb23053a87dc4

10 years agoTreat attempts to draw trails with pointparticles as zero length trails.
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
::stable-branch::merge=2e0f64a4030953216fc8a2ddb8edde7964446258

10 years agoFix name of CONFIG_VIDEO_CAPTURE macro.
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

10 years agoRevert "Revert "Build in subdirs"", as the issues seem to be ironed out now.
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

10 years agoaudit all uses of CL_ParticleEffect and CL_ParticleTrail and state box/trail intention
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

10 years agoTreat attempts to draw trails with pointparticles as zero length trails.
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

10 years agocl_particles_forcetraileffects: emulate old trail behaviour (Xonotic 0.7 compatibility).
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
::stable-branch::merge=0b6f1e79633553434bf6dfaf688fedb3693577c8

10 years agoadded FORCEGAME define for building an engine that runs a specific game
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
::stable-branch::merge=6a744c951b1e31392689e43dc8a578f80fee2e49

10 years agofix an unused variable warning caused by USEODE
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
::stable-branch::merge=cef9c2755d4e93a8f151e0bd9a0bf4db23aef3b1

10 years agocl_particles_forcetraileffects: emulate old trail behaviour (Xonotic 0.7 compatibility).
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

10 years agoadded FORCEGAME define for building an engine that runs a specific game
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

10 years agofix an unused variable warning caused by USEODE
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

10 years agoRevert "Make cdda optional, server does not need to play music" because it
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
::stable-branch::merge=9804c2369e4ac79331fc05bf37655bdf76457f2d

10 years agoSeparate box and trail particles. Makes Xonotic's Nex beam possible again.
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
::stable-branch::merge=45a00f30d21c9f3d3833c6110c034b4fd7106d83

10 years agouse DP_LINK_ZLIB=dlopen on mingw build to reduce compile-time
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
::stable-branch::merge=ba6d310730a671d4e9853fa21d340a4e15d26439

10 years agofix effectinfo.txt trail effects which were honoring the (time-based)
havoc [Thu, 10 Jan 2013 05:36:54 +0000 (05:36 +0000)]
fix effectinfo.txt trail effects which were honoring the (time-based)
count parameter, trailspacing now completely overrides the count
parameter as was assumed by the previous change (11539) that passed time
as count, this only affected network entities (.traileffectnum or
.effects or .modelflags) but was clearly broken

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11877 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d00aedb40af0c386f3e04030c07e348da28aff99

10 years agoRevert "Make cdda optional, server does not need to play music" because it
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

10 years agoSeparate box and trail particles. Makes Xonotic's Nex beam possible again.
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

10 years agoRevert "Build in subdirs"
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
::stable-branch::merge=4c0f7f2923c1028a423b74103660a600045eccf3

10 years agoRevert "Build in subdirs"
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

10 years agoremoved modplug support, the library is too insecure and barely used by
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
::stable-branch::merge=3363fb8484e2d85676337135e41e85e54d72451e

10 years agouse DP_LINK_ZLIB=dlopen on mingw build to reduce compile-time
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

10 years agoremoved modplug support, the library is too insecure and barely used by
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

10 years agoMake cdda optional, server does not need to play music
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
::stable-branch::merge=97b79884ee55276e90c4dd60f9bfde8b9dbbff68

10 years agoBuild in subdirs
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
::stable-branch::merge=5e7af308c146e5f65a87f61d0bead8017047720b

10 years agoUpdate build system, fix and enable ODE by default
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
::stable-branch::merge=7df12163f2fe3193d5709ae8172eeaa5e92933b5

10 years agoAdd ability to reproduce build
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
::stable-branch::merge=0045f24071e7bcc56bd56ebc6336516b375c5675

10 years agomake clock_gettime default (since 2.6.28 it is NTP-adjusted)
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
::stable-branch::merge=1a700cf9b44c8561c251534f14ec5959e5987f33

10 years agoMake cdda optional, server does not need to play music
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

10 years agoBuild in subdirs
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

10 years agoUpdate build system, fix and enable ODE by default
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

10 years agoAdd ability to reproduce build
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

10 years agomake clock_gettime default (since 2.6.28 it is NTP-adjusted)
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

10 years agofix alpha screenshots
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
::stable-branch::merge=25c58f3e1261fe284d0baff0dc2cd058418a0b90

10 years agofix alpha screenshots
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

10 years agofix typo leading to DP_PHYSICS_ODE not being detectable
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
::stable-branch::merge=582514acb6661a300191aace9afa4ad603f80455

10 years agoFix C++ typecast/linkage specification errors.
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
::stable-branch::merge=90d40131f6af428615cd0c0531c3e94f3c1cb792

10 years agoSteel Storm additions for mobile (EluanCM)
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
::stable-branch::merge=a0465ad2ee16719587b0b7a80d4c1c2f7df1ac0e

10 years agomoved #include <SDL.h> above #include "quakedef.h"
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
::stable-branch::merge=b5acdcbcacd63769c1547732596a90b4c773855f

10 years agofix an unused variable warning with USE_GLES2
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
::stable-branch::merge=e66d8b8a94503f2af68166f7d8aef3d74ed3d153

10 years agoadded #ifndef DP_MOBILETOUCH on the command history and ip logging
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
::stable-branch::merge=b4dcb08525484896d8f1d1b8439ccd0af572dd73

10 years agowe need to #include <SDL.h> before #include "quakedef.h"
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
::stable-branch::merge=ac6eb650d9fadc3066e1af72b4afe2d127a1edec

10 years agoCmd_ExecuteString now calls Cbuf_LockThreadMutex
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
::stable-branch::merge=2c2e33bbedfd3363e3c0429966e4b8dc05c60120

10 years agonew #define DP_FREETYPE_STATIC for compiling with freetype linked
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
::stable-branch::merge=17e35850369cf01ca9af0e90112bb5238ab51ca9

10 years agofix typo leading to DP_PHYSICS_ODE not being detectable
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

10 years agoFix C++ typecast/linkage specification errors.
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

10 years agoSteel Storm additions for mobile (EluanCM)
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

10 years agomoved #include <SDL.h> above #include "quakedef.h"
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

10 years agofix an unused variable warning with USE_GLES2
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

10 years agoadded #ifndef DP_MOBILETOUCH on the command history and ip logging
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

10 years agowe need to #include <SDL.h> before #include "quakedef.h"
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

10 years agoCmd_ExecuteString now calls Cbuf_LockThreadMutex
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

10 years agonew #define DP_FREETYPE_STATIC for compiling with freetype linked
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