33474cc6c0
The clients can connect and disconnect from the server with known no issues. There is no way to shutdown the server yet, but it might be possible to kick someone else from the server soon.
34 lines
676 B
C++
34 lines
676 B
C++
#ifndef SPLASHSCREEN_HPP_
|
|
#define SPLASHSCREEN_HPP_
|
|
|
|
#include "base_scene.hpp"
|
|
#include "defines.hpp"
|
|
#include "service_locator.hpp"
|
|
|
|
#include "config_utility.hpp"
|
|
#include "surface_manager.hpp"
|
|
#include "image.hpp"
|
|
|
|
#include <chrono>
|
|
|
|
class SplashScreen : public BaseScene {
|
|
public:
|
|
/* Public access members */
|
|
SplashScreen();
|
|
~SplashScreen();
|
|
|
|
protected:
|
|
/* Frame loop */
|
|
void RunFrame(double delta);
|
|
void RenderFrame();
|
|
void LoadResources();
|
|
|
|
bool loaded = false;
|
|
ConfigUtility* configUtil = ServiceLocator<ConfigUtility>::Get();
|
|
SurfaceManager* surfaceMgr = ServiceLocator<SurfaceManager>::Get();
|
|
Image logo;
|
|
Clock::time_point start = Clock::now();
|
|
};
|
|
|
|
#endif
|