25 #ifndef PEGASUS_GRAPHICS_H 26 #define PEGASUS_GRAPHICS_H 28 #include "common/rect.h" 29 #include "common/str.h" 30 #include "common/system.h" 31 #include "graphics/surface.h" 33 #include "pegasus/constants.h" 34 #include "pegasus/pegasus.h" 35 #include "pegasus/util.h" 53 DisplayOrder getBackOfActiveLayer()
const {
return _backLayer; }
54 DisplayOrder getFrontOfActiveLayer()
const {
return _frontLayer; }
60 void shakeTheWorld(TimeValue time, TimeScale
scale);
64 void disableUpdates();
67 void doFadeOutSync(
const TimeValue = kOneSecondPerThirtyTicks,
const TimeScale = kThirtyTicksPerSecond,
bool isBlack =
true);
68 void doFadeInSync(
const TimeValue = kOneSecondPerThirtyTicks,
const TimeScale = kThirtyTicksPerSecond,
bool isBlack =
true);
75 DisplayOrder _backLayer, _frontLayer;
80 static const int kMaxShakeOffsets = 17;
82 void newShakePoint(int32 index1, int32 index2, int32 maxRadius);
Definition: graphics.h:44
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Definition: atari-cursor.h:38
Definition: transition.h:36
Definition: elements.h:43
Definition: ai_action.h:33