This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/client/splash.hpp
T

35 lines
586 B
C++

#ifndef SPLASH_HPP_
#define SPLASH_HPP_
#include "base_scene.hpp"
#include "config_utility.hpp"
#include "surface_manager.hpp"
#include "image.hpp"
#include <chrono>
class Splash : public BaseScene {
public:
Splash(ConfigUtility*, SurfaceManager*);
~Splash();
protected:
typedef std::chrono::high_resolution_clock Clock;
void RunFrame(double delta);
void RenderFrame() {};
void LoadResources();
//globals
ConfigUtility* configUtil;
SurfaceManager* surfaceMgr;
//members
bool loaded = false;
Clock::time_point start = Clock::now();
Image* logo = nullptr;
};
#endif