mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Get TVs working
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
//----------------------------------------------------------------------------
|
||||
//============================================================================
|
||||
|
||||
|
||||
#include "BitmapImage.h"
|
||||
#include "Externs.h"
|
||||
#include "Environ.h"
|
||||
#include "RectUtils.h"
|
||||
@@ -679,10 +679,10 @@ void DrawARoomsObjects (short neighbor, Boolean redraw)
|
||||
whoCares = tvScreen1;
|
||||
ZeroRectCorner(&whoCares);
|
||||
OffsetRect(&whoCares, itsRect.left + 17, itsRect.top + 10);
|
||||
GetMovieBox(theMovie, &movieRect);
|
||||
movieRect = (*theMovie.m_animPackage->GetFrame(0))->GetRect();
|
||||
CenterRectInRect(&movieRect, &whoCares);
|
||||
SetMovieBox(theMovie, &movieRect);
|
||||
SetMovieDisplayClipRgn(theMovie, &whoCares);
|
||||
theMovie.m_renderRect = movieRect;
|
||||
theMovie.m_constrainRect = whoCares;
|
||||
tvOn = thisObject.data.g.state;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user