Files
RedScarfEngine/utilities/locale_common.h
T
Piotr Krygier 173a82b9d1 [WIP] Refactor project
There are many problems with the way the current version is provided
and maintained. This commit or series of commits will fix this.
2025-06-20 13:44:33 +02:00

31 lines
696 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 LOCALE_COMMON_H
#define 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 /* LOCALE_COMMON_H */