View Issue Details

IDProjectCategoryView StatusLast Update
0000520Gameplay + OpenGL[All Projects] Bugpublic2017-04-02 12:32
ReporterMarrub 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionno change required 
Summary0000520: DrawImage's DI_SCREEN* flags don't account for virtual resolution
DescriptionThis seems really strange because the ITEM flags do, but if you use for instance DI_SCREEN_CENTER_BOTTOM it'll be at the center bottom of... where it would be on a screen sized the same as the virtual resolution.
As an example, this code:
DrawImage("graphics/statbar.png", (0, 0), DI_SCREEN_CENTER_BOTTOM);

produces this: http://mab.greyserv.net/f/1491109475_3538.png
Which is correct at 320x200.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-04-02 12:32

administrator   ~0001220

The DI_SCREEN flags only have an effect when you are in HUD mode. In Statusbar mode they won't do anything because statusbar positioning is not screen relative.

This stuff still needs proper documentation.

Issue History

Date Modified Username Field Change
2017-04-02 00:13 Marrub New Issue
2017-04-02 12:32 Graf Zahl Status new => resolved
2017-04-02 12:32 Graf Zahl Resolution open => no change required
2017-04-02 12:32 Graf Zahl Note Added: 0001220