From 73d09afa79bbf6dfef5d0af3c17739e693dc234e Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sun, 3 Feb 2013 02:12:47 +0200 Subject: [PATCH] Move hud images to the default subfolder, and fix loading of backgrounds in the code --- .../hud/{ => default}/accelerometer_gradient.tga | Bin data/gfx/hud/{ => default}/bg_radar.tga | Bin data/gfx/hud/{ => default}/bg_status.tga | Bin data/gfx/hud/{ => default}/bg_stomach.tga | Bin data/gfx/hud/{ => default}/bg_stomach_status.tga | Bin data/gfx/hud/{ => default}/bg_timer.tga | Bin data/gfx/hud/{ => default}/fg_radar.tga | Bin data/gfx/hud/{ => default}/fg_radar_team.tga | Bin data/gfx/hud/{ => default}/inv_weapongrabber.tga | Bin data/gfx/hud/{ => default}/keys/key_backward.tga | Bin .../gfx/hud/{ => default}/keys/key_backward_inv.tga | Bin data/gfx/hud/{ => default}/keys/key_bg.tga | Bin data/gfx/hud/{ => default}/keys/key_crouch.tga | Bin data/gfx/hud/{ => default}/keys/key_crouch_inv.tga | Bin data/gfx/hud/{ => default}/keys/key_forward.tga | Bin data/gfx/hud/{ => default}/keys/key_forward_inv.tga | Bin data/gfx/hud/{ => default}/keys/key_jump.tga | Bin data/gfx/hud/{ => default}/keys/key_jump_inv.tga | Bin data/gfx/hud/{ => default}/keys/key_left.tga | Bin data/gfx/hud/{ => default}/keys/key_left_inv.tga | Bin data/gfx/hud/{ => default}/keys/key_right.tga | Bin data/gfx/hud/{ => default}/keys/key_right_inv.tga | Bin data/gfx/hud/{ => default}/race/newfail.tga | Bin data/gfx/hud/{ => default}/race/newrankgreen.tga | Bin data/gfx/hud/{ => default}/race/newrankyellow.tga | Bin data/gfx/hud/{ => default}/race/newrecordserver.tga | Bin data/gfx/hud/{ => default}/race/newtime.tga | Bin data/gfx/hud/{ => default}/sb_accuracy.tga | Bin .../hud/{ => default}/sb_activeweapon_grabber.tga | Bin data/gfx/hud/{ => default}/sb_armor.tga | Bin data/gfx/hud/{ => default}/sb_digestion_active.tga | Bin .../hud/{ => default}/sb_digestion_impossible.tga | Bin .../gfx/hud/{ => default}/sb_digestion_possible.tga | Bin .../gfx/hud/{ => default}/sb_flag_blue_carrying.tga | Bin data/gfx/hud/{ => default}/sb_flag_blue_lost.tga | Bin .../gfx/hud/{ => default}/sb_flag_blue_shielded.tga | Bin data/gfx/hud/{ => default}/sb_flag_blue_taken.tga | Bin data/gfx/hud/{ => default}/sb_flag_red_carrying.tga | Bin data/gfx/hud/{ => default}/sb_flag_red_lost.tga | Bin data/gfx/hud/{ => default}/sb_flag_red_shielded.tga | Bin data/gfx/hud/{ => default}/sb_flag_red_taken.tga | Bin data/gfx/hud/{ => default}/sb_fuel.tga | Bin data/gfx/hud/{ => default}/sb_fuel_regen.tga | Bin data/gfx/hud/{ => default}/sb_health.tga | Bin data/gfx/hud/{ => default}/sb_invinc.tga | Bin data/gfx/hud/{ => default}/sb_kh_blue.tga | Bin data/gfx/hud/{ => default}/sb_kh_bluearrow.tga | Bin data/gfx/hud/{ => default}/sb_kh_pink.tga | Bin data/gfx/hud/{ => default}/sb_kh_pinkarrow.tga | Bin data/gfx/hud/{ => default}/sb_kh_red.tga | Bin data/gfx/hud/{ => default}/sb_kh_redarrow.tga | Bin data/gfx/hud/{ => default}/sb_kh_yellow.tga | Bin data/gfx/hud/{ => default}/sb_kh_yellowarrow.tga | Bin data/gfx/hud/{ => default}/sb_power_fail.tga | Bin data/gfx/hud/{ => default}/sb_power_fail_icon.tga | Bin data/gfx/hud/{ => default}/sb_power_reboot.tga | Bin data/gfx/hud/{ => default}/sb_power_reboot_icon.tga | Bin data/gfx/hud/{ => default}/sb_ring.tga | Bin data/gfx/hud/{ => default}/sb_scoreboard_bg.tga | Bin .../hud/{ => default}/sb_scoreboard_tableheader.tga | Bin data/gfx/hud/{ => default}/sb_str.tga | Bin data/gfx/hud/{ => default}/sb_time.tga | Bin data/gfx/hud/{ => default}/voteprogress_back.tga | Bin data/gfx/hud/{ => default}/voteprogress_prog.tga | Bin data/gfx/hud/{ => default}/voteprogress_voted.tga | Bin data/hudVT.cfg | 8 ++++---- data/qcsrc/client/hud.qc | 2 +- 67 files changed, 5 insertions(+), 5 deletions(-) rename data/gfx/hud/{ => default}/accelerometer_gradient.tga (100%) rename data/gfx/hud/{ => default}/bg_radar.tga (100%) rename data/gfx/hud/{ => default}/bg_status.tga (100%) rename data/gfx/hud/{ => default}/bg_stomach.tga (100%) rename data/gfx/hud/{ => default}/bg_stomach_status.tga (100%) rename data/gfx/hud/{ => default}/bg_timer.tga (100%) rename data/gfx/hud/{ => default}/fg_radar.tga (100%) rename data/gfx/hud/{ => default}/fg_radar_team.tga (100%) rename data/gfx/hud/{ => default}/inv_weapongrabber.tga (100%) rename data/gfx/hud/{ => default}/keys/key_backward.tga (100%) rename data/gfx/hud/{ => default}/keys/key_backward_inv.tga (100%) rename data/gfx/hud/{ => default}/keys/key_bg.tga (100%) rename data/gfx/hud/{ => default}/keys/key_crouch.tga (100%) rename data/gfx/hud/{ => default}/keys/key_crouch_inv.tga (100%) rename data/gfx/hud/{ => default}/keys/key_forward.tga (100%) rename data/gfx/hud/{ => default}/keys/key_forward_inv.tga (100%) rename data/gfx/hud/{ => default}/keys/key_jump.tga (100%) rename data/gfx/hud/{ => default}/keys/key_jump_inv.tga (100%) rename data/gfx/hud/{ => default}/keys/key_left.tga (100%) rename data/gfx/hud/{ => default}/keys/key_left_inv.tga (100%) rename data/gfx/hud/{ => default}/keys/key_right.tga (100%) rename data/gfx/hud/{ => default}/keys/key_right_inv.tga (100%) rename data/gfx/hud/{ => default}/race/newfail.tga (100%) rename data/gfx/hud/{ => default}/race/newrankgreen.tga (100%) rename data/gfx/hud/{ => default}/race/newrankyellow.tga (100%) rename data/gfx/hud/{ => default}/race/newrecordserver.tga (100%) rename data/gfx/hud/{ => default}/race/newtime.tga (100%) rename data/gfx/hud/{ => default}/sb_accuracy.tga (100%) rename data/gfx/hud/{ => default}/sb_activeweapon_grabber.tga (100%) rename data/gfx/hud/{ => default}/sb_armor.tga (100%) rename data/gfx/hud/{ => default}/sb_digestion_active.tga (100%) rename data/gfx/hud/{ => default}/sb_digestion_impossible.tga (100%) rename data/gfx/hud/{ => default}/sb_digestion_possible.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_blue_carrying.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_blue_lost.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_blue_shielded.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_blue_taken.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_red_carrying.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_red_lost.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_red_shielded.tga (100%) rename data/gfx/hud/{ => default}/sb_flag_red_taken.tga (100%) rename data/gfx/hud/{ => default}/sb_fuel.tga (100%) rename data/gfx/hud/{ => default}/sb_fuel_regen.tga (100%) rename data/gfx/hud/{ => default}/sb_health.tga (100%) rename data/gfx/hud/{ => default}/sb_invinc.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_blue.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_bluearrow.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_pink.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_pinkarrow.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_red.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_redarrow.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_yellow.tga (100%) rename data/gfx/hud/{ => default}/sb_kh_yellowarrow.tga (100%) rename data/gfx/hud/{ => default}/sb_power_fail.tga (100%) rename data/gfx/hud/{ => default}/sb_power_fail_icon.tga (100%) rename data/gfx/hud/{ => default}/sb_power_reboot.tga (100%) rename data/gfx/hud/{ => default}/sb_power_reboot_icon.tga (100%) rename data/gfx/hud/{ => default}/sb_ring.tga (100%) rename data/gfx/hud/{ => default}/sb_scoreboard_bg.tga (100%) rename data/gfx/hud/{ => default}/sb_scoreboard_tableheader.tga (100%) rename data/gfx/hud/{ => default}/sb_str.tga (100%) rename data/gfx/hud/{ => default}/sb_time.tga (100%) rename data/gfx/hud/{ => default}/voteprogress_back.tga (100%) rename data/gfx/hud/{ => default}/voteprogress_prog.tga (100%) rename data/gfx/hud/{ => default}/voteprogress_voted.tga (100%) diff --git a/data/gfx/hud/accelerometer_gradient.tga b/data/gfx/hud/default/accelerometer_gradient.tga similarity index 100% rename from data/gfx/hud/accelerometer_gradient.tga rename to data/gfx/hud/default/accelerometer_gradient.tga diff --git a/data/gfx/hud/bg_radar.tga b/data/gfx/hud/default/bg_radar.tga similarity index 100% rename from data/gfx/hud/bg_radar.tga rename to data/gfx/hud/default/bg_radar.tga diff --git a/data/gfx/hud/bg_status.tga b/data/gfx/hud/default/bg_status.tga similarity index 100% rename from data/gfx/hud/bg_status.tga rename to data/gfx/hud/default/bg_status.tga diff --git a/data/gfx/hud/bg_stomach.tga b/data/gfx/hud/default/bg_stomach.tga similarity index 100% rename from data/gfx/hud/bg_stomach.tga rename to data/gfx/hud/default/bg_stomach.tga diff --git a/data/gfx/hud/bg_stomach_status.tga b/data/gfx/hud/default/bg_stomach_status.tga similarity index 100% rename from data/gfx/hud/bg_stomach_status.tga rename to data/gfx/hud/default/bg_stomach_status.tga diff --git a/data/gfx/hud/bg_timer.tga b/data/gfx/hud/default/bg_timer.tga similarity index 100% rename from data/gfx/hud/bg_timer.tga rename to data/gfx/hud/default/bg_timer.tga diff --git a/data/gfx/hud/fg_radar.tga b/data/gfx/hud/default/fg_radar.tga similarity index 100% rename from data/gfx/hud/fg_radar.tga rename to data/gfx/hud/default/fg_radar.tga diff --git a/data/gfx/hud/fg_radar_team.tga b/data/gfx/hud/default/fg_radar_team.tga similarity index 100% rename from data/gfx/hud/fg_radar_team.tga rename to data/gfx/hud/default/fg_radar_team.tga diff --git a/data/gfx/hud/inv_weapongrabber.tga b/data/gfx/hud/default/inv_weapongrabber.tga similarity index 100% rename from data/gfx/hud/inv_weapongrabber.tga rename to data/gfx/hud/default/inv_weapongrabber.tga diff --git a/data/gfx/hud/keys/key_backward.tga b/data/gfx/hud/default/keys/key_backward.tga similarity index 100% rename from data/gfx/hud/keys/key_backward.tga rename to data/gfx/hud/default/keys/key_backward.tga diff --git a/data/gfx/hud/keys/key_backward_inv.tga b/data/gfx/hud/default/keys/key_backward_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_backward_inv.tga rename to data/gfx/hud/default/keys/key_backward_inv.tga diff --git a/data/gfx/hud/keys/key_bg.tga b/data/gfx/hud/default/keys/key_bg.tga similarity index 100% rename from data/gfx/hud/keys/key_bg.tga rename to data/gfx/hud/default/keys/key_bg.tga diff --git a/data/gfx/hud/keys/key_crouch.tga b/data/gfx/hud/default/keys/key_crouch.tga similarity index 100% rename from data/gfx/hud/keys/key_crouch.tga rename to data/gfx/hud/default/keys/key_crouch.tga diff --git a/data/gfx/hud/keys/key_crouch_inv.tga b/data/gfx/hud/default/keys/key_crouch_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_crouch_inv.tga rename to data/gfx/hud/default/keys/key_crouch_inv.tga diff --git a/data/gfx/hud/keys/key_forward.tga b/data/gfx/hud/default/keys/key_forward.tga similarity index 100% rename from data/gfx/hud/keys/key_forward.tga rename to data/gfx/hud/default/keys/key_forward.tga diff --git a/data/gfx/hud/keys/key_forward_inv.tga b/data/gfx/hud/default/keys/key_forward_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_forward_inv.tga rename to data/gfx/hud/default/keys/key_forward_inv.tga diff --git a/data/gfx/hud/keys/key_jump.tga b/data/gfx/hud/default/keys/key_jump.tga similarity index 100% rename from data/gfx/hud/keys/key_jump.tga rename to data/gfx/hud/default/keys/key_jump.tga diff --git a/data/gfx/hud/keys/key_jump_inv.tga b/data/gfx/hud/default/keys/key_jump_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_jump_inv.tga rename to data/gfx/hud/default/keys/key_jump_inv.tga diff --git a/data/gfx/hud/keys/key_left.tga b/data/gfx/hud/default/keys/key_left.tga similarity index 100% rename from data/gfx/hud/keys/key_left.tga rename to data/gfx/hud/default/keys/key_left.tga diff --git a/data/gfx/hud/keys/key_left_inv.tga b/data/gfx/hud/default/keys/key_left_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_left_inv.tga rename to data/gfx/hud/default/keys/key_left_inv.tga diff --git a/data/gfx/hud/keys/key_right.tga b/data/gfx/hud/default/keys/key_right.tga similarity index 100% rename from data/gfx/hud/keys/key_right.tga rename to data/gfx/hud/default/keys/key_right.tga diff --git a/data/gfx/hud/keys/key_right_inv.tga b/data/gfx/hud/default/keys/key_right_inv.tga similarity index 100% rename from data/gfx/hud/keys/key_right_inv.tga rename to data/gfx/hud/default/keys/key_right_inv.tga diff --git a/data/gfx/hud/race/newfail.tga b/data/gfx/hud/default/race/newfail.tga similarity index 100% rename from data/gfx/hud/race/newfail.tga rename to data/gfx/hud/default/race/newfail.tga diff --git a/data/gfx/hud/race/newrankgreen.tga b/data/gfx/hud/default/race/newrankgreen.tga similarity index 100% rename from data/gfx/hud/race/newrankgreen.tga rename to data/gfx/hud/default/race/newrankgreen.tga diff --git a/data/gfx/hud/race/newrankyellow.tga b/data/gfx/hud/default/race/newrankyellow.tga similarity index 100% rename from data/gfx/hud/race/newrankyellow.tga rename to data/gfx/hud/default/race/newrankyellow.tga diff --git a/data/gfx/hud/race/newrecordserver.tga b/data/gfx/hud/default/race/newrecordserver.tga similarity index 100% rename from data/gfx/hud/race/newrecordserver.tga rename to data/gfx/hud/default/race/newrecordserver.tga diff --git a/data/gfx/hud/race/newtime.tga b/data/gfx/hud/default/race/newtime.tga similarity index 100% rename from data/gfx/hud/race/newtime.tga rename to data/gfx/hud/default/race/newtime.tga diff --git a/data/gfx/hud/sb_accuracy.tga b/data/gfx/hud/default/sb_accuracy.tga similarity index 100% rename from data/gfx/hud/sb_accuracy.tga rename to data/gfx/hud/default/sb_accuracy.tga diff --git a/data/gfx/hud/sb_activeweapon_grabber.tga b/data/gfx/hud/default/sb_activeweapon_grabber.tga similarity index 100% rename from data/gfx/hud/sb_activeweapon_grabber.tga rename to data/gfx/hud/default/sb_activeweapon_grabber.tga diff --git a/data/gfx/hud/sb_armor.tga b/data/gfx/hud/default/sb_armor.tga similarity index 100% rename from data/gfx/hud/sb_armor.tga rename to data/gfx/hud/default/sb_armor.tga diff --git a/data/gfx/hud/sb_digestion_active.tga b/data/gfx/hud/default/sb_digestion_active.tga similarity index 100% rename from data/gfx/hud/sb_digestion_active.tga rename to data/gfx/hud/default/sb_digestion_active.tga diff --git a/data/gfx/hud/sb_digestion_impossible.tga b/data/gfx/hud/default/sb_digestion_impossible.tga similarity index 100% rename from data/gfx/hud/sb_digestion_impossible.tga rename to data/gfx/hud/default/sb_digestion_impossible.tga diff --git a/data/gfx/hud/sb_digestion_possible.tga b/data/gfx/hud/default/sb_digestion_possible.tga similarity index 100% rename from data/gfx/hud/sb_digestion_possible.tga rename to data/gfx/hud/default/sb_digestion_possible.tga diff --git a/data/gfx/hud/sb_flag_blue_carrying.tga b/data/gfx/hud/default/sb_flag_blue_carrying.tga similarity index 100% rename from data/gfx/hud/sb_flag_blue_carrying.tga rename to data/gfx/hud/default/sb_flag_blue_carrying.tga diff --git a/data/gfx/hud/sb_flag_blue_lost.tga b/data/gfx/hud/default/sb_flag_blue_lost.tga similarity index 100% rename from data/gfx/hud/sb_flag_blue_lost.tga rename to data/gfx/hud/default/sb_flag_blue_lost.tga diff --git a/data/gfx/hud/sb_flag_blue_shielded.tga b/data/gfx/hud/default/sb_flag_blue_shielded.tga similarity index 100% rename from data/gfx/hud/sb_flag_blue_shielded.tga rename to data/gfx/hud/default/sb_flag_blue_shielded.tga diff --git a/data/gfx/hud/sb_flag_blue_taken.tga b/data/gfx/hud/default/sb_flag_blue_taken.tga similarity index 100% rename from data/gfx/hud/sb_flag_blue_taken.tga rename to data/gfx/hud/default/sb_flag_blue_taken.tga diff --git a/data/gfx/hud/sb_flag_red_carrying.tga b/data/gfx/hud/default/sb_flag_red_carrying.tga similarity index 100% rename from data/gfx/hud/sb_flag_red_carrying.tga rename to data/gfx/hud/default/sb_flag_red_carrying.tga diff --git a/data/gfx/hud/sb_flag_red_lost.tga b/data/gfx/hud/default/sb_flag_red_lost.tga similarity index 100% rename from data/gfx/hud/sb_flag_red_lost.tga rename to data/gfx/hud/default/sb_flag_red_lost.tga diff --git a/data/gfx/hud/sb_flag_red_shielded.tga b/data/gfx/hud/default/sb_flag_red_shielded.tga similarity index 100% rename from data/gfx/hud/sb_flag_red_shielded.tga rename to data/gfx/hud/default/sb_flag_red_shielded.tga diff --git a/data/gfx/hud/sb_flag_red_taken.tga b/data/gfx/hud/default/sb_flag_red_taken.tga similarity index 100% rename from data/gfx/hud/sb_flag_red_taken.tga rename to data/gfx/hud/default/sb_flag_red_taken.tga diff --git a/data/gfx/hud/sb_fuel.tga b/data/gfx/hud/default/sb_fuel.tga similarity index 100% rename from data/gfx/hud/sb_fuel.tga rename to data/gfx/hud/default/sb_fuel.tga diff --git a/data/gfx/hud/sb_fuel_regen.tga b/data/gfx/hud/default/sb_fuel_regen.tga similarity index 100% rename from data/gfx/hud/sb_fuel_regen.tga rename to data/gfx/hud/default/sb_fuel_regen.tga diff --git a/data/gfx/hud/sb_health.tga b/data/gfx/hud/default/sb_health.tga similarity index 100% rename from data/gfx/hud/sb_health.tga rename to data/gfx/hud/default/sb_health.tga diff --git a/data/gfx/hud/sb_invinc.tga b/data/gfx/hud/default/sb_invinc.tga similarity index 100% rename from data/gfx/hud/sb_invinc.tga rename to data/gfx/hud/default/sb_invinc.tga diff --git a/data/gfx/hud/sb_kh_blue.tga b/data/gfx/hud/default/sb_kh_blue.tga similarity index 100% rename from data/gfx/hud/sb_kh_blue.tga rename to data/gfx/hud/default/sb_kh_blue.tga diff --git a/data/gfx/hud/sb_kh_bluearrow.tga b/data/gfx/hud/default/sb_kh_bluearrow.tga similarity index 100% rename from data/gfx/hud/sb_kh_bluearrow.tga rename to data/gfx/hud/default/sb_kh_bluearrow.tga diff --git a/data/gfx/hud/sb_kh_pink.tga b/data/gfx/hud/default/sb_kh_pink.tga similarity index 100% rename from data/gfx/hud/sb_kh_pink.tga rename to data/gfx/hud/default/sb_kh_pink.tga diff --git a/data/gfx/hud/sb_kh_pinkarrow.tga b/data/gfx/hud/default/sb_kh_pinkarrow.tga similarity index 100% rename from data/gfx/hud/sb_kh_pinkarrow.tga rename to data/gfx/hud/default/sb_kh_pinkarrow.tga diff --git a/data/gfx/hud/sb_kh_red.tga b/data/gfx/hud/default/sb_kh_red.tga similarity index 100% rename from data/gfx/hud/sb_kh_red.tga rename to data/gfx/hud/default/sb_kh_red.tga diff --git a/data/gfx/hud/sb_kh_redarrow.tga b/data/gfx/hud/default/sb_kh_redarrow.tga similarity index 100% rename from data/gfx/hud/sb_kh_redarrow.tga rename to data/gfx/hud/default/sb_kh_redarrow.tga diff --git a/data/gfx/hud/sb_kh_yellow.tga b/data/gfx/hud/default/sb_kh_yellow.tga similarity index 100% rename from data/gfx/hud/sb_kh_yellow.tga rename to data/gfx/hud/default/sb_kh_yellow.tga diff --git a/data/gfx/hud/sb_kh_yellowarrow.tga b/data/gfx/hud/default/sb_kh_yellowarrow.tga similarity index 100% rename from data/gfx/hud/sb_kh_yellowarrow.tga rename to data/gfx/hud/default/sb_kh_yellowarrow.tga diff --git a/data/gfx/hud/sb_power_fail.tga b/data/gfx/hud/default/sb_power_fail.tga similarity index 100% rename from data/gfx/hud/sb_power_fail.tga rename to data/gfx/hud/default/sb_power_fail.tga diff --git a/data/gfx/hud/sb_power_fail_icon.tga b/data/gfx/hud/default/sb_power_fail_icon.tga similarity index 100% rename from data/gfx/hud/sb_power_fail_icon.tga rename to data/gfx/hud/default/sb_power_fail_icon.tga diff --git a/data/gfx/hud/sb_power_reboot.tga b/data/gfx/hud/default/sb_power_reboot.tga similarity index 100% rename from data/gfx/hud/sb_power_reboot.tga rename to data/gfx/hud/default/sb_power_reboot.tga diff --git a/data/gfx/hud/sb_power_reboot_icon.tga b/data/gfx/hud/default/sb_power_reboot_icon.tga similarity index 100% rename from data/gfx/hud/sb_power_reboot_icon.tga rename to data/gfx/hud/default/sb_power_reboot_icon.tga diff --git a/data/gfx/hud/sb_ring.tga b/data/gfx/hud/default/sb_ring.tga similarity index 100% rename from data/gfx/hud/sb_ring.tga rename to data/gfx/hud/default/sb_ring.tga diff --git a/data/gfx/hud/sb_scoreboard_bg.tga b/data/gfx/hud/default/sb_scoreboard_bg.tga similarity index 100% rename from data/gfx/hud/sb_scoreboard_bg.tga rename to data/gfx/hud/default/sb_scoreboard_bg.tga diff --git a/data/gfx/hud/sb_scoreboard_tableheader.tga b/data/gfx/hud/default/sb_scoreboard_tableheader.tga similarity index 100% rename from data/gfx/hud/sb_scoreboard_tableheader.tga rename to data/gfx/hud/default/sb_scoreboard_tableheader.tga diff --git a/data/gfx/hud/sb_str.tga b/data/gfx/hud/default/sb_str.tga similarity index 100% rename from data/gfx/hud/sb_str.tga rename to data/gfx/hud/default/sb_str.tga diff --git a/data/gfx/hud/sb_time.tga b/data/gfx/hud/default/sb_time.tga similarity index 100% rename from data/gfx/hud/sb_time.tga rename to data/gfx/hud/default/sb_time.tga diff --git a/data/gfx/hud/voteprogress_back.tga b/data/gfx/hud/default/voteprogress_back.tga similarity index 100% rename from data/gfx/hud/voteprogress_back.tga rename to data/gfx/hud/default/voteprogress_back.tga diff --git a/data/gfx/hud/voteprogress_prog.tga b/data/gfx/hud/default/voteprogress_prog.tga similarity index 100% rename from data/gfx/hud/voteprogress_prog.tga rename to data/gfx/hud/default/voteprogress_prog.tga diff --git a/data/gfx/hud/voteprogress_voted.tga b/data/gfx/hud/default/voteprogress_voted.tga similarity index 100% rename from data/gfx/hud/voteprogress_voted.tga rename to data/gfx/hud/default/voteprogress_voted.tga diff --git a/data/hudVT.cfg b/data/hudVT.cfg index 4d3267e0..0572ac32 100644 --- a/data/hudVT.cfg +++ b/data/hudVT.cfg @@ -4,19 +4,19 @@ set hud_style default // which subfolder to use for HUD images in gfx/hud/ set hud_backgrounds 4 // total number of backgrounds defined -set hud_background_1_texture "gfx/hud/bg_status" +set hud_background_1_texture "bg_status" set hud_background_1_position "0 -0.85 0" set hud_background_1_scale "0.2 0.15 0" set hud_background_1_colortype 1 // 0 = white, 1 = HUD / team color, 2 = vore color -set hud_background_2_texture "gfx/hud/bg_stomach" +set hud_background_2_texture "bg_stomach" set hud_background_2_position "-0.68 -0.58 0" set hud_background_2_scale "0.325 0.475 0" set hud_background_2_colortype 1 // 0 = white, 1 = HUD / team color, 2 = vore color -set hud_background_3_texture "gfx/hud/bg_stomach_status" +set hud_background_3_texture "bg_stomach_status" set hud_background_3_position "-0.68 -0.58 0" set hud_background_3_scale "0.325 0.475 0" set hud_background_3_colortype 2 // 0 = white, 1 = HUD / team color, 2 = vore color -set hud_background_4_texture "gfx/hud/bg_timer" +set hud_background_4_texture "bg_timer" set hud_background_4_position "0.875 0.95 0" set hud_background_4_scale "0.125 0.05 0" set hud_background_4_colortype 1 // 0 = white, 1 = HUD / team color, 2 = vore color diff --git a/data/qcsrc/client/hud.qc b/data/qcsrc/client/hud.qc index 04a51543..f5f9cf17 100644 --- a/data/qcsrc/client/hud.qc +++ b/data/qcsrc/client/hud.qc @@ -1782,7 +1782,7 @@ void Sbar_DrawBackgrounds() float i; for(i = 1; i <= total; i++) { - string img = cvar_string(strcat("hud_background_", ftos(i), "_texture")); + string img = Sbar_GetTexture(cvar_string(strcat("hud_background_", ftos(i), "_texture"))); vector pos = stov(cvar_string(strcat("hud_background_", ftos(i), "_position"))); vector sz = stov(cvar_string(strcat("hud_background_", ftos(i), "_scale"))); -- 2.39.2