]>
git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
Juhu [Mon, 9 Sep 2024 16:49:55 +0000 (18:49 +0200)]
strafehud: clean up mess from previous commits, minor refactoring
Juhu [Mon, 9 Sep 2024 04:31:03 +0000 (06:31 +0200)]
strafehud: draw switch indicators using the angle indicator style
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
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
Juhu [Tue, 3 Sep 2024 21:34:52 +0000 (23:34 +0200)]
strafehud. various improvements for the more modular strafehud code
Juhu [Mon, 2 Sep 2024 18:04:53 +0000 (20:04 +0200)]
strafehud: rename some stuff
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
Juhu [Mon, 2 Sep 2024 17:25:38 +0000 (19:25 +0200)]
strafehud: simplify/improve some of the new functions
Juhu [Mon, 2 Sep 2024 16:58:59 +0000 (18:58 +0200)]
strafehud: split into multiple files, put code segments into functions
Juhu [Sun, 1 Sep 2024 20:54:51 +0000 (22:54 +0200)]
strafehud: minor non-functional code improvements
Juhu [Sun, 1 Sep 2024 16:56:03 +0000 (18:56 +0200)]
strafehud: get rid of large initialization block, move initialization where it belongs
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
Juhu [Sat, 31 Aug 2024 22:31:46 +0000 (00:31 +0200)]
strafehud: improve some descriptions and variable names
Juhu [Sat, 31 Aug 2024 21:55:10 +0000 (23:55 +0200)]
strafehud: remove hud_panel_strafehud_uncapped, this cvar was a bad idea
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
Juhu [Thu, 6 Jul 2023 19:01:20 +0000 (21:01 +0200)]
strafehud: add strafe efficiency indicator
Juhu [Thu, 6 Jul 2023 18:44:17 +0000 (20:44 +0200)]
strafehud: fix gradient when using projection and other minor bugs
Juhu [Sat, 4 Feb 2023 00:25:40 +0000 (01:25 +0100)]
strafehud: simplify sonar string handling code
Juhu [Wed, 25 Jan 2023 19:33:19 +0000 (20:33 +0100)]
strafehud: fix switch indicator positioning when using projection
Juhu [Fri, 20 Jan 2023 21:46:10 +0000 (22:46 +0100)]
strafehud: fix small mistakes of previous projection code commit
Juhu [Fri, 20 Jan 2023 21:31:24 +0000 (22:31 +0100)]
strafehud: add exponent cvar for sonar ranges
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
Juhu [Wed, 18 Jan 2023 15:08:01 +0000 (16:08 +0100)]
strafehud: add vertical angle indicator
Juhu [Wed, 18 Jan 2023 12:07:42 +0000 (13:07 +0100)]
strafehud: make sonar sound interval dynamic too
Juhu [Sun, 15 Jan 2023 11:32:01 +0000 (12:32 +0100)]
strafehud: add audible feedback to strafehud (strafe sonar)
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
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
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
Rudolf Polzer [Sun, 2 Apr 2023 05:23:09 +0000 (07:23 +0200)]
Transifex autosync
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
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
Juhu [Mon, 27 Mar 2023 07:29:57 +0000 (09:29 +0200)]
strafehud: connect the arrow to the line when drawing the angle indicator
Juhu [Thu, 16 Mar 2023 06:46:00 +0000 (07:46 +0100)]
strafehud: reformat code to match Xonotic code style
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
Rudolf Polzer [Sun, 26 Mar 2023 05:23:09 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 24 Mar 2023 21:12:39 +0000 (22:12 +0100)]
Update hash
terencehill [Sun, 19 Mar 2023 23:19:39 +0000 (00:19 +0100)]
Add back support for nested intrusive list loops
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
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
z411 [Sun, 19 Mar 2023 11:07:04 +0000 (11:07 +0000)]
Make the speed unit a global, consistent setting
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
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)
Rudolf Polzer [Sun, 19 Mar 2023 06:23:11 +0000 (07:23 +0100)]
Transifex autosync
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
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
terencehill [Fri, 17 Mar 2023 00:01:45 +0000 (01:01 +0100)]
Run genmod.sh
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
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`"
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
bones_was_here [Mon, 13 Mar 2023 15:24:41 +0000 (01:24 +1000)]
Fix an inconsistency with applying ITEM_FLAG_MUTATORBLOCKED
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.
bones_was_here [Mon, 13 Mar 2023 17:48:51 +0000 (03:48 +1000)]
fix pipeline: use a more stable version of stormkeep
Rudolf Polzer [Sun, 12 Mar 2023 06:23:33 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Fri, 10 Mar 2023 00:14:33 +0000 (01:14 +0100)]
Print the "Incorrect parameters for ..." message with the more appropriated LOG_HELPF
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
terencehill [Tue, 7 Mar 2023 11:52:47 +0000 (12:52 +0100)]
Listbox: don't allow double-click on non-selectable items
terencehill [Tue, 7 Mar 2023 11:22:00 +0000 (12:22 +0100)]
Show the scoreboard user interface shortcut in the keybinder
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
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
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.
Rudolf Polzer [Sun, 5 Mar 2023 06:23:09 +0000 (07:23 +0100)]
Transifex autosync
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
terencehill [Fri, 3 Mar 2023 11:23:31 +0000 (12:23 +0100)]
Document item_armor25 usage in Nexuiz
terencehill [Fri, 3 Mar 2023 11:06:59 +0000 (12:06 +0100)]
Remove an unused parameter from reset_map
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)
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
Spike29 [Mon, 27 Feb 2023 22:32:06 +0000 (23:32 +0100)]
Add proper names to the Indonesian and Latin translations
Rudolf Polzer [Sun, 26 Feb 2023 06:23:08 +0000 (07:23 +0100)]
Transifex autosync
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
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
Rudolf Polzer [Sun, 19 Feb 2023 06:23:13 +0000 (07:23 +0100)]
Transifex autosync
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.
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
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
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
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.
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
terencehill [Wed, 8 Feb 2023 22:34:41 +0000 (23:34 +0100)]
Document the negative w_backoff factor of the hook bomb
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 .
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)
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
Mario [Tue, 7 Feb 2023 15:12:33 +0000 (01:12 +1000)]
Update credits
Mario [Tue, 7 Feb 2023 14:34:19 +0000 (00:34 +1000)]
Also reverse trace_plane_normal to match the engine's behaviour
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
Mario [Tue, 7 Feb 2023 05:07:17 +0000 (15:07 +1000)]
Add a global to enable engine physics for testing purposes
terencehill [Mon, 6 Feb 2023 19:07:20 +0000 (20:07 +0100)]
Remove BLASTER_SECONDARY_ATTACK, now less useful thanks to the previous commit
terencehill [Mon, 6 Feb 2023 17:43:11 +0000 (18:43 +0100)]
Clean blaster code up to reduce code and fields
kiwixz [Sat, 21 Jan 2023 23:24:23 +0000 (00:24 +0100)]
Fix qcsrc genmod.sh including files twice
Rudolf Polzer [Sun, 5 Feb 2023 13:47:17 +0000 (08:47 -0500)]
Skip division by zero in snapback anticheat.
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
Rudolf Polzer [Sun, 5 Feb 2023 06:23:07 +0000 (07:23 +0100)]
Transifex autosync
terencehill [Sun, 5 Feb 2023 00:12:58 +0000 (01:12 +0100)]
oops, remove some testing code I accidentally put in the previous commit
terencehill [Sat, 4 Feb 2023 23:47:20 +0000 (00:47 +0100)]
Count votes of eliminated players too if sv_vote_nospectators is active
Rudolf Polzer [Sat, 4 Feb 2023 15:11:16 +0000 (10:11 -0500)]
Add snapback detection.
bones_was_here [Sat, 4 Feb 2023 08:04:54 +0000 (18:04 +1000)]
Remove a FIXME that's fixed
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
Rudolf Polzer [Fri, 3 Feb 2023 12:16:42 +0000 (13:16 +0100)]
Fix the txt file.
Rudolf Polzer [Fri, 3 Feb 2023 12:13:04 +0000 (13:13 +0100)]
Transifex autosync
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.
Rudolf Polzer [Fri, 3 Feb 2023 12:07:52 +0000 (13:07 +0100)]
check-translations.sh: bail out if QCC not found