From: FruitieX Date: Fri, 2 Jul 2010 18:24:48 +0000 (+0300) Subject: create a default skin, and try to fallback to this if an image isn't available X-Git-Tag: xonotic-v0.1.0preview~457^2~27 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0739a6d0c5fb52c90a101a7188704cb730320381;p=xonotic%2Fxonotic-data.pk3dir.git create a default skin, and try to fallback to this if an image isn't available --- diff --git a/gfx/hud/default/wickedhud/ammo_bullets.tga b/gfx/hud/default/wickedhud/ammo_bullets.tga new file mode 100644 index 0000000000..e7cd01a252 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_bullets.tga differ diff --git a/gfx/hud/default/wickedhud/ammo_cells.tga b/gfx/hud/default/wickedhud/ammo_cells.tga new file mode 100644 index 0000000000..664eb232d2 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_cells.tga differ diff --git a/gfx/hud/default/wickedhud/ammo_current_bg.tga b/gfx/hud/default/wickedhud/ammo_current_bg.tga new file mode 100644 index 0000000000..bd07205991 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_current_bg.tga differ diff --git a/gfx/hud/default/wickedhud/ammo_fuel.tga b/gfx/hud/default/wickedhud/ammo_fuel.tga new file mode 100644 index 0000000000..8450a2fec4 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_fuel.tga differ diff --git a/gfx/hud/default/wickedhud/ammo_rockets.tga b/gfx/hud/default/wickedhud/ammo_rockets.tga new file mode 100644 index 0000000000..c37f077b28 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_rockets.tga differ diff --git a/gfx/hud/default/wickedhud/ammo_shells.tga b/gfx/hud/default/wickedhud/ammo_shells.tga new file mode 100644 index 0000000000..59bea4b3e1 Binary files /dev/null and b/gfx/hud/default/wickedhud/ammo_shells.tga differ diff --git a/gfx/hud/default/wickedhud/armor.tga b/gfx/hud/default/wickedhud/armor.tga new file mode 100644 index 0000000000..92046b4887 Binary files /dev/null and b/gfx/hud/default/wickedhud/armor.tga differ diff --git a/gfx/hud/default/wickedhud/border.tga b/gfx/hud/default/wickedhud/border.tga new file mode 100644 index 0000000000..8ceee44525 Binary files /dev/null and b/gfx/hud/default/wickedhud/border.tga differ diff --git a/gfx/hud/default/wickedhud/border_chat.tga b/gfx/hud/default/wickedhud/border_chat.tga new file mode 100644 index 0000000000..1cd065effd Binary files /dev/null and b/gfx/hud/default/wickedhud/border_chat.tga differ diff --git a/gfx/hud/default/wickedhud/border_healtharmor.tga b/gfx/hud/default/wickedhud/border_healtharmor.tga new file mode 100644 index 0000000000..7109ab570c Binary files /dev/null and b/gfx/hud/default/wickedhud/border_healtharmor.tga differ diff --git a/gfx/hud/default/wickedhud/border_inventory.tga b/gfx/hud/default/wickedhud/border_inventory.tga new file mode 100644 index 0000000000..20ae8f6044 Binary files /dev/null and b/gfx/hud/default/wickedhud/border_inventory.tga differ diff --git a/gfx/hud/default/wickedhud/border_modicons.tga b/gfx/hud/default/wickedhud/border_modicons.tga new file mode 100644 index 0000000000..5437b042e3 Binary files /dev/null and b/gfx/hud/default/wickedhud/border_modicons.tga differ diff --git a/gfx/hud/default/wickedhud/border_powerups.tga b/gfx/hud/default/wickedhud/border_powerups.tga new file mode 100644 index 0000000000..f8fbf4439e Binary files /dev/null and b/gfx/hud/default/wickedhud/border_powerups.tga differ diff --git a/gfx/hud/default/wickedhud/border_radar.tga b/gfx/hud/default/wickedhud/border_radar.tga new file mode 100644 index 0000000000..a300f5207d Binary files /dev/null and b/gfx/hud/default/wickedhud/border_radar.tga differ diff --git a/gfx/hud/default/wickedhud/border_score.tga b/gfx/hud/default/wickedhud/border_score.tga new file mode 100644 index 0000000000..a4d8b6c478 Binary files /dev/null and b/gfx/hud/default/wickedhud/border_score.tga differ diff --git a/gfx/hud/default/wickedhud/border_timer.tga b/gfx/hud/default/wickedhud/border_timer.tga new file mode 100644 index 0000000000..c657136fb0 Binary files /dev/null and b/gfx/hud/default/wickedhud/border_timer.tga differ diff --git a/gfx/hud/default/wickedhud/border_vote.tga b/gfx/hud/default/wickedhud/border_vote.tga new file mode 100644 index 0000000000..13b948e1ab Binary files /dev/null and b/gfx/hud/default/wickedhud/border_vote.tga differ diff --git a/gfx/hud/default/wickedhud/border_weaponicons.tga b/gfx/hud/default/wickedhud/border_weaponicons.tga new file mode 100644 index 0000000000..08e8dcd7d2 Binary files /dev/null and b/gfx/hud/default/wickedhud/border_weaponicons.tga differ diff --git a/gfx/hud/default/wickedhud/dock.tga b/gfx/hud/default/wickedhud/dock.tga new file mode 100644 index 0000000000..9dd4e2f0f6 Binary files /dev/null and b/gfx/hud/default/wickedhud/dock.tga differ diff --git a/gfx/hud/default/wickedhud/dock_small.tga b/gfx/hud/default/wickedhud/dock_small.tga new file mode 100644 index 0000000000..5135876d8a Binary files /dev/null and b/gfx/hud/default/wickedhud/dock_small.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_captured.tga b/gfx/hud/default/wickedhud/flag_blue_captured.tga new file mode 100644 index 0000000000..7cff17eed2 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_captured.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_carrying.tga b/gfx/hud/default/wickedhud/flag_blue_carrying.tga new file mode 100644 index 0000000000..ace6a5f2c3 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_carrying.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_lost.tga b/gfx/hud/default/wickedhud/flag_blue_lost.tga new file mode 100644 index 0000000000..67d894d82d Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_lost.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_returned.tga b/gfx/hud/default/wickedhud/flag_blue_returned.tga new file mode 100644 index 0000000000..8e8b67ffda Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_returned.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_shielded.tga b/gfx/hud/default/wickedhud/flag_blue_shielded.tga new file mode 100644 index 0000000000..a8993f6b2c Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_shielded.tga differ diff --git a/gfx/hud/default/wickedhud/flag_blue_taken.tga b/gfx/hud/default/wickedhud/flag_blue_taken.tga new file mode 100644 index 0000000000..6847e7cc19 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_blue_taken.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_captured.tga b/gfx/hud/default/wickedhud/flag_red_captured.tga new file mode 100644 index 0000000000..72814ecc69 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_captured.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_carrying.tga b/gfx/hud/default/wickedhud/flag_red_carrying.tga new file mode 100644 index 0000000000..3393083323 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_carrying.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_lost.tga b/gfx/hud/default/wickedhud/flag_red_lost.tga new file mode 100644 index 0000000000..f96e02147e Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_lost.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_returned.tga b/gfx/hud/default/wickedhud/flag_red_returned.tga new file mode 100644 index 0000000000..deee4686d0 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_returned.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_shielded.tga b/gfx/hud/default/wickedhud/flag_red_shielded.tga new file mode 100644 index 0000000000..e7ec491fd6 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_shielded.tga differ diff --git a/gfx/hud/default/wickedhud/flag_red_taken.tga b/gfx/hud/default/wickedhud/flag_red_taken.tga new file mode 100644 index 0000000000..bf71977e14 Binary files /dev/null and b/gfx/hud/default/wickedhud/flag_red_taken.tga differ diff --git a/gfx/hud/default/wickedhud/health.tga b/gfx/hud/default/wickedhud/health.tga new file mode 100644 index 0000000000..0ed8a9030f Binary files /dev/null and b/gfx/hud/default/wickedhud/health.tga differ diff --git a/gfx/hud/default/wickedhud/key_backward.tga b/gfx/hud/default/wickedhud/key_backward.tga new file mode 100644 index 0000000000..4de0f33221 Binary files /dev/null and b/gfx/hud/default/wickedhud/key_backward.tga differ diff --git a/gfx/hud/default/wickedhud/key_backward_inv.tga b/gfx/hud/default/wickedhud/key_backward_inv.tga new file mode 100644 index 0000000000..bef0d1ca3d Binary files /dev/null and b/gfx/hud/default/wickedhud/key_backward_inv.tga differ diff --git a/gfx/hud/default/wickedhud/key_crouch.tga b/gfx/hud/default/wickedhud/key_crouch.tga new file mode 100644 index 0000000000..00b2dfe449 Binary files /dev/null and b/gfx/hud/default/wickedhud/key_crouch.tga differ diff --git a/gfx/hud/default/wickedhud/key_crouch_inv.tga b/gfx/hud/default/wickedhud/key_crouch_inv.tga new file mode 100644 index 0000000000..2cdbda804d Binary files /dev/null and b/gfx/hud/default/wickedhud/key_crouch_inv.tga differ diff --git a/gfx/hud/default/wickedhud/key_forward.tga b/gfx/hud/default/wickedhud/key_forward.tga new file mode 100644 index 0000000000..dfe223381b Binary files /dev/null and b/gfx/hud/default/wickedhud/key_forward.tga differ diff --git a/gfx/hud/default/wickedhud/key_forward_inv.tga b/gfx/hud/default/wickedhud/key_forward_inv.tga new file mode 100644 index 0000000000..7bbea6070f Binary files /dev/null and b/gfx/hud/default/wickedhud/key_forward_inv.tga differ diff --git a/gfx/hud/default/wickedhud/key_jump.tga b/gfx/hud/default/wickedhud/key_jump.tga new file mode 100644 index 0000000000..d02b2dbc88 Binary files /dev/null and b/gfx/hud/default/wickedhud/key_jump.tga differ diff --git a/gfx/hud/default/wickedhud/key_jump_inv.tga b/gfx/hud/default/wickedhud/key_jump_inv.tga new file mode 100644 index 0000000000..c54bb3763c Binary files /dev/null and b/gfx/hud/default/wickedhud/key_jump_inv.tga differ diff --git a/gfx/hud/default/wickedhud/key_left.tga b/gfx/hud/default/wickedhud/key_left.tga new file mode 100644 index 0000000000..60fe71f17e Binary files /dev/null and b/gfx/hud/default/wickedhud/key_left.tga differ diff --git a/gfx/hud/default/wickedhud/key_left_inv.tga b/gfx/hud/default/wickedhud/key_left_inv.tga new file mode 100644 index 0000000000..92bc615e44 Binary files /dev/null and b/gfx/hud/default/wickedhud/key_left_inv.tga differ diff --git a/gfx/hud/default/wickedhud/key_right.tga b/gfx/hud/default/wickedhud/key_right.tga new file mode 100644 index 0000000000..308c03b1e5 Binary files /dev/null and b/gfx/hud/default/wickedhud/key_right.tga differ diff --git a/gfx/hud/default/wickedhud/key_right_inv.tga b/gfx/hud/default/wickedhud/key_right_inv.tga new file mode 100644 index 0000000000..8f04be424e Binary files /dev/null and b/gfx/hud/default/wickedhud/key_right_inv.tga differ diff --git a/gfx/hud/default/wickedhud/kh_blue.tga b/gfx/hud/default/wickedhud/kh_blue.tga new file mode 100644 index 0000000000..467b2294f7 Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_blue.tga differ diff --git a/gfx/hud/default/wickedhud/kh_bluearrow.tga b/gfx/hud/default/wickedhud/kh_bluearrow.tga new file mode 100644 index 0000000000..b686d1b347 Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_bluearrow.tga differ diff --git a/gfx/hud/default/wickedhud/kh_pink.tga b/gfx/hud/default/wickedhud/kh_pink.tga new file mode 100644 index 0000000000..b40967a752 Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_pink.tga differ diff --git a/gfx/hud/default/wickedhud/kh_pinkarrow.tga b/gfx/hud/default/wickedhud/kh_pinkarrow.tga new file mode 100644 index 0000000000..17427e5d39 Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_pinkarrow.tga differ diff --git a/gfx/hud/default/wickedhud/kh_red.tga b/gfx/hud/default/wickedhud/kh_red.tga new file mode 100644 index 0000000000..3201f8afe6 Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_red.tga differ diff --git a/gfx/hud/default/wickedhud/kh_redarrow.tga b/gfx/hud/default/wickedhud/kh_redarrow.tga new file mode 100644 index 0000000000..edd1fab3cd Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_redarrow.tga differ diff --git a/gfx/hud/default/wickedhud/kh_yellow.tga b/gfx/hud/default/wickedhud/kh_yellow.tga new file mode 100644 index 0000000000..bb8347563c Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_yellow.tga differ diff --git a/gfx/hud/default/wickedhud/kh_yellowarrow.tga b/gfx/hud/default/wickedhud/kh_yellowarrow.tga new file mode 100644 index 0000000000..8e754cc9bb Binary files /dev/null and b/gfx/hud/default/wickedhud/kh_yellowarrow.tga differ diff --git a/gfx/hud/default/wickedhud/nexball_carrying.tga b/gfx/hud/default/wickedhud/nexball_carrying.tga new file mode 100644 index 0000000000..04ada8ce4c Binary files /dev/null and b/gfx/hud/default/wickedhud/nexball_carrying.tga differ diff --git a/gfx/hud/default/wickedhud/notify_camping.tga b/gfx/hud/default/wickedhud/notify_camping.tga new file mode 100644 index 0000000000..2766dd1ccf Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_camping.tga differ diff --git a/gfx/hud/default/wickedhud/notify_death.tga b/gfx/hud/default/wickedhud/notify_death.tga new file mode 100644 index 0000000000..d5e8045a20 Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_death.tga differ diff --git a/gfx/hud/default/wickedhud/notify_fall.tga b/gfx/hud/default/wickedhud/notify_fall.tga new file mode 100644 index 0000000000..febd1d03dc Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_fall.tga differ diff --git a/gfx/hud/default/wickedhud/notify_lava.tga b/gfx/hud/default/wickedhud/notify_lava.tga new file mode 100644 index 0000000000..3976e8ba3f Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_lava.tga differ diff --git a/gfx/hud/default/wickedhud/notify_outofammo.tga b/gfx/hud/default/wickedhud/notify_outofammo.tga new file mode 100644 index 0000000000..82a11dd83d Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_outofammo.tga differ diff --git a/gfx/hud/default/wickedhud/notify_selfkill.tga b/gfx/hud/default/wickedhud/notify_selfkill.tga new file mode 100644 index 0000000000..646a1a2381 Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_selfkill.tga differ diff --git a/gfx/hud/default/wickedhud/notify_shootingstar.tga b/gfx/hud/default/wickedhud/notify_shootingstar.tga new file mode 100644 index 0000000000..048e0151fc Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_shootingstar.tga differ diff --git a/gfx/hud/default/wickedhud/notify_slime.tga b/gfx/hud/default/wickedhud/notify_slime.tga new file mode 100644 index 0000000000..c08a6a3d48 Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_slime.tga differ diff --git a/gfx/hud/default/wickedhud/notify_teamkill.tga b/gfx/hud/default/wickedhud/notify_teamkill.tga new file mode 100644 index 0000000000..a40920b204 Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_teamkill.tga differ diff --git a/gfx/hud/default/wickedhud/notify_void.tga b/gfx/hud/default/wickedhud/notify_void.tga new file mode 100644 index 0000000000..1e2d280eb2 Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_void.tga differ diff --git a/gfx/hud/default/wickedhud/notify_water.tga b/gfx/hud/default/wickedhud/notify_water.tga new file mode 100644 index 0000000000..8315f1266b Binary files /dev/null and b/gfx/hud/default/wickedhud/notify_water.tga differ diff --git a/gfx/hud/default/wickedhud/num_0.tga b/gfx/hud/default/wickedhud/num_0.tga new file mode 100644 index 0000000000..f0ab2f18e7 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_0.tga differ diff --git a/gfx/hud/default/wickedhud/num_0_stroke.tga b/gfx/hud/default/wickedhud/num_0_stroke.tga new file mode 100644 index 0000000000..e9c6e5bdcb Binary files /dev/null and b/gfx/hud/default/wickedhud/num_0_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_1.tga b/gfx/hud/default/wickedhud/num_1.tga new file mode 100644 index 0000000000..78f1f45a37 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_1.tga differ diff --git a/gfx/hud/default/wickedhud/num_1_stroke.tga b/gfx/hud/default/wickedhud/num_1_stroke.tga new file mode 100644 index 0000000000..1ff552f535 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_1_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_2.tga b/gfx/hud/default/wickedhud/num_2.tga new file mode 100644 index 0000000000..205dd03512 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_2.tga differ diff --git a/gfx/hud/default/wickedhud/num_2_stroke.tga b/gfx/hud/default/wickedhud/num_2_stroke.tga new file mode 100644 index 0000000000..08d26dfef2 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_2_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_3.tga b/gfx/hud/default/wickedhud/num_3.tga new file mode 100644 index 0000000000..335b5dab0a Binary files /dev/null and b/gfx/hud/default/wickedhud/num_3.tga differ diff --git a/gfx/hud/default/wickedhud/num_3_stroke.tga b/gfx/hud/default/wickedhud/num_3_stroke.tga new file mode 100644 index 0000000000..a5fdddaa6a Binary files /dev/null and b/gfx/hud/default/wickedhud/num_3_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_4.tga b/gfx/hud/default/wickedhud/num_4.tga new file mode 100644 index 0000000000..2b9f46f53e Binary files /dev/null and b/gfx/hud/default/wickedhud/num_4.tga differ diff --git a/gfx/hud/default/wickedhud/num_4_stroke.tga b/gfx/hud/default/wickedhud/num_4_stroke.tga new file mode 100644 index 0000000000..fe879331fa Binary files /dev/null and b/gfx/hud/default/wickedhud/num_4_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_5.tga b/gfx/hud/default/wickedhud/num_5.tga new file mode 100644 index 0000000000..8bb7043d43 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_5.tga differ diff --git a/gfx/hud/default/wickedhud/num_5_stroke.tga b/gfx/hud/default/wickedhud/num_5_stroke.tga new file mode 100644 index 0000000000..3a6978a8c7 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_5_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_6.tga b/gfx/hud/default/wickedhud/num_6.tga new file mode 100644 index 0000000000..1db8c0e0b9 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_6.tga differ diff --git a/gfx/hud/default/wickedhud/num_6_stroke.tga b/gfx/hud/default/wickedhud/num_6_stroke.tga new file mode 100644 index 0000000000..f64e178bf0 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_6_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_7.tga b/gfx/hud/default/wickedhud/num_7.tga new file mode 100644 index 0000000000..0099d684d5 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_7.tga differ diff --git a/gfx/hud/default/wickedhud/num_7_stroke.tga b/gfx/hud/default/wickedhud/num_7_stroke.tga new file mode 100644 index 0000000000..252e796d8b Binary files /dev/null and b/gfx/hud/default/wickedhud/num_7_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_8.tga b/gfx/hud/default/wickedhud/num_8.tga new file mode 100644 index 0000000000..aa20157a78 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_8.tga differ diff --git a/gfx/hud/default/wickedhud/num_8_stroke.tga b/gfx/hud/default/wickedhud/num_8_stroke.tga new file mode 100644 index 0000000000..e2cd39decd Binary files /dev/null and b/gfx/hud/default/wickedhud/num_8_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_9.tga b/gfx/hud/default/wickedhud/num_9.tga new file mode 100644 index 0000000000..87b9c21c11 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_9.tga differ diff --git a/gfx/hud/default/wickedhud/num_9_stroke.tga b/gfx/hud/default/wickedhud/num_9_stroke.tga new file mode 100644 index 0000000000..5a8d6103c3 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_9_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_colon.tga b/gfx/hud/default/wickedhud/num_colon.tga new file mode 100644 index 0000000000..e22c09a696 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_colon.tga differ diff --git a/gfx/hud/default/wickedhud/num_colon_stroke.tga b/gfx/hud/default/wickedhud/num_colon_stroke.tga new file mode 100644 index 0000000000..68ad28ad58 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_colon_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_dot.tga b/gfx/hud/default/wickedhud/num_dot.tga new file mode 100644 index 0000000000..7fbfdd0418 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_dot.tga differ diff --git a/gfx/hud/default/wickedhud/num_dot_stroke.tga b/gfx/hud/default/wickedhud/num_dot_stroke.tga new file mode 100644 index 0000000000..29ad696ac5 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_dot_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_leading_1.tga b/gfx/hud/default/wickedhud/num_leading_1.tga new file mode 100644 index 0000000000..f2f59d3b02 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_leading_1.tga differ diff --git a/gfx/hud/default/wickedhud/num_leading_2.tga b/gfx/hud/default/wickedhud/num_leading_2.tga new file mode 100644 index 0000000000..a9be88c6ef Binary files /dev/null and b/gfx/hud/default/wickedhud/num_leading_2.tga differ diff --git a/gfx/hud/default/wickedhud/num_leading_3.tga b/gfx/hud/default/wickedhud/num_leading_3.tga new file mode 100644 index 0000000000..ebd35a4e83 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_leading_3.tga differ diff --git a/gfx/hud/default/wickedhud/num_minus.tga b/gfx/hud/default/wickedhud/num_minus.tga new file mode 100644 index 0000000000..10721f2d8f Binary files /dev/null and b/gfx/hud/default/wickedhud/num_minus.tga differ diff --git a/gfx/hud/default/wickedhud/num_minus_stroke.tga b/gfx/hud/default/wickedhud/num_minus_stroke.tga new file mode 100644 index 0000000000..26455a0ad4 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_minus_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/num_plus.tga b/gfx/hud/default/wickedhud/num_plus.tga new file mode 100644 index 0000000000..3cb17b3e40 Binary files /dev/null and b/gfx/hud/default/wickedhud/num_plus.tga differ diff --git a/gfx/hud/default/wickedhud/num_plus_stroke.tga b/gfx/hud/default/wickedhud/num_plus_stroke.tga new file mode 100644 index 0000000000..7df2faaeba Binary files /dev/null and b/gfx/hud/default/wickedhud/num_plus_stroke.tga differ diff --git a/gfx/hud/default/wickedhud/race_newfail.tga b/gfx/hud/default/wickedhud/race_newfail.tga new file mode 100644 index 0000000000..cd1164bdf7 Binary files /dev/null and b/gfx/hud/default/wickedhud/race_newfail.tga differ diff --git a/gfx/hud/default/wickedhud/race_newrankgreen.tga b/gfx/hud/default/wickedhud/race_newrankgreen.tga new file mode 100644 index 0000000000..c8fa1577cb Binary files /dev/null and b/gfx/hud/default/wickedhud/race_newrankgreen.tga differ diff --git a/gfx/hud/default/wickedhud/race_newrankyellow.tga b/gfx/hud/default/wickedhud/race_newrankyellow.tga new file mode 100644 index 0000000000..0af3c593f5 Binary files /dev/null and b/gfx/hud/default/wickedhud/race_newrankyellow.tga differ diff --git a/gfx/hud/default/wickedhud/race_newrecordserver.tga b/gfx/hud/default/wickedhud/race_newrecordserver.tga new file mode 100644 index 0000000000..aa8bae1a81 Binary files /dev/null and b/gfx/hud/default/wickedhud/race_newrecordserver.tga differ diff --git a/gfx/hud/default/wickedhud/race_newtime.tga b/gfx/hud/default/wickedhud/race_newtime.tga new file mode 100644 index 0000000000..c9647b927b Binary files /dev/null and b/gfx/hud/default/wickedhud/race_newtime.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_1.tga b/gfx/hud/default/wickedhud/rifle_ring_1.tga new file mode 100644 index 0000000000..a90927cac2 Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_1.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_2.tga b/gfx/hud/default/wickedhud/rifle_ring_2.tga new file mode 100644 index 0000000000..6f6ca4c9cf Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_2.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_3.tga b/gfx/hud/default/wickedhud/rifle_ring_3.tga new file mode 100644 index 0000000000..68f6df7ffb Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_3.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_4.tga b/gfx/hud/default/wickedhud/rifle_ring_4.tga new file mode 100644 index 0000000000..0a5db15dca Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_4.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_5.tga b/gfx/hud/default/wickedhud/rifle_ring_5.tga new file mode 100644 index 0000000000..d5cc95b930 Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_5.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_6.tga b/gfx/hud/default/wickedhud/rifle_ring_6.tga new file mode 100644 index 0000000000..4a126e7fec Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_6.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_7.tga b/gfx/hud/default/wickedhud/rifle_ring_7.tga new file mode 100644 index 0000000000..846212b061 Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_7.tga differ diff --git a/gfx/hud/default/wickedhud/rifle_ring_8.tga b/gfx/hud/default/wickedhud/rifle_ring_8.tga new file mode 100644 index 0000000000..137e24d1da Binary files /dev/null and b/gfx/hud/default/wickedhud/rifle_ring_8.tga differ diff --git a/gfx/hud/default/wickedhud/shield.tga b/gfx/hud/default/wickedhud/shield.tga new file mode 100644 index 0000000000..f13f0b4d84 Binary files /dev/null and b/gfx/hud/default/wickedhud/shield.tga differ diff --git a/gfx/hud/default/wickedhud/statusbar.tga b/gfx/hud/default/wickedhud/statusbar.tga new file mode 100644 index 0000000000..987c8f544e Binary files /dev/null and b/gfx/hud/default/wickedhud/statusbar.tga differ diff --git a/gfx/hud/default/wickedhud/statusbar_vertical.tga b/gfx/hud/default/wickedhud/statusbar_vertical.tga new file mode 100644 index 0000000000..e271438e35 Binary files /dev/null and b/gfx/hud/default/wickedhud/statusbar_vertical.tga differ diff --git a/gfx/hud/default/wickedhud/strength.tga b/gfx/hud/default/wickedhud/strength.tga new file mode 100644 index 0000000000..b19019d5d7 Binary files /dev/null and b/gfx/hud/default/wickedhud/strength.tga differ diff --git a/gfx/hud/default/wickedhud/voteprogress_back.tga b/gfx/hud/default/wickedhud/voteprogress_back.tga new file mode 100644 index 0000000000..fc031ce0b2 Binary files /dev/null and b/gfx/hud/default/wickedhud/voteprogress_back.tga differ diff --git a/gfx/hud/default/wickedhud/voteprogress_prog.tga b/gfx/hud/default/wickedhud/voteprogress_prog.tga new file mode 100644 index 0000000000..9f3f614870 Binary files /dev/null and b/gfx/hud/default/wickedhud/voteprogress_prog.tga differ diff --git a/gfx/hud/default/wickedhud/voteprogress_voted.tga b/gfx/hud/default/wickedhud/voteprogress_voted.tga new file mode 100644 index 0000000000..a21fe6a4b8 Binary files /dev/null and b/gfx/hud/default/wickedhud/voteprogress_voted.tga differ diff --git a/gfx/hud/default/wickedhud/weapon_accuracy.tga b/gfx/hud/default/wickedhud/weapon_accuracy.tga new file mode 100644 index 0000000000..4a451b1bcf Binary files /dev/null and b/gfx/hud/default/wickedhud/weapon_accuracy.tga differ diff --git a/gfx/hud/default/wickedhud/weapon_complainbubble.tga b/gfx/hud/default/wickedhud/weapon_complainbubble.tga new file mode 100644 index 0000000000..a3c53a39d1 Binary files /dev/null and b/gfx/hud/default/wickedhud/weapon_complainbubble.tga differ diff --git a/gfx/hud/default/wickedhud/weapon_current_bg.tga b/gfx/hud/default/wickedhud/weapon_current_bg.tga new file mode 100644 index 0000000000..5a8f936715 Binary files /dev/null and b/gfx/hud/default/wickedhud/weapon_current_bg.tga differ diff --git a/gfx/hud/default/wickedhud/weapon_hlacmod_renameit.tga b/gfx/hud/default/wickedhud/weapon_hlacmod_renameit.tga new file mode 100644 index 0000000000..f11c173ba8 Binary files /dev/null and b/gfx/hud/default/wickedhud/weapon_hlacmod_renameit.tga differ diff --git a/gfx/hud/default/wickedhud/weaponcampingrifle.tga b/gfx/hud/default/wickedhud/weaponcampingrifle.tga new file mode 100644 index 0000000000..fb6413b14f Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponcampingrifle.tga differ diff --git a/gfx/hud/default/wickedhud/weaponcrylink.tga b/gfx/hud/default/wickedhud/weaponcrylink.tga new file mode 100644 index 0000000000..e48ad4d246 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponcrylink.tga differ diff --git a/gfx/hud/default/wickedhud/weaponelectro.tga b/gfx/hud/default/wickedhud/weaponelectro.tga new file mode 100644 index 0000000000..73c791b393 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponelectro.tga differ diff --git a/gfx/hud/default/wickedhud/weaponfireball.tga b/gfx/hud/default/wickedhud/weaponfireball.tga new file mode 100644 index 0000000000..d7ea1fb049 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponfireball.tga differ diff --git a/gfx/hud/default/wickedhud/weapongrenadelauncher.tga b/gfx/hud/default/wickedhud/weapongrenadelauncher.tga new file mode 100644 index 0000000000..c09081b004 Binary files /dev/null and b/gfx/hud/default/wickedhud/weapongrenadelauncher.tga differ diff --git a/gfx/hud/default/wickedhud/weaponhagar.tga b/gfx/hud/default/wickedhud/weaponhagar.tga new file mode 100644 index 0000000000..69a7b729cf Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponhagar.tga differ diff --git a/gfx/hud/default/wickedhud/weaponhlac.tga b/gfx/hud/default/wickedhud/weaponhlac.tga new file mode 100644 index 0000000000..2ba3853455 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponhlac.tga differ diff --git a/gfx/hud/default/wickedhud/weaponhook.tga b/gfx/hud/default/wickedhud/weaponhook.tga new file mode 100644 index 0000000000..0c7fd40b6b Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponhook.tga differ diff --git a/gfx/hud/default/wickedhud/weaponlaser.tga b/gfx/hud/default/wickedhud/weaponlaser.tga new file mode 100644 index 0000000000..1f016e16d9 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponlaser.tga differ diff --git a/gfx/hud/default/wickedhud/weaponminstanex.tga b/gfx/hud/default/wickedhud/weaponminstanex.tga new file mode 100644 index 0000000000..26877c2672 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponminstanex.tga differ diff --git a/gfx/hud/default/wickedhud/weaponnex.tga b/gfx/hud/default/wickedhud/weaponnex.tga new file mode 100644 index 0000000000..4ed91bc391 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponnex.tga differ diff --git a/gfx/hud/default/wickedhud/weaponporto.tga b/gfx/hud/default/wickedhud/weaponporto.tga new file mode 100644 index 0000000000..46dd107d61 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponporto.tga differ diff --git a/gfx/hud/default/wickedhud/weaponrocketlauncher.tga b/gfx/hud/default/wickedhud/weaponrocketlauncher.tga new file mode 100644 index 0000000000..f5449b32c7 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponrocketlauncher.tga differ diff --git a/gfx/hud/default/wickedhud/weaponseeker.tga b/gfx/hud/default/wickedhud/weaponseeker.tga new file mode 100644 index 0000000000..566ee86edd Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponseeker.tga differ diff --git a/gfx/hud/default/wickedhud/weaponshotgun.tga b/gfx/hud/default/wickedhud/weaponshotgun.tga new file mode 100644 index 0000000000..055841c052 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponshotgun.tga differ diff --git a/gfx/hud/default/wickedhud/weapontuba.tga b/gfx/hud/default/wickedhud/weapontuba.tga new file mode 100644 index 0000000000..8b8001594b Binary files /dev/null and b/gfx/hud/default/wickedhud/weapontuba.tga differ diff --git a/gfx/hud/default/wickedhud/weaponuzi.tga b/gfx/hud/default/wickedhud/weaponuzi.tga new file mode 100644 index 0000000000..c0e75d1133 Binary files /dev/null and b/gfx/hud/default/wickedhud/weaponuzi.tga differ diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 2fb7c64d88..54ad5221ae 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -82,13 +82,11 @@ void draw_BorderPicture(vector theOrigin, string pic, vector theSize, vector the } } -// draw HUD element with image from gfx/hud/hud_skin/foo.tga if it exists, otherwise gfx/hud/default/foo.tga -// TODO: make a default skin, and fallback to these! - // drawpic wrapper to draw an image as large as possible with preserved aspect ratio into a box var float imgaspect; var float aspect; #define drawpic_aspect(pos,pic,mySize,color,alpha,drawflag)\ +do {\ vector imgsize;\ imgsize = drawgetimagesize(pic);\ imgaspect = imgsize_x/imgsize_y;\ @@ -101,10 +99,20 @@ var float aspect; } else {\ sz_y = sz_x / imgaspect;\ drawpic(pos + eY * (oldsz_y - sz_y) * 0.5, pic, sz, color, alpha, drawflag);\ - } + }\ +} while(0) +var string pic_path; +// draw HUD element with image from gfx/hud/hud_skin/foo.tga if it exists, otherwise gfx/hud/default/foo.tga #define drawpic_aspect_skin(pos,pic,sz,color,alpha,drawflag)\ - do {drawpic_aspect(pos, strcat(hud_skin_path, "/", pic), sz, color, alpha, drawflag) } while(0) +do{\ + pic_path = strcat(hud_skin_path, "/", pic);\ + if(precache_pic(pic_path) == "") {\ + drawpic_aspect(pos, strcat("gfx/hud/default/", pic), sz, color, alpha, drawflag);\ + } else {\ + drawpic_aspect(pos, pic_path, sz, color, alpha, drawflag);\ + }\ +} while(0) // TODO: aspect! void drawpic_aspect_skin_expanding(vector pos, string pic, vector sz, vector rgb, float alpha, float flag, float fadelerp) {