This commit is contained in:
Kbz-8
2025-06-16 15:18:27 +02:00
parent 15510fa8a7
commit cd7e5ad26f
165 changed files with 78107 additions and 0 deletions

36
Runtime/Includes/Core/Enums.h git.filemode.normal_file
View File

@@ -0,0 +1,36 @@
#ifndef __SCOPE_CORE_ENUMS__
#define __SCOPE_CORE_ENUMS__
#include <cstddef>
namespace Scop
{
enum class LogType
{
Debug = 0,
Message,
Warning,
Error,
FatalError,
EndEnum
};
constexpr std::size_t LogTypeCount = static_cast<std::size_t>(LogType::EndEnum);
enum class Event
{
SceneHasChangedEventCode,
ResizeEventCode,
FrameBeginEventCode,
FatalErrorEventCode,
QuitEventCode,
MemoryChunkAllocationFailed,
EndEnum
};
constexpr std::size_t EventCount = static_cast<std::size_t>(Event::EndEnum);
}
#endif