Move back to C++

This commit is contained in:
Piotr Krygier committed 2022-07-05 16:03:31 -04:00
1 parent 4755371ffa
commit ce0c399810
13 files changed
+44 -83

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
/**
* @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"
}}
};