mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Level editor and resource loader fixups and refactors
This commit is contained in:
@@ -36,11 +36,6 @@ PixMapHandle GetGWorldPixMap(DrawSurface *gworld)
|
||||
return gworld->m_port.GetPixMap();
|
||||
}
|
||||
|
||||
THandle<BitmapImage> GetPicture(short resID)
|
||||
{
|
||||
return PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', resID).StaticCast<BitmapImage>();
|
||||
}
|
||||
|
||||
void OffsetRect(Rect *rect, int right, int down)
|
||||
{
|
||||
rect->left += right;
|
||||
|
Reference in New Issue
Block a user