mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-01 15:35:47 +00:00
8472718fb7
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.
31 lines
446 B
C++
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
|