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:
@@ -8,6 +8,7 @@
|
||||
#include "PLSound.h"
|
||||
#include "PLToolUtils.h"
|
||||
#include "PLPasStr.h"
|
||||
#include "BitmapImage.h"
|
||||
#include "Externs.h"
|
||||
#include "House.h"
|
||||
#include "InputManager.h"
|
||||
@@ -2005,7 +2006,7 @@ void SelectPrevObject (void)
|
||||
#ifndef COMPILEDEMO
|
||||
void GetThisRoomsObjRects (void)
|
||||
{
|
||||
THandle<Picture> thePict;
|
||||
THandle<BitmapImage> thePict;
|
||||
short i, wide, tall;
|
||||
|
||||
isFirstRoom = (GetFirstRoomNumber() == thisRoomNumber);
|
||||
@@ -2244,7 +2245,7 @@ void GetThisRoomsObjRects (void)
|
||||
}
|
||||
else
|
||||
{
|
||||
roomObjectRects[i] = (*thePict)->picFrame.ToRect();
|
||||
roomObjectRects[i] = (*thePict)->GetRect();
|
||||
}
|
||||
ZeroRectCorner(&roomObjectRects[i]);
|
||||
QOffsetRect(&roomObjectRects[i],
|
||||
|
Reference in New Issue
Block a user