]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
3 months agostrafehud: move minimum hud angle calculation into hud angle function
Juhu [Mon, 16 Sep 2024 18:44:59 +0000 (20:44 +0200)]
strafehud: move minimum hud angle calculation into hud angle function

3 months agostrafehud: improved function naming, moved the mix color function to util.qc + indent...
Juhu [Mon, 16 Sep 2024 18:24:46 +0000 (20:24 +0200)]
strafehud: improved function naming, moved the mix color function to util.qc + indentation fix

3 months agostrafehud: FIXME comment for every stateful strafehud function
Juhu [Mon, 9 Sep 2024 17:46:58 +0000 (19:46 +0200)]
strafehud: FIXME comment for every stateful strafehud function

3 months agostrafehud: fix memory leak in strafe sonar when setting the audio back to an empty...
Juhu [Mon, 9 Sep 2024 17:03:59 +0000 (19:03 +0200)]
strafehud: fix memory leak in strafe sonar when setting the audio back to an empty string

3 months agostrafehud: clean up mess from previous commits, minor refactoring
Juhu [Mon, 9 Sep 2024 16:49:55 +0000 (18:49 +0200)]
strafehud: clean up mess from previous commits, minor refactoring

3 months agostrafehud: draw switch indicators using the angle indicator style
Juhu [Mon, 9 Sep 2024 04:31:03 +0000 (06:31 +0200)]
strafehud: draw switch indicators using the angle indicator style

3 months agostrafehud: refactor the angle indicator code
Juhu [Mon, 9 Sep 2024 04:25:03 +0000 (06:25 +0200)]
strafehud: refactor the angle indicator code

draw each indicator in a separate function call

the code is now simpler and some unnecssary logic got removed

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

13 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

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

17 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

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

20 months 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

20 months 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

20 months 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

20 months 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

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

20 months 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

20 months 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)

20 months 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

20 months 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

20 months 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

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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

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

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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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)

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

21 months 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

21 months 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

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

21 months 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

21 months 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`"

21 months 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

21 months 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

21 months 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.

21 months 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

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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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.

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

21 months 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

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

21 months 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

21 months 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)

21 months 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

21 months 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

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

22 months 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

22 months 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

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

22 months 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.

22 months 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

22 months 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

22 months 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

22 months 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.

22 months 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

22 months 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

22 months 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.

22 months 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)

22 months 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

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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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.

22 months 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

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

22 months 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

22 months 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

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

22 months 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

22 months 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