View Issue Details

IDProjectCategoryView StatusLast Update
0000541FSSCPgraphicspublic2005-09-14 02:11
Reporterphreak Assigned Tophreak  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformP4 3.6 GHzOSWindows XPOS VersionSP2
Summary0000541: Secondary Weapons box is too small if no weapons in secondaries
DescriptionWas running through the main campaign and the bottom of the secondary weapons list seems to cut through the middle of the <none> that appears. File has been uploaded with an inverted BG since it'd be hard to see on black.

Running with the most recent cvs in d3d 1024x768x32
TagsNo tags attached.

Activities

2005-09-11 01:54

 

badgauge.PNG (1,838 bytes)   
badgauge.PNG (1,838 bytes)   

Goober5000

2005-09-12 02:18

administrator   ~0003321

Oh noes!!

Since WMC handled the hud art for the three primary / four secondary feature, he might be able to take care of this.

WMCoolmon

2005-09-12 04:01

developer   ~0003326

Last edited: 2005-09-12 04:01

Hmm, does changing this:

    if(ns==0)
    {
        emp_hud_string(Weapon_pname_coords[gr_screen.res][0][0], name_y, EG_WEAPON_S1, XSTR( "<none>", 329));
        //This *should* get rid of nasty HUD problem when a ship has no secondaries.
        GR_AABITMAP(Weapon_gauges[ballistic_hud_index][3].first_frame, Weapon_gauge_secondary_coords[ballistic_hud_index][gr_screen.res][3][0], y);
        y += res_diff;
        name_y += name_res_diff;
    }

To this:
    if(ns==0)
    {
        emp_hud_string(Weapon_pname_coords[gr_screen.res][0][0], name_y, EG_WEAPON_S1, XSTR( "<none>", 329));
        //This *should* get rid of nasty HUD problem when a ship has no secondaries.
        y += res_diff;
        name_y += name_res_diff;
        GR_AABITMAP(Weapon_gauges[ballistic_hud_index][3].first_frame, Weapon_gauge_secondary_coords[ballistic_hud_index][gr_screen.res][3][0], y);
    }
do anything?

Edit: In hud/hudtarget.cpp

edited on: 09-12-05 00:01

phreak

2005-09-14 00:04

developer   ~0003343

ok ill test this tonight then.

phreak

2005-09-14 02:10

developer   ~0003344

ok did something similar and it worked.

Issue History

Date Modified Username Field Change
2005-09-11 01:54 phreak New Issue
2005-09-11 01:54 phreak File Added: badgauge.PNG
2005-09-11 01:55 phreak Description Updated
2005-09-12 02:18 Goober5000 Note Added: 0003321
2005-09-12 02:18 Goober5000 Assigned To => WMCoolmon
2005-09-12 02:18 Goober5000 Status new => assigned
2005-09-12 04:01 WMCoolmon Note Added: 0003326
2005-09-12 04:01 WMCoolmon Note Edited: 0003326
2005-09-14 00:04 phreak Note Added: 0003343
2005-09-14 02:10 phreak Note Added: 0003344
2005-09-14 02:11 phreak Status assigned => resolved
2005-09-14 02:11 phreak Resolution open => fixed
2005-09-14 02:11 phreak Assigned To WMCoolmon => phreak