- Add Debugstuff to main - Add IsType and AutoLoad to AssetManager - Add ID class for at compile time hashing - Add A8 to image (but not supported yet) - Fix error in Vertex constructor - Add PathClear to PathFill func - Add pCheckSize to check for overflows - Make Tex in Texture a pointer ref - Add default uv to texture - Add own c++ exception - Add FNV32 Hash func (compile and runtime) - Fix Power2 check in texture loader - Load Shader manualy in iron (cause it seems not working correctly with files)
20 lines
457 B
C++
20 lines
457 B
C++
#include <3ds.h>
|
|
|
|
#include <amethyst/app.hpp>
|
|
#include <amethyst/ctru.hpp>
|
|
#include <amethyst/utils.hpp>
|
|
|
|
namespace Amy {
|
|
void App::Run() {
|
|
pLast = Utils::GetTimeNano();
|
|
while (aptMainLoop()) {
|
|
ull c = Utils::GetTimeNano();
|
|
pDelta = static_cast<double>(static_cast<double>(c) -
|
|
static_cast<double>(pLast)) *
|
|
0.000001;
|
|
pTime += pDelta * 0.001;
|
|
pLast = c;
|
|
Main();
|
|
}
|
|
}
|
|
} // namespace Amy
|