xonotic/darkplaces.git
10 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

11 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

11 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

11 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

11 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

11 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.

11 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

13 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

14 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

14 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.

14 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.

14 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

14 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

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

14 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

15 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)

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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.

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

16 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

16 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

16 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

16 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...

16 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

16 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...

16 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

16 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

16 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

16 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

16 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

16 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.

16 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

16 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

16 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

16 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

16 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

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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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

17 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

17 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

17 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

17 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.

18 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

18 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

18 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.

18 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

18 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

18 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

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

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

18 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

18 months agocmd: Add comments to better explain the overly complicated cbuf system, to aid later...
Cloudwalk [Tue, 25 May 2021 03:21:50 +0000 (23:21 -0400)]
cmd: Add comments to better explain the overly complicated cbuf system, to aid later rewriting

18 months agoAdd the Visual Studio .vs folder to gitignore.
Ashley 'LadyHavoc' Hale [Mon, 24 May 2021 01:26:10 +0000 (18:26 -0700)]
Add the Visual Studio .vs folder to gitignore.

18 months agoAdd CREDITS.md. To be continued... (contact information, who did what, etc)
cloudwalk [Sun, 16 May 2021 18:23:53 +0000 (18:23 +0000)]
Add CREDITS.md. To be continued... (contact information, who did what, etc)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13142 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoclient: Add SV_Shutdown hook and remove all direct calls in non-server code. Lock...
cloudwalk [Fri, 14 May 2021 16:24:24 +0000 (16:24 +0000)]
client: Add SV_Shutdown hook and remove all direct calls in non-server code. Lock the server mutex within SV_Shutdown itself. Call the hook directly from CL_Disconnect.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13141 d7cf8633-e32d-0410-b094-e92efae38249

18 months agosv_main: Remove redundant client variable set from server code
cloudwalk [Fri, 14 May 2021 16:23:59 +0000 (16:23 +0000)]
sv_main: Remove redundant client variable set from server code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13140 d7cf8633-e32d-0410-b094-e92efae38249

18 months agocl_parse: Remove redundant disconnect print
cloudwalk [Fri, 14 May 2021 16:23:35 +0000 (16:23 +0000)]
cl_parse: Remove redundant disconnect print

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13139 d7cf8633-e32d-0410-b094-e92efae38249

18 months agocl_parse: break on qw_svc_disconnect instead of return, consistent with regular svc_d...
cloudwalk [Fri, 14 May 2021 16:23:09 +0000 (16:23 +0000)]
cl_parse: break on qw_svc_disconnect instead of return, consistent with regular svc_disconnect

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13138 d7cf8633-e32d-0410-b094-e92efae38249

18 months agocl_demo: Move demo playback functionality to a separate function
cloudwalk [Fri, 14 May 2021 16:22:44 +0000 (16:22 +0000)]
cl_demo: Move demo playback functionality to a separate function

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13137 d7cf8633-e32d-0410-b094-e92efae38249

18 months agosv_save: Remove SV_CanSave hook and just call it directly. Move it to sv_save.c
cloudwalk [Fri, 14 May 2021 16:22:19 +0000 (16:22 +0000)]
sv_save: Remove SV_CanSave hook and just call it directly. Move it to sv_save.c

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13136 d7cf8633-e32d-0410-b094-e92efae38249

18 months agohost: Clean it up. Give some functions new names and new homes.
cloudwalk [Fri, 14 May 2021 16:22:11 +0000 (16:22 +0000)]
host: Clean it up. Give some functions new names and new homes.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13135 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoUpdate a few cl_* cvar descriptions
cloudwalk [Mon, 10 May 2021 02:47:42 +0000 (02:47 +0000)]
Update a few cl_* cvar descriptions

(cherry picked from commit 90ac504e2287c6750d931ea1d741cca178759667)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13134 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoFix a possible divide by zero in Mod_PSKMODEL_Load.
havoc [Sun, 9 May 2021 20:21:47 +0000 (20:21 +0000)]
Fix a possible divide by zero in Mod_PSKMODEL_Load.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13133 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoFix some warnings in MSVC++2019. Add SDL2-nuget package as a dependency of the MSVC...
havoc [Sun, 9 May 2021 20:16:20 +0000 (20:16 +0000)]
Fix some warnings in MSVC++2019.  Add SDL2-nuget package as a dependency of the MSVC++2019 project.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13132 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoOptimize FS_FileExtension 116/merge
cloudwalk [Sun, 9 May 2021 04:45:06 +0000 (04:45 +0000)]
Optimize FS_FileExtension

(cherry picked from commit f7c1ec5c94e7356ac7ab9061c3c1f6fac6010336)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13131 d7cf8633-e32d-0410-b094-e92efae38249

18 months agoRevert "gl_draw, model_shared: Refactor vertex adding. Add faster codepath that skips...
cloudwalk [Sun, 9 May 2021 04:45:05 +0000 (04:45 +0000)]
Revert "gl_draw, model_shared: Refactor vertex adding. Add faster codepath that skips hash function for drawing lines. Modest improvement in netgraph performance."

This reverts commit 5ad6c0e8577478422c10d7ae79fb61b88ac5ae85.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13130 d7cf8633-e32d-0410-b094-e92efae38249

19 months agocmd: Merge cmd_client and cmd_server into cmd_local. Third time's a charm. 97/merge
cloudwalk [Tue, 20 Apr 2021 18:39:54 +0000 (18:39 +0000)]
cmd: Merge cmd_client and cmd_server into cmd_local. Third time's a charm.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13129 d7cf8633-e32d-0410-b094-e92efae38249

19 months agomenu: Partially implement MQC built-in #352 (registercommand). Not enabled yet due...
cloudwalk [Tue, 20 Apr 2021 13:24:11 +0000 (13:24 +0000)]
menu: Partially implement MQC built-in #352 (registercommand). Not enabled yet due to design considerations.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13128 d7cf8633-e32d-0410-b094-e92efae38249

19 months agoprvm: Deduplicate console command handler
cloudwalk [Tue, 20 Apr 2021 13:24:10 +0000 (13:24 +0000)]
prvm: Deduplicate console command handler

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13127 d7cf8633-e32d-0410-b094-e92efae38249

19 months agocmd: Use per-interpreter hooks to handle commands, to replace an ugly hack
cloudwalk [Tue, 20 Apr 2021 13:24:09 +0000 (13:24 +0000)]
cmd: Use per-interpreter hooks to handle commands, to replace an ugly hack

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13126 d7cf8633-e32d-0410-b094-e92efae38249

19 months agosys: Don't bother doing Host_Shutdown on Sys_Error
cloudwalk [Sat, 17 Apr 2021 17:12:48 +0000 (17:12 +0000)]
sys: Don't bother doing Host_Shutdown on Sys_Error

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13125 d7cf8633-e32d-0410-b094-e92efae38249

19 months agocl_main: Slight refactor 14/merge
cloudwalk [Tue, 13 Apr 2021 16:31:44 +0000 (16:31 +0000)]
cl_main: Slight refactor

Authored by bones_was_here and Cloudwalk
https://gitlab.com/xonotic/darkplaces/-/merge_requests/116

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13124 d7cf8633-e32d-0410-b094-e92efae38249

19 months agocom_list: Move all functions to the header and inline them. Include where needed
cloudwalk [Tue, 13 Apr 2021 16:31:41 +0000 (16:31 +0000)]
com_list: Move all functions to the header and inline them. Include where needed

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13123 d7cf8633-e32d-0410-b094-e92efae38249

19 months agohost: Move Host_GetConsoleCommands and rename it for consistency. Add comment
cloudwalk [Tue, 13 Apr 2021 16:31:41 +0000 (16:31 +0000)]
host: Move Host_GetConsoleCommands and rename it for consistency. Add comment

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13122 d7cf8633-e32d-0410-b094-e92efae38249

19 months agocurl: Rename Curl_Run to Curl_Frame. Fix typo in comment
cloudwalk [Tue, 13 Apr 2021 16:31:40 +0000 (16:31 +0000)]
curl: Rename Curl_Run to Curl_Frame. Fix typo in comment

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13121 d7cf8633-e32d-0410-b094-e92efae38249

19 months agohost, netconn: Use cvar callbacks on (cl_)port to reduce branching in main loop
cloudwalk [Tue, 13 Apr 2021 16:31:40 +0000 (16:31 +0000)]
host, netconn: Use cvar callbacks on (cl_)port to reduce branching in main loop

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13120 d7cf8633-e32d-0410-b094-e92efae38249

19 months agohost: Refactor Host_Frame; simplify control flow.
cloudwalk [Tue, 13 Apr 2021 16:31:39 +0000 (16:31 +0000)]
host: Refactor Host_Frame; simplify control flow.

Authored by bones_was_here and Cloudwalk
https://gitlab.com/xonotic/darkplaces/-/merge_requests/116

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13119 d7cf8633-e32d-0410-b094-e92efae38249