mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Migrate image storage from PICT to BMP
This commit is contained in:
@@ -165,12 +165,12 @@ void FindNewActiveRoomRect (void)
|
||||
|
||||
void LoadGraphicPlus (DrawSurface *surface, short resID, const Rect &theRect)
|
||||
{
|
||||
THandle<Picture> thePicture;
|
||||
THandle<BitmapImage> thePicture;
|
||||
|
||||
thePicture = GetPicture(resID);
|
||||
if (thePicture == nil)
|
||||
{
|
||||
thePicture = GetResource('Date', resID).StaticCast<Picture>();
|
||||
thePicture = GetResource('Date', resID).StaticCast<BitmapImage>();
|
||||
if (thePicture == nil)
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user