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; }
59 DisplayElement *findDisplayElement(
const DisplayElementID
id);
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;
76 DisplayElement *_firstDisplayElement, *_lastDisplayElement;
80 static const int kMaxShakeOffsets = 17;
82 void newShakePoint(int32 index1, int32 index2, int32 maxRadius);
85 ScreenFader *_screenFader;
Definition: elements.h:43
Definition: graphics.h:44
Definition: atari-cursor.h:35