Mario [Tue, 11 Aug 2015 18:42:59 +0000 (18:42 +0000)]
Merge branch 'terencehill/menu_listbox_changes' into 'master'
Menu listbox changes
Menu listbox changes:
* scrolling with mouse wheel / scrollbar no longer changes the current selection
* scrolling and selection changes are now smooth
* FIX: remove highlighting from the focused item when the cursor is moved to the scrollbar area
* FIX: Highlight the focused item even while scrolling
* stats list no longer shows a selected item as it's useless
* servers list no longer automatically scroll at the beginning following the first seen server
Mario [Tue, 11 Aug 2015 16:30:30 +0000 (16:30 +0000)]
Merge branch 'terencehill/itemstime' into 'master'
Items Time
Features:
* Panel that displays left time until important items respawn in the map: mega health, large armor, powerups (strenght, invincible, jetpack, fuel regenerator) and superweapons.
* Waypoints for mega health and large armor, displayed just like the existing powerup waypoints, obviously visible only to spectators
Panel and waypoints can be enabled when spectating (g_waypointsprite_itemstime 1, hud_panel_itemstime 1) or also when playing in warmup stage (g_waypointsprite_itemstime 2, hud_panel_itemstime 2).
In order to prevent cheating, server can completely disable this feature by setting sv_itemstime to 0 (1 by default).
terencehill [Mon, 10 Aug 2015 22:58:09 +0000 (00:58 +0200)]
seta hud_panel_itemstime_hidespawned "1" "if 1 hide an item from the panel when all the occurrences of it are available again; if 2 hide it when at least one occurrence is available again"
Mario [Mon, 10 Aug 2015 18:11:18 +0000 (18:11 +0000)]
Merge branch 'terencehill/kh_fix' into 'master'
Fix and improve not working notification about missing teams in KeyHunt
Fix not working notification about missing teams in KeyHunt (outdated notification parameters) and use the improved system used in CA and FT to detect changes of missing teams
terencehill [Fri, 7 Aug 2015 15:01:31 +0000 (17:01 +0200)]
Fix not working notification about missing teams in KeyHunt (outdated notification parameters) and use the improved system used in CA and FT to detect changes of missing teams
terencehill [Thu, 6 Aug 2015 09:45:19 +0000 (11:45 +0200)]
showspawned enabled: show item icon more transparent when all items of the same kind aren't available, show it at full alpha if at least one item is available; update time when an item is taken in order to always refer to the next item of the same kind going to respawn
Mario [Wed, 5 Aug 2015 12:58:38 +0000 (12:58 +0000)]
Merge branch 'sev/buff_updates' into 'Mario/buff_updates'
Buff revisions
This branch combines all my visual buff updates.
- The buff shaders have been revised for a consistent quality
- Buff icons are added to the HUD themes
- The powerup panel now also shows the buffs with their icons
- The buff colors have been updated
One thing that is left: The buff HUD panel, and all associated cvars, are now obsolete.
If you agree, I can remove them.
Mario [Tue, 4 Aug 2015 05:52:30 +0000 (05:52 +0000)]
Merge branch 'terencehill/mapvote_layout_changes' into 'master'
Map/gametype vote layout changes
Improvements over the map/gametype vote screens:
* items as big as possible with minimum alteration of the desired item aspect ratio (like in the weapons panel layout)
* layout more compact with limited item size (especially with very few vote choices)
* added a background in the default hud skin, as part of the change that makes them real panels
* fixed a few minor things
* the fps panel (if enabled) is kept on screen during the map vote
Mario [Sun, 2 Aug 2015 12:23:59 +0000 (12:23 +0000)]
Merge branch 'Mario/ctf_updates' into 'master'
Merge branch Mario/ctf_updates (L merge request)
Adds support for 3 and 4 team CTF, along with a couple of other fixes & features (namely one-flag, new reverse mode where flags are not switched & players pickup their own flag, option to delay returning of the flag when it touches the void).
Mario [Sun, 2 Aug 2015 03:00:19 +0000 (03:00 +0000)]
Merge branch 'Mario/weapon_stats' into 'master'
Merge branch Mario/weapon_stats (S merge request)
Hides unavailable weapons from the scoreboard, also attempted fix for scoreboard_accuracy_doublerows (was completely misaligned before, aligns properly now, but shows a load of unnecessary tiles).
Mario [Sun, 2 Aug 2015 02:53:46 +0000 (02:53 +0000)]
Merge branch 'sev/luma_hud_vehicles' into 'master'
Luma vehicle HUD revision
I intended to update some of the vehicle HUD images,
but ended up rewriting the vehicle HUD drawing code as well.
Changes from a developers perspective:
- The server sends more consistent vehicle stats, especially for secondary ammo.
- All vehicles now use a common HUD drawing function.
- All HUD images are drawn in relation to the frame image, rather than being measured individually.
- All vehicle crosshairs are scaled consistently, with cl_vehicles_crosshair_size.
- **Update**: The vehicle images are now fully integrated with the existing HUD themes.
Changes from a players perspective:
- Improved and more consistent crosshairs, also with a special healing crosshair for the Bumblebee.
- Secondary ammo is better represented. The bar shows the total ammo left, instead of reloading after each shot.
While the weapon is unusable during recharge, the icon is grayed out.
- Icons and bars are colored, using the health/armor colors from the main HUD for consistency.
Mario [Sun, 2 Aug 2015 02:38:11 +0000 (02:38 +0000)]
Merge branch 'sev/hud_nades' into 'master'
Nade HUD icons
Currently, the bonus nade is drawn in an unusual way in the ammo panel.
It is split up into different layers, with the top layer being multiplied the
color of the current nade type, which does not work well for Luma.
At the same time, there are separate nade icons for the notification panel.
**New solution**
Have one icon per nade type, use them for both panels.
Port the improved scrolling by keys behaviour for lists that don't need to show an active selection from the credit list to the listbox class so it can be used by other classes too; now the stats list, like the credit list, doesn't show any selection as it's useless.
Mario [Thu, 30 Jul 2015 05:26:59 +0000 (05:26 +0000)]
Merge branch 'sev/menu_icons_mipmap' into 'master'
Fix blurry menu icons
Before I made Luma, new gametype and serverlist icons were added to the existing menu themes.
However, they are too sharp, which causes aliasing in-game.
Seemingly as a quick and dirty fix, some of those images are preloaded with the MIPMAP flag.
This inconsistent drawing of the images causes issues for Luma,
where the icons get too blurry (http://i.imgur.com/9mJCnJA.png).
This branch makes the following fixes:
- All server icons are either fixed or remade, so they don't need MIPMAP.
- Each menu theme can chose itself if the gametype icons need MIPMAP,
with the new theme variable BOOL_GAMETYPELIST_ICON_BLUR.
Rudolf Polzer [Wed, 29 Jul 2015 21:34:02 +0000 (21:34 +0000)]
Merge branch 'sev/hud_font_weights' into 'master'
Adjust font weight for some of the HUD text
This merge request accompanies xonotic/xonotic!11
The new version of the Xolonium fonts features a bolder bold version.
This causes some of the text to become too dense.
Therefore, this branch makes the following changes:
Bold to Regular:
- Scoreboard column titles
- Weapon panel binds/numbers/names
(These are not very important, hence bold is not crucial anyway.)
- Race panel auxiliary info
(The running time is important, hence it remains bold.
The checkpoint delta and penalty is a lot smaller and not bold anymore.)
Regular to Bold:
- Health/Armor panel numbers
(Arguably the most important text on screen, hence they should be bold.)
Make the mapvote panel less horizontally stretched: reduce a bit available width and increase available height by resizing (if too high) / moving to the bottom the chat panel