123456789101112131415161718192021222324252627282930313233 |
- #ifndef SDLSNOW_HH
- #define SDLSNOW_HH
- #include "Layer.hh"
- namespace openmsx {
- class OutputSurface;
- class Display;
- /** Snow effect for background layer.
- */
- template <class Pixel>
- class SDLSnow final : public Layer
- {
- public:
- SDLSnow(OutputSurface& output, Display& display);
- // Layer interface:
- void paint(OutputSurface& output) override;
- private:
- Display& display;
- /** Gray values for noise.
- */
- Pixel gray[256];
- };
- } // namespace openmsx
- #endif
|