1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00
Aquaria/Aquaria/Intro.h
fgenesis 8472718fb7 Major include refactor; changes to pretty much everything
This untangles some of the gigantic kitchen sink headers
in an attempt to split things into smaller files.
Also don't include gl.h, glext.h, windows.h,
and other such nonsense *everywhere*.

Lots of cleanups on the way too. More dead/unused code removal.

Remove incrFlag(), decrFlag() Lua functions.
2016-07-09 04:18:40 +02:00

31 lines
446 B
C++

#ifndef AQUARIA_INTRO_H
#define AQUARIA_INTRO_H
#include "StateManager.h"
#include "Precacher.h"
class Quad;
class Intro : public StateObject
{
public:
Intro();
void applyState();
void removeState();
void update(float dt);
void endIntro();
bool waitQuit(float t);
protected:
void createMeteor(int layer, Vector pos, Vector off, Vector sz);
void clearMeteors();
std::vector<Quad*>meteors;
bool done;
Precacher cachy;
};
#endif