- Added support for ST's QUARTERGRAVITY flag.
- Added a generalized version of Skulltag's A_CheckRailReload function. - Fixed: DrawImage didn't take 0 as a valid image index. - Added Gez's RandomSpawner submission with significant changes. - Added optional blocks for MAPINFO map definitions. ZDoom doesn't use this feature itself but it allows other ports based on ZDoom to implement their own sets of options without making such a MAPINFO unreadable by ZDoom. SVN r1044 (trunk)
This commit is contained in:
parent
b899fbeabe
commit
4ff07b68ee
16 changed files with 383 additions and 58 deletions
|
|
@ -479,7 +479,7 @@ void DSBarInfo::doCommands(SBarInfoBlock &block, int xOffset, int yOffset, int a
|
|||
}
|
||||
else if((cmd.flags & DRAWIMAGE_INVENTORYICON))
|
||||
texture = TexMan[cmd.sprite_index];
|
||||
else if(cmd.image_index > 0)
|
||||
else if(cmd.image_index >= 0)
|
||||
texture = Images[cmd.image_index];
|
||||
|
||||
DrawGraphic(texture, cmd.x, cmd.y, xOffset, yOffset, alpha, !!(cmd.flags & DRAWIMAGE_TRANSLATABLE), false, !!(cmd.flags & DRAWIMAGE_OFFSET_CENTER));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue