xonotic/darkplaces.git
7 weeks agoOptimize VectorNormalize macros by not doing the sqrt on 0 length, this also means... master
Ashley 'LadyHavoc' Hale [Tue, 10 May 2022 20:31:29 +0000 (13:31 -0700)]
Optimize VectorNormalize macros by not doing the sqrt on 0 length, this also means it should be more friendly to the CPU intrinsics for 1/sqrt in a single instruction

2 months agoResolved .gitignore conflict
Ashley 'LadyHavoc' Hale [Mon, 2 May 2022 07:09:15 +0000 (00:09 -0700)]
Resolved .gitignore conflict

2 months agoUpdate SDL2.nuget package to 2.0.22, add some more things to .gitignore.
Ashley 'LadyHavoc' Hale [Mon, 2 May 2022 07:07:14 +0000 (00:07 -0700)]
Update SDL2.nuget package to 2.0.22, add some more things to .gitignore.

2 months agoAdded convex.[ch] to compute brush shapes from point clouds for use in experimental...
Ashley 'LadyHavoc' Hale [Mon, 2 May 2022 07:05:28 +0000 (00:05 -0700)]
Added convex.[ch] to compute brush shapes from point clouds for use in experimental visibility code I'm tinkering with

2 months agoAdd CONTRIBUTING.md for contributing guidelines
Cloudwalk [Fri, 22 Apr 2022 23:43:39 +0000 (19:43 -0400)]
Add CONTRIBUTING.md for contributing guidelines

Signed-off-by: Cloudwalk <cloudwalk@icculus.org>
3 months agoMerge PR 'Curl improvements'
bones_was_here [Sun, 27 Mar 2022 16:17:00 +0000 (02:17 +1000)]
Merge PR 'Curl improvements'

Curl versions older than 7.57.0 (found on Debian Stretch and older) do
not implicitly initialize openssl, which leads https requests to fail.

In the course of debugging this issue verbose curl requests were needed,
so that has also been added as a cvar.

https://github.com/DarkPlacesEngine/darkplaces/pull/36

commits: ceaa16c78a1f43165206566d4f9c872664f7e680
1a711173535d4b5f4364b66177745aab165330d8

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
3 months agoMerge PR 'Add a third masterextra and default it to dpm.dpmaster.org'
bones_was_here [Sun, 27 Mar 2022 15:46:28 +0000 (01:46 +1000)]
Merge PR 'Add a third masterextra and default it to dpm.dporg'

dpm.dpmaster.org has been serving as a xonotic master (as
dpm4.xonotic.xyz and dpm6.xonotic.xyz) for three months now, and I offer
it here in hopes it's of use.

https://github.com/DarkPlacesEngine/darkplaces/pull/33

commits: 8289ce6a72d06635b6667d7e6e80ee0890ea7c09

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
3 months agoExplicitly initialize openssl for older curl versions
Gary Moon [Sat, 26 Mar 2022 21:15:31 +0000 (17:15 -0400)]
Explicitly initialize openssl for older curl versions

Signed-off-by: Gary Moon <gary@garymoon.net>
3 months agoAdding developer_curl to print verbose curl output
Gary Moon [Sat, 26 Mar 2022 21:14:46 +0000 (17:14 -0400)]
Adding developer_curl to print verbose curl output

Signed-off-by: Gary Moon <gary@garymoon.net>
3 months agoAdd a third masterextra and default it to dpm.dpmaster.org
Gary Moon [Sun, 20 Mar 2022 18:49:32 +0000 (14:49 -0400)]
Add a third masterextra and default it to dpm.dporg

dpm.dpmaster.org has been serving as a xonotic master (as
dpm4.xonotic.xyz and dpm6.xonotic.xyz) for three months now, and I offer
it here in hopes it's of use.

Signed-off-by: Gary Moon <gary@garymoon.net>
3 months agoAdd cvar snd_cdautopause: optional CD track pause during game pause 130/head
bones_was_here [Fri, 18 Mar 2022 07:28:57 +0000 (17:28 +1000)]
Add cvar snd_cdautopause: optional CD track pause during game pause

Previously it was mandatory and if not desired, had to be hacked around
with stuffcmd.

Also fixes:
- the CD track always being resumed when resuming from game pause,
even when muted, Ref: CDAudio_SetVolume()
- bgmvolume < 0 not pausing the CD track

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
4 months agoStart render module CL_MeshEntities immediately prior to Models
bones_was_here [Mon, 28 Feb 2022 18:16:58 +0000 (04:16 +1000)]
Start render module CL_MeshEntities immediately prior to Models

Fixes https://gitlab.com/xonotic/darkplaces/-/issues/366

Starting CL_MeshEntities any later can cause the bug during r_restart.

ca03733fba98709e25d9a02882ac947f4144af6a effectively added dependency
of the Models module on the CL_MeshEntities module,
at least in certain situations where starting the Models module
results in calls to Draw_CachePic() and DrawQ_*()
which trigger the bug when they call Mod_Mesh_GetTexture().

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
4 months agoImprove debug logging for render modules
bones_was_here [Mon, 28 Feb 2022 18:00:19 +0000 (04:00 +1000)]
Improve debug logging for render modules

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
4 months agoREADME, sdl, sys, makefile: Bring up macOS support
Cloudwalk [Mon, 21 Feb 2022 02:30:56 +0000 (21:30 -0500)]
README, sdl, sys, makefile: Bring up macOS support

* Fixed up the makefile to support modern macOS builds
* Fixed up sys.h to detect macOS properly
* Added macOS build instructions. Dependencies are now fetched using Homebrew.
* Remove now-unneeded SDLMain.h and .m files

Signed-off-by: Cloudwalk <cloudwalk@icculus.org>
4 months agoREADME: Add link to Matrix space
bones_was_here [Fri, 11 Feb 2022 07:36:57 +0000 (17:36 +1000)]
README: Add link to Matrix space

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
4 months ago README: Remove Discord invite link. The Discord server is now deprecated
Cloudwalk [Fri, 4 Feb 2022 04:07:56 +0000 (23:07 -0500)]
 README: Remove Discord invite link. The Discord server is now deprecated

I'm unable to sustain the DarkPlaces engine community on Discord. They have
falsely disabled my main account and now my second account, this time
without an email explaining the reason. I have a 3rd account that is still
active. They have not responded to my emails asking for them to review
the ban of my main account and they have the gall to nuke my second
account as well.

They are flooded with support tickets likely because it is incredibly easier
to hijack a Discord account than any other account due to the simple fact
that Discord does NOT require email verification to change passwords. God
only knows what other horrors lie beneath that Eldritch abomination of
duct-taped JavaScript.

I was not banned from Discord as I was able to create the third account using
the same IP address. They ban IPs if you're banned from Discord. I can no
longer, in good conscience, give this shit, incompetent, bullshit company
a single neuron of mindshare going forward. Other arrangements for a community
hangout are to be determined but are not available at this time. The IRC,
obviously, remains available.

Until they get their shit together (if they do), FUCK Discord and FUCK
everything they stand for.

Signed-off-by: Cloudwalk <cloudwalk@icculus.org>
5 months agoMerge PR 'sv_gameplayfix_stepmultipletimes 1: Prevent players moving too far/fast...
bones_was_here [Sun, 16 Jan 2022 20:54:53 +0000 (06:54 +1000)]
Merge PR 'sv_gameplayfix_stepmultipletimes 1: Prevent players moving too far/fast when stepping up a staircase'

After the player made some horizontal progress, and before stepping up, it's necessary to recalculate the remaining time and distance for the move. Previously the step up made the player travel (up to) nearly the move's full distance, again.

https://github.com/DarkPlacesEngine/darkplaces/pull/10

branch: bones_was_here/stepup_distance
commits: 365e221966b15c24c6e2f4cbb6e619b0db443ebf

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoMerge PR 'sv_gameplayfix_stepmultipletimes 1: Make stepping up while jumping reliable'
bones_was_here [Sun, 16 Jan 2022 20:52:00 +0000 (06:52 +1000)]
Merge PR 'sv_gameplayfix_stepmultipletimes 1: Make stepping up while jumping reliable'

When the player is hard up against a solid surface trying to climb up, they are blocked from gaining any significant speed by the solid, so the distance they could potentially move into the solid at that speed can be well under 0.03125 units, causing the step up to fail.

The same can happen when the player is stepping up with less than 0.03125 units of distance left on their move, causing them to stop dead when climbing stairs at speed with sv_gameplayfix_stepmultipletimes 1.

https://github.com/DarkPlacesEngine/darkplaces/pull/11

branch: bones_was_here/stepup_reliability
commits: 4c6cb7882855468365644ac65b6eb86a3e82a812

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoMerge MR 'Set groundentity when sv_gameplayfix_downtracesupportsongroundflag detects...
bones_was_here [Sun, 16 Jan 2022 20:45:18 +0000 (06:45 +1000)]
Merge MR 'Set groundentity when sv_gameplayfix_downtracesupportsongroundflag detects a floor'

Fixes movers not carrying players who walk onto them with no z
velocity, when sv_gameplayfix_nogravityonground is enabled

https://github.com/DarkPlacesEngine/darkplaces/pull/23

branch: bones_was_here/walking_groundentity_fix
commits: 7ea07939bef0cbe85c54d9f68cb924198b0b1f64

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoMerge MR 'Make trace entity culling optional for spectators'
bones_was_here [Thu, 13 Jan 2022 04:29:57 +0000 (14:29 +1000)]
Merge MR 'Make trace entity culling optional for spectators'

https://gitlab.com/xonotic/darkplaces/-/merge_requests/115
https://github.com/DarkPlacesEngine/darkplaces/pull/13

branch: bones_was_here/trace
commits: 2c1140a494598d75a12c01f82d7c9accff974fbb

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoDoxygen: more tweaks
bones_was_here [Wed, 12 Jan 2022 17:35:20 +0000 (03:35 +1000)]
Doxygen: more tweaks

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoDoxygen: disable CALL_GRAPH and CALLER_GRAPH
bones_was_here [Wed, 12 Jan 2022 15:26:38 +0000 (01:26 +1000)]
Doxygen: disable CALL_GRAPH and CALLER_GRAPH

Many of these graphs are too huge and complex to be readable,
and they use > 8GiB on disk and a lot of CPU time to generate.
They can be enabled for specific funcs if required.

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months ago.gitignore: add kdevelop files
bones_was_here [Wed, 12 Jan 2022 15:02:52 +0000 (01:02 +1000)]
.gitignore: add kdevelop files

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoCOPYING: Remove formfeed characters that don't serve any purpose but make vscode...
Cloudwalk [Sun, 9 Jan 2022 15:55:09 +0000 (10:55 -0500)]
COPYING: Remove formfeed characters that don't serve any purpose but make vscode annoyed

5 months agoSet groundentity when sv_gameplayfix_downtracesupportsongroundflag detects a floor bones_was_here/walking_groundentity_fix
bones_was_here [Sun, 9 Jan 2022 11:31:12 +0000 (21:31 +1000)]
Set groundentity when sv_gameplayfix_downtracesupportsongroundflag detects a floor

Fixes movers not carrying players who walk onto them with no z
velocity, when sv_gameplayfix_nogravityonground is enabled

Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/22
sv_gameplayfix_nogravityonground 1 prevents movers from detecting players #22

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoPrevent players moving too far when stepping up bones_was_here/stepup_distance
bones_was_here [Mon, 27 Sep 2021 23:50:35 +0000 (09:50 +1000)]
Prevent players moving too far when stepping up

After the player made some horizontal progress, and before stepping up, it's necessary to recalculate the remaining time and distance for the move. Previously the step up made the player travel (up to) nearly the move's full distance, again.

Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/9
sv_gameplayfix_stepmultipletimes 1: players travel further than their velocity should allow #9

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
5 months agoMake stepping up while jumping reliable bones_was_here/stepup_reliability
bones_was_here [Mon, 27 Sep 2021 23:31:48 +0000 (09:31 +1000)]
Make stepping up while jumping reliable

When the player is hard up against a solid surface trying to climb up, they are blocked from gaining any significant speed by the solid, so the distance they could potentially move into the solid at that speed can be well under 0.03125 units, causing the step up to fail.

The same can happen when the player is stepping up with less than 0.03125 units of distance left on their move, causing them to stop dead when climbing stairs at speed with sv_gameplayfix_stepmultipletimes 1.

Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/8
Stepping up is unreliable #8

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
6 months agoDoxygen: Set DOT_NUM_THREADS to 0, being automatic, disable side bar because its...
LegendGuard [Tue, 28 Dec 2021 22:13:31 +0000 (23:13 +0100)]
Doxygen: Set DOT_NUM_THREADS to 0, being automatic, disable side bar because its visualization is messy (#21)

* Upgrade doxygen version, add better implementations, sidebar added

More updates from Doxygen enhancing document visualization

* Set DOT_NUM_THREADS to 0, being automatic, disable side bar because its visualization is messy

Set DOT_NUM_THREADS to 0, being automatic, disable side bar because its visualization is messy

6 months agoDoxygen: configure logo and add link to README
bones_was_here [Tue, 28 Dec 2021 21:07:33 +0000 (07:07 +1000)]
Doxygen: configure logo and add link to README

6 months agoUpgrade doxygen version, add better implementations, sidebar added (#20)
LegendGuard [Tue, 28 Dec 2021 21:00:56 +0000 (22:00 +0100)]
Upgrade doxygen version, add better implementations, sidebar added (#20)

More updates from Doxygen enhancing document visualization

6 months agoMerge pull request #19 from LegendaryGuard/patch-1: Improving Doxyfile
bones_was_here [Tue, 28 Dec 2021 02:15:10 +0000 (12:15 +1000)]
Merge pull request #19 from LegendaryGuard/patch-1: Improving Doxyfile

Improving Doxyfile, adding GENERATE_TREEVIEW and SEARCHENGINE variable features

6 months agoImproving Doxyfile, adding GENERATE_TREEVIEW and SEARCHENGINE variable features
LegendGuard [Mon, 27 Dec 2021 23:44:25 +0000 (00:44 +0100)]
Improving Doxyfile, adding GENERATE_TREEVIEW and SEARCHENGINE variable features

I would like to propose that there's a Doxygen page in https://xonotic.org/doxygen/darkplaces/, and needs to show a navigation bar and a search engine. Documentation tools need to be improved.

6 months ago.gitignore: Update to ignore .cache directory created by clangd and build directory...
Cloudwalk [Fri, 24 Dec 2021 14:28:42 +0000 (09:28 -0500)]
.gitignore: Update to ignore .cache directory created by clangd and build directory for future cmake system

8 months agoprotocol: Fix off-by-one when appending space in Protocol_Names
Cloudwalk [Mon, 4 Oct 2021 12:25:25 +0000 (08:25 -0400)]
protocol: Fix off-by-one when appending space in Protocol_Names

9 months agocmd: Check for empty cbuf when inserting too
Cloudwalk [Sun, 19 Sep 2021 03:42:58 +0000 (23:42 -0400)]
cmd: Check for empty cbuf when inserting too

9 months agoFix an IO exception on exit when using -condebug because FS_Close was trying to log...
Ashley 'LadyHavoc' Hale [Sat, 18 Sep 2021 21:50:14 +0000 (14:50 -0700)]
Fix an IO exception on exit when using -condebug because FS_Close was trying to log something but the logfile is already closed, now tracks logfile in a local variable so logfile can be set to NULL sooner.

9 months agoFix a bug in Cvar_RegisterVirtual which was corrupting memory when adding a second...
Ashley 'LadyHavoc' Hale [Sat, 18 Sep 2021 21:32:53 +0000 (14:32 -0700)]
Fix a bug in Cvar_RegisterVirtual which was corrupting memory when adding a second alias to a cvar.

9 months agoAdd packages.config to make nuget work for vs2019
Ashley 'LadyHavoc' Hale [Sat, 18 Sep 2021 19:38:22 +0000 (12:38 -0700)]
Add packages.config to make nuget work for vs2019

9 months agocom_list: Require type explicitly. Remove Q_typeof as typeof and decltype are unavail...
Cloudwalk [Fri, 17 Sep 2021 16:02:00 +0000 (12:02 -0400)]
com_list: Require type explicitly. Remove Q_typeof as typeof and decltype are unavailable in MSVC

9 months agoqdefs: Change ALWAYSINLINE -> ALWAYS_INLINE
Cloudwalk [Fri, 17 Sep 2021 14:45:32 +0000 (10:45 -0400)]
qdefs: Change ALWAYSINLINE -> ALWAYS_INLINE

9 months agoqdefs: Check _MSC_VER instead of incorrect MSVC
Cloudwalk [Fri, 17 Sep 2021 14:42:40 +0000 (10:42 -0400)]
qdefs: Check _MSC_VER instead of incorrect MSVC

10 months agosv_main: Add campaign cvar. Set 1 if not coop or deathmatch (Quake rerelease compatib...
Cloudwalk [Fri, 20 Aug 2021 14:22:20 +0000 (10:22 -0400)]
sv_main: Add campaign cvar. Set 1 if not coop or deathmatch (Quake rerelease compatibility)

11 months agocommon: Move com_game headers to new com_game.h
Cloudwalk [Sat, 31 Jul 2021 16:55:59 +0000 (12:55 -0400)]
common: Move com_game headers to new com_game.h

11 months agocommon: Move filematch headers to new filematch.h
Cloudwalk [Sat, 31 Jul 2021 16:45:42 +0000 (12:45 -0400)]
common: Move filematch headers to new filematch.h

11 months agocommon: Move infostring functions to new com_infostring.c
Cloudwalk [Sat, 31 Jul 2021 16:41:58 +0000 (12:41 -0400)]
common: Move infostring functions to new com_infostring.c

11 months agocommon: Update OpenBSD strlcpy and strlcat implementation
Cloudwalk [Sat, 31 Jul 2021 16:27:43 +0000 (12:27 -0400)]
common: Update OpenBSD strlcpy and strlcat implementation

11 months agovs2017: Fix indentation
Cloudwalk [Sat, 31 Jul 2021 16:45:53 +0000 (12:45 -0400)]
vs2017: Fix indentation

11 months agoqdefs: Define separate FLOAT_ and DOUBLE_ versions of lossless format and true for...
Cloudwalk [Fri, 30 Jul 2021 18:04:52 +0000 (14:04 -0400)]
qdefs: Define separate FLOAT_ and DOUBLE_ versions of lossless format and true for int. Define PRVM_ prefixed aliases for either

11 months agoprogs: Extend USEODE ifdef to cover defines too
Cloudwalk [Fri, 30 Jul 2021 17:56:47 +0000 (13:56 -0400)]
progs: Extend USEODE ifdef to cover defines too

11 months agoqdefs: Implement DP_FUNC_ALWAYSINLINE macro for platform-specific inline forcing
Cloudwalk [Fri, 30 Jul 2021 17:55:28 +0000 (13:55 -0400)]
qdefs: Implement DP_FUNC_ALWAYSINLINE macro for platform-specific inline forcing

11 months agomakefile: Delete references to nonexistent files
Cloudwalk [Fri, 30 Jul 2021 16:58:30 +0000 (12:58 -0400)]
makefile: Delete references to nonexistent files

11 months agokeysym2ucs: Delete. Was only used for the GLX client which no longer exists
Cloudwalk [Fri, 30 Jul 2021 16:51:57 +0000 (12:51 -0400)]
keysym2ucs: Delete. Was only used for the GLX client which no longer exists

11 months agosys_win: Delete sys_win and conproc. We no longer use these.
Cloudwalk [Fri, 30 Jul 2021 16:46:03 +0000 (12:46 -0400)]
sys_win: Delete sys_win and conproc. We no longer use these.

11 months agosys: Rename Sys_Print(f)ToTerminal to Sys_Print(f) for consistency
Cloudwalk [Fri, 30 Jul 2021 15:17:02 +0000 (11:17 -0400)]
sys: Rename Sys_Print(f)ToTerminal to Sys_Print(f) for consistency

11 months agosv_save: Call CL_Disconnect and ToggleMenu via hook
Cloudwalk [Thu, 22 Jul 2021 23:13:20 +0000 (19:13 -0400)]
sv_save: Call CL_Disconnect and ToggleMenu via hook

11 months agocl_main: Keep old CL_Disconnect for simplicity. Move guts to CL_DisconnectEx
Cloudwalk [Thu, 22 Jul 2021 23:04:06 +0000 (19:04 -0400)]
cl_main: Keep old CL_Disconnect for simplicity. Move guts to CL_DisconnectEx

11 months agocsqc: Implement builtin #177 "localsound"
Cloudwalk [Thu, 22 Jul 2021 22:25:49 +0000 (18:25 -0400)]
csqc: Implement builtin #177 "localsound"

11 months agolibcurl: Use the generic linked list
Cloudwalk [Thu, 22 Jul 2021 21:31:41 +0000 (17:31 -0400)]
libcurl: Use the generic linked list

11 months agozone: Use the generic linked list
Cloudwalk [Thu, 22 Jul 2021 18:19:57 +0000 (14:19 -0400)]
zone: Use the generic linked list

11 months agocl_main: Fix double free of meshentities texture pool when running gamedir
Cloudwalk [Thu, 22 Jul 2021 16:30:36 +0000 (12:30 -0400)]
cl_main: Fix double free of meshentities texture pool when running gamedir

Implemented start and shutdown routines for its render module

11 months agoMerge branch 'Mario/dpk_support' of gitlab.com:xonotic/darkplaces
Cloudwalk [Thu, 22 Jul 2021 01:47:14 +0000 (21:47 -0400)]
Merge branch 'Mario/dpk_support' of gitlab.com:xonotic/darkplaces

11 months agoprotocol/dp8: Implement parting messages
Cloudwalk [Thu, 22 Jul 2021 01:31:30 +0000 (21:31 -0400)]
protocol/dp8: Implement parting messages

* Extended CL_Disconnect and SV_DropClient for this purpose.
* Add a string parameter to svc_disconnect and clc_disconnect, which
  shall contain the parting message.

11 months agoprotocol: Stub DP8 protocol
Cloudwalk [Thu, 22 Jul 2021 01:22:37 +0000 (21:22 -0400)]
protocol: Stub DP8 protocol

11 months agovid_null: Fix compiler warning on Windows build
Cloudwalk [Wed, 21 Jul 2021 18:59:10 +0000 (14:59 -0400)]
vid_null: Fix compiler warning on Windows build

11 months agomakefile: Remove reference to vid_glx.c as we don't have this anymore
Cloudwalk [Wed, 21 Jul 2021 18:51:02 +0000 (14:51 -0400)]
makefile: Remove reference to vid_glx.c as we don't have this anymore

11 months agolhnet: Use the generic linked list
Cloudwalk [Wed, 21 Jul 2021 18:50:11 +0000 (14:50 -0400)]
lhnet: Use the generic linked list

11 months agomodel_shared: Avoid using R_FrameData_Alloc when building sorted surfaces list
Cloudwalk [Wed, 21 Jul 2021 18:49:35 +0000 (14:49 -0400)]
model_shared: Avoid using R_FrameData_Alloc when building sorted surfaces list

Works around an issue where the r_framedatasize cvar would grow to a
ridiculous size over time. To be investigated further...

11 months agocl_main: Destroy mesh entities on restart to fix memlist getting cluttered
Cloudwalk [Wed, 21 Jul 2021 18:44:16 +0000 (14:44 -0400)]
cl_main: Destroy mesh entities on restart to fix memlist getting cluttered

11 months agocom_list: Actually initialize a list to point to itself...
Cloudwalk [Wed, 21 Jul 2021 18:43:15 +0000 (14:43 -0400)]
com_list: Actually initialize a list to point to itself...

11 months agoode: Disable by default. Minor memory savings in all edict_ts
Cloudwalk [Wed, 21 Jul 2021 16:08:54 +0000 (12:08 -0400)]
ode: Disable by default. Minor memory savings in all edict_ts

11 months agoode: Add more #ifdefs to ensure ODE is fully disabled without -DUSEODE
Cloudwalk [Wed, 21 Jul 2021 22:14:01 +0000 (18:14 -0400)]
ode: Add more #ifdefs to ensure ODE is fully disabled without -DUSEODE

11 months agoedict: Move free and freetime into prvm_edict_t itself
Cloudwalk [Wed, 21 Jul 2021 19:57:40 +0000 (15:57 -0400)]
edict: Move free and freetime into prvm_edict_t itself

11 months agocommon: Use static_assert to prohibit unsafe functions more cleanly. Fixes compile...
Cloudwalk [Wed, 21 Jul 2021 15:49:53 +0000 (11:49 -0400)]
common: Use static_assert to prohibit unsafe functions more cleanly. Fixes compile warning with mingw builds

11 months agocommon: Define DP_STATIC_ASSERT which wraps static_assert
Cloudwalk [Tue, 20 Jul 2021 18:14:54 +0000 (14:14 -0400)]
common: Define DP_STATIC_ASSERT which wraps static_assert

11 months agozone: Pass __FILE__ and __LINE__ to Mem_strdup
Cloudwalk [Tue, 20 Jul 2021 18:10:02 +0000 (14:10 -0400)]
zone: Pass __FILE__ and __LINE__ to Mem_strdup

Made it a macro for _Mem_strdup which is what Mem_strdup was.
We have to call _Mem_Alloc directly to pass __FILE__ and __LINE__
to that function.

11 months agozone: Add Z_ counterparts for Realloc and strdup
Cloudwalk [Tue, 20 Jul 2021 18:05:36 +0000 (14:05 -0400)]
zone: Add Z_ counterparts for Realloc and strdup

11 months agozone: Do a straight malloc on non-Windows
Cloudwalk [Tue, 20 Jul 2021 18:03:39 +0000 (14:03 -0400)]
zone: Do a straight malloc on non-Windows

11 months agoqtypes: Define shorthand typenames for stdint types (i32, u32, etc). Remove the vec5...
Cloudwalk [Sun, 18 Jul 2021 03:36:55 +0000 (23:36 -0400)]
qtypes: Define shorthand typenames for stdint types (i32, u32, etc). Remove the vec5+ types as we have no use for those yet

11 months agocmd: Use a bitshift and subtract to calculate CF_MAXFLAGSVAL
Cloudwalk [Sun, 18 Jul 2021 03:34:20 +0000 (23:34 -0400)]
cmd: Use a bitshift and subtract to calculate CF_MAXFLAGSVAL

11 months agocom_list: Fix spacing. No code changes
Cloudwalk [Wed, 14 Jul 2021 15:08:26 +0000 (11:08 -0400)]
com_list: Fix spacing. No code changes

11 months agoFix file paths.
Rudolf Polzer [Thu, 8 Jul 2021 13:47:53 +0000 (06:47 -0700)]
Fix file paths.

11 months agoAlso actually include the .enc file for the key.
Rudolf Polzer [Thu, 8 Jul 2021 13:31:42 +0000 (06:31 -0700)]
Also actually include the .enc file for the key.

11 months agoNow with new Travis secret key.
Rudolf Polzer [Thu, 8 Jul 2021 12:48:56 +0000 (05:48 -0700)]
Now with new Travis secret key.

This breaks building on srv03 - was impossible to retain anyway due to travis-ci.com migration.

11 months agoRename host_t -> host_static_t.
Rudolf Polzer [Thu, 8 Jul 2021 12:09:01 +0000 (05:09 -0700)]
Rename host_t -> host_static_t.

Fixes build on OS X, as host_t is already a typedef for mach_port_t.

11 months agoTemporarily upload DarkPlaces autobuilds to both Xonotic build servers.
Rudolf Polzer [Thu, 8 Jul 2021 11:35:32 +0000 (04:35 -0700)]
Temporarily upload DarkPlaces autobuilds to both Xonotic build servers.

We are migrating from srv03 to srv04 and moving components one by one.

11 months agocvar: Rename Cvar_RegisterAlias to Cvar_RegisterVirtual
Cloudwalk [Mon, 5 Jul 2021 17:22:36 +0000 (13:22 -0400)]
cvar: Rename Cvar_RegisterAlias to Cvar_RegisterVirtual

They're now called "virtual cvars" to avoid confusion with actual
aliases. And it's just a better name for them.

11 months agoRemove redundant ampersand breaking ContainerOf and List_For_Each_Entry. Make all...
Cloudwalk [Sat, 3 Jul 2021 16:46:00 +0000 (12:46 -0400)]
Remove redundant ampersand breaking ContainerOf and List_For_Each_Entry. Make all current loops use List_For_Each_Entry instead

12 months agoAdd support for the .dpk package format used by Unvanquished Mario/dpk_support 120/head
Mario [Fri, 18 Jun 2021 15:20:49 +0000 (01:20 +1000)]
Add support for the .dpk package format used by Unvanquished

12 months agocom_list.h: Fix copy/paste oversight where List_For_Each_Entry went backwards like...
Cloudwalk [Tue, 8 Jun 2021 12:18:36 +0000 (08:18 -0400)]
com_list.h: Fix copy/paste oversight where List_For_Each_Entry went backwards like its Prev counterpart

13 months agoAdd .md extension to README so it actually parses the markdown
Cloudwalk [Sun, 30 May 2021 15:42:04 +0000 (11:42 -0400)]
Add .md extension to README so it actually parses the markdown

13 months agoAdd a proper README with build instructions and links to the available chats. To...
Cloudwalk [Sun, 30 May 2021 15:17:41 +0000 (11:17 -0400)]
Add a proper README with build instructions and links to the available chats. To be continued.

13 months agocvar: Don't memset cvar->aliases before it's even allocated
Cloudwalk [Sat, 29 May 2021 18:13:00 +0000 (14:13 -0400)]
cvar: Don't memset cvar->aliases before it's even allocated

13 months agocvar, prvm_cmds: Remove redundant Cmd_Exists checks
Cloudwalk [Tue, 25 May 2021 23:21:59 +0000 (19:21 -0400)]
cvar, prvm_cmds: Remove redundant Cmd_Exists checks

13 months agocvar: Rename aliasindex to aliases_size and only use it for size of the aliases array...
Cloudwalk [Tue, 25 May 2021 23:16:07 +0000 (19:16 -0400)]
cvar: Rename aliasindex to aliases_size and only use it for size of the aliases array. Simplify iterating over cvar aliases.

13 months agocvar: Remove unused ignore_callback variable
Cloudwalk [Tue, 25 May 2021 21:19:58 +0000 (17:19 -0400)]
cvar: Remove unused ignore_callback variable

13 months agoAdd/update license headers across various files
Cloudwalk [Tue, 25 May 2021 20:55:20 +0000 (16:55 -0400)]
Add/update license headers across various files

13 months agocurves.c and .h: Remove whitespace at the top of both files
Cloudwalk [Tue, 25 May 2021 20:15:41 +0000 (16:15 -0400)]
curves.c and .h: Remove whitespace at the top of both files

13 months agovpk: Include stdint.h only
Cloudwalk [Tue, 25 May 2021 20:15:04 +0000 (16:15 -0400)]
vpk: Include stdint.h only

13 months agoCREDITS: Add name
Cloudwalk [Tue, 25 May 2021 20:13:41 +0000 (16:13 -0400)]
CREDITS: Add name

13 months agoMerge intoverflow.h into qdefs.h
Cloudwalk [Tue, 25 May 2021 20:13:24 +0000 (16:13 -0400)]
Merge intoverflow.h into qdefs.h