Files
IAEngine/Engine/Src/Imp/CPP/Engine.cpp
2025-10-05 01:51:48 +05:30

67 lines
1.6 KiB
C++

// IAEngine: 2D Game Engine by IA
// Copyright (C) 2025 IASoft (PVT) LTD (oss@iasoft.dev)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <IAEngine/Engine.hpp>
#include <Renderer/Renderer.hpp>
#include <IAEngine/EngineLibraryInterface.hpp>
EXTERN GameFunctionTable g_gameFunctions;
namespace ia::iae
{
BOOL Engine::IsDebugMode()
{
return true;
}
VOID Engine::ResizeDisplay(IN INT32 newWidth, IN INT32 newHeight)
{
Renderer::OnScreenResize(newWidth, newHeight);
g_gameFunctions.OnResize(newWidth, newHeight);
}
FLOAT32 Engine::GetRandomFloat()
{
return 0.0f;
}
INT32 Engine::GetRandomInRange(IN INT32 min, IN INT32 max)
{
return 0;
}
INT64 Engine::GetTickCount()
{
return 0;
}
INT64 Engine::GetUnixSecond()
{
return 0;
}
INT64 Engine::GetUnixMillisecond()
{
return 0;
}
FLOAT32 Engine::GetFrameDeltaTime()
{
return 0.0f;
}
} // namespace ia::iae