22 #ifndef AGS_PLUGINS_AGS_PARALLAX_AGS_PARALLAX_H 23 #define AGS_PLUGINS_AGS_PARALLAX_AGS_PARALLAX_H 25 #include "ags/plugins/plugin_base.h" 26 #include "ags/plugins/serializer.h" 30 namespace AGSParallax {
41 #define MAX_SPEED 1000 42 #define MAX_SPRITES 100 51 int32 _screenWidth = 320;
52 int32 _screenHeight = 200;
53 int32 _screenColorDepth = 32;
55 bool _enabled =
false;
56 Sprite _sprites[MAX_SPRITES];
63 void Draw(
bool foreground);
70 const char *AGS_GetPluginName()
override;
71 void AGS_EngineStartup(
IAGSEngine *lpEngine)
override;
72 int64 AGS_EngineOnEvent(
int event,
NumberPtr data)
override;
Definition: serializer.h:32
Definition: plugin_base.h:171
Definition: plugin_base.h:131
Definition: ags_parallax.h:32
Definition: ags_parallax.h:48
Definition: ags_plugin.h:328