]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
8 years agoMerge branch 'terencehill/scoreboard_update' into 'master'
Mario [Sun, 11 Sep 2016 11:22:15 +0000 (11:22 +0000)]
Merge branch 'terencehill/scoreboard_update' into 'master'

Scoreboard update

Scoreboard:
* limit size of player names and relative column; scoreboard width is now based on this value
* limit scoreboard height and therefore number of players displayed in the scoreboard, display remaining players with primary scores in the last row
* compact spectator list by displaying multiple spectator names per row
* display an empty scoreboard in the beginning in DM too

Rankings:
* limit name size and if there's enough room split rankings into more columns
* center text vertically and add padding to both sides of each column

See merge request !366

8 years agoAdd a mutator hook for customizing the eventchase effect; onslaught now makes use...
terencehill [Sat, 10 Sep 2016 20:54:27 +0000 (22:54 +0200)]
Add a mutator hook for customizing the eventchase effect; onslaught now makes use of it when a generator explodes

8 years agoRemove generator rays from g_drawables before deleting them
terencehill [Sat, 10 Sep 2016 15:53:01 +0000 (17:53 +0200)]
Remove generator rays from g_drawables before deleting them

8 years agoFix #1810 generator doesn't show any explosion effect when it gets destroyed
terencehill [Sat, 10 Sep 2016 15:06:54 +0000 (17:06 +0200)]
Fix #1810 generator doesn't show any explosion effect when it gets destroyed

8 years agoAdd an option to allow bullets to penetrate weapon clips (disabled by default)
Mario [Sat, 10 Sep 2016 14:02:11 +0000 (00:02 +1000)]
Add an option to allow bullets to penetrate weapon clips (disabled by default)

8 years agoUpdate CheckAllowedTeams hook description
terencehill [Sat, 10 Sep 2016 13:49:20 +0000 (15:49 +0200)]
Update CheckAllowedTeams hook description

8 years agoGetTeamCount --> CheckAllowedTeams
terencehill [Sat, 10 Sep 2016 12:48:00 +0000 (14:48 +0200)]
GetTeamCount  -->  CheckAllowedTeams

8 years agoSmall cleanup
terencehill [Sat, 10 Sep 2016 11:22:29 +0000 (13:22 +0200)]
Small cleanup

8 years agoSimplify a bit check of missing teams in Key Hunt
terencehill [Sat, 10 Sep 2016 11:03:12 +0000 (13:03 +0200)]
Simplify a bit check of missing teams in Key Hunt

8 years agoRemove tga extension from CA icons
terencehill [Fri, 9 Sep 2016 19:12:31 +0000 (21:12 +0200)]
Remove tga extension from CA icons

8 years agoAvoid a division by 0 (it happened playing DOM on a map that doesn't support DOM)
terencehill [Fri, 9 Sep 2016 19:10:01 +0000 (21:10 +0200)]
Avoid a division by 0 (it happened playing DOM on a map that doesn't support DOM)

8 years agoMake work snake status panel layout with whatever panel size or screen resolution
terencehill [Fri, 9 Sep 2016 11:48:31 +0000 (13:48 +0200)]
Make work snake status panel layout with whatever panel size or screen resolution

8 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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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)

8 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

8 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

8 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

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

8 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)

8 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

8 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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

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

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

8 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

8 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

8 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)

8 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

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

8 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

8 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

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

8 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

8 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

8 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

8 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"

8 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

8 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

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

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

8 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

8 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

8 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

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

8 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

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

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

8 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

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

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

8 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

8 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)

8 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

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

8 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

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

8 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

8 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