|
1.10
|
14#define INCBIN_PREFIX resource_
15#define INCBIN_STYLE INCBIN_STYLE_SNAKE
16#include <egt/detail/incbin.h>
17#include <egt/resource.h>
35#define EGT_EMBED(name, path) \
37 namespace egt { namespace resources { \
38 struct resource_initializer ## name { \
39 resource_initializer ## name() { \
40 egt::ResourceManager::instance().add(#name, \
41 resource_ ## name ## _data, \
42 resource_ ## name ## _size); \
44 } resource_initializer ## name; \