cleanup
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
# _____ ____ ___
|
||||
# | \/ ____| |___|
|
||||
# | | | \ | |
|
||||
#-----------------------------------------------------------------------
|
||||
# Copyright 2022, tyra - https://github.com/h4570/tyra
|
||||
# Licensed under Apache License 2.0
|
||||
# Wellington Carvalho <wellcoj@gmail.com>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "renderer/renderer.hpp"
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
class Banner {
|
||||
public:
|
||||
Banner();
|
||||
~Banner();
|
||||
|
||||
void show(Renderer* renderer);
|
||||
};
|
||||
|
||||
} // namespace Tyra
|
||||
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
# ______ ____ ___
|
||||
# _____ ____ ___
|
||||
# | \/ ____| |___|
|
||||
# | | | \ | |
|
||||
#-----------------------------------------------------------------------
|
||||
# Copyright 2022, tyra - https://github.com/h4570/tyra
|
||||
# Licenced under Apache License 2.0
|
||||
# Licensed under Apache License 2.0
|
||||
# Wellington Carvalho <wellcoj@gmail.com>
|
||||
*/
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <tamtypes.h>
|
||||
#include <stddef.h>
|
||||
#include "time/timer.hpp"
|
||||
#include "./version.hpp"
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
@@ -21,6 +22,8 @@ class Info {
|
||||
Info();
|
||||
~Info();
|
||||
|
||||
Version version;
|
||||
|
||||
/** Called by engine */
|
||||
void update();
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
# _____ ____ ___
|
||||
# | \/ ____| |___|
|
||||
# | | | \ | |
|
||||
#-----------------------------------------------------------------------
|
||||
# Copyright 2022, tyra - https://github.com/h4570/tyra
|
||||
# Licensed under Apache License 2.0
|
||||
# André Guilherme <andregui17@outlook.com>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <tamtypes.h>
|
||||
#include <string>
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
class Version {
|
||||
public:
|
||||
Version() {}
|
||||
~Version() {}
|
||||
|
||||
static const u8 major = 2;
|
||||
static const u8 minor = 0;
|
||||
static const u8 patch = 0;
|
||||
|
||||
static std::string toString() {
|
||||
return std::to_string(major) + "." + std::to_string(minor) + "." +
|
||||
std::to_string(patch);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Tyra
|
||||
Reference in New Issue
Block a user