42 lines
686 B
C
42 lines
686 B
C
/**
|
|
* @file localeWindow.hxx
|
|
* @author Piotr Krygier (everyonencancode@gmail.com)
|
|
* @brief Error messages
|
|
* @version 0.1
|
|
* @date 2022-02-15
|
|
*
|
|
* @copyright Copyright (c) 2022
|
|
*
|
|
*/
|
|
|
|
#include "localization.h"
|
|
|
|
enum Errors
|
|
{
|
|
WINDOW_GLFW_INIT_FAILED,
|
|
WINDOW_VULKAN_NOT_SUPPORTED,
|
|
WINDOW_NOT_CREATED,
|
|
LAST_MESSAGE
|
|
};
|
|
|
|
const struct MessageString_t windowErrorMesssages[LAST_MESSAGE] =
|
|
{
|
|
{
|
|
17,
|
|
{/* WINDOW_GLFW_INIT_FAILED */
|
|
"GLFW init failed!"
|
|
}
|
|
},
|
|
{
|
|
22,
|
|
{/* WINDOW_VULKAN_NOT_SUPPORTED */
|
|
"Unable to load Vulkan"
|
|
}
|
|
},
|
|
{
|
|
31,
|
|
{/*WINDOW_NOT_CREATED*/
|
|
"Window context creation failed"
|
|
}}
|
|
};
|