ID:1727561
 
BYOND Version:506
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Firefox 33.0
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
When displaying a screen object with an icon size larger than that of the world icon size to a player with SEE_PIXELS enabled on their sight var, the display of the icon is cut off when the location below it is outside of line of sight despite being a screen object which should not be impacted by line of sight.

Numbered Steps to Reproduce Problem:
1: Set your mob's SEE_PIXELS sight flag on.
2: Add a screen object to the client with an icon larger than 32x32 pixels.
3: Move your mob to a position where line of sight is blocked to below where the screen object is displayed.
4: Notice the display of the icon being cut off.


Code Snippet (if applicable) to Reproduce Problem:
mob/sight=SEE_PIXELS
mob/icon='icon larger than 32x32.dmi'
mob/screen_loc="CENTER,NORTH"
mob/New() spawn() client.screen+=src
//And add a map with some turf with opacity set to 1 you can move behind.


Expected Results:
The icon of the object should display in full regardless of line of sight as it is a screen object.

Actual Results:
The bottom left 32x32 pixels of the icon of the object displays correctly in all situations, however the icon extending beyond that 32x32 area is cut off if the location behind it is out of line of sight.


Does the problem occur:
Every time? Or how often?
Always.
In other games?
Yes.
In other user accounts?
Had a friend confirm it.
On other computers?
Had a friend confirm it.

When does the problem NOT occur?
The problem does not occur if you do not use the "SEE_PIXELS" flag, or do not use a screen object larger than the world icon size.


Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Untested.

Workarounds:
Use multiple small objects to represent single large objects, which dramatically complicates some things.


Note, this issue still occurs the same even if you use bound_width and bound_height, also: To have my testing in exact use a 160x32 icon and use the screen location "CENTER-2,NORTH".