]>
git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
Juhu [Sat, 5 Oct 2024 14:25:04 +0000 (16:25 +0200)]
Merge branch 'Juhu/strafehud-next' into Juhu/strafehud-next_cvarsave
otta8634 [Fri, 4 Oct 2024 19:10:01 +0000 (03:10 +0800)]
W-turn indicator fixes
Fixed conditions for displaying the indicators.
Fixed the check for if aiming at the angle would put you in the accel
zone, while side strafing.
Made it blue rather than light-blue, so it's not confused with the angle
indicator, which is also light-blue by default when in an accel zone.
Juhu [Fri, 4 Oct 2024 17:00:22 +0000 (19:00 +0200)]
strafehud: free text positioning system, supersedes the old system
Juhu [Thu, 3 Oct 2024 19:52:06 +0000 (21:52 +0200)]
strafehud: refactor some wturn related logic
Juhu [Fri, 27 Sep 2024 23:01:57 +0000 (01:01 +0200)]
strafehud: move forward/backward keys detection into separate function
Juhu [Thu, 26 Sep 2024 21:25:41 +0000 (23:25 +0200)]
Merge branch 'Juhu/strafehud-next' into Juhu/strafehud-next_cvarsave
Juhu [Thu, 26 Sep 2024 18:01:33 +0000 (20:01 +0200)]
strafehud: add some more documentation to the code
Juhu [Thu, 26 Sep 2024 16:59:05 +0000 (18:59 +0200)]
strafehud: properly pass player entity to vangle function for use in macro even though it technically does not need it
Juhu [Thu, 26 Sep 2024 16:42:15 +0000 (18:42 +0200)]
strafehud: move GeomLerp declaration so that it also applies to the strafehud sub parts
Juhu [Thu, 26 Sep 2024 05:21:23 +0000 (07:21 +0200)]
Merge branch 'Juhu/slick_detect_stuff' into Juhu/strafehud-next
Juhu [Tue, 24 Sep 2024 21:40:08 +0000 (23:40 +0200)]
strafehud: improved hud range code, added fov option for range_sidestrafe and better handling of edge cases
Juhu [Tue, 24 Sep 2024 21:02:19 +0000 (23:02 +0200)]
strafehud: minor cosmetic changes after merge
Juhu [Tue, 24 Sep 2024 20:34:56 +0000 (22:34 +0200)]
strafehud: more consistent variable naming
Juhu [Tue, 24 Sep 2024 20:32:27 +0000 (22:32 +0200)]
strafehud: consistent style in hud config file, removed double quotes from descriptions
Juhu [Tue, 24 Sep 2024 18:32:57 +0000 (20:32 +0200)]
Merge branch 'master' into Juhu/strafehud-next
variable declaration moved down to relevant code since the initialization block no longer exists
hud_panel_strafehud_wturn_alpha default changed from 1 to 0.5 to match hud_panel_strafehud_switch_alpha
removed hud_panel_strafehud_wturn_width since the wturn indicator uses the arrow style now
removed the offset_centered parameter from StrafeHUD_DrawStrafeHUD() since the old indicators which this was used for no longer exist
changed naming of some variables to match new naming:
odd -> opposite
switch -> change
real -> absolute
bones_was_here [Sat, 21 Sep 2024 14:15:32 +0000 (14:15 +0000)]
Merge branch 'k9er/strafehud-changes' into 'master'
Strafehud fixes and additions related to W-turning, side-strafing, and angle accuracy
See merge request xonotic/xonotic-data.pk3dir!1353
k9er [Sat, 21 Sep 2024 14:15:32 +0000 (14:15 +0000)]
Strafehud fixes and additions related to W-turning, side-strafing, and angle accuracy
terencehill [Sat, 21 Sep 2024 14:09:39 +0000 (14:09 +0000)]
Merge branch 'des/quickmenu_keep' into 'master'
Implement KEEP_OPEN flag for quickmenu, and make holding CTRL coherent with it
See merge request xonotic/xonotic-data.pk3dir!1350
Des - [Sat, 21 Sep 2024 14:09:39 +0000 (14:09 +0000)]
Implement KEEP_OPEN flag for quickmenu, and make holding CTRL coherent with it
terencehill [Fri, 20 Sep 2024 20:03:41 +0000 (20:03 +0000)]
Merge branch 'Mario/infinite_ammo_start' into 'master'
Don't force all ammo values to 999 when spawning with infinite ammo
See merge request xonotic/xonotic-data.pk3dir!1314
Mario [Fri, 20 Sep 2024 20:03:40 +0000 (20:03 +0000)]
Don't force all ammo values to 999 when spawning with infinite ammo
Juhu [Thu, 19 Sep 2024 18:10:06 +0000 (20:10 +0200)]
strafehud: simplify color mixing function
Juhu [Thu, 19 Sep 2024 18:01:40 +0000 (20:01 +0200)]
strafehud: minor code cosmetics
Juhu [Thu, 19 Sep 2024 17:49:58 +0000 (19:49 +0200)]
strafehud: move the size checks for gradients out of the gradient functions, perhaps this can later be merged into a single if clause
Juhu [Thu, 19 Sep 2024 17:36:48 +0000 (19:36 +0200)]
strafehud: avoid unnecessary indentation, removed large if block
Juhu [Wed, 18 Sep 2024 20:53:29 +0000 (22:53 +0200)]
strafehud: refactor and document the minimum hud angle calculations triggered by a _range value of 0
Juhu [Tue, 17 Sep 2024 18:33:37 +0000 (20:33 +0200)]
strafehud: implemented faster gradient utilizing only a few polygon vertices
Juhu [Mon, 16 Sep 2024 18:44:59 +0000 (20:44 +0200)]
strafehud: move minimum hud angle calculation into hud angle function
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
terencehill [Sat, 14 Sep 2024 18:02:28 +0000 (18:02 +0000)]
Merge branch 'terencehill/spectator_camera_stuff' into 'master'
Spectator camera: allow switching from 3rd to 1st person camera by setting chase_active to 0
Closes #2873
See merge request xonotic/xonotic-data.pk3dir!1355
bones_was_here [Fri, 13 Sep 2024 06:23:38 +0000 (16:23 +1000)]
pipeline: update hash for stormkeep changes, prevent potential flakiness
I have isolated the cause of the hash change to
https://gitlab.com/xonotic/xonotic-maps.pk3dir/-/merge_requests/191
(only change needed to restore the previous hash is using stormkeep from
the previous autobuild 20240906_2).
DP uses nonblocking stdout on Linux by default, in theory this could
cause occasional pipeline failures that can't be reproduced.
Rudolf Polzer [Tue, 10 Sep 2024 05:23:52 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Mon, 9 Sep 2024 17:58:49 +0000 (19:58 +0200)]
Spectator camera: move code to a dedicated function
Juhu [Mon, 9 Sep 2024 17:46:58 +0000 (19:46 +0200)]
strafehud: FIXME comment for every stateful strafehud function
terencehill [Mon, 9 Sep 2024 15:46:24 +0000 (17:46 +0200)]
Spectator camera: allow switching from 3rd to 1st person camera by setting chase_active to 0
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
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
Rudolf Polzer [Sat, 7 Sep 2024 05:27:45 +0000 (07:27 +0200)]
Transifex autosync
drjaska [Thu, 5 Sep 2024 14:27:05 +0000 (17:27 +0300)]
Mostly whitespace weapons cleanup chores
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
terencehill [Thu, 5 Sep 2024 13:03:27 +0000 (15:03 +0200)]
Fix indenting in qcsrc/lib/stats.qh
Rudolf Polzer [Thu, 5 Sep 2024 05:23:33 +0000 (07:23 +0200)]
Transifex autosync
drjaska [Wed, 4 Sep 2024 14:49:42 +0000 (17:49 +0300)]
Remove ancient untouched legacy svn files
Rudolf Polzer [Wed, 4 Sep 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync
Juhu [Tue, 3 Sep 2024 21:34:52 +0000 (23:34 +0200)]
strafehud. various improvements for the more modular strafehud code
Dr. Jaska [Tue, 3 Sep 2024 10:57:15 +0000 (10:57 +0000)]
Merge branch 'drjaska/nextmap' into 'master'
Show nextmap on HUD and rewrite nextmap from cvar to cmd
See merge request xonotic/xonotic-data.pk3dir!1341
Dr. Jaska [Tue, 3 Sep 2024 10:57:07 +0000 (10:57 +0000)]
Show nextmap on HUD and rewrite nextmap from cvar to cmd
Dr. Jaska [Tue, 3 Sep 2024 10:56:40 +0000 (10:56 +0000)]
Merge branch 'drjaska/shotgun-animation-time' into 'master'
Opt-in cvar to block shotgun melee directly after a shot
See merge request xonotic/xonotic-data.pk3dir!1173
Dr. Jaska [Tue, 3 Sep 2024 10:56:35 +0000 (10:56 +0000)]
Opt-in cvar to block shotgun melee directly after a shot
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
terencehill [Mon, 2 Sep 2024 16:33:12 +0000 (16:33 +0000)]
Merge branch 'des/print-race-splits-v2' into 'master'
Add optional split times in infomessage hud, and print_cptimes command to display the stored splits
See merge request xonotic/xonotic-data.pk3dir!1330
Des - [Mon, 2 Sep 2024 16:33:12 +0000 (16:33 +0000)]
Add optional split times in infomessage hud, and print_cptimes command to display the stored splits
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
terencehill [Sun, 1 Sep 2024 12:35:30 +0000 (12:35 +0000)]
Merge branch 'terencehill/status_effect_fix' into 'master'
Fix some minor issues
See merge request xonotic/xonotic-data.pk3dir!1228
terencehill [Sun, 1 Sep 2024 12:24:22 +0000 (14:24 +0200)]
Fix `give no superweapons` giving default superweapons time
It happened because GiveStatusEffect removed superweapons status effect and this code block added it back.
terencehill [Sun, 1 Sep 2024 12:22:42 +0000 (14:22 +0200)]
Simplify buff effect time calculation
terencehill [Sun, 1 Sep 2024 12:12:09 +0000 (14:12 +0200)]
Don't allow StatusEffects_gettime to return a time in the past
By not doing so the effect would be still active in the last frame even if end time has passed.
It prevents wrong usage of the returned value, for example in Fire_AddDamage where mintime can be set to a negative value and used to apply a negative damage to the player
Removed now redundant max operations at StatusEffects_gettime call sites
terencehill [Sun, 1 Sep 2024 12:07:16 +0000 (14:07 +0200)]
Don't apply status effects ending the moment they are applied. It fixes spawnshield applied for a moment even if g_spawnshieldtime is 0
This change required a refactoring of the give command code, which now no longer needs changing internal fields of the status effects to update them
terencehill [Sun, 1 Sep 2024 11:07:17 +0000 (11:07 +0000)]
Merge branch 'des/cts_pbhook' into 'master'
Add cl_hook_race_pb to run on client when they set a new personal best time
See merge request xonotic/xonotic-data.pk3dir!1328
Des - [Sun, 1 Sep 2024 11:07:16 +0000 (11:07 +0000)]
Add cl_hook_race_pb to run on client when they set a new personal best time
Rudolf Polzer [Sun, 1 Sep 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync
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
terencehill [Sat, 31 Aug 2024 09:08:21 +0000 (09:08 +0000)]
Merge branch 'Mario/menu_developer_options' into 'master'
Clean up the use of developer in the menu and remove other weird settings
See merge request xonotic/xonotic-data.pk3dir!1323
Mario [Sat, 31 Aug 2024 09:08:21 +0000 (09:08 +0000)]
Clean up the use of developer in the menu and remove other weird settings
bones_was_here [Sat, 31 Aug 2024 08:51:58 +0000 (08:51 +0000)]
Merge branch 'bones_was_here/Q1BSP_items_droptofloor' into 'master'
Q1BSP: improve droptofloor compatibility with Quake progs
See merge request xonotic/xonotic-data.pk3dir!1327
terencehill [Sat, 31 Aug 2024 08:47:47 +0000 (08:47 +0000)]
Merge branch 'Mario/resource_item_cleanup' into 'master'
Clean up ammo displaying to not require direct item references
See merge request xonotic/xonotic-data.pk3dir!1326
Mario [Sat, 31 Aug 2024 08:47:47 +0000 (08:47 +0000)]
Clean up ammo displaying to not require direct item references
terencehill [Fri, 30 Aug 2024 14:21:32 +0000 (16:21 +0200)]
Refactor write_recordmarker to reduce engine function calls and while at it indent code with TABs
terencehill [Thu, 29 Aug 2024 09:16:44 +0000 (09:16 +0000)]
Merge branch 'des/cmd_cleancps' into 'master'
Race/CTS: Add clear_bestcptimes command to clear all your best checkpoint times
See merge request xonotic/xonotic-data.pk3dir!1332
Des - [Thu, 29 Aug 2024 09:16:44 +0000 (09:16 +0000)]
Race/CTS: Add clear_bestcptimes command to clear all your best checkpoint times
Rudolf Polzer [Thu, 29 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 28 Aug 2024 23:50:51 +0000 (23:50 +0000)]
Merge branch 'des/race_dont_save_pb_on_demoplay' into 'master'
Don't save local record if we are just watching a demo
See merge request xonotic/xonotic-data.pk3dir!1340
terencehill [Wed, 28 Aug 2024 12:53:43 +0000 (12:53 +0000)]
Merge branch 'Spike29/campaign_french' into 'master'
Add a French translation to the Xonotic campaign
See merge request xonotic/xonotic-data.pk3dir!1338
Rudolf Polzer [Wed, 28 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 27 Aug 2024 05:23:21 +0000 (07:23 +0200)]
Transifex autosync
Dr. Jaska [Tue, 27 Aug 2024 00:43:21 +0000 (00:43 +0000)]
Merge branch 'Mario/jetpack_powerup_settings' into 'master'
Make Jetpacks respect g_powerups and add settings to disable them individually
See merge request xonotic/xonotic-data.pk3dir!1321
Des [Mon, 26 Aug 2024 23:17:07 +0000 (20:17 -0300)]
Don't save local record if we are just watching a demo.
terencehill [Mon, 26 Aug 2024 13:33:01 +0000 (13:33 +0000)]
Merge branch 'terencehill/translatable_strings_cleanup' into 'master'
Clean up some translatable strings
See merge request xonotic/xonotic-data.pk3dir!1333
terencehill [Mon, 26 Aug 2024 12:51:21 +0000 (12:51 +0000)]
Merge branch 'drjaska/race_CheckName' into 'master'
Fix race_CheckName by actually using the given argument
Closes #2554 and #2123
See merge request xonotic/xonotic-data.pk3dir!1339
Rudolf Polzer [Mon, 26 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
drjaska [Mon, 26 Aug 2024 03:23:30 +0000 (06:23 +0300)]
Fix race_CheckName by actually using the given arg
// Check if the given name already exists in race rankings?
// In that case, where? (otherwise return 0)
int race_CheckName(string net_name)
terencehill [Sun, 25 Aug 2024 15:13:54 +0000 (15:13 +0000)]
Merge branch 'terencehill/blaster_attack_shared' into 'master'
Make weapons using blaster as secondary attack load settings from blaster
See merge request xonotic/xonotic-data.pk3dir!1282
Spike29 [Sun, 25 Aug 2024 15:11:44 +0000 (17:11 +0200)]
Add a French translation to the Xonotic campaign
terencehill [Sat, 24 Aug 2024 09:28:25 +0000 (09:28 +0000)]
Merge branch 'terencehill/antispam_stuff' into 'master'
Make cmd and chat anti spam systems work during timeouts
See merge request xonotic/xonotic-data.pk3dir!1334
Rudolf Polzer [Sat, 24 Aug 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 23 Aug 2024 22:11:24 +0000 (00:11 +0200)]
Shownames: restore an early alpha check that was made exclusive to CTS by mistake in
0aa7cb88f
Rudolf Polzer [Thu, 22 Aug 2024 05:23:15 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 21 Aug 2024 14:16:07 +0000 (16:16 +0200)]
Hud editor: "Title at %s" --> "Title"
Rudolf Polzer [Wed, 21 Aug 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync
Juhu [Mon, 19 Aug 2024 18:07:58 +0000 (20:07 +0200)]
strafehud: improved comments to better document slick detector behavior
terencehill [Sun, 18 Aug 2024 22:50:03 +0000 (00:50 +0200)]
HUD editor: fix Chat, Vote and StrafeHud panels being visible while the settings menu of another panel is open
Rudolf Polzer [Sun, 18 Aug 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync