mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-13 01:41:59 -04:00
linux release build, cleanup repository
This commit is contained in:
parent
529b3e8bf8
commit
3d8ee275e4
441 changed files with 280 additions and 65861 deletions
21
game/resources.in.cpp
Normal file
21
game/resources.in.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include <libs/base64.h>
|
||||
|
||||
|
||||
constexpr binary_data font_data ="@FONT_CONTENT@";
|
||||
constexpr binary_data icon_data ="@ICON_CONTENT@";
|
||||
|
||||
extern "C" {
|
||||
|
||||
const void *LoadDefaultFont(void) {
|
||||
return font_data.begin();
|
||||
}
|
||||
|
||||
const void *getWindowIcon(void) {
|
||||
return icon_data.begin();
|
||||
}
|
||||
size_t getWindowIconSize(void) {
|
||||
return std::distance(icon_data.begin(),icon_data.end());
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue