You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
976 B
C
44 lines
976 B
C
|
4 years ago
|
/******************************************************************************
|
||
|
|
* File - tester.h
|
||
|
|
* Author - Joey Pollack
|
||
|
|
* Date - 2021/09/15 (y/m/d)
|
||
|
|
* Mod Date - 2021/09/15 (y/m/d)
|
||
|
|
* Description - Run a series of tests to verify engine functionality
|
||
|
|
******************************************************************************/
|
||
|
|
|
||
|
|
#ifndef TESTER_H_
|
||
|
|
#define TESTER_H_
|
||
|
|
|
||
|
|
#include <core/iRunMode.h>
|
||
|
4 years ago
|
#include <utils/types.h>
|
||
|
4 years ago
|
|
||
|
|
namespace lunarium
|
||
|
|
{
|
||
|
4 years ago
|
class Image;
|
||
|
|
|
||
|
4 years ago
|
class Tester : public iRunMode
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
Tester();
|
||
|
|
OpRes Initialize();
|
||
|
|
void Shutdown();
|
||
|
|
void OnTick(double delta);
|
||
|
4 years ago
|
void OnRender(IGraphics* g);
|
||
|
4 years ago
|
|
||
|
|
|
||
|
|
private:
|
||
|
|
Tester(const Tester&) = delete;
|
||
|
|
const Tester& operator=(const Tester&) = delete;
|
||
|
|
|
||
|
|
private: // Data
|
||
|
4 years ago
|
uint32_t mLogCat;
|
||
|
|
int mTextBoxWidth;
|
||
|
|
Sizei mImageSize;
|
||
|
|
Image* mpRenderedImage;
|
||
|
|
|
||
|
4 years ago
|
|
||
|
|
private: // Test methods
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif // TESTER_H_
|