Files
RedScarfEngine/utilities/locale_common.h
T
Piotr Krygier 42dc4d6fcd Refactor project
Crealned up some TODOs, FIXMEs etc. Added better error handling. Looks
better, feels better.
2023-10-10 10:46:12 +02:00

31 lines
708 B
C

/**
* @file locale_common.h
* @author Piotr Krygier (everyonecancode@gmail.com)
* @brief Error messages for Vulkan initializers
* @version 0.1
* @date 2022-05-13
*
* @copyright Copyright (c) 2022
*
*/
#ifndef RSE_LOCALE_COMMON_H
#define RSE_LOCALE_COMMON_H
#include "localization.h"
#define common_messages common_messages_nolocale[SELECTED_LANGUAGE]
enum common_errors_t {
COMMON_ERROR_MEMORY_ALLOCATION_FAILED,
COMMON_ERROR_LAST_MESSAGE
};
static const char common_messages_nolocale[LAST_LANGUAGE][COMMON_ERROR_LAST_MESSAGE][MAX_MESSAGE_LENGHT] = {
{/* EN_US */
/* COMMON_MEMORY_ALLOCATION_FAILED */
"Unable to allocate memory"
}
};
#endif /* RSE_LOCALE_COMMON_H */