]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
3 weeks agoCode cleanup in various files
otta8634 [Thu, 5 Dec 2024 02:05:39 +0000 (10:05 +0800)]
Code cleanup in various files

Some suggestions by @drjaska
Made client/hud/common_physics.qc formatting consistent with CONTRIBUTING.md

3 weeks agoRound z-vel used for comparison for jumpspeed
otta8634 [Thu, 5 Dec 2024 01:55:28 +0000 (09:55 +0800)]
Round z-vel used for comparison for jumpspeed

Suggested by @drjaska to eliminate most floating point imprecision

3 weeks agoClean up some comments and cvar descriptions
otta8634 [Thu, 5 Dec 2024 01:46:06 +0000 (09:46 +0800)]
Clean up some comments and cvar descriptions

Some suggestions courtesy of @drjaska

5 weeks agoMerge branch 'master' into k9er/physics-hud-features
k9wolf8634 [Thu, 14 Nov 2024 15:57:32 +0000 (23:57 +0800)]
Merge branch 'master' into k9er/physics-hud-features

5 weeks agoRevert 8f3e028c
k9wolf8634 [Thu, 14 Nov 2024 15:49:52 +0000 (23:49 +0800)]
Revert 8f3e028c

Turns out there's a lot more transifex grammar issues, no point fixing
just one

6 weeks agoAdd a string_null check to inputbox input filter
drjaska [Sun, 10 Nov 2024 11:58:49 +0000 (13:58 +0200)]
Add a string_null check to inputbox input filter

This check was forgotten and in the cases where the inputbox doesn't
have a defined allowed characters list causes all input to be filtered.

Fixes https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2946

7 weeks agovar.string -> var .string
terencehill [Wed, 6 Nov 2024 13:12:28 +0000 (14:12 +0100)]
var.string -> var .string

7 weeks agoMerge branch 'Mario/load_autoscreenshot_file' into 'master'
terencehill [Wed, 6 Nov 2024 13:09:41 +0000 (13:09 +0000)]
Merge branch 'Mario/load_autoscreenshot_file' into 'master'

Automatically load entity data created by the create_scrshot_ent command

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

7 weeks agoMerge branch 'drjaska/sens-setting' into 'master'
terencehill [Wed, 6 Nov 2024 13:08:55 +0000 (13:08 +0000)]
Merge branch 'drjaska/sens-setting' into 'master'

Settings: Mouse sensitivity: added a text input box next to the slider

Closes #2833

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

7 weeks agoSettings: Mouse sensitivity: added a text input box next to the slider
Dr. Jaska [Wed, 6 Nov 2024 13:08:55 +0000 (13:08 +0000)]
Settings: Mouse sensitivity: added a text input box next to the slider

7 weeks agoTransifex autosync
Rudolf Polzer [Mon, 4 Nov 2024 06:23:18 +0000 (07:23 +0100)]
Transifex autosync

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

7 weeks agoUnbreak compile with gmqcc by performing 01157543f102ad69e8d08885e20113b77776bf17...
Rudolf Polzer [Sun, 3 Nov 2024 01:41:52 +0000 (21:41 -0400)]
Unbreak compile with gmqcc by performing 01157543f102ad69e8d08885e20113b77776bf17 only in fteqcc.

7 weeks agoExplicitly support compile using current fteqcc.
Rudolf Polzer [Sun, 3 Nov 2024 01:36:59 +0000 (21:36 -0400)]
Explicitly support compile using current fteqcc.

To do so, use:

make -C data/xonotic-data.pk3dir/qcsrc ../progs.dat QCC=$HOME/Downloads/fteqw/build/fteqcc

7 weeks agoDo not overwrite builtins defined in dpextensions.
Rudolf Polzer [Sun, 3 Nov 2024 01:19:32 +0000 (21:19 -0400)]
Do not overwrite builtins defined in dpextensions.

Instead, use our own variables for this.

Fixes compile with fteqcc.

7 weeks agoFix some inconsistent ifdeffery.
Rudolf Polzer [Sun, 3 Nov 2024 01:03:08 +0000 (21:03 -0400)]
Fix some inconsistent ifdeffery.

Note that the function changed can't actually be called unless KEEP_ROLL
is defined, which Xonotic does not define.

7 weeks agoTransifex autosync
Rudolf Polzer [Sat, 2 Nov 2024 06:23:17 +0000 (07:23 +0100)]
Transifex autosync

7 weeks agoAdd proper en_GB entry to the language list
terencehill [Fri, 1 Nov 2024 21:16:22 +0000 (22:16 +0100)]
Add proper en_GB entry to the language list

7 weeks agoMerge branch 'terencehill/trigger_hurt_messages' into 'master'
terencehill [Fri, 1 Nov 2024 21:12:37 +0000 (21:12 +0000)]
Merge branch 'terencehill/trigger_hurt_messages' into 'master'

trigger_hurt death message patch

Closes #2933

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

7 weeks agoMerge branch 'drjaska/credits-update' into 'master'
terencehill [Fri, 1 Nov 2024 21:11:45 +0000 (21:11 +0000)]
Merge branch 'drjaska/credits-update' into 'master'

Update credits

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

7 weeks agoUpdate credits
Dr. Jaska [Fri, 1 Nov 2024 21:11:45 +0000 (21:11 +0000)]
Update credits

7 weeks agoMerge branch 'terencehill/stats_fix' into 'master'
terencehill [Fri, 1 Nov 2024 21:11:06 +0000 (21:11 +0000)]
Merge branch 'terencehill/stats_fix' into 'master'

Fix int and bool STATs working as float STATs

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

7 weeks agoReduce code duplication in REGISTER_STAT
terencehill [Thu, 31 Oct 2024 22:01:05 +0000 (23:01 +0100)]
Reduce code duplication in REGISTER_STAT

This change slightly improves compilation performance since it avoids generating about 120KB of completely useless qc code both from server and client code

7 weeks agoFix int and bool STATs working as float STATs
terencehill [Thu, 31 Oct 2024 21:56:44 +0000 (22:56 +0100)]
Fix int and bool STATs working as float STATs

7 weeks agoMerge branch 'Mario/plasma_removal' into 'master'
Dr. Jaska [Thu, 31 Oct 2024 13:34:16 +0000 (13:34 +0000)]
Merge branch 'Mario/plasma_removal' into 'master'

Remove the unused Plasma ammo type

Closes #2936

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

7 weeks agoHook code: minor optimizations and cleanups
terencehill [Thu, 31 Oct 2024 13:28:40 +0000 (14:28 +0100)]
Hook code: minor optimizations and cleanups

Optimizations:
- calculate dir without using normalize
- reduce scope of some variables

Cleanups:
- remove useless and outdated installation instructions
- fix mixed indentation in 2 functions (now hook.qc is fully indented with tabs)
- don't mention cvar values next to autocvars

7 weeks agoIndent with tabs the only 2 functions indented with spaces in chat.qc; while at it...
terencehill [Thu, 31 Oct 2024 12:02:08 +0000 (13:02 +0100)]
Indent with tabs the only 2 functions indented with spaces in chat.qc; while at it shorten a few lines

7 weeks agohavocbot_chooseweapon: minor optimizations and cleanups
terencehill [Thu, 31 Oct 2024 11:47:40 +0000 (12:47 +0100)]
havocbot_chooseweapon: minor optimizations and cleanups

Optimizations:
- Simplify combo_time calculation
- Calculate distance only when needed

8 weeks agoFix the bounds check issue for real.
Rudolf Polzer [Wed, 30 Oct 2024 16:57:24 +0000 (12:57 -0400)]
Fix the bounds check issue for real.

No idea _why_ we get here with a null weaponentity though.

8 weeks agoFix another invalid array access.
Rudolf Polzer [Wed, 30 Oct 2024 16:50:40 +0000 (12:50 -0400)]
Fix another invalid array access.

8 weeks agoFix an out of bounds array access.
Rudolf Polzer [Wed, 30 Oct 2024 16:41:51 +0000 (12:41 -0400)]
Fix an out of bounds array access.

8 weeks agoTransifex autosync
Rudolf Polzer [Wed, 30 Oct 2024 06:23:16 +0000 (07:23 +0100)]
Transifex autosync

8 weeks agoTransifex autosync
Rudolf Polzer [Tue, 29 Oct 2024 06:23:16 +0000 (07:23 +0100)]
Transifex autosync

2 months agoMerge branch 'drjaska/mgdamageaccumulation' into 'master'
Dr. Jaska [Fri, 25 Oct 2024 22:43:18 +0000 (22:43 +0000)]
Merge branch 'drjaska/mgdamageaccumulation' into 'master'

Machinegun cold/heat damage multipliers based on accumulated spread

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

2 months agoImplement damage scaling based on accumulated spread
drjaska [Thu, 5 Sep 2024 05:50:38 +0000 (08:50 +0300)]
Implement damage scaling based on accumulated spread

2 months agoMerge branch 'terencehill/menu_textbox_fixes' into 'master'
terencehill [Thu, 24 Oct 2024 19:49:04 +0000 (19:49 +0000)]
Merge branch 'terencehill/menu_textbox_fixes' into 'master'

Menu: fix some issues with text boxes

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

2 months agoMerge branch 'terencehill/arc-beam_more_fixes' into 'master'
terencehill [Thu, 24 Oct 2024 16:04:03 +0000 (16:04 +0000)]
Merge branch 'terencehill/arc-beam_more_fixes' into 'master'

Fix and optimize Arc beam code

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

2 months agoUpdate hash
terencehill [Thu, 24 Oct 2024 15:59:22 +0000 (17:59 +0200)]
Update hash

2 months agoMerge branch 'master' into terencehill/arc-beam_more_fixes
terencehill [Thu, 24 Oct 2024 15:56:15 +0000 (17:56 +0200)]
Merge branch 'master' into terencehill/arc-beam_more_fixes

2 months agoMerge branch 'terencehill/corpse_size_fix' into 'master'
terencehill [Thu, 24 Oct 2024 15:53:49 +0000 (15:53 +0000)]
Merge branch 'terencehill/corpse_size_fix' into 'master'

Fix #2922 "Player corpse not resized when suiciding with a weapon"

Closes #2922

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

2 months agoFix #2922 "Player corpse not resized when suiciding with a weapon"
terencehill [Thu, 24 Oct 2024 15:44:46 +0000 (17:44 +0200)]
Fix #2922 "Player corpse not resized when suiciding with a weapon"

Fixed by moving code that resizes player bbox from PlayerPostThink to EndFrame, which is executed later.

Also update hash

2 months agoMerge branch 'drjaska/mgspreaddecay' into 'master'
terencehill [Thu, 24 Oct 2024 15:42:50 +0000 (15:42 +0000)]
Merge branch 'drjaska/mgspreaddecay' into 'master'

Machinegun time based spread decay, support for inverse spread

Closes #2560

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

2 months agoAllow for reversed spread, inaccurate to accurate
drjaska [Thu, 24 Oct 2024 05:32:00 +0000 (08:32 +0300)]
Allow for reversed spread, inaccurate to accurate

2 months agoRework Machinegun's spread to be time-based
drjaska [Wed, 4 Sep 2024 18:03:25 +0000 (21:03 +0300)]
Rework Machinegun's spread to be time-based

2 months agoTransifex autosync
Rudolf Polzer [Tue, 22 Oct 2024 05:23:18 +0000 (07:23 +0200)]
Transifex autosync

2 months agoMerge branch 'Mario/spawn_unique' into 'master'
Dr. Jaska [Mon, 21 Oct 2024 20:04:58 +0000 (20:04 +0000)]
Merge branch 'Mario/spawn_unique' into 'master'

Add Spawn Unique mutator to prevent spawning at the same spawn point twice in a row

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

2 months agoAdd Spawn Unique mutator to prevent spawning at the same spawn point twice in a row
Mario [Mon, 21 Oct 2024 20:04:57 +0000 (20:04 +0000)]
Add Spawn Unique mutator to prevent spawning at the same spawn point twice in a row

2 months agoMerge branch 'Mario/chase_reticle' into 'master'
terencehill [Mon, 21 Oct 2024 10:41:07 +0000 (10:41 +0000)]
Merge branch 'Mario/chase_reticle' into 'master'

Hide the zoom scope while in third person mode

Closes #2870

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

2 months agoHide the zoom scope while in third person mode
Mario [Mon, 21 Oct 2024 10:41:06 +0000 (10:41 +0000)]
Hide the zoom scope while in third person mode

2 months agoMerge branch 'drjaska/genmod' into 'master'
terencehill [Mon, 21 Oct 2024 10:41:01 +0000 (10:41 +0000)]
Merge branch 'drjaska/genmod' into 'master'

Reformat genmod.sh

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

2 months agoReformat genmod.sh
Dr. Jaska [Mon, 21 Oct 2024 10:41:01 +0000 (10:41 +0000)]
Reformat genmod.sh

2 months agoMerge branch 'drjaska/race-respawn-impulse-141' into 'master'
Dr. Jaska [Sun, 20 Oct 2024 02:50:32 +0000 (02:50 +0000)]
Merge branch 'drjaska/race-respawn-impulse-141' into 'master'

Remove "tried to use cheat 'impulse 141'" console spam from Race/CTS

Closes #2862

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

2 months agoFix #2862 "Remove "tried to use cheat 'impulse 141'" console spam from Race/CTS"
drjaska [Wed, 4 Sep 2024 09:51:54 +0000 (12:51 +0300)]
Fix #2862 "Remove "tried to use cheat 'impulse 141'" console spam from Race/CTS"

https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2862

2 months agoMenu text boxes: don't allow drawing text over the scrollbar
terencehill [Fri, 18 Oct 2024 16:12:21 +0000 (18:12 +0200)]
Menu text boxes: don't allow drawing text over the scrollbar

2 months agoMenu text boxes: fix a couple issues after screen resolution change:
terencehill [Fri, 18 Oct 2024 16:03:31 +0000 (18:03 +0200)]
Menu text boxes: fix a couple issues after screen resolution change:

1. Text wasn't rewrapped correctly for all text boxes
2. campaign and welcome text boxes displayed line feeds as unprintable characters

Also remove TOS dialogs' .text attribute since it's redundant now

2 months agoMerge branch 'Mario/monster_kill_credit' into 'master'
terencehill [Thu, 17 Oct 2024 17:58:58 +0000 (17:58 +0000)]
Merge branch 'Mario/monster_kill_credit' into 'master'

Count frags by spawned monsters as murders

Closes #2750

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

2 months agoTransifex autosync
Rudolf Polzer [Wed, 16 Oct 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync

2 months agoReplace # with attacker name in trigger_hurt entity murder message
terencehill [Mon, 14 Oct 2024 11:15:43 +0000 (13:15 +0200)]
Replace # with attacker name in trigger_hurt entity murder message

2 months agoShow trigger_hurt entity messages if present on trigger_hurt kill. FIXME: # should...
terencehill [Fri, 11 Oct 2024 16:31:31 +0000 (18:31 +0200)]
Show trigger_hurt entity messages if present on trigger_hurt kill. FIXME: # should be replaced with attacker name in murder message

2 months agoTransifex autosync
Rudolf Polzer [Sat, 12 Oct 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

2 months agoShow a translatable message when player is killed by trigger_hurt even if they weren...
terencehill [Fri, 11 Oct 2024 10:49:27 +0000 (12:49 +0200)]
Show a translatable message when player is killed by trigger_hurt even if they weren't pushed by another player

2 months agoFix #2937 "Division by 0 error if starting the match while zoomed in"
terencehill [Fri, 11 Oct 2024 00:07:02 +0000 (02:07 +0200)]
Fix #2937 "Division by 0 error if starting the match while zoomed in"

2 months agoFix #2939 "New Toys showing up as an active modification"
terencehill [Thu, 10 Oct 2024 10:56:30 +0000 (12:56 +0200)]
Fix #2939 "New Toys showing up as an active modification"

Client code was wrongly building the active mutator list from local cvars when no mutator is active on the server

2 months agoTransifex autosync
Rudolf Polzer [Thu, 10 Oct 2024 05:23:13 +0000 (07:23 +0200)]
Transifex autosync

2 months agoMerge branch 'master' into terencehill/arc-beam_more_fixes
terencehill [Wed, 9 Oct 2024 18:05:07 +0000 (20:05 +0200)]
Merge branch 'master' into terencehill/arc-beam_more_fixes

# Conflicts:
# qcsrc/common/weapons/weapon/arc.qc

2 months agoMerge branch 'des/race_cp_net_speed' into 'master'
terencehill [Wed, 9 Oct 2024 16:27:20 +0000 (16:27 +0000)]
Merge branch 'des/race_cp_net_speed' into 'master'

Network player speed on checkpoints messages and use it for strafehud start speed

Closes #2863

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

2 months agoNetwork player speed on checkpoints messages and use it for strafehud start speed
Des - [Wed, 9 Oct 2024 16:27:20 +0000 (16:27 +0000)]
Network player speed on checkpoints messages and use it for strafehud start speed

2 months agoTransifex autosync
Rudolf Polzer [Wed, 9 Oct 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync

2 months agoRemove the unused Plasma ammo type
Mario [Wed, 9 Oct 2024 01:28:10 +0000 (11:28 +1000)]
Remove the unused Plasma ammo type

2 months agoMerge branch 'k9er/autodemo-keep-matches' into 'master'
terencehill [Tue, 8 Oct 2024 18:12:57 +0000 (18:12 +0000)]
Merge branch 'k9er/autodemo-keep-matches' into 'master'

Add cl_autodemo_delete_keepmatches cvar

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

2 months agoAdd cl_autodemo_delete_keepmatches cvar
k9er [Tue, 8 Oct 2024 18:12:57 +0000 (18:12 +0000)]
Add cl_autodemo_delete_keepmatches cvar

Similar to `cl_autodemo_delete_keeprecords`, doesn't delete any demos where the player joined the match. Useful for non-race non-cts gamemodes.

2 months agoTransifex autosync
Rudolf Polzer [Tue, 8 Oct 2024 05:23:18 +0000 (07:23 +0200)]
Transifex autosync

2 months agoRun qcsrc/tools/genmod.sh
terencehill [Mon, 7 Oct 2024 22:22:15 +0000 (00:22 +0200)]
Run qcsrc/tools/genmod.sh

2 months agoMerge branch 'k9er/rename-intermediate' into 'master'
terencehill [Mon, 7 Oct 2024 22:21:31 +0000 (22:21 +0000)]
Merge branch 'k9er/rename-intermediate' into 'master'

Rename "Intermediate %d" to "Checkpoint %d"

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

2 months agoRename "Intermediate %d" to "Checkpoint %d"
k9er [Mon, 7 Oct 2024 22:21:31 +0000 (22:21 +0000)]
Rename "Intermediate %d" to "Checkpoint %d"

2 months agoMerge branch 'des/remove_many_backslashes' into 'master'
terencehill [Mon, 7 Oct 2024 18:05:46 +0000 (18:05 +0000)]
Merge branch 'des/remove_many_backslashes' into 'master'

Chat: Remove support for \ as escape character for everything but "\\", "\n" and "\%".

Closes #2529

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

2 months agoAllow logless cheat legality checks
drjaska [Wed, 4 Sep 2024 09:51:31 +0000 (12:51 +0300)]
Allow logless cheat legality checks

2 months agoFix wrong initialization of it.tur_head.aim_speed (frametime is 0.1 during worldspawn)
terencehill [Sun, 6 Oct 2024 10:06:16 +0000 (12:06 +0200)]
Fix wrong initialization of it.tur_head.aim_speed (frametime is 0.1 during worldspawn)

2 months agoMerge branch 'drjaska/Makefile' into 'master'
terencehill [Sat, 5 Oct 2024 17:15:48 +0000 (17:15 +0000)]
Merge branch 'drjaska/Makefile' into 'master'

Yoink individual prog tests from qcsrc/Makefile

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

2 months agoRemove support for \ as escape character for everything but "\\", "\n" and "\%".
Des [Sat, 5 Oct 2024 12:45:41 +0000 (09:45 -0300)]
Remove support for \ as escape character for everything but "\\", "\n" and "\%".
Keep a warning for previously valid escape characters (except mutator ones, if they exists).

2 months agoTransifex autosync
Rudolf Polzer [Sat, 5 Oct 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync

2 months agoSimplify it.tur_head.aim_speed calculation; also remove a few outdated comments and...
terencehill [Fri, 4 Oct 2024 10:30:45 +0000 (12:30 +0200)]
Simplify it.tur_head.aim_speed calculation; also remove a few outdated comments and fix some inconsistent style in turret code

2 months agoDefine HITTYPE constants using BIT
terencehill [Fri, 4 Oct 2024 09:42:00 +0000 (11:42 +0200)]
Define HITTYPE constants using BIT

2 months agoFix poweroff sound played when a spectator switches to observer or disconnects if...
terencehill [Fri, 4 Oct 2024 09:40:46 +0000 (11:40 +0200)]
Fix poweroff sound played when a spectator switches to observer or disconnects if the spectated player has a powerup

2 months agoTransifex autosync
Rudolf Polzer [Fri, 4 Oct 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync

2 months agoFix another grayed out setting in the menu.
terencehill [Thu, 3 Oct 2024 18:20:05 +0000 (20:20 +0200)]
Fix another grayed out setting in the menu.

It amends 0ef3b5b6b7

2 months agoMerge branch 'Mario/hittype_spam' into 'master'
terencehill [Thu, 3 Oct 2024 17:40:34 +0000 (17:40 +0000)]
Merge branch 'Mario/hittype_spam' into 'master'

Add a spam hittype for weapon attacks that repeatedly trigger radius damage

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

2 months agoAdd a spam hittype for weapon attacks that repeatedly trigger radius damage
Mario [Thu, 3 Oct 2024 15:41:40 +0000 (01:41 +1000)]
Add a spam hittype for weapon attacks that repeatedly trigger radius damage

2 months agoRemove useless vaporizer fields that I forgot to remove in !1282
terencehill [Thu, 3 Oct 2024 14:21:32 +0000 (16:21 +0200)]
Remove useless vaporizer fields that I forgot to remove in !1282

It amends be66a429a

2 months agoMerge branch 'drjaska/survival-sendflags' into 'master'
terencehill [Thu, 3 Oct 2024 12:47:18 +0000 (12:47 +0000)]
Merge branch 'drjaska/survival-sendflags' into 'master'

Optimise sending survival statuses

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

2 months agoOptimise sending survival statuses
Dr. Jaska [Thu, 3 Oct 2024 12:47:18 +0000 (12:47 +0000)]
Optimise sending survival statuses

2 months agoMerge branch 'Mario/ignore_cleanup' into 'master'
terencehill [Thu, 3 Oct 2024 12:38:38 +0000 (12:38 +0000)]
Merge branch 'Mario/ignore_cleanup' into 'master'

Move ignore functions out of the header to avoid potential inclusion errors

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

2 months agoMove ignore functions out of the header to avoid potential inclusion errors
Mario [Thu, 3 Oct 2024 12:38:33 +0000 (12:38 +0000)]
Move ignore functions out of the header to avoid potential inclusion errors

2 months agoFix #2890 "Several Effect settings are grayed out in current Xonotic git / autobuild"
terencehill [Thu, 3 Oct 2024 10:09:33 +0000 (12:09 +0200)]
Fix #2890 "Several Effect settings are grayed out in current Xonotic git / autobuild"

Fixed by applying the same compatibility workaround used for settings in Settings - Video window

2 months agoMerge branch 'bones_was_here/new_toys' into 'master'
bones_was_here [Thu, 3 Oct 2024 08:30:11 +0000 (08:30 +0000)]
Merge branch 'bones_was_here/new_toys' into 'master'

Classify arc and shockwave as "new toys", allow "new toys" to spawn if placed by the mapper

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

2 months agoAllow weapons classified as "new toys" to spawn if placed by the mapper
bones_was_here [Thu, 3 Oct 2024 08:13:09 +0000 (18:13 +1000)]
Allow weapons classified as "new toys" to spawn if placed by the mapper

See https://xonotic.org/balancevotes/24/

Changes the pipeline hash because bots may now use these weapons due to
`g_weaponarena all` in serverbench.cfg.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
2 months agoClassify arc and shockwave as "new toys"
bones_was_here [Sun, 1 Sep 2024 04:35:28 +0000 (14:35 +1000)]
Classify arc and shockwave as "new toys"

These are very unfinished, some of the other "new toys" weapons are far
more polished. As with the others, they can be allowed to spawn as
placed with g_new_toys 1; g_new_toys_autoreplace 0.

Fixes shockwave being listed in nt_IsNewToy() but not having
WEP_FLAG_MUTATORBLOCKED.

Fixes item spawning and g_weaponarena all and all_available not
respecting WEP_FLAG_HIDDEN (g_warmup_allguns 1 did respect it).

Changes the pipeline hash because apparently bots have been using a
WEP_FLAG_HIDDEN weapon due to g_weaponarena all in serverbench.cfg.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
2 months agoMerge branch 'Spike29/ca_ft_teamspawnpoints' into 'master'
bones_was_here [Thu, 3 Oct 2024 07:51:07 +0000 (07:51 +0000)]
Merge branch 'Spike29/ca_ft_teamspawnpoints' into 'master'

Use team spawn points (if any) by default in Clan Arena and Freeze Tag

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

2 months agoLoosen jumpspeed restrictions
otta8634 [Mon, 30 Sep 2024 17:00:30 +0000 (01:00 +0800)]
Loosen jumpspeed restrictions

Now it'll appear whenever z-velocity rises, rather than inconsistently
showing up based on whether the player was holding +jump in some cases
Also changed hud_panel_physics_speed_vertical description to reflect it
doesn't work for jumpspeed

2 months agoChange some common_physics vars to constants
otta8634 [Mon, 30 Sep 2024 16:36:06 +0000 (00:36 +0800)]
Change some common_physics vars to constants

Most were only used once