|
@@ -16,34 +16,35 @@
|
|
|
class VideoDriver_Allegro : public VideoDriver {
|
|
|
public:
|
|
|
const char *Start(const StringList ¶m) override;
|
|
|
|
|
|
void Stop() override;
|
|
|
|
|
|
void MakeDirty(int left, int top, int width, int height) override;
|
|
|
|
|
|
void MainLoop() override;
|
|
|
|
|
|
bool ChangeResolution(int w, int h) override;
|
|
|
|
|
|
bool ToggleFullscreen(bool fullscreen) override;
|
|
|
|
|
|
bool AfterBlitterChange() override;
|
|
|
|
|
|
bool ClaimMousePointer() override;
|
|
|
|
|
|
const char *GetName() const override { return "allegro"; }
|
|
|
|
|
|
protected:
|
|
|
void InputLoop() override;
|
|
|
void Paint() override;
|
|
|
void CheckPaletteAnim() override;
|
|
|
bool PollEvent() override;
|
|
|
};
|
|
|
|
|
|
/** Factory for the allegro video driver. */
|
|
|
class FVideoDriver_Allegro : public DriverFactoryBase {
|
|
|
public:
|
|
|
FVideoDriver_Allegro() : DriverFactoryBase(Driver::DT_VIDEO, 4, "allegro", "Allegro Video Driver") {}
|
|
|
Driver *CreateInstance() const override { return new VideoDriver_Allegro(); }
|
|
|
};
|
|
|
|
|
|
#endif /* VIDEO_ALLEGRO_H */
|