22 #include "lvl_base_object.h"
23 #include <graphics/graphics.h>
24 #include <common_features/fader.h>
25 #include <common_features/rectf.h>
31 typedef QVector<PGE_Phys_Object *> PGE_RenderList;
41 static const float _smbxTickTime;
50 void init(
float x,
float y,
float w,
float h);
52 void setPos(
float x,
float y);
53 void setCenterPos(
float x,
float y);
54 void setSize(
int w,
int h);
55 void setOffset(
int x,
int y);
56 void update(
float ticks);
57 void drawBackground();
58 void drawForeground();
60 void changeSection(
LVL_Section *sct,
bool isInit=
false);
61 void changeSectionBorders(
long left,
long top,
long right,
long bottom);
64 PGE_RenderList &renderObjects();
79 void resetAutoscroll();
80 void processAutoscroll(
float tickTime);
82 float _autoscrollVelocityX_max;
83 float _autoscrollVelocityY_max;
84 float _autoscrollVelocityX;
85 float _autoscrollVelocityY;
91 PGE_RenderList objects_to_render;
94 #endif // LVL_CAMERA_H
Definition: lvl_camera.h:36
Level specific Section entry structure. Defines prererences of one section.
Definition: lvl_filedata.h:33
qreal posX()
Position X.
Definition: lvl_camera.cpp:93
int h()
Height.
Definition: lvl_camera.cpp:88
Definition: lvl_section.h:34
int w()
Width.
Definition: lvl_camera.cpp:83
Definition: lvl_backgrnd.h:39
qreal posY()
Position Y.
Definition: lvl_camera.cpp:98
The PGE_Phys_Object class.
Definition: lvl_base_object.h:51