]>
git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
Rudolf Polzer [Tue, 19 Mar 2024 06:23:17 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Sat, 16 Mar 2024 17:28:33 +0000 (18:28 +0100)]
Fix (this.shootfromfixedorigin != autocvar_g_shootfromfixedorigin) check not working because this.shootfromfixedorigin wasn't strzoned
terencehill [Sat, 16 Mar 2024 16:58:54 +0000 (17:58 +0100)]
Optimize Arc and Hook initialization. Also get rid of the useless shotorg_adjust macro and fix some parameter types
terencehill [Sat, 16 Mar 2024 01:53:46 +0000 (02:53 +0100)]
Explain those numbers
terencehill [Sat, 16 Mar 2024 01:52:31 +0000 (02:52 +0100)]
Revert "Don't allow negative values for the y component of the shot origin offset because the gun can't be aligned to the left by default. Thanks to this change it's possible to restore precision of the y and z components back to 0.25"
because player weapon alignment (cl_gunalign) is applied before compression, thus the y component can be negative.
This reverts commit
490abae3d36ba1d00c0884adc56e5f4905bab439 . It fixes #2896
Dr. Jaska [Fri, 15 Mar 2024 22:39:26 +0000 (22:39 +0000)]
Merge branch 'drjaska/preinc' into 'master'
micro-optimization chore: in for-loops change all post-{in,de}crements to pre-{in,de}crements
See merge request xonotic/xonotic-data.pk3dir!1241
Dr. Jaska [Fri, 15 Mar 2024 22:39:19 +0000 (22:39 +0000)]
micro-optimization chore: in for-loops change all post-{in,de}crements to pre-{in,de}crements
Rudolf Polzer [Fri, 15 Mar 2024 13:53:53 +0000 (14:53 +0100)]
Transifex autosync
terencehill [Fri, 15 Mar 2024 11:13:52 +0000 (11:13 +0000)]
Merge branch 'terencehill/playerlist_layout' into 'master'
Menu: make player list in the Server Info dialog more readable
See merge request xonotic/xonotic-data.pk3dir!1258
terencehill [Fri, 15 Mar 2024 00:00:08 +0000 (01:00 +0100)]
Make togglemenu not close the menu if called when not connected. togglemenu 0 always closes the menu even in this case
terencehill [Thu, 14 Mar 2024 23:51:19 +0000 (23:51 +0000)]
Merge branch 'terencehill/menu_registries' into 'master'
Menu: remove useless registries
See merge request xonotic/xonotic-data.pk3dir!1261
bones_was_here [Thu, 14 Mar 2024 22:19:58 +0000 (22:19 +0000)]
Merge branch 'bones_was_here/sv_legacy_bbox_expand_4' into 'master'
Remove legacy Quake bbox expansion & related item placement and networking upgrades
See merge request xonotic/xonotic-data.pk3dir!1234
bones_was_here [Tue, 12 Mar 2024 01:37:30 +0000 (11:37 +1000)]
Remove legacy Quake bbox expansion: update pipeline hash
bones_was_here [Sat, 24 Jun 2023 22:48:03 +0000 (08:48 +1000)]
Remove legacy Quake bbox expansion: DOM
bones_was_here [Sat, 15 Jul 2023 11:01:48 +0000 (21:01 +1000)]
Remove legacy Quake bbox expansion: KA
Gives ball a symmetrical bbox suitable for sv_legacy_bbox_expand 0
bones_was_here [Sat, 15 Jul 2023 11:00:37 +0000 (21:00 +1000)]
Remove legacy Quake bbox expansion: KH
bones_was_here [Mon, 4 Sep 2023 03:00:38 +0000 (13:00 +1000)]
Remove legacy Quake bbox expansion: CTF
This adds a feature: if the flag is dropped in a place its bbox doesn't
fit, the player's bbox (crouched or full size) is used as a fallback.
This prevents it getting stuck so physics can still move it, and it will
be expanded to full size if it's moved to a place where it does fit.
This MR adds this to flags only, because they already had half the code.
I'll add it to other big ents that players can drop (keys, balls,
powerups) in another MR.
bones_was_here [Fri, 21 Jul 2023 09:13:36 +0000 (19:13 +1000)]
items: use correct bboxes in CSQC
This only needs to send 2 bits because there's now only 3 item bbox sizes.
Fixes some prediction errors for items with physics (loot).
bones_was_here [Sat, 15 Jul 2023 11:29:40 +0000 (21:29 +1000)]
items: remove blind nudging of items during spawn
In some cases this isn't enough to fix a bad placement, in rare cases it
can cause a bad placement because it doesn't consider the brushwork
near the item.
It's replaced by smart nudging (DP_QC_NUDGEOUTOFSOLID).
bones_was_here [Sat, 15 Jul 2023 10:55:22 +0000 (20:55 +1000)]
Remove legacy Quake bbox expansion: items (and buffs)
Adds a Small 48x48x48 item bbox which is used for 5 and 25 health and
armor items. This is the biggest horizontal size that fits in the 25h
alcove on finalrage.
Changes powerup, buff and mega pickups to all have the same height.
This will make it cheaper to network item bboxes to CSQC.
bones_was_here [Fri, 23 Jun 2023 11:07:52 +0000 (21:07 +1000)]
Remove legacy Quake bbox expansion: bot navigation
bones_was_here [Sun, 23 Jul 2023 09:00:05 +0000 (19:00 +1000)]
Remove legacy Quake bbox expansion: physics
bones_was_here [Sun, 13 Aug 2023 17:49:43 +0000 (03:49 +1000)]
Remove legacy Quake bbox expansion: bmodel entities
Removes duplication of the box + '1 1 1' and boxesoverlap code.
This is handled in WarpZoneLib_ExactTrigger_Touch().
bones_was_here [Thu, 20 Jul 2023 07:34:50 +0000 (17:34 +1000)]
Disable sv_legacy_bbox_expand
This gives QC full control of bboxes
and makes SVQC and CSQC behaviour consistent.
Groups all the sv_gameplayfix cvars together in xonotic-server.cfg.
Adds a note about sv_gameplayfix_droptofloorstartsolid (cvar for unused
engine feature).
bones_was_here [Mon, 18 Sep 2023 12:12:01 +0000 (22:12 +1000)]
Rewrite the QC port of droptofloor()
This uses DP_QC_NUDGEOUTOFSOLID to achieve better results (especially
noticeable with sv_legacy_bbox_expand 0) in less CPU time.
Documents the design.
Removes legacy code paths.
Adds warnings for badly placed items.
Implements Quake-compliant behaviour for each BSP format.
See also: https://gitlab.com/xonotic/darkplaces/-/merge_requests/144
Removes hacky workaround for #2774 and thus depends on !1245
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
bones_was_here [Thu, 14 Mar 2024 06:59:33 +0000 (16:59 +1000)]
Server list: check libcurl is loaded before reporting xonstat as available
See also
7ab7da87c6e4cdee0c74da001faeaf493dc07022 derp.
bones_was_here [Thu, 14 Mar 2024 06:48:04 +0000 (06:48 +0000)]
Merge branch 'bones_was_here/movetype_toss_lagfix' into 'master'
Fix 100% cpu when entities using TOSS-based movetypes get stuck
Closes #2774
See merge request xonotic/xonotic-data.pk3dir!1245
bones_was_here [Mon, 18 Sep 2023 14:52:31 +0000 (00:52 +1000)]
Fix 100% cpu when entities using TOSS-based movetypes get stuck
This is a bug in sv_gameplayfix_slidemoveprojectiles which gives nicer
physics interactions but didn't abort if the entity is immovable.
bones_was_here [Tue, 12 Mar 2024 22:24:18 +0000 (08:24 +1000)]
Server list: only report xonstat as available if IDs are supported
bones_was_here [Tue, 12 Mar 2024 15:19:08 +0000 (15:19 +0000)]
Merge branch 'bones_was_here/checkextension' into 'master'
Add engine extension checks at VM startup and some fallbacks
See merge request xonotic/xonotic-data.pk3dir!1225
terencehill [Thu, 21 Sep 2023 17:46:34 +0000 (19:46 +0200)]
Optimize _LOG_HEADER to avoid bloating compilation output files and reduce program size
bones_was_here [Fri, 1 Sep 2023 11:19:27 +0000 (21:19 +1000)]
Add fallback path for when engine lacks DP_QC_FINDBOX
bones_was_here [Wed, 20 Sep 2023 03:50:49 +0000 (13:50 +1000)]
Improve visibility of warnings, related cleanup and fixes
The reason for strcat1n is now fixed properly by darkplaces@
b0abeba2 and
a986d478
Double printing of backtraces with `developer 1` is fixed.
Failure to print fatal messages with `developer 1` is fixed.
Made the pipeline's `sv_cmd runtest` accept results prefixed with (eg)
"[::SVQC::INFO]" (as long as they end with exactly "All tests OK"), also
fixed incorrect hash being printed in green and fixed "PASS: unbound
variable" error.
bones_was_here [Sat, 22 Jul 2023 08:10:33 +0000 (18:10 +1000)]
Add engine extension checks at VM startup and a nudgeoutofsolid fallback
This allows printing proper messages immediately rather than crashing
later or silently failing to download maps or support player IDs, which
may prevent broken 3rd party packages.
Implements a fallback to WarpZoneLib_MoveOutOfSolid() for when the new
DP_QC_NUDGEOUTOFSOLID isn't available. Adds a "wasn't-stuck" `-1`
result to WarpZoneLib_MoveOutOfSolid(), to prevent warning spam in the
fallback path.
bones_was_here [Sat, 22 Jul 2023 19:43:21 +0000 (05:43 +1000)]
items: Apply vertical offset on Q3 maps to match Q3 bbox floor height
The lack of this caused high-placed items to be stuck in a "ceiling"
brush in a few cases (problematic for droptofloor). It also meant
suspended items were too high, causing cases where a jump pad sent the
player slightly under the item, with nothing they could do to reach it.
terencehill [Mon, 11 Mar 2024 23:33:59 +0000 (23:33 +0000)]
Merge branch 'terencehill/respawn_ghosts_keepcolors_enabled' into 'master'
Display respawn ghost with player's color instead of white
See merge request xonotic/xonotic-data.pk3dir!1263
bones_was_here [Fri, 1 Mar 2024 10:05:01 +0000 (20:05 +1000)]
Fix .gitattributes
A later line overrides an earlier line.
bones_was_here [Fri, 1 Mar 2024 09:46:58 +0000 (19:46 +1000)]
Use C syntax highlighting for QC files on gitlab
terencehill [Mon, 26 Feb 2024 15:59:59 +0000 (16:59 +0100)]
Fix wrong respawn ghost colors with cl_forceuniqueplayercolors 1
terencehill [Mon, 26 Feb 2024 10:32:47 +0000 (11:32 +0100)]
Display respawn ghost with player's color instead of white
bones_was_here [Sun, 25 Feb 2024 13:27:58 +0000 (13:27 +0000)]
Merge branch 'bones_was_here/sv_playerthink_optimise' into 'master'
Move some code that only needs to run once per frame out of PlayerP*Think()
See merge request xonotic/xonotic-data.pk3dir!1238
terencehill [Sun, 25 Feb 2024 09:55:47 +0000 (09:55 +0000)]
Merge branch 'terencehill/intermission_restart_fix' into 'master'
Fix restart applying different gametype if called after gametype vote
See merge request xonotic/xonotic-data.pk3dir!1256
terencehill [Sat, 10 Feb 2024 14:02:02 +0000 (15:02 +0100)]
Menu: remove useless registries and related code (TempEntities, LinkedEntities, C2S_Protocol) and fix a couple registries not matching the corresponding client/server versions (Buff entry was missing from the RadarIcons and Waypoints registries)
Dr. Jaska [Sat, 10 Feb 2024 18:53:54 +0000 (18:53 +0000)]
Merge branch 'drjaska/teleport-minspeed' into 'master'
Mininum velocity for teleporter exits
See merge request xonotic/xonotic-data.pk3dir!1165
Dr. Jaska [Sat, 10 Feb 2024 18:53:53 +0000 (18:53 +0000)]
Mininum velocity for teleporter exits
terencehill [Sat, 10 Feb 2024 11:50:09 +0000 (12:50 +0100)]
Fix string length checks in world.qc and add VM_TEMPSTRING_MAXSIZE
bones_was_here [Sat, 10 Feb 2024 09:00:45 +0000 (09:00 +0000)]
Merge branch 'Spike29/balance_council_vote19' into 'master'
Apply the balance council vote 19
See merge request xonotic/xonotic-data.pk3dir!1260
Spike29 [Sat, 10 Feb 2024 09:00:44 +0000 (09:00 +0000)]
Apply the balance council vote 19
bones_was_here [Sat, 10 Feb 2024 08:31:41 +0000 (08:31 +0000)]
Merge branch 'bones_was_here/maplist_fixes' into 'master'
Map list fixes
See merge request xonotic/xonotic-data.pk3dir!1247
bones_was_here [Mon, 23 Oct 2023 23:28:23 +0000 (09:28 +1000)]
Fix GUI map voting with g_maplist_shuffle <= 0 && g_maplist_selectrandom 0
MaplistMethod_Iterate() returned the same map every time because
Map_Current wasn't updated.
Documents g_maplist_shuffle -1.
bones_was_here [Mon, 23 Oct 2023 21:25:32 +0000 (07:25 +1000)]
g_maplist: refactor initialisation
Reduces code duplication.
Checks/initialises once when adding maps to the voting screen, instead
of doing it again for each map added.
Always uses gametype-specific g_maplist generation, instead of sometimes
including maps from other gametypes (depending which code path was used).
Updates some declarations and removes an unused global.
bones_was_here [Mon, 23 Oct 2023 16:37:48 +0000 (02:37 +1000)]
g_maplist: update with `gametype` command, as well as GUI gametype voting
This fixes the need to manually set g_maplist to \"\" after running the
gametype command on a votable server.
This is consistent with GUI gametype voting (sv_vote_gametype 1)
behaviour and shares its code to reduce duplication.
bones_was_here [Mon, 23 Oct 2023 15:30:36 +0000 (01:30 +1000)]
mapinfo: fix and rename noautomaplist flag to donotwant
This flag was ignored in the code paths used on most servers, and its
name and behaviour were not ideal for its intended use, see
7d48e976c8a9b3f80350b2ad41d9feec2797cf76 description which seems clear
that it's for allowing a certain kind of map to be available on the
server but not be included in the usual voting pool.
This updated implementation omits the flagged maps from GUI voting and
prevents them being selected by other GotoNextMap()/GetNextMap() code
paths, unless there aren't enough viable maps in which case they
can still be used as fallbacks.
The flagged maps are always listed in CLI and may be nominated with
`suggestmap` or vcalled with `gotomap` or `nextmap`.
bones_was_here [Fri, 9 Feb 2024 19:28:37 +0000 (05:28 +1000)]
Q3 compat: implement a 1ms fallback traveltime for all movers
This fixes the doors failing to open on q3df map sdc-uk_08 which uses
trigger_multiple -> func_button.speed = -1 -> func_door
Buttons trigger targets at the end of their movement and that one didn't
move at all.
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
terencehill [Fri, 9 Feb 2024 13:34:59 +0000 (13:34 +0000)]
Merge branch 'terencehill/registry_check' into 'master'
Fix REGISTRY_CHECK
See merge request xonotic/xonotic-data.pk3dir!1259
Dr. Jaska [Fri, 9 Feb 2024 01:42:19 +0000 (01:42 +0000)]
Merge branch 'drjaska/ca_prevent_stalemate_2' into 'master'
Separated `g_ca_prevent_stalemate`'s survivor count and health checking.
See merge request xonotic/xonotic-data.pk3dir!1189
Dr. Jaska [Fri, 9 Feb 2024 01:42:19 +0000 (01:42 +0000)]
Separated `g_ca_prevent_stalemate`'s survivor count and health checking.
terencehill [Wed, 7 Feb 2024 21:53:39 +0000 (22:53 +0100)]
Remove a few dangling semicolons
terencehill [Wed, 7 Feb 2024 21:40:06 +0000 (22:40 +0100)]
Fix REGISTRY_CHECK not checking all elements of a huge registry like the Notifications registry
Code is optimized to have basically the same performance as before while adding string length checks.
bones_was_here [Tue, 6 Feb 2024 14:15:01 +0000 (14:15 +0000)]
Merge MR 'func_door and func_plat fixes and Q3 compatibility'
See merge request xonotic/xonotic-data.pk3dir!1242
Dr. Jaska [Tue, 6 Feb 2024 13:46:55 +0000 (13:46 +0000)]
Merge branch 'drjaska/spawnfunc-item_buff_name' into 'master'
restore item_buff_speed and item_buff_invisibility spawnfuncs
See merge request xonotic/xonotic-data.pk3dir!1160
Rudolf Polzer [Fri, 26 Jan 2024 06:23:13 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Sat, 20 Jan 2024 13:18:41 +0000 (14:18 +0100)]
Menu: make player list in the Server Info dialog more readable
terencehill [Sat, 20 Jan 2024 12:54:05 +0000 (13:54 +0100)]
playerlist.qc: remove some useless operations in 2 draw_Text calls; while at it clean up code
terencehill [Sat, 20 Jan 2024 12:34:35 +0000 (13:34 +0100)]
Fix #2893 "cl_zoomfactor 1 results in division by zero"; also simplify the current_viewzoom check (almost_equals performs redundant checks in this case)
Rudolf Polzer [Sat, 20 Jan 2024 06:24:03 +0000 (07:24 +0100)]
Transifex autosync
Rudolf Polzer [Mon, 15 Jan 2024 06:23:18 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Sat, 13 Jan 2024 06:23:49 +0000 (07:23 +0100)]
Transifex autosync
Dr. Jaska [Mon, 8 Jan 2024 15:13:52 +0000 (15:13 +0000)]
Merge branch 'drjaska/hashtest' into 'master'
Create an usable tool for local hash testing
See merge request xonotic/xonotic-data.pk3dir!1150
Dr. Jaska [Mon, 8 Jan 2024 15:13:52 +0000 (15:13 +0000)]
Create an usable tool for local hash testing
Rudolf Polzer [Mon, 8 Jan 2024 06:23:27 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Thu, 4 Jan 2024 01:23:35 +0000 (02:23 +0100)]
Fix and make indentation consistent in the Overkill weapon files
terencehill [Thu, 4 Jan 2024 01:20:27 +0000 (02:20 +0100)]
Use cvar_set
terencehill [Thu, 4 Jan 2024 01:04:20 +0000 (02:04 +0100)]
Freeze Tag: fix players getting 1 point for a teamkill (they get -1 points now) and not getting -1 points if killed by a map entity (e.g. triggerhurt)
Rudolf Polzer [Wed, 3 Jan 2024 03:18:17 +0000 (22:18 -0500)]
hud_postprocessing: disable the postprocess shader when not in use.
Works best with upcoming r_skipblend.
drjaska [Fri, 29 Dec 2023 08:20:30 +0000 (10:20 +0200)]
Fix some damagetext accumulation edge cases
Fixes cl_damagetext_accumulate_alpha_rel 1 and
cl_damagetext_accumulate_lifetime 0 not being able to opt
out of DT accumulation
terencehill [Thu, 28 Dec 2023 19:21:12 +0000 (19:21 +0000)]
Merge branch 'drjaska/damagetext' into 'master'
DamageText code quality changes and new DT lifetime and accumulation lifetime cvars
See merge request xonotic/xonotic-data.pk3dir!1249
Dr. Jaska [Thu, 28 Dec 2023 19:21:12 +0000 (19:21 +0000)]
DamageText code quality changes and new DT lifetime and accumulation lifetime cvars
bones_was_here [Thu, 28 Dec 2023 08:03:37 +0000 (18:03 +1000)]
Update pipeline for DP engine upgrade
The FIXME was fixed (or at least worked around) in DP's Makefile, see
-mno-avx and its comments.
Rudolf Polzer [Mon, 25 Dec 2023 06:23:32 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Thu, 21 Dec 2023 17:27:29 +0000 (17:27 +0000)]
Merge branch 'terencehill/playerstats_update' into 'master'
Minor updates to playerstats
See merge request xonotic/xonotic-data.pk3dir!1255
Rudolf Polzer [Thu, 21 Dec 2023 06:23:27 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Tue, 19 Dec 2023 06:23:25 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Fri, 15 Dec 2023 23:58:25 +0000 (00:58 +0100)]
Apply voted game type on map switch, not on game type vote end so that the "restart" command, if called, properly restarts the map applying the current game type
terencehill [Wed, 13 Dec 2023 11:12:41 +0000 (12:12 +0100)]
Don't send match stats if game ends during warmup (xonstats doesn't register them anyway)
terencehill [Mon, 11 Dec 2023 22:27:10 +0000 (23:27 +0100)]
Send total number of rounds played to xonstats
Rudolf Polzer [Mon, 11 Dec 2023 06:23:30 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Sat, 9 Dec 2023 06:23:32 +0000 (07:23 +0100)]
Transifex autosync
Dr. Jaska [Wed, 6 Dec 2023 11:19:23 +0000 (11:19 +0000)]
Merge branch 'drjaska/shotorigincleanup' into 'master'
Allow for negative z offsets for shot origin
See merge request xonotic/xonotic-data.pk3dir!1253
Rudolf Polzer [Mon, 4 Dec 2023 06:24:04 +0000 (07:24 +0100)]
Transifex autosync
drjaska [Mon, 27 Nov 2023 23:04:12 +0000 (01:04 +0200)]
cleanup and a few comments
Rudolf Polzer [Fri, 1 Dec 2023 06:23:25 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Tue, 21 Nov 2023 06:23:28 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Sun, 19 Nov 2023 06:23:24 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Sat, 18 Nov 2023 06:23:52 +0000 (07:23 +0100)]
Transifex autosync
Rudolf Polzer [Sun, 12 Nov 2023 06:23:26 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Sat, 11 Nov 2023 17:11:51 +0000 (18:11 +0100)]
Don't allow negative values for the y component of the shot origin offset because the gun can't be aligned to the left by default. Thanks to this change it's possible to restore precision of the y and z components back to 0.25
terencehill [Fri, 10 Nov 2023 17:59:58 +0000 (18:59 +0100)]
Allow negative values for the shot origin offset vector. This change reduces precision of the y and z components from 0.25 to 0.5
bones_was_here [Thu, 9 Nov 2023 05:44:23 +0000 (05:44 +0000)]
Merge branch 'Juhu/velocity_pads_cleanup2' into 'master'
Move trigger_push_velocity last_pushed code out of StartFrame()
See merge request xonotic/xonotic-data.pk3dir!1251
Juhu [Wed, 8 Nov 2023 18:22:52 +0000 (19:22 +0100)]
move trigger_push_velocity's last_pushed check, StartFrame() should not run jump pad physics code