]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
7 months agostrafehud: improve efficiency and code readability
Juhu [Thu, 5 Sep 2024 17:30:54 +0000 (19:30 +0200)]
strafehud: improve efficiency and code readability

reduce number of conversions between angles and offsets

early out for projection functions in linear mode

if clause now properly encloses call to projection function

deduplicated some calculations in the strafe meter function

7 months agostrafehud. various improvements for the more modular strafehud code
Juhu [Tue, 3 Sep 2024 21:34:52 +0000 (23:34 +0200)]
strafehud. various improvements for the more modular strafehud code

7 months agostrafehud: rename some stuff
Juhu [Mon, 2 Sep 2024 18:04:53 +0000 (20:04 +0200)]
strafehud: rename some stuff

7 months agostrafehud: make overturn area size a variable again to prepare for dynamic overturn...
Juhu [Mon, 2 Sep 2024 17:33:10 +0000 (19:33 +0200)]
strafehud: make overturn area size a variable again to prepare for dynamic overturn area

7 months agostrafehud: simplify/improve some of the new functions
Juhu [Mon, 2 Sep 2024 17:25:38 +0000 (19:25 +0200)]
strafehud: simplify/improve some of the new functions

7 months agostrafehud: split into multiple files, put code segments into functions
Juhu [Mon, 2 Sep 2024 16:58:59 +0000 (18:58 +0200)]
strafehud: split into multiple files, put code segments into functions

7 months agostrafehud: minor non-functional code improvements
Juhu [Sun, 1 Sep 2024 20:54:51 +0000 (22:54 +0200)]
strafehud: minor non-functional code improvements

7 months agostrafehud: get rid of large initialization block, move initialization where it belongs
Juhu [Sun, 1 Sep 2024 16:56:03 +0000 (18:56 +0200)]
strafehud: get rid of large initialization block, move initialization where it belongs

7 months agostrafehud: do all calculations using angles, only use hud unit offsets in the actual...
Juhu [Sun, 1 Sep 2024 16:11:17 +0000 (18:11 +0200)]
strafehud: do all calculations using angles, only use hud unit offsets in the actual rendering logic

7 months agostrafehud: improve some descriptions and variable names
Juhu [Sat, 31 Aug 2024 22:31:46 +0000 (00:31 +0200)]
strafehud: improve some descriptions and variable names

7 months agostrafehud: remove hud_panel_strafehud_uncapped, this cvar was a bad idea
Juhu [Sat, 31 Aug 2024 21:55:10 +0000 (23:55 +0200)]
strafehud: remove hud_panel_strafehud_uncapped, this cvar was a bad idea

17 months agostrafehud: improve nan handling (fov/range) and minor aesthetic code fixes that accum...
Juhu [Sat, 4 Nov 2023 14:27:10 +0000 (15:27 +0100)]
strafehud: improve nan handling (fov/range) and minor aesthetic code fixes that accumulated over months

21 months agostrafehud: add strafe efficiency indicator
Juhu [Thu, 6 Jul 2023 19:01:20 +0000 (21:01 +0200)]
strafehud: add strafe efficiency indicator

21 months agostrafehud: fix gradient when using projection and other minor bugs
Juhu [Thu, 6 Jul 2023 18:44:17 +0000 (20:44 +0200)]
strafehud: fix gradient when using projection and other minor bugs

2 years agostrafehud: simplify sonar string handling code
Juhu [Sat, 4 Feb 2023 00:25:40 +0000 (01:25 +0100)]
strafehud: simplify sonar string handling code

2 years agostrafehud: fix switch indicator positioning when using projection
Juhu [Wed, 25 Jan 2023 19:33:19 +0000 (20:33 +0100)]
strafehud: fix switch indicator positioning when using projection

2 years agostrafehud: fix small mistakes of previous projection code commit
Juhu [Fri, 20 Jan 2023 21:46:10 +0000 (22:46 +0100)]
strafehud: fix small mistakes of previous projection code commit

2 years agostrafehud: add exponent cvar for sonar ranges
Juhu [Fri, 20 Jan 2023 21:31:24 +0000 (22:31 +0100)]
strafehud: add exponent cvar for sonar ranges

2 years agostrafehud: implement different projection modes and allow the range to be set to...
Juhu [Fri, 20 Jan 2023 20:58:50 +0000 (21:58 +0100)]
strafehud: implement different projection modes and allow the range to be set to the current fov

2 years agostrafehud: add vertical angle indicator
Juhu [Wed, 18 Jan 2023 15:08:01 +0000 (16:08 +0100)]
strafehud: add vertical angle indicator

2 years agostrafehud: make sonar sound interval dynamic too
Juhu [Wed, 18 Jan 2023 12:07:42 +0000 (13:07 +0100)]
strafehud: make sonar sound interval dynamic too

2 years agostrafehud: add audible feedback to strafehud (strafe sonar)
Juhu [Sun, 15 Jan 2023 11:32:01 +0000 (12:32 +0100)]
strafehud: add audible feedback to strafehud (strafe sonar)

2 years agoMerge branch 'Juhu/strafehud-fixes' into 'master'
terencehill [Tue, 4 Apr 2023 12:24:41 +0000 (12:24 +0000)]
Merge branch 'Juhu/strafehud-fixes' into 'master'

Improved StrafeHUD

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

2 years agoDecide if an item will spawn before precaching its assets
bones_was_here [Sun, 2 Apr 2023 20:09:33 +0000 (06:09 +1000)]
Decide if an item will spawn before precaching its assets

May help with #2799

2 years agoFix null ptr deref when starting map dfwc2017-6
bones_was_here [Sun, 2 Apr 2023 20:25:35 +0000 (06:25 +1000)]
Fix null ptr deref when starting map dfwc2017-6

Caused by 9b8502fe368052b4b81985084542548e6992cf72
which was needed for b95beb262077d8f733bbee7cb0d5f4c05b7b3e2f

2 years agoTransifex autosync
Rudolf Polzer [Sun, 2 Apr 2023 05:23:09 +0000 (07:23 +0200)]
Transifex autosync

2 years agoMerge branch 'bones_was_here/q3compat_gravity' into 'master'
bones_was_here [Tue, 28 Mar 2023 14:15:42 +0000 (14:15 +0000)]
Merge branch 'bones_was_here/q3compat_gravity' into 'master'

Compensate for Q3 frametime-dependent gravity in configs and jump pad code

Closes #2187

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

2 years agoMerge branch 'master' into Juhu/strafehud-fixes
Juhu [Mon, 27 Mar 2023 15:55:29 +0000 (17:55 +0200)]
Merge branch 'master' into Juhu/strafehud-fixes

Fixed merge conflict caused by the new speed unit cvar

2 years agostrafehud: connect the arrow to the line when drawing the angle indicator
Juhu [Mon, 27 Mar 2023 07:29:57 +0000 (09:29 +0200)]
strafehud: connect the arrow to the line when drawing the angle indicator

2 years agostrafehud: reformat code to match Xonotic code style
Juhu [Thu, 16 Mar 2023 06:46:00 +0000 (07:46 +0100)]
strafehud: reformat code to match Xonotic code style

2 years agoMerge branch 'terencehill/il_loop_fix' into 'master'
bones_was_here [Sun, 26 Mar 2023 17:33:54 +0000 (17:33 +0000)]
Merge branch 'terencehill/il_loop_fix' into 'master'

Implement safe removal of elements of an intrusive list while looping over them

Closes #2790

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

2 years agoTransifex autosync
Rudolf Polzer [Sun, 26 Mar 2023 05:23:09 +0000 (07:23 +0200)]
Transifex autosync

2 years agoUpdate hash
terencehill [Fri, 24 Mar 2023 21:12:39 +0000 (22:12 +0100)]
Update hash

2 years agoAdd back support for nested intrusive list loops
terencehill [Sun, 19 Mar 2023 23:19:39 +0000 (00:19 +0100)]
Add back support for nested intrusive list loops

2 years agoImplement a qc version of copyentity that clears intrusive list data from the copied...
terencehill [Sun, 19 Mar 2023 17:17:05 +0000 (18:17 +0100)]
Implement a qc version of copyentity that clears intrusive list data from the copied entity

2 years agoMerge branch 'z411/speed_unit' into 'master'
terencehill [Sun, 19 Mar 2023 11:07:04 +0000 (11:07 +0000)]
Merge branch 'z411/speed_unit' into 'master'

Make the speed unit a global, consistent setting

Closes #2804

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

2 years agoMake the speed unit a global, consistent setting
z411 [Sun, 19 Mar 2023 11:07:04 +0000 (11:07 +0000)]
Make the speed unit a global, consistent setting

2 years agoMerge branch 'terencehill/decals_fix' into 'master'
terencehill [Sun, 19 Mar 2023 10:59:28 +0000 (10:59 +0000)]
Merge branch 'terencehill/decals_fix' into 'master'

Fix 2 decal issues

Closes #2128

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

2 years agoAdd some automated tests of intrusive lists when they change during a loop (run tests...
terencehill [Fri, 17 Mar 2023 23:30:42 +0000 (00:30 +0100)]
Add some automated tests of intrusive lists when they change during a loop (run tests with sv_cmd runtest)

2 years agoTransifex autosync
Rudolf Polzer [Sun, 19 Mar 2023 06:23:11 +0000 (07:23 +0100)]
Transifex autosync

2 years agoMake work IL_POP (pop from tail) and IL_SHIFT (pop from head) too during a loop ...
terencehill [Fri, 17 Mar 2023 22:08:19 +0000 (23:08 +0100)]
Make work IL_POP (pop from tail) and IL_SHIFT (pop from head) too during a loop (these functions are currently never used). Also make sure il_prev and il_next fields of popped elements are consistently cleared

2 years agoRefactor IL_CLEAR to avoid using IL_EACH which is now incompatible with it. As bonus...
terencehill [Fri, 17 Mar 2023 18:15:50 +0000 (19:15 +0100)]
Refactor IL_CLEAR to avoid using IL_EACH which is now incompatible with it. As bonus the expanded code of IL_CLEAR is now simpler and optimized

2 years agoRun genmod.sh
terencehill [Fri, 17 Mar 2023 00:01:45 +0000 (01:01 +0100)]
Run genmod.sh

2 years agoMerge branch 'master' into 'master'
terencehill [Thu, 16 Mar 2023 23:36:22 +0000 (23:36 +0000)]
Merge branch 'master' into 'master'

Fix qcsrc genmod.sh including files twice

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

2 years agoImplement safe removal of elements of an intrusive list while looping over them....
terencehill [Thu, 16 Mar 2023 15:54:35 +0000 (16:54 +0100)]
Implement safe removal of elements of an intrusive list while looping over them. It fixes #2790 "Hitting a player with crylink primary causes `setorigin: can not modify free entity`"

2 years agoOnly set up q3compat item teaming for enabled and mapper-placed items
bones_was_here [Mon, 13 Mar 2023 15:26:21 +0000 (01:26 +1000)]
Only set up q3compat item teaming for enabled and mapper-placed items

2 years agoFix an inconsistency with applying ITEM_FLAG_MUTATORBLOCKED
bones_was_here [Mon, 13 Mar 2023 15:24:41 +0000 (01:24 +1000)]
Fix an inconsistency with applying ITEM_FLAG_MUTATORBLOCKED

2 years agoFix mapinfo settemp of individual powerup cvars
bones_was_here [Mon, 13 Mar 2023 15:17:06 +0000 (01:17 +1000)]
Fix mapinfo settemp of individual powerup cvars

The cvars were read before the settemps were applied.
When StartItem() calls .m_iteminit() the settemps have been applied.

2 years agofix pipeline: use a more stable version of stormkeep
bones_was_here [Mon, 13 Mar 2023 17:48:51 +0000 (03:48 +1000)]
fix pipeline: use a more stable version of stormkeep

2 years agoTransifex autosync
Rudolf Polzer [Sun, 12 Mar 2023 06:23:33 +0000 (07:23 +0100)]
Transifex autosync

2 years agoPrint the "Incorrect parameters for ..." message with the more appropriated LOG_HELPF
terencehill [Fri, 10 Mar 2023 00:14:33 +0000 (01:14 +0100)]
Print the "Incorrect parameters for ..." message with the more appropriated LOG_HELPF

2 years agoPrevent errors and a few crashes running most of the server commands while the server...
terencehill [Fri, 10 Mar 2023 00:07:00 +0000 (01:07 +0100)]
Prevent errors and a few crashes running most of the server commands while the server isn't running

2 years agoListbox: don't allow double-click on non-selectable items
terencehill [Tue, 7 Mar 2023 11:52:47 +0000 (12:52 +0100)]
Listbox: don't allow double-click on non-selectable items

2 years agoShow the scoreboard user interface shortcut in the keybinder
terencehill [Tue, 7 Mar 2023 11:22:00 +0000 (12:22 +0100)]
Show the scoreboard user interface shortcut in the keybinder

2 years agoKeybinder: make sure the selected keybind is always visible when user clicks a button...
terencehill [Tue, 7 Mar 2023 11:15:38 +0000 (12:15 +0100)]
Keybinder: make sure the selected keybind is always visible when user clicks a button to edit it

2 years agoMerge branch 'drjaska/mayhem' into 'master'
terencehill [Sun, 5 Mar 2023 18:35:33 +0000 (18:35 +0000)]
Merge branch 'drjaska/mayhem' into 'master'

Mayhem and Team Mayhem gamemodes

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

2 years agoMayhem and Team Mayhem gamemodes
Dr. Jaska [Sun, 5 Mar 2023 18:35:32 +0000 (18:35 +0000)]
Mayhem and Team Mayhem gamemodes

Each player spawns with 200/200 and full ammo like in LMS&CA and pickup items are removed by default, powerups are kept for extra spice but can be removed with whitelisted cvars.

2 years agoTransifex autosync
Rudolf Polzer [Sun, 5 Mar 2023 06:23:09 +0000 (07:23 +0100)]
Transifex autosync

2 years agostrafehud: if the slick detector is enabled reserve space for text indicators even...
Juhu [Sat, 4 Mar 2023 19:12:43 +0000 (20:12 +0100)]
strafehud: if the slick detector is enabled reserve space for text indicators even if there's currently no slick being detected

2 years agoDocument item_armor25 usage in Nexuiz
terencehill [Fri, 3 Mar 2023 11:23:31 +0000 (12:23 +0100)]
Document item_armor25 usage in Nexuiz

2 years agoRemove an unused parameter from reset_map
terencehill [Fri, 3 Mar 2023 11:06:59 +0000 (12:06 +0100)]
Remove an unused parameter from reset_map

2 years agoGive a local variable a less ambiguous name (fraglimit_override is also a cvar)
terencehill [Fri, 3 Mar 2023 11:02:59 +0000 (12:02 +0100)]
Give a local variable a less ambiguous name (fraglimit_override is also a cvar)

2 years agoMerge branch 'Spike29/languages' into 'master'
bones_was_here [Wed, 1 Mar 2023 19:39:22 +0000 (19:39 +0000)]
Merge branch 'Spike29/languages' into 'master'

Add proper names to the Indonesian and Latin translations

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

2 years agoAdd proper names to the Indonesian and Latin translations
Spike29 [Mon, 27 Feb 2023 22:32:06 +0000 (23:32 +0100)]
Add proper names to the Indonesian and Latin translations

2 years agoTransifex autosync
Rudolf Polzer [Sun, 26 Feb 2023 06:23:08 +0000 (07:23 +0100)]
Transifex autosync

2 years agoUse a temp entity to avoid linking kh_controller to the world with setmodel
terencehill [Mon, 20 Feb 2023 18:09:12 +0000 (19:09 +0100)]
Use a temp entity to avoid linking kh_controller to the world with setmodel

2 years agoFix waypoints marked as pure but still linked to the world and with collision testing...
terencehill [Sun, 19 Feb 2023 15:23:58 +0000 (16:23 +0100)]
Fix waypoints marked as pure but still linked to the world and with collision testing enabled

2 years agoTransifex autosync
Rudolf Polzer [Sun, 19 Feb 2023 06:23:13 +0000 (07:23 +0100)]
Transifex autosync

2 years agoCorrections and documentation for gravity etc in physicsCPMA.cfg and physicsQ3.cfg
bones_was_here [Thu, 16 Feb 2023 16:27:59 +0000 (02:27 +1000)]
Corrections and documentation for gravity etc in physicsCPMA.cfg and physicsQ3.cfg

Adds sv_track_canjump to configs that lacked it.

2 years agoAdjust jump pad velocity on Q3 maps to match 125fps frametime-dependent behaviour
bones_was_here [Thu, 16 Feb 2023 18:21:48 +0000 (04:21 +1000)]
Adjust jump pad velocity on Q3 maps to match 125fps frametime-dependent behaviour

2 years agoMerge branch 'Juhu/q3_jumppads' into 'master'
bones_was_here [Fri, 17 Feb 2023 07:34:28 +0000 (07:34 +0000)]
Merge branch 'Juhu/q3_jumppads' into 'master'

Jump pad trajectory origin and q3compat

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

2 years agoUse same jump pad trajectory origin as Q3 on Q3 maps, make that optional for Xonotic...
Juhu [Fri, 17 Feb 2023 07:34:28 +0000 (07:34 +0000)]
Use same jump pad trajectory origin as Q3 on Q3 maps, make that optional for Xonotic maps

2 years agoAdd Q3COMPAT_COMMON to work around #2812
bones_was_here [Thu, 16 Feb 2023 10:50:28 +0000 (20:50 +1000)]
Add Q3COMPAT_COMMON to work around #2812

This is needed in a number of MRs whose scope doesn't include changing
the design of the STAT macro.

2 years agoMerge branch 'bones_was_here/no_clobber_DP_cmds' into 'master'
z411 [Thu, 9 Feb 2023 21:47:29 +0000 (21:47 +0000)]
Merge branch 'bones_was_here/no_clobber_DP_cmds' into 'master'

Remove override of engine +showscores command

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

2 years agoDocument the negative w_backoff factor of the hook bomb
terencehill [Wed, 8 Feb 2023 22:34:41 +0000 (23:34 +0100)]
Document the negative w_backoff factor of the hook bomb

2 years agoRevert "Restore a safety check removed in the previous merge commit and put it in...
terencehill [Wed, 8 Feb 2023 21:40:34 +0000 (22:40 +0100)]
Revert "Restore a safety check removed in the previous merge commit and put it in better place (matching engine behaviour)", for some reason trace_ent is allowed be NULL, my bad.

This reverts commit 1d8f8ba43f23e2d949571624ba2ae2de9cdd24a8.

2 years agoRestore a safety check removed in the previous merge commit and put it in better...
terencehill [Wed, 8 Feb 2023 21:15:51 +0000 (22:15 +0100)]
Restore a safety check removed in the previous merge commit and put it in better place (matching engine behaviour)

2 years agoMerge branch 'Mario/rocket_blaster_fix' into 'master'
terencehill [Wed, 8 Feb 2023 19:08:34 +0000 (19:08 +0000)]
Merge branch 'Mario/rocket_blaster_fix' into 'master'

Check to make sure neither entity has been freed when calling touch functions

Closes #2811

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

2 years agoUpdate credits
Mario [Tue, 7 Feb 2023 15:12:33 +0000 (01:12 +1000)]
Update credits

2 years agoAlso reverse trace_plane_normal to match the engine's behaviour
Mario [Tue, 7 Feb 2023 14:34:19 +0000 (00:34 +1000)]
Also reverse trace_plane_normal to match the engine's behaviour

2 years agoCheck to make sure neither entity has been freed when calling touch functions, fixes...
Mario [Tue, 7 Feb 2023 14:26:03 +0000 (00:26 +1000)]
Check to make sure neither entity has been freed when calling touch functions, fixes #2811

2 years agoAdd a global to enable engine physics for testing purposes
Mario [Tue, 7 Feb 2023 05:07:17 +0000 (15:07 +1000)]
Add a global to enable engine physics for testing purposes

2 years agoRemove BLASTER_SECONDARY_ATTACK, now less useful thanks to the previous commit
terencehill [Mon, 6 Feb 2023 19:07:20 +0000 (20:07 +0100)]
Remove BLASTER_SECONDARY_ATTACK, now less useful thanks to the previous commit

2 years agoClean blaster code up to reduce code and fields
terencehill [Mon, 6 Feb 2023 17:43:11 +0000 (18:43 +0100)]
Clean blaster code up to reduce code and fields

2 years agoFix qcsrc genmod.sh including files twice
kiwixz [Sat, 21 Jan 2023 23:24:23 +0000 (00:24 +0100)]
Fix qcsrc genmod.sh including files twice

2 years agoSkip division by zero in snapback anticheat.
Rudolf Polzer [Sun, 5 Feb 2023 13:47:17 +0000 (08:47 -0500)]
Skip division by zero in snapback anticheat.

2 years agoMerge branch 'bones_was_here/warmup' into 'master'
terencehill [Sun, 5 Feb 2023 12:34:05 +0000 (12:34 +0000)]
Merge branch 'bones_was_here/warmup' into 'master'

Implement g_warmup > 1 and related fixes and refactoring

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

2 years agoTransifex autosync
Rudolf Polzer [Sun, 5 Feb 2023 06:23:07 +0000 (07:23 +0100)]
Transifex autosync

2 years agooops, remove some testing code I accidentally put in the previous commit
terencehill [Sun, 5 Feb 2023 00:12:58 +0000 (01:12 +0100)]
oops, remove some testing code I accidentally put in the previous commit

2 years agoCount votes of eliminated players too if sv_vote_nospectators is active
terencehill [Sat, 4 Feb 2023 23:47:20 +0000 (00:47 +0100)]
Count votes of eliminated players too if sv_vote_nospectators is active

2 years agoAdd snapback detection.
Rudolf Polzer [Sat, 4 Feb 2023 15:11:16 +0000 (10:11 -0500)]
Add snapback detection.

2 years agoRemove a FIXME that's fixed
bones_was_here [Sat, 4 Feb 2023 08:04:54 +0000 (18:04 +1000)]
Remove a FIXME that's fixed

2 years agostrafehud: make gradient segments calculate their appearance using the center of...
Juhu [Fri, 3 Feb 2023 23:53:02 +0000 (00:53 +0100)]
strafehud: make gradient segments calculate their appearance using the center of the segment instead of the left edge

2 years agoFix the txt file.
Rudolf Polzer [Fri, 3 Feb 2023 12:16:42 +0000 (13:16 +0100)]
Fix the txt file.

2 years agoTransifex autosync
Rudolf Polzer [Fri, 3 Feb 2023 12:13:04 +0000 (13:13 +0100)]
Transifex autosync

2 years agoRemove the stupid qcc calls in check-translations.sh.
Rudolf Polzer [Fri, 3 Feb 2023 12:11:06 +0000 (13:11 +0100)]
Remove the stupid qcc calls in check-translations.sh.

Much faster and more robust this way.

2 years agocheck-translations.sh: bail out if QCC not found
Rudolf Polzer [Fri, 3 Feb 2023 12:07:52 +0000 (13:07 +0100)]
check-translations.sh: bail out if QCC not found

2 years agoMore translation damage fixing.
Rudolf Polzer [Fri, 3 Feb 2023 11:59:56 +0000 (12:59 +0100)]
More translation damage fixing.

2 years agoUndo damage to the .pot file.
Rudolf Polzer [Fri, 3 Feb 2023 11:45:32 +0000 (12:45 +0100)]
Undo damage to the .pot file.

2 years agoAdd back lost translations.
Rudolf Polzer [Fri, 3 Feb 2023 11:39:12 +0000 (12:39 +0100)]
Add back lost translations.