]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
12 hours agoFix FL_WEAPON flag overlapping FL_JUMPRELEASED. This unintentional change was introdu... master
terencehill [Thu, 18 Apr 2024 13:43:34 +0000 (15:43 +0200)]
Fix FL_WEAPON flag overlapping FL_JUMPRELEASED. This unintentional change was introduced in aae27b54

34 hours agoMerge MR 'Various Q3 and QL map entity features and fixes'
bones_was_here [Wed, 17 Apr 2024 14:57:33 +0000 (14:57 +0000)]
Merge MR 'Various Q3 and QL map entity features and fixes'

See merge request xonotic/xonotic-data.pk3dir!1268

34 hours agoClean up droptofloor() macro hacks and clarify naming 1268/head
bones_was_here [Sat, 13 Apr 2024 09:53:51 +0000 (19:53 +1000)]
Clean up droptofloor() macro hacks and clarify naming

It wasn't clear at call sites that this had been changed to a delayed
function (in SVQC only), and that the return value was no longer
available. We can just use different names for the QC implementation,
with different names for delayed and direct calls, and leave the
original name for calling the builtin if required. The builtin's wrapper
macro for changing the self global to a parameter is retained and it now
works the same in SVQC and CSQC.

Removes another case of cc83c39c27ea0757cf169562428e443c5ab60fdc

34 hours agotarget_speaker: silence legacy spawnflag warning on Q3 maps
bones_was_here [Thu, 21 Mar 2024 07:16:34 +0000 (17:16 +1000)]
target_speaker: silence legacy spawnflag warning on Q3 maps

34 hours agoAdd engine extension check: fullspawndata
bones_was_here [Thu, 21 Mar 2024 07:10:40 +0000 (17:10 +1000)]
Add engine extension check: fullspawndata

This one isn't supported by checkextension().

34 hours agoq3compat: reduce entity field allocation
bones_was_here [Thu, 21 Mar 2024 06:40:45 +0000 (16:40 +1000)]
q3compat: reduce entity field allocation

These fields are only read during worldspawn on Q3 maps, we don't need
them on every entity.

I retained .gametype and .not_gametype as I expect we'll want to
implement these for Xonotic mappers, and we're already using the
.gametype field elsewhere.

Will now support edge cases where the mapper used \ as the .music path
separator instead of the canonical /

34 hours agoSupport Domination control points on QL maps
bones_was_here [Thu, 21 Mar 2024 00:43:18 +0000 (10:43 +1000)]
Support Domination control points on QL maps

34 hours agoSupport gametype and not_gametype fields on QL maps
bones_was_here [Wed, 20 Mar 2024 18:41:15 +0000 (04:41 +1000)]
Support gametype and not_gametype fields on QL maps

Documents all Q3A and QL gametypes including the inconsistencies between
entity fields and .arena files.

Includes minor corrections.

34 hours agoSupport Mine Layer on Q3TA/QL maps
bones_was_here [Wed, 20 Mar 2024 08:51:30 +0000 (18:51 +1000)]
Support Mine Layer on Q3TA/QL maps

In !849 I changed weapon_prox_launcher to spawn the Mortar, in hindsight
this was a mistake.  Some maps have both weapons, and although the
Mortar is more popular, some players really like the Mine Layer, so
let's just go with what the mapper chose.  Server admins can easily
change items with .ent files if they want.

34 hours agotarget_push: implement Q3 wind tunnel and angles+speed modes
bones_was_here [Tue, 19 Mar 2024 03:42:31 +0000 (13:42 +1000)]
target_push: implement Q3 wind tunnel and angles+speed modes

34 hours agoReset door locking when the match is reset
bones_was_here [Sat, 16 Mar 2024 06:58:42 +0000 (16:58 +1000)]
Reset door locking when the match is reset

34 hours agoRefactor default key model selection
bones_was_here [Sat, 13 Apr 2024 06:24:10 +0000 (16:24 +1000)]
Refactor default key model selection

34 hours agoRemove key-specific BIT macro
bones_was_here [Sat, 16 Mar 2024 06:42:37 +0000 (16:42 +1000)]
Remove key-specific BIT macro

34 hours agoSupport door keys on QL maps
bones_was_here [Sat, 16 Mar 2024 06:36:03 +0000 (16:36 +1000)]
Support door keys on QL maps

Also adds a MASTER key for Xonotic mapping (useful for secrets...)

Removes blind nudging of keys as was done for normal items in cc83c39c27ea0757cf169562428e443c5ab60fdc

34 hours agoSupport custom door sounds on QL maps
bones_was_here [Sat, 16 Mar 2024 01:44:59 +0000 (11:44 +1000)]
Support custom door sounds on QL maps

7 days agoNades code: don't use booleans as array indexes for m_projectile, optimize spawn_held...
terencehill [Thu, 11 Apr 2024 13:30:28 +0000 (15:30 +0200)]
Nades code: don't use booleans as array indexes for m_projectile, optimize spawn_held_nade by reducing REGISTRY_GET calls, optimize Nade_FromProjectile by removing a for loop

7 days agoMerge branch 'terencehill/nades_stuff' into 'master'
terencehill [Thu, 11 Apr 2024 12:17:16 +0000 (12:17 +0000)]
Merge branch 'terencehill/nades_stuff' into 'master'

Minor improvements and optimizations to the Darkness nade effect

See merge request xonotic/xonotic-data.pk3dir!1236

8 days agoMerge branch 'master' into 'terencehill/nades_stuff' 1236/head
terencehill [Wed, 10 Apr 2024 23:07:17 +0000 (23:07 +0000)]
Merge branch 'master' into 'terencehill/nades_stuff'

# Conflicts:
#   qcsrc/common/mutators/mutator/nades/nades.qc

8 days agoTransifex autosync
Rudolf Polzer [Wed, 10 Apr 2024 05:23:13 +0000 (07:23 +0200)]
Transifex autosync

9 days agoTransifex autosync
Rudolf Polzer [Tue, 9 Apr 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

10 days agoTransifex autosync
Rudolf Polzer [Mon, 8 Apr 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync

11 days agoMerge branch 'drjaska/silent-respawn' into 'master'
Dr. Jaska [Sun, 7 Apr 2024 23:47:11 +0000 (23:47 +0000)]
Merge branch 'drjaska/silent-respawn' into 'master'

server side option for both (old) or individually silent or particleless (re)spawning

See merge request xonotic/xonotic-data.pk3dir!1218

11 days agoserver side option for both (old) or individually silent or particleless (re)spawning
Dr. Jaska [Sun, 7 Apr 2024 23:47:10 +0000 (23:47 +0000)]
server side option for both (old) or individually silent or particleless (re)spawning

11 days agoSave cvar sv_autopause to config.cfg for listen/singleplayer convenience
bones_was_here [Sun, 7 Apr 2024 16:34:09 +0000 (02:34 +1000)]
Save cvar sv_autopause to config.cfg for listen/singleplayer convenience

Closes #2901

11 days agoMerge branch 'terencehill/scoreboard_compressed_field_titles' into 'master'
terencehill [Sun, 7 Apr 2024 16:28:15 +0000 (16:28 +0000)]
Merge branch 'terencehill/scoreboard_compressed_field_titles' into 'master'

Scoreboard: limit width of field titles and show too long titles compressed

See merge request xonotic/xonotic-data.pk3dir!1273

11 days agoUse correct titles for a few scoreboard fields (now scoreboard can better handle... 1273/head
terencehill [Wed, 3 Apr 2024 18:20:14 +0000 (20:20 +0200)]
Use correct titles for a few scoreboard fields (now scoreboard can better handle longer titles); use proper field and score names for destroyed generators (Onslaught)

2 weeks agoUpdate dpdefs
bones_was_here [Thu, 4 Apr 2024 11:17:48 +0000 (21:17 +1000)]
Update dpdefs

2 weeks agoScoreboard: if all fields can't fit in the scoreboard try to make them smaller by...
terencehill [Wed, 3 Apr 2024 17:44:23 +0000 (19:44 +0200)]
Scoreboard: if all fields can't fit in the scoreboard try to make them smaller by compressing field title

2 weeks agoScoreboard: limit width of field titles and show too long titles compressed. Max...
terencehill [Mon, 1 Apr 2024 16:36:02 +0000 (18:36 +0200)]
Scoreboard: limit width of field titles and show too long titles compressed. Max width can be configured via hud_panel_scoreboard_table_fieldtitle_maxwidth

2 weeks agoTransifex autosync
Rudolf Polzer [Wed, 3 Apr 2024 05:23:09 +0000 (07:23 +0200)]
Transifex autosync

2 weeks agoMerge branch 'terencehill/custom_gametype_stuff' into 'master'
terencehill [Mon, 1 Apr 2024 10:21:10 +0000 (10:21 +0000)]
Merge branch 'terencehill/custom_gametype_stuff' into 'master'

Fix / improve custom gametype handling

See merge request xonotic/xonotic-data.pk3dir!1269

2 weeks agoTransifex autosync
Rudolf Polzer [Mon, 1 Apr 2024 05:23:09 +0000 (07:23 +0200)]
Transifex autosync

2 weeks agoRemove a redundant LOG_TRACE (previous bprint message is printed to server console...
terencehill [Sun, 31 Mar 2024 18:09:40 +0000 (20:09 +0200)]
Remove a redundant LOG_TRACE (previous bprint message is printed to server console too thanks to sv_echobprint 1)

2 weeks agoOptimize WinningConditionHelper: avoid calling strcpy if strings are the same, reduce...
terencehill [Sat, 30 Mar 2024 22:17:28 +0000 (23:17 +0100)]
Optimize WinningConditionHelper: avoid calling strcpy if strings are the same, reduce number of strcat calls. Also remove redundant ^7 in 3 messages of GameCommand_moveplayer

2 weeks agoRemove redundant strcat1()
bones_was_here [Fri, 29 Mar 2024 09:15:36 +0000 (19:15 +1000)]
Remove redundant strcat1()

The reason for strcat1() is now fixed properly by darkplaces@b0abeba2 and a986d478

See also bae3de16e76ed9b25933db14b165ec86aa8f1608

2 weeks agotarget_speed: fix macro mistake
bones_was_here [Sat, 23 Mar 2024 07:37:40 +0000 (17:37 +1000)]
target_speed: fix macro mistake

3 weeks agoTransifex autosync
Rudolf Polzer [Tue, 26 Mar 2024 06:23:13 +0000 (07:23 +0100)]
Transifex autosync

3 weeks agoImplement REPLICATE_vector for the automatic cvar networking system
terencehill [Mon, 25 Mar 2024 14:07:30 +0000 (15:07 +0100)]
Implement REPLICATE_vector for the automatic cvar networking system

3 weeks agoTransifex autosync
Rudolf Polzer [Mon, 25 Mar 2024 06:23:13 +0000 (07:23 +0100)]
Transifex autosync

3 weeks agoUse the correct function to get the active gametype in a LOG_FATALF call
terencehill [Sun, 24 Mar 2024 21:50:44 +0000 (22:50 +0100)]
Use the correct function to get the active gametype in a LOG_FATALF call

MapInfo_Type_ToString(MapInfo_CurrentGametype()) returns the current gametype that can be changed during the game by the gametype command; GetGametype() returns the active gametype

3 weeks agoDon't mention function names in LOG_FATAL calls, they are printed anyway
terencehill [Sun, 24 Mar 2024 21:46:35 +0000 (22:46 +0100)]
Don't mention function names in LOG_FATAL calls, they are printed anyway

3 weeks agoTransifex autosync
Rudolf Polzer [Sun, 24 Mar 2024 06:23:15 +0000 (07:23 +0100)]
Transifex autosync

3 weeks agoMerge branch 'terencehill/minigame_spectator_list' into 'master'
terencehill [Sat, 23 Mar 2024 16:25:37 +0000 (16:25 +0000)]
Merge branch 'terencehill/minigame_spectator_list' into 'master'

Refactor minigame spectator list code

See merge request xonotic/xonotic-data.pk3dir!1239

3 weeks agoFix compilation unit test by changing argument type in the GameTypeVote_SetGametype...
terencehill [Fri, 22 Mar 2024 13:50:08 +0000 (14:50 +0100)]
Fix compilation unit test by changing argument type in the GameTypeVote_SetGametype prototype.

Same thing has already been done for the isGametypeInFilter prototype.

3 weeks agoMake GetField_fullspawndata() docs support Doxygen and other tools
bones_was_here [Fri, 22 Mar 2024 08:50:02 +0000 (18:50 +1000)]
Make GetField_fullspawndata() docs support Doxygen and other tools

3 weeks agoMerge branch 'Juhu/target_speed' into 'master'
bones_was_here [Fri, 22 Mar 2024 08:46:25 +0000 (08:46 +0000)]
Merge branch 'Juhu/target_speed' into 'master'

Implement XDF Compatibility: target_speed

Closes #2160

See merge request xonotic/xonotic-data.pk3dir!1136

3 weeks agoImplement XDF Compatibility: target_speed
Juhu [Fri, 22 Mar 2024 08:46:25 +0000 (08:46 +0000)]
Implement XDF Compatibility: target_speed

4 weeks agoMake sure active custom gametype is not kept on the next map after manual gametype...
terencehill [Thu, 21 Mar 2024 18:24:58 +0000 (19:24 +0100)]
Make sure active custom gametype is not kept on the next map after manual gametype command call (and map restart).

Currently custom gametypes can only be set after the game is over thus the gametype command doesn't support them

4 weeks agoFix current custom gametype not being kept if gametype vote ends without votes
terencehill [Thu, 21 Mar 2024 17:43:43 +0000 (18:43 +0100)]
Fix current custom gametype not being kept if gametype vote ends without votes

4 weeks agoFix custom gametype name not correctly displayed as scoreboard title and as gametype...
terencehill [Thu, 21 Mar 2024 17:32:47 +0000 (18:32 +0100)]
Fix custom gametype name not correctly displayed as scoreboard title and as gametype winner in the map vote

4 weeks agoMerge branch 'terencehill/spectator_camera_fix' into 'master'
terencehill [Thu, 21 Mar 2024 14:58:11 +0000 (14:58 +0000)]
Merge branch 'terencehill/spectator_camera_fix' into 'master'

Remove duplicate spectator camera mode with chase_active enabled

See merge request xonotic/xonotic-data.pk3dir!1244

4 weeks agoMerge branch 'terencehill/custom_gametype_fix' into 'master'
terencehill [Wed, 20 Mar 2024 00:11:28 +0000 (00:11 +0000)]
Merge branch 'terencehill/custom_gametype_fix' into 'master'

Fix #2903 "GUI voting: custom gametypes no longer take effect"

Closes #2903

See merge request xonotic/xonotic-data.pk3dir!1267

4 weeks agoTransifex autosync
Rudolf Polzer [Tue, 19 Mar 2024 06:23:17 +0000 (07:23 +0100)]
Transifex autosync

4 weeks agoFix #2903 "GUI voting: custom gametypes no longer take effect"
terencehill [Sun, 17 Mar 2024 17:11:45 +0000 (18:11 +0100)]
Fix #2903 "GUI voting: custom gametypes no longer take effect"

4 weeks agoFix (this.shootfromfixedorigin != autocvar_g_shootfromfixedorigin) check not working...
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

4 weeks agoOptimize Arc and Hook initialization. Also get rid of the useless shotorg_adjust...
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

4 weeks agoExplain those numbers
terencehill [Sat, 16 Mar 2024 01:53:46 +0000 (02:53 +0100)]
Explain those numbers

4 weeks agoRevert "Don't allow negative values for the y component of the shot origin offset...
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

4 weeks agoMerge branch 'drjaska/preinc' into 'master'
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

4 weeks agomicro-optimization chore: in for-loops change all post-{in,de}crements to pre-{in...
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

4 weeks agoFix spectator camera having a duplicate mode if 3rd person camera is enabled (chase_a...
terencehill [Fri, 15 Mar 2024 21:28:34 +0000 (22:28 +0100)]
Fix spectator camera having a duplicate mode if 3rd person camera is enabled (chase_active 1)

4 weeks agoTransifex autosync
Rudolf Polzer [Fri, 15 Mar 2024 13:53:53 +0000 (14:53 +0100)]
Transifex autosync

4 weeks agoMerge branch 'terencehill/playerlist_layout' into 'master'
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

5 weeks agoMake togglemenu not close the menu if called when not connected. togglemenu 0 always...
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

5 weeks agoMerge branch 'terencehill/menu_registries' into 'master'
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

5 weeks agoMerge branch 'bones_was_here/sv_legacy_bbox_expand_4' into 'master'
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

5 weeks agoRemove legacy Quake bbox expansion: update pipeline hash
bones_was_here [Tue, 12 Mar 2024 01:37:30 +0000 (11:37 +1000)]
Remove legacy Quake bbox expansion: update pipeline hash

5 weeks agoRemove legacy Quake bbox expansion: DOM
bones_was_here [Sat, 24 Jun 2023 22:48:03 +0000 (08:48 +1000)]
Remove legacy Quake bbox expansion: DOM

5 weeks agoRemove legacy Quake bbox expansion: KA
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

5 weeks agoRemove legacy Quake bbox expansion: KH
bones_was_here [Sat, 15 Jul 2023 11:00:37 +0000 (21:00 +1000)]
Remove legacy Quake bbox expansion: KH

5 weeks agoRemove legacy Quake bbox expansion: CTF
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.

5 weeks agoitems: use correct bboxes in CSQC
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).

5 weeks agoitems: remove blind nudging of items during spawn
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).

5 weeks agoRemove legacy Quake bbox expansion: items (and buffs)
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.

5 weeks agoRemove legacy Quake bbox expansion: bot navigation
bones_was_here [Fri, 23 Jun 2023 11:07:52 +0000 (21:07 +1000)]
Remove legacy Quake bbox expansion: bot navigation

5 weeks agoRemove legacy Quake bbox expansion: physics
bones_was_here [Sun, 23 Jul 2023 09:00:05 +0000 (19:00 +1000)]
Remove legacy Quake bbox expansion: physics

5 weeks agoRemove legacy Quake bbox expansion: bmodel entities
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().

5 weeks agoDisable sv_legacy_bbox_expand
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).

5 weeks agoRewrite the QC port of droptofloor()
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>
5 weeks agoServer list: check libcurl is loaded before reporting xonstat as available
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.

5 weeks agoMerge branch 'bones_was_here/movetype_toss_lagfix' into 'master'
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

5 weeks agoFix 100% cpu when entities using TOSS-based movetypes get stuck
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.

5 weeks agoServer list: only report xonstat as available if IDs are supported
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

5 weeks agoMerge branch 'bones_was_here/checkextension' into 'master'
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

5 weeks agoOptimize _LOG_HEADER to avoid bloating compilation output files and reduce program...
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

5 weeks agoAdd fallback path for when engine lacks DP_QC_FINDBOX
bones_was_here [Fri, 1 Sep 2023 11:19:27 +0000 (21:19 +1000)]
Add fallback path for when engine lacks DP_QC_FINDBOX

5 weeks agoImprove visibility of warnings, related cleanup and fixes
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.

5 weeks agoAdd engine extension checks at VM startup and a nudgeoutofsolid fallback
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.

5 weeks agoitems: Apply vertical offset on Q3 maps to match Q3 bbox floor height
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.

5 weeks agoMerge branch 'terencehill/respawn_ghosts_keepcolors_enabled' into 'master'
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

6 weeks agoFix .gitattributes
bones_was_here [Fri, 1 Mar 2024 10:05:01 +0000 (20:05 +1000)]
Fix .gitattributes

A later line overrides an earlier line.

6 weeks agoUse C syntax highlighting for QC files on gitlab
bones_was_here [Fri, 1 Mar 2024 09:46:58 +0000 (19:46 +1000)]
Use C syntax highlighting for QC files on gitlab

7 weeks agoFix wrong respawn ghost colors with cl_forceuniqueplayercolors 1
terencehill [Mon, 26 Feb 2024 15:59:59 +0000 (16:59 +0100)]
Fix wrong respawn ghost colors with cl_forceuniqueplayercolors 1

7 weeks agoDisplay respawn ghost with player's color instead of white
terencehill [Mon, 26 Feb 2024 10:32:47 +0000 (11:32 +0100)]
Display respawn ghost with player's color instead of white

7 weeks agoMerge branch 'bones_was_here/sv_playerthink_optimise' into 'master'
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

7 weeks agoMerge branch 'terencehill/intermission_restart_fix' into 'master'
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

2 months agoMenu: remove useless registries and related code (TempEntities, LinkedEntities, C2S_P...
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)

2 months agoMerge branch 'drjaska/teleport-minspeed' into 'master'
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

2 months agoMininum velocity for teleporter exits
Dr. Jaska [Sat, 10 Feb 2024 18:53:53 +0000 (18:53 +0000)]
Mininum velocity for teleporter exits

2 months agoFix string length checks in world.qc and add VM_TEMPSTRING_MAXSIZE
terencehill [Sat, 10 Feb 2024 11:50:09 +0000 (12:50 +0100)]
Fix string length checks in world.qc and add VM_TEMPSTRING_MAXSIZE