25#include "common/array.h"
26#include "common/rect.h"
27#include "common/stream.h"
28#include "common/ptr.h"
29#include "math/vector2d.h"
30#include "twp/squirrel/squirrel.h"
33#include "twp/scenegraph.h"
36#define FULLSCREENCLOSEUP 1
37#define FULLSCREENROOM 2
41enum class RoomEffect {
61 Math::Vector2d _parallax;
75 float getScaling(
float yPos);
81 float brightness = 0.f;
82 float coneDirection = 0.f;
83 float coneAngle = 0.f;
84 float coneFalloff = 0.f;
85 float cutOffRadius = 0.f;
86 float halfRadius = 0.f;
113 void update(
float elapsedSec);
118 Math::Vector2d getScreenSize();
123 Light *createLight(
const Color &color,
const Math::Vector2d &pos);
124 float getScaling(
float yPos);
126 void setOverlay(
const Color &color);
127 Color getOverlay()
const;
135 Math::Vector2d _roomSize;
144 bool _entering =
false;
148 bool _pseudo =
false;
151 RoomEffect _effect = RoomEffect::None;
154 float _rotation = 0.f;
Definition: scenegraph.h:281
Definition: scenegraph.h:217
Definition: lobject.h:332
Definition: squirrel.h:154