]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
7 years agoFix scoreboard layout when changing hud_fontsize 366/head
terencehill [Thu, 8 Sep 2016 20:48:50 +0000 (22:48 +0200)]
Fix scoreboard layout when changing hud_fontsize

7 years agoRankings: Slightly smaller time column
terencehill [Thu, 8 Sep 2016 20:10:56 +0000 (22:10 +0200)]
Rankings: Slightly smaller time column

7 years agoAllow customizing the minimum width of the scoreboard
terencehill [Thu, 8 Sep 2016 15:54:51 +0000 (17:54 +0200)]
Allow customizing the minimum width of the scoreboard

7 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Thu, 8 Sep 2016 15:31:03 +0000 (17:31 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

7 years ago"Color (Friendly Fire):" --> "Color:"
terencehill [Thu, 8 Sep 2016 14:51:10 +0000 (16:51 +0200)]
"Color (Friendly Fire):"  -->  "Color:"

7 years agoCleanup scoreboard code a little bit
terencehill [Thu, 8 Sep 2016 14:43:30 +0000 (16:43 +0200)]
Cleanup scoreboard code a little bit

7 years agoRemove some seriously weird code playing with text alpha when it shouldn't from the...
terencehill [Thu, 8 Sep 2016 13:57:42 +0000 (15:57 +0200)]
Remove some seriously weird code playing with text alpha when it shouldn't from the chat panel

7 years agoFix spectator camera resetting to world origin with prediction enabled
Mario [Wed, 7 Sep 2016 07:23:02 +0000 (17:23 +1000)]
Fix spectator camera resetting to world origin with prediction enabled

7 years agoRemove HUD_Minigame_Showpanels() and minigame_isactive(): it reduces function calls...
terencehill [Tue, 6 Sep 2016 17:09:00 +0000 (19:09 +0200)]
Remove HUD_Minigame_Showpanels() and minigame_isactive(): it reduces function calls by 3 * 24 (number of panels) every frame during normal gameplay

7 years agoRemove deprecated APP_TEAM_ENT, switch to APP_TEAM_NUM
terencehill [Tue, 6 Sep 2016 15:57:28 +0000 (17:57 +0200)]
Remove deprecated APP_TEAM_ENT, switch to APP_TEAM_NUM

7 years agoIntroduce APP_NUM to shorten a some of the longest Send_Notification calls
terencehill [Tue, 6 Sep 2016 15:40:24 +0000 (17:40 +0200)]
Introduce APP_NUM to shorten a some of the longest Send_Notification calls

7 years agoMenu: fix issues with hidden gametypes
terencehill [Tue, 6 Sep 2016 15:08:07 +0000 (17:08 +0200)]
Menu: fix issues with hidden gametypes

7 years agoRankings panel: center text vertically and add padding to both sides of each column
terencehill [Tue, 6 Sep 2016 14:36:25 +0000 (16:36 +0200)]
Rankings panel: center text vertically and add padding to both sides of each column

7 years agoRankings panel: further reduce name column if displayed player names don't exceed...
terencehill [Tue, 6 Sep 2016 14:07:37 +0000 (16:07 +0200)]
Rankings panel: further reduce name column if displayed player names don't exceed name size limit

7 years agoRankings panel: limit name size (hud_panel_scoreboard_namesize) and if there's enough...
terencehill [Tue, 6 Sep 2016 13:16:04 +0000 (15:16 +0200)]
Rankings panel: limit name size (hud_panel_scoreboard_namesize) and if there's enough room split rankings into more columns

7 years agoMerge branch 'terencehill/CA_forbidspawn' into 'master'
Mario [Tue, 6 Sep 2016 09:00:38 +0000 (09:00 +0000)]
Merge branch 'terencehill/CA_forbidspawn' into 'master'

Join fix

* Fix weird issues when join isn't allowed by CA rules or by g_maxplayers
* Handle join by command and join by key press in the same manner making use of a common function

See merge request !364

7 years agoScoreboard: limit height rather than number of rows, it best adapts to different...
terencehill [Sun, 4 Sep 2016 22:19:13 +0000 (00:19 +0200)]
Scoreboard: limit height rather than number of rows, it best adapts to different screens resolutions

7 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Sun, 4 Sep 2016 20:44:09 +0000 (22:44 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

7 years agoCA: Reset .team when a player chooses to spectate; remove ForbidPlayerScore_Clear... 364/head
terencehill [Sun, 4 Sep 2016 20:23:57 +0000 (22:23 +0200)]
CA: Reset .team when a player chooses to spectate; remove ForbidPlayerScore_Clear hook call in CA as it serves no purpose (scores aren't clear in team games anyway)

7 years agoRemove redundant code from Join (it gets executed in PutClientInServer)
terencehill [Sun, 4 Sep 2016 17:38:46 +0000 (19:38 +0200)]
Remove redundant code from Join (it gets executed in PutClientInServer)

7 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Sun, 4 Sep 2016 10:11:10 +0000 (12:11 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

7 years agoMake sure to send correctly encoded ping values
terencehill [Sat, 3 Sep 2016 18:49:23 +0000 (20:49 +0200)]
Make sure to send correctly encoded ping values

7 years agoSplit a too long line of code
terencehill [Sat, 3 Sep 2016 18:42:12 +0000 (20:42 +0200)]
Split a too long line of code

7 years agospawnAllowed --> joinAllowed
terencehill [Sat, 3 Sep 2016 18:21:37 +0000 (20:21 +0200)]
spawnAllowed  -->  joinAllowed

7 years agoDon't consider the client allowed to spawn while showing the team selection dialog...
terencehill [Sat, 3 Sep 2016 18:10:05 +0000 (20:10 +0200)]
Don't consider the client allowed to spawn while showing the team selection dialog; restore the old CA spawn behaviour (the alternative less hackish one was bugged) adapting it to this change so that it now works in a cleaner way (no weird bug while spectating)

7 years agoMake wr_glow available to server, fixes third person weapon model glow
Mario [Fri, 2 Sep 2016 13:41:34 +0000 (23:41 +1000)]
Make wr_glow available to server, fixes third person weapon model glow

7 years agoTurn a very long macro into a function, cuts down csprogs.dat size of ~70KB
terencehill [Thu, 1 Sep 2016 16:10:27 +0000 (18:10 +0200)]
Turn a very long macro into a function, cuts down csprogs.dat size of ~70KB

7 years agoIS_DIGIT
terencehill [Thu, 1 Sep 2016 13:35:03 +0000 (15:35 +0200)]
IS_DIGIT

7 years agoAdd IS_HEXDIGIT macro and make use of it
terencehill [Thu, 1 Sep 2016 13:09:31 +0000 (15:09 +0200)]
Add IS_HEXDIGIT macro and make use of it

7 years agoCleanup: Remove header comments that don't make sense (anymore) and commented out...
terencehill [Thu, 1 Sep 2016 12:14:37 +0000 (14:14 +0200)]
Cleanup: Remove header comments that don't make sense (anymore) and commented out variables from main.qh

7 years agoRemove gakarmored and ignishalfmasked
Mario [Thu, 1 Sep 2016 11:35:03 +0000 (21:35 +1000)]
Remove gakarmored and ignishalfmasked

7 years agoMerge branch 'DefaultUser/gametype_votescreen' into 'master'
Mario [Thu, 1 Sep 2016 11:10:05 +0000 (11:10 +0000)]
Merge branch 'DefaultUser/gametype_votescreen' into 'master'

Gametype Votescreen: Fix icons for custom gamemodes and add option for custom icons

See merge request !359

7 years agoMerge branch 'terencehill/textLengthUpToWidth_patch' into 'master'
Mario [Thu, 1 Sep 2016 11:05:41 +0000 (11:05 +0000)]
Merge branch 'terencehill/textLengthUpToWidth_patch' into 'master'

textLengthUpToWidth fix

Fix textLengthUpToWidth and textLengthUpToLength shortening strings too much

See merge request !348

7 years agoFix textLengthUpToWidth and textLengthUpToLength shortening strings too much 348/head
terencehill [Thu, 1 Sep 2016 10:46:42 +0000 (12:46 +0200)]
Fix textLengthUpToWidth and textLengthUpToLength shortening strings too much

7 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Thu, 1 Sep 2016 09:08:47 +0000 (11:08 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

7 years agoMake it pass compilation unit test
terencehill [Thu, 1 Sep 2016 09:07:50 +0000 (11:07 +0200)]
Make it pass compilation unit test

7 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Wed, 31 Aug 2016 23:20:48 +0000 (01:20 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

7 years agoMove scoreboard stuff into the scoreboard file
terencehill [Wed, 31 Aug 2016 22:37:51 +0000 (00:37 +0200)]
Move scoreboard stuff into the scoreboard file

7 years agoMinor cleanup: reduce Scoreboard_DrawItem code, remove useless sbt_field_iconX_alpha...
terencehill [Wed, 31 Aug 2016 22:08:35 +0000 (00:08 +0200)]
Minor cleanup: reduce Scoreboard_DrawItem code, remove useless sbt_field_iconX_alpha variables

7 years agoGive a higher priority to g_maxplayer check
terencehill [Wed, 31 Aug 2016 14:32:48 +0000 (16:32 +0200)]
Give a higher priority to g_maxplayer check

7 years agoLeaveSpectatorMode --> JoinOrShowTeamSelection
terencehill [Wed, 31 Aug 2016 14:01:01 +0000 (16:01 +0200)]
LeaveSpectatorMode  -->  JoinOrShowTeamSelection

7 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Wed, 31 Aug 2016 12:15:20 +0000 (14:15 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

7 years agoKill some more vlen uses
Mario [Wed, 31 Aug 2016 06:44:46 +0000 (16:44 +1000)]
Kill some more vlen uses

7 years agoRemove an outdated reference to a cvar from g_keepaway description
terencehill [Wed, 31 Aug 2016 01:19:57 +0000 (03:19 +0200)]
Remove an outdated reference to a cvar from g_keepaway description

7 years agoProperly initialize Keepaway as team based game mode
terencehill [Wed, 31 Aug 2016 01:17:15 +0000 (03:17 +0200)]
Properly initialize Keepaway as team based game mode

7 years agoDisplay an empty scoreboard in the beginning in DM too
terencehill [Tue, 30 Aug 2016 23:32:15 +0000 (01:32 +0200)]
Display an empty scoreboard in the beginning in DM too

7 years agoFix initial scoreboard size when nobody is playing yet
terencehill [Tue, 30 Aug 2016 23:27:10 +0000 (01:27 +0200)]
Fix initial scoreboard size when nobody is playing yet

7 years agoCompact spectator list by displaying multiple spectator names per row
terencehill [Tue, 30 Aug 2016 23:19:35 +0000 (01:19 +0200)]
Compact spectator list by displaying multiple spectator names per row

7 years agoLimit number of players displayed in the scoreboard, display remaining players with...
terencehill [Tue, 30 Aug 2016 23:05:37 +0000 (01:05 +0200)]
Limit number of players displayed in the scoreboard, display remaining players with primary scores in the last row

7 years agoScoreboard: add a customizable size limit of player names and relative column; scoreb...
terencehill [Tue, 30 Aug 2016 00:02:39 +0000 (02:02 +0200)]
Scoreboard: add a customizable size limit of player names and relative column; scoreboard width is now based on this value

7 years agoInvasion: clean up monster picking code a little
Mario [Tue, 30 Aug 2016 19:39:31 +0000 (05:39 +1000)]
Invasion: clean up monster picking code a little

7 years agoDon't even check trace_ent (unreliable)
Mario [Tue, 30 Aug 2016 19:07:28 +0000 (05:07 +1000)]
Don't even check trace_ent (unreliable)

7 years agoOptimize it further
Mario [Tue, 30 Aug 2016 18:53:49 +0000 (04:53 +1000)]
Optimize it further

7 years agoTweak it further
Mario [Tue, 30 Aug 2016 18:40:27 +0000 (04:40 +1000)]
Tweak it further

7 years agoMake monsters not care if their target is behind another, also enable line of sight...
Mario [Tue, 30 Aug 2016 18:23:59 +0000 (04:23 +1000)]
Make monsters not care if their target is behind another, also enable line of sight tracing

7 years agoDon't allow magnet buff to pickup or capture flags, also fix item teaming potentially...
Mario [Tue, 30 Aug 2016 18:03:10 +0000 (04:03 +1000)]
Don't allow magnet buff to pickup or capture flags, also fix item teaming potentially attempting to team keyhunt keys

7 years agoAdd a 'hidden' option to playermodel info files, hide mega erebus from the menu ...
Mario [Tue, 30 Aug 2016 15:23:07 +0000 (01:23 +1000)]
Add a 'hidden' option to playermodel info files, hide mega erebus from the menu (fullbright model among dim models is silly, model will remain for forcemodels and servers that use it)

7 years agoSome minor cleanup, use intrusive lists for bot projectile finding
Mario [Mon, 29 Aug 2016 12:11:26 +0000 (22:11 +1000)]
Some minor cleanup, use intrusive lists for bot projectile finding

7 years agoAdd parenthesis
Mario [Mon, 29 Aug 2016 09:53:07 +0000 (19:53 +1000)]
Add parenthesis

7 years agoInclude hmg and rpc in the weapon priority lists
terencehill [Mon, 29 Aug 2016 09:42:44 +0000 (11:42 +0200)]
Include hmg and rpc in the weapon priority lists

7 years agoMake use of update_mousepos() in the mapvote code too
terencehill [Sun, 28 Aug 2016 22:52:14 +0000 (00:52 +0200)]
Make use of update_mousepos() in the mapvote code too

7 years agoAdd update_mousepos()
terencehill [Sun, 28 Aug 2016 22:29:56 +0000 (00:29 +0200)]
Add update_mousepos()

7 years agoAdd quickmenu entry to the keybinder
terencehill [Sun, 28 Aug 2016 21:47:57 +0000 (23:47 +0200)]
Add quickmenu entry to the keybinder

7 years agoFix mouse handling of quickmenu and radar
terencehill [Sun, 28 Aug 2016 21:46:15 +0000 (23:46 +0200)]
Fix mouse handling of quickmenu and radar

7 years agoMove around some more entries in the keybinder
terencehill [Sun, 28 Aug 2016 18:29:01 +0000 (20:29 +0200)]
Move around some more entries in the keybinder

7 years ago"drop weapon" --> "drop weapon / throw nade"
terencehill [Sun, 28 Aug 2016 18:26:48 +0000 (20:26 +0200)]
"drop weapon" --> "drop weapon / throw nade"

7 years agoFix potential for crashing in freezetag
Mario [Sun, 28 Aug 2016 16:48:51 +0000 (02:48 +1000)]
Fix potential for crashing in freezetag

7 years agoRemove silly checks of WEP_TYPE_OTHER that always return false
terencehill [Sun, 28 Aug 2016 12:18:26 +0000 (14:18 +0200)]
Remove silly checks of WEP_TYPE_OTHER that always return false

7 years agoentcs: fix name changing
TimePath [Sun, 28 Aug 2016 09:57:48 +0000 (19:57 +1000)]
entcs: fix name changing

7 years agoentcs: use SAME_TEAM
TimePath [Sun, 28 Aug 2016 09:03:21 +0000 (19:03 +1000)]
entcs: use SAME_TEAM

7 years agoentcs: accept updates before game_starttime
TimePath [Sun, 28 Aug 2016 08:36:21 +0000 (18:36 +1000)]
entcs: accept updates before game_starttime

7 years agoentcs: upgrade to linked entity, don't throw away
TimePath [Sun, 28 Aug 2016 08:12:10 +0000 (18:12 +1000)]
entcs: upgrade to linked entity, don't throw away

7 years agoentcs: don't send sv_entnum twice
TimePath [Sun, 28 Aug 2016 07:26:52 +0000 (17:26 +1000)]
entcs: don't send sv_entnum twice

7 years agoPartial fix for keyhunt
Mario [Sun, 28 Aug 2016 06:50:54 +0000 (16:50 +1000)]
Partial fix for keyhunt

7 years agoFix `settemp_for_type all`
TimePath [Sun, 28 Aug 2016 06:08:12 +0000 (16:08 +1000)]
Fix `settemp_for_type all`
Closes #1798

7 years agoMonsters: fix compilation units
TimePath [Sat, 27 Aug 2016 02:04:27 +0000 (12:04 +1000)]
Monsters: fix compilation units

7 years agoMonsters: #undef IMPLEMENTATION
TimePath [Sat, 27 Aug 2016 01:49:25 +0000 (11:49 +1000)]
Monsters: #undef IMPLEMENTATION

7 years agoMerge branch 'Mario/intrusive' into 'master'
TimePath [Sat, 27 Aug 2016 00:36:20 +0000 (00:36 +0000)]
Merge branch 'Mario/intrusive' into 'master'

Merge branch Mario/intrusive (XL merge request)

Ports a few more FOREACH_ENTITY_* loops to the new intrusive lists system, further restoring the performance lost by the pure entities.

See merge request !361

7 years agoUpdate gameplay hash again
TimePath [Sat, 27 Aug 2016 00:25:46 +0000 (10:25 +1000)]
Update gameplay hash again

7 years agoUpdate gameplay hash
TimePath [Sat, 27 Aug 2016 00:23:39 +0000 (10:23 +1000)]
Update gameplay hash

7 years agoMake use of hud_fontsize in the accuracy panel too, like everywhere else in the score...
terencehill [Fri, 26 Aug 2016 23:50:02 +0000 (01:50 +0200)]
Make use of hud_fontsize in the accuracy panel too, like everywhere else in the scoreboard

7 years agoFix condition for splitting accuracy panel row in 2 (before it was split showing...
terencehill [Fri, 26 Aug 2016 23:46:25 +0000 (01:46 +0200)]
Fix condition for splitting accuracy panel row in 2 (before it was split showing 22 weapons, now 8 weapons are sufficient)

7 years agoRemove a never used score field
terencehill [Thu, 25 Aug 2016 22:16:16 +0000 (00:16 +0200)]
Remove a never used score field

7 years agoSimplify some code
terencehill [Thu, 25 Aug 2016 22:12:50 +0000 (00:12 +0200)]
Simplify some code

7 years agoReload hud_fontsize and fix scoreboard layout as soon as user changes hud_fontsize...
terencehill [Thu, 25 Aug 2016 12:59:46 +0000 (14:59 +0200)]
Reload hud_fontsize and fix scoreboard layout as soon as user changes hud_fontsize and displays the scoreboard

7 years agoAdd safety checks
terencehill [Thu, 25 Aug 2016 09:25:19 +0000 (11:25 +0200)]
Add safety checks

7 years agoFix CENTER_JOIN_PREVENT message spam while you keep pressed the join key
terencehill [Thu, 25 Aug 2016 09:15:17 +0000 (11:15 +0200)]
Fix CENTER_JOIN_PREVENT message spam while you keep pressed the join key

7 years agoRemove an useless check + small cleanup
terencehill [Thu, 25 Aug 2016 00:15:06 +0000 (02:15 +0200)]
Remove an useless check + small cleanup

7 years agoAnticipate g_maxplayers check so it doesn't cause weird issues when trying to join...
terencehill [Thu, 25 Aug 2016 00:10:05 +0000 (02:10 +0200)]
Anticipate g_maxplayers check so it doesn't cause weird issues when trying to join while spectating someone

7 years agoEnhance LeaveSpectatorMode code so it can handle the join command too (called by...
terencehill [Wed, 24 Aug 2016 23:40:38 +0000 (01:40 +0200)]
Enhance LeaveSpectatorMode code so it can handle the join command too (called by the teamselect dialog) allowing to remove some duplicated code

7 years agoInfer teamplay from gametype instead of checking serverflags & SERVERFLAG_TEAMPLAY...
terencehill [Wed, 24 Aug 2016 22:46:43 +0000 (00:46 +0200)]
Infer teamplay from gametype instead of checking serverflags & SERVERFLAG_TEAMPLAY (it allows to get rid of an additional Scoreboard_InitScores(); call on connection)

7 years agoRemove an unused function and macro
Mario [Wed, 24 Aug 2016 16:49:49 +0000 (02:49 +1000)]
Remove an unused function and macro

7 years agoGametype Votescreen: Remove the _icon cvar for custom gametypes as it is not needed... 359/head
Freddy [Wed, 24 Aug 2016 11:57:21 +0000 (13:57 +0200)]
Gametype Votescreen: Remove the _icon cvar for custom gametypes as it is not needed for custom icons

custom icons need to follow the same naming scheme like official icons:
gfx/menu/<themename>/gametype_<mytype>

7 years agoCA: Forbid spawning players in a more correct way, adding a hook for it; visually...
terencehill [Wed, 24 Aug 2016 11:41:12 +0000 (13:41 +0200)]
CA: Forbid spawning players in a more correct way, adding a hook for it; visually, it fixes gun alignment reverted back to default (right) just when you try to spawn while spectating someone

7 years agoClean up movetype setting, fixes .move_qcphysics
Mario [Wed, 24 Aug 2016 10:42:03 +0000 (20:42 +1000)]
Clean up movetype setting, fixes .move_qcphysics

7 years agoMerge branch 'terencehill/hud_updates' into 'master'
Mario [Wed, 24 Aug 2016 04:21:56 +0000 (04:21 +0000)]
Merge branch 'terencehill/hud_updates' into 'master'

HUD updates

* Display more panels (engineinfo, modicons and timer) while showing the scoreboard (changes implementation of how panels fades when showing the scoreboard)
* Vote panel: display the bg too while the menu is shown
* When the game ends timer shows elapsed time
* Apply global hud alpha to the map vote panel, fixing fading when showing the scoreboard
* Mark panels that can't be disabled manually (main panel cvar doesn't exist) so hud editor considers them enabled

See merge request !353

7 years agoserverflags & SERVERFLAG_TEAMPLAY --> teamplay
terencehill [Tue, 23 Aug 2016 19:49:20 +0000 (21:49 +0200)]
serverflags & SERVERFLAG_TEAMPLAY  -->  teamplay

7 years agoScoreboard columns: remove not working "k/d" keyword; make "kd" keyword show "k/d...
terencehill [Tue, 23 Aug 2016 15:29:48 +0000 (17:29 +0200)]
Scoreboard columns: remove not working "k/d" keyword; make "kd" keyword show "k/d" instead of "kd"

7 years agoDisplay "damage" as column header instead of "dmg" (too short); add "damage" and...
terencehill [Tue, 23 Aug 2016 14:28:11 +0000 (16:28 +0200)]
Display "damage" as column header instead of "dmg" (too short); add "damage" and "damagetaken" keywords for setting custom scoreboard columns (more intuitive)

7 years agoSP_DMG field title is dmg, not damage
terencehill [Tue, 23 Aug 2016 14:10:21 +0000 (16:10 +0200)]
SP_DMG field title is dmg, not damage