Skip to content

Commit

Permalink
Fixed regression to radiation detector dial overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Decane committed Dec 4, 2023
1 parent 27d35e3 commit 78d11f1
Show file tree
Hide file tree
Showing 12 changed files with 438 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,11 @@

<main_sensor x="132" y="150" width="100" height="100">
<hint_text delay="800">st_ui_main_sensor</hint_text>
<!--
<icon x="18" y="54" width="66" height="51">
<texture>ui_hud2_rad01_over</texture>

<icon x="-2" y="55" width="66" height="51">
<texture>ui_inGame2_rad01_over</texture>
</icon>
-->

<arrow x="46" y="32" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.75" ang_velocity="0.75">
<texture a="255">ui_hud2_rad01_arrow</texture>
</arrow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,19 +297,19 @@

<main_sensor x="110" y="150" width="83" height="100">
<hint_text delay="800">st_ui_main_sensor</hint_text>
<!--
<icon x="15" y="54" width="55" height="51" stretch="1">
<texture>ui_hud2_rad01_over</texture>

<icon x="-1.8" y="55" width="89" height="51" stretch="1">
<texture>ui_inGame2_rad01_over</texture>
</icon>
-->

<arrow x="38" y="32" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.75" ang_velocity="0.75">
<texture a="255">ui_hud2_rad01_arrow</texture>
</arrow>
<arrow_shadow x="40" y="34" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.8" ang_velocity="0.75">
<texture a="250">ui_hud2_rad01_arrow_shadow</texture>
</arrow_shadow>

<progress_shape x="3" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<progress_shape x="2" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<front x="0" y="0" width="80" height="96" stretch="1">
<texture>ui_hud2_rad01_progress</texture>
</front>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
<texture a="250">ui_hud2_rad01_arrow_shadow</texture>
</arrow_shadow>

<progress_shape x="3" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<progress_shape x="2" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<front x="0" y="0" width="80" height="96" stretch="1">
<texture>ui_hud2_rad01_progress</texture>
</front>
Expand Down
1 change: 1 addition & 0 deletions SRP v1.1.4 - Version History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ v1.1.4
+ Fixed an SRP v1.1.1 regression that caused the game to forget the squad from which the player accepted a 'capture' task via dialogue under certain circumstances. - Decane
+ Fixed an SRP v1.0.4 regression that caused several dialogue options to be erroneously unavailable when speaking to generic mercenary NPCs, including Hog's subordinates at the Army Warehouses and Leshiy's subordinates at the Red Forest. - Decane
+ Fixed an SRP v1.0.3 regression that caused Yoga's walkie-talkie transmissions to the player to sound as if Yoga were speaking to the player in person rather than over walkie-talkie. - Decane
+ Fixed an SRP v1.0.3 regression that caused the radiation detector dial on the HUD and in the inventory to be rendered over the detector's front panel instead of behind it. - Georgiy-Timoshin
+ Worked around an SRP v1.0.3 regression introduced by the Dunin Ammo Aggregation mod that caused ammo unloaded from a weapon to disappear under certain circumstances. - Decane, Alex Rinic
+ Worked around an SRP v1.0.3 regression that caused bullet tracers to be visible through geometry when playing in DX10/10.1 mode with anti-aliasing enabled through the game's graphics settings. Note: This was achieved by reintroducing the bug from the unmodded game of tracers not being visible at all in DX10/10.1 mode.
+ Fixed an SRP v0.5 regression that caused DX9 sun shafts quality to be hard-coded to low.
Expand Down
8 changes: 4 additions & 4 deletions gamedata/configs/ui/actor_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@

<main_sensor x="132" y="150" width="100" height="100">
<hint_text delay="800">st_ui_main_sensor</hint_text>
<!--
<icon x="18" y="54" width="66" height="51">
<texture>ui_hud2_rad01_over</texture>

<icon x="-2" y="55" width="66" height="51">
<texture>ui_inGame2_rad01_over</texture>
</icon>
-->

<arrow x="46" y="32" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.75" ang_velocity="0.75">
<texture a="255">ui_hud2_rad01_arrow</texture>
</arrow>
Expand Down
10 changes: 5 additions & 5 deletions gamedata/configs/ui/actor_menu_16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -285,19 +285,19 @@

<main_sensor x="110" y="150" width="83" height="100">
<hint_text delay="800">st_ui_main_sensor</hint_text>
<!--
<icon x="15" y="54" width="55" height="51" stretch="1">
<texture>ui_hud2_rad01_over</texture>

<icon x="-1.8" y="55" width="89" height="51" stretch="1">
<texture>ui_inGame2_rad01_over</texture>
</icon>
-->

<arrow x="38" y="32" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.75" ang_velocity="0.75">
<texture a="255">ui_hud2_rad01_arrow</texture>
</arrow>
<arrow_shadow x="40" y="34" width="9" height="97" heading="1" clockwise="1" begin_angle="0.75" end_angle="-0.8" ang_velocity="0.75">
<texture a="250">ui_hud2_rad01_arrow_shadow</texture>
</arrow_shadow>

<progress_shape x="3" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<progress_shape x="2" y="40" width="96" height="96" sector_count="36" clockwise="1" blend="0" begin_angle="0.75" end_angle="-0.75">
<front x="0" y="0" width="80" height="96" stretch="1">
<texture>ui_hud2_rad01_progress</texture>
</front>
Expand Down
2 changes: 1 addition & 1 deletion gamedata/configs/ui/maingame.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<!--
<texture>ui_hud2_rad01_over</texture>
-->
<auto_static x="-17" y="14" width="103" height="37">
<auto_static x="-18" y="0" width="103" height="51">
<texture>ui_hud2_stamina_bk</texture>
</auto_static>
</back_over_arrow>
Expand Down
2 changes: 1 addition & 1 deletion gamedata/configs/ui/maingame_16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<!--
<texture>ui_hud2_rad01_over</texture>
-->
<auto_static x="-15" y="14" width="86" height="37" stretch="1">
<auto_static x="-15" y="0" width="86" height="51" stretch="1">
<texture>ui_hud2_stamina_bk</texture>
</auto_static>
</back_over_arrow>
Expand Down
160 changes: 160 additions & 0 deletions gamedata/configs/ui/textures_descr/ui_hud.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<w>
<file name="ui\ui_hud">

<texture id="ui_sega_healph" x="699" y="198" width="325" height="25"/>
<texture id="ui_sega_healph_progress" x="770" y="185" width="254" height="10"/>

<texture id="ui_hud_shkala_car" x="35" y="192" width="155" height="34"/>
<texture id="ui_hud_shkala_health" x="185" y="38" width="164" height="34"/>
<texture id="ui_hud_frame_patron" x="185" y="72" width="157" height="65"/>
<texture id="ui_hud_frame_clock" x="190" y="137" width="157" height="67"/>
<texture id="ui_hud_frame_rank" x="349" y="0" width="60" height="65"/>
<texture id="ui_hud_frame_money" x="409" y="0" width="99" height="64"/>
<texture id="ui_hud_stamina_full" x="349" y="65" width="125" height="125"/>
<texture id="ui_hud_frame_stamina" x="0" y="226" width="97" height="127"/>
<texture id="ui_hud_stamina" x="347" y="200" width="56" height="7"/>
<texture id="ui_hud_fragBig" x="585" y="137" width="280" height="45"/>
<texture id="ui_hud_shk_car" x="509" y="40" width="110" height="10"/>
<texture id="ui_hud_shk_light" x="474" y="65" width="10" height="71"/>
<texture id="ui_hud_shk_noise" x="484" y="65" width="10" height="71"/>
<texture id="ui_hud_shk_stamina" x="347" y="200" width="57" height="7"/>
<texture id="ui_hud_icon_PDA" x="619" y="40" width="48" height="29"/>
<texture id="ui_hud_soldier_creep" x="0" y="353" width="65" height="75"/>
<texture id="ui_hud_soldier_normal" x="0" y="428" width="65" height="75"/>
<texture id="ui_hud_soldier_sprint" x="0" y="503" width="65" height="75"/>
<texture id="ui_hud_soldier_climb" x="0" y="578" width="65" height="75"/>
<texture id="ui_hud_soldier_run" x="0" y="653" width="65" height="75"/>
<texture id="ui_hud_soldier_crouch" x="65" y="354" width="65" height="75"/>
<texture id="ui_hud_teamF_counter" x="981" y="0" width="36" height="70"/>
<texture id="ui_hud_teamF_line" x="0" y="1020" width="404" height="4"/>
<texture id="ui_hud_teamF_leftS" x="495" y="65" width="38" height="43"/>
<texture id="ui_hud_teamF_rightS" x="533" y="65" width="38" height="43"/>
<texture id="ui_hud_teamF_counterC" x="572" y="65" width="33" height="33"/>
<texture id="ui_hud_map_arrow" x="607" y="65" width="11" height="24"/>

<texture id="ui_hud_grenadetarget_d" x="0" y="928" width="91" height="92"/>
<texture id="ui_hud_grenadetarget_e" x="91" y="928" width="91" height="92"/>
<texture id="ui_hud_icon_car" x="190" y="204" width="19" height="18"/>
<texture id="ui_hud_icon_health" x="209" y="204" width="19" height="18"/>
<texture id="ui_hud_icon_armour" x="228" y="204" width="19" height="18"/>
<texture id="ui_hud_frag" x="641" y="91" width="224" height="45"/>
<texture id="ui_hud_status_blue_01" x="0" y="728" width="46" height="47"/>
<texture id="ui_hud_status_blue_02" x="0" y="775" width="46" height="47"/>
<texture id="ui_hud_status_blue_03" x="0" y="822" width="46" height="47"/>
<texture id="ui_hud_status_blue_04" x="0" y="869" width="46" height="47"/>
<texture id="ui_hud_status_blue_05" x="667" y="40" width="46" height="47"/>
<texture id="ui_hud_status_green_01" x="713" y="40" width="46" height="47"/>
<texture id="ui_hud_status_green_02" x="759" y="40" width="46" height="47"/>
<texture id="ui_hud_status_green_03" x="805" y="40" width="46" height="47"/>
<texture id="ui_hud_status_green_04" x="851" y="40" width="46" height="47"/>
<texture id="ui_hud_status_green_05" x="897" y="40" width="46" height="47"/>
<texture id="ui_hud_icon_sleep" x="97" y="226" width="64" height="64"/>
<texture id="ui_hud_icon_radiation" x="97" y="290" width="64" height="64"/>
<texture id="ui_hud_icon_eat" x="161" y="226" width="64" height="64"/>
<texture id="ui_hud_icon_goodmode" x="161" y="290" width="64" height="64"/>
<texture id="ui_hud_icon_psycho" x="225" y="226" width="64" height="64"/>
<texture id="ui_hud_icon_drop" x="225" y="290" width="64" height="64"/>
<texture id="ui_hud_icon_artefact" x="289" y="226" width="64" height="64"/>
<texture id="ui_hud_icon_weapon" x="289" y="290" width="64" height="64"/>
<texture id="ui_hud_frame_voting" x="424" y="375" width="600" height="371"/>
<texture id="ui_hud_button_voting_01_e" x="65" y="429" width="37" height="25"/>
<texture id="ui_hud_button_voting_01_h" x="65" y="454" width="37" height="25"/>
<texture id="ui_hud_button_voting_01_t" x="65" y="479" width="37" height="25"/>
<texture id="ui_hud_button_voting_01_d" x="65" y="504" width="37" height="25"/>
<texture id="ui_hud_button_voting_02_e" x="65" y="529" width="37" height="25"/>
<texture id="ui_hud_button_voting_02_h" x="65" y="554" width="37" height="25"/>
<texture id="ui_hud_button_voting_02_t" x="65" y="579" width="37" height="25"/>
<texture id="ui_hud_button_voting_02_d" x="65" y="604" width="37" height="25"/>
<texture id="ui_hud_button_voting_03_e" x="65" y="629" width="37" height="25"/>
<texture id="ui_hud_button_voting_03_h" x="65" y="654" width="37" height="25"/>
<texture id="ui_hud_button_voting_03_t" x="65" y="679" width="37" height="25"/>
<texture id="ui_hud_button_voting_03_d" x="65" y="704" width="37" height="25"/>
<texture id="ui_hud_frame_voting_dop" x="451" y="306" width="573" height="69"/>
<texture id="ui_hud_frame_voting_dop2" x="451" y="336" width="573" height="39"/>
<!--
<texture id="ui_hud_frame_moneyNumber" x="905" y="746" width="119" height="46"/>
<texture id="ui_hud_frame_buyM" x="450" y="792" width="574" height="232"/>
-->
<texture id="ui_hud_points_count" x="641" y="91" width="224" height="45"/>
<texture id="ui_hud_timer_games" x="869" y="91" width="155" height="66"/>

<texture id="ui_inv_icon_health_restore_speed" x="498" y="110" width="18" height="18"/>
<texture id="ui_inv_icon_radiation_restore_speed" x="498" y="130" width="18" height="18"/>
<texture id="ui_inv_icon_satiety_restore_speed" x="498" y="150" width="18" height="18"/>
<texture id="ui_inv_icon_bleeding_restore_speed" x="498" y="170" width="18" height="18"/>
<texture id="ui_inv_icon_power_restore_speed" x="498" y="190" width="18" height="18"/>

<texture id="ui_inv_icon_shock_immunity" x="518" y="110" width="18" height="18"/>
<texture id="ui_inv_icon_burn_immunity" x="518" y="130" width="18" height="18"/>
<texture id="ui_inv_icon_strike_immunity" x="518" y="150" width="18" height="18"/>
<texture id="ui_inv_icon_wound_immunity" x="518" y="170" width="18" height="18"/>
<texture id="ui_inv_icon_radiation_immunity" x="518" y="190" width="18" height="18"/>
<texture id="ui_inv_icon_telepatic_immunity" x="538" y="110" width="18" height="18"/>
<texture id="ui_inv_icon_chemical_burn_immunity" x="538" y="130" width="18" height="18"/>
<texture id="ui_inv_icon_explosion_immunity" x="538" y="150" width="18" height="18"/>
<texture id="ui_inv_icon_fire_wound_immunity" x="538" y="170" width="18" height="18"/>
<texture id="ui_inv_icon_additional_weight" x="538" y="190" width="18" height="18"/>

<texture id="ui_mg_progress_efficiency_empty" x="161" y="363" width="120" height="17"/>
<texture id="ui_mg_progress_efficiency_full" x="161" y="381" width="120" height="17"/>

<texture id="ui_patch_back" x="421" y="239" width="603" height="51"/>
<texture id="ui_patch_progress" x="621" y="227" width="403" height="10"/>

<texture id="ui_pda2_small_progress" x="592" y="746" width="432" height="38"/>
<texture id="ui_pda2_big_progress" x="807" y="792" width="217" height="57"/>

<texture id="ui_hud_map" x="0" y="0" width="197" height="191"/>
<texture id="ui_hud_map_counter" x="47" y="191" width="35" height="29"/>
<texture id="ui_hud_compas" x="199" y="2" width="31" height="31"/>

<texture id="ui_hud_shkala_armor" x="196" y="65" width="165" height="28"/>
<texture id="ui_hud_shk_health" x="789" y="879" width="114" height="9"/>
<texture id="ui_hud_shk_armour" x="789" y="891" width="114" height="9"/>

<texture id="ui_hud2_rad01_back" x="758" y="903" width="266" height="121"/>
<texture id="ui_hud2_rad01_back2v" x="602" y="805" width="23" height="219"/>
<texture id="ui_hud2_rad01_over" x="660" y="973" width="66" height="51"/>
<texture id="ui_hud2_stamina_bk" x="477" y="973" width="103" height="51"/>
<texture id="ui_hud2_rad01_arrow" x="727" y="914" width="9" height="97"/>
<texture id="ui_hud2_rad01_arrow_shadow" x="727" y="804" width="9" height="97"/>
<texture id="ui_hud2_rad01_progress" x="630" y="877" width="96" height="96"/>

<texture id="ui_hud2_res_back" x="996" y="875" width="28" height="28"/>
<texture id="ui_hud2_res_rad" x="973" y="878" width="22" height="22"/>
<texture id="ui_hud2_res_psi" x="951" y="878" width="22" height="22"/>
<texture id="ui_hud2_res_fire" x="929" y="878" width="22" height="22"/>
<texture id="ui_hud2_res_acid" x="907" y="878" width="22" height="22"/>

<texture id="ui_btn_shotgun_e" x="198" y="97" width="256" height="100"/>
<texture id="ui_btn_sniper_e" x="198" y="97" width="256" height="100"/>
<texture id="ui_btn_heavy_e" x="198" y="97" width="256" height="100"/>
<texture id="ui_btn_assault_e" x="198" y="97" width="256" height="100"/>

<texture id="pre_novice" x="0" y="728" width="46" height="47"/>
<texture id="novice" x="0" y="775" width="46" height="47"/>
<texture id="experienced" x="0" y="822" width="46" height="47"/>
<texture id="veteran" x="0" y="869" width="46" height="47"/>
<texture id="master" x="667" y="40" width="46" height="47"/>

<texture id="mp_stats_icon_c_frags" x="503" y="746" width="25" height="21"/>
<texture id="mp_stats_icon_c_deaths" x="528" y="746" width="25" height="21"/>
<texture id="mp_stats_icon_c_art" x="553" y="746" width="25" height="21"/>
<texture id="mp_stats_icon_c_assist" x="503" y="767" width="25" height="21"/>
<texture id="mp_stats_icon_c_rank" x="528" y="767" width="25" height="21"/>
<texture id="mp_stats_icon_c_ping" x="553" y="767" width="25" height="21"/>

<texture id="mp_stats_icon_w_frags" x="503" y="788" width="25" height="21"/>
<texture id="mp_stats_icon_w_deaths" x="528" y="788" width="25" height="21"/>
<texture id="mp_stats_icon_w_art" x="553" y="788" width="25" height="21"/>
<texture id="mp_stats_icon_w_assist" x="503" y="809" width="25" height="21"/>
<texture id="mp_stats_icon_w_rank" x="528" y="809" width="25" height="21"/>
<texture id="mp_stats_icon_w_ping" x="553" y="809" width="25" height="21"/>
<!--
<texture id="merc_wide" x="454" y="842" width="125" height="54"/>
<texture id="merc_icon" x="490" y="843" width="56" height="54"/>
-->
<texture id="ui_hud_shk_stamina_new" x="789" y="862" width="68" height="14"/>

</file>
</w>
Loading

0 comments on commit 78d11f1

Please sign in to comment.