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_screen.cpp
T
Kayne Ruse a1b248d1d7 Created the client program's framework
There are six scenes here, each of which representing roughly one part of
the final program's backbone.
2013-06-08 01:36:19 +10:00

70 lines
1.1 KiB
C++

#include "splash_screen.hpp"
#include <iostream>
using namespace std;
//-------------------------
//Public access members
//-------------------------
SplashScreen::SplashScreen() {
#ifdef DEBUG
cout << "entering SplashScreen" << endl;
#endif
}
SplashScreen::~SplashScreen() {
#ifdef DEBUG
cout << "leaving SplashScreen" << endl;
#endif
}
//-------------------------
//Frame loop
//-------------------------
void SplashScreen::FrameStart() {
//
}
void SplashScreen::Update(double delta) {
//
}
void SplashScreen::FrameEnd() {
//
}
void SplashScreen::Render(SDL_Surface* const screen) {
//
}
//-------------------------
//Event handlers
//-------------------------
void SplashScreen::MouseMotion(SDL_MouseMotionEvent const& motion) {
//
}
void SplashScreen::MouseButtonDown(SDL_MouseButtonEvent const& button) {
//
}
void SplashScreen::MouseButtonUp(SDL_MouseButtonEvent const& button) {
//
}
void SplashScreen::KeyDown(SDL_KeyboardEvent const& key) {
switch(key.keysym.sym) {
case SDLK_ESCAPE:
QuitEvent();
break;
}
}
void SplashScreen::KeyUp(SDL_KeyboardEvent const& key) {
//
}