Revert renamings from 591877ee0c64958303dcbb4f2af3d343a420cf6a Pragmatically speaking, absent any good reason otherwise, naming conventions for functions like Sys_Error should remain consistent with Quake for developer sanity.
sys: improve error and crash handling Renames Sys_Error to Sys_Abort (now using the Engine Abort message) for clarity (as distinct from the non-fatal Host_Error). Includes the engine version in the Crash and Abort SDL dialogs. Linux: includes the glibc backtrace in the Engine Crash SDL dialog. Fixes CTRL+C not working while the SDL dialog is open. Fixes a double Sys_Error/Sys_Abort when memory corruption was detected. Windows: omits colours when printing a Crash to stderr (not supported). Makes signal handling (mostly) POSIX async-signal-safe. Fixes a slight bug in PRVM_ShortStackTrace(). Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
com: rename BSD strlcpy and strlcat The C standard reserves str* and mem* for the implementation. Checking for BSD or OS X is not a robust way to determine if libc provides these (eg glibc may implement them). Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
Rename sv_gameplayfix_customstats to sv_qcstats, improve description It's an API change not a gameplay change. Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
Minor sv_cullentities refactoring
Improve reliability and documentation of portal camera eyes Not all traces will succeed so we need to add the eye if a trace succeeded within some recent time period, instead of only adding it when a trace succeeded in the current frame. Fixes https://gitlab.com/xonotic/darkplaces/-/issues/207 Fixes https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/1596
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>
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.
edict: Move free and freetime into prvm_edict_t itself
Make trace entity culling optional for spectators with sv_cullentities_trace_spectators Can save a lot of CPU time on Xonotic servers.
Fix compatibility with DP's own server with NEHAHRABJP2 and 3 protocols. Actually adhere to the protocols with regards to modelindex and soundindex widths. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13021 d7cf8633-e32d-0410-b094-e92efae38249
model_shared: Rename dp_model_t to model_t, to avoid confusion with the dpm format git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12984 d7cf8633-e32d-0410-b094-e92efae38249
server: Eliminate references to cls.state in server code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12940 d7cf8633-e32d-0410-b094-e92efae38249
server: Give a lot of functions new homes git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12939 d7cf8633-e32d-0410-b094-e92efae38249
Add EOF newlines git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12757 d7cf8633-e32d-0410-b094-e92efae38249
First massive rename and move A lot of these functions belong on their respective side of the engine. host.c and host_cmd.c appear to be a dumping ground for misc functions that Quakeworld engines have a proper place for. This is part of the moving operation. There's still plenty more functions that need to be put in their respective places. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12717 d7cf8633-e32d-0410-b094-e92efae38249