mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-12-21 16:56:50 +01:00
Added include guard to default theme's data header.
This commit is contained in:
parent
eff15d273c
commit
fb24aad9be
@ -15,6 +15,9 @@ f = open("theme_data.h", "wb")
|
|||||||
|
|
||||||
f.write(b"// THIS FILE HAS BEEN AUTOGENERATED, DON'T EDIT!!\n")
|
f.write(b"// THIS FILE HAS BEEN AUTOGENERATED, DON'T EDIT!!\n")
|
||||||
|
|
||||||
|
f.write(b"#ifndef THEME_DATA_GENERATED_H\n")
|
||||||
|
f.write(b"#define THEME_DATA_GENERATED_H\n")
|
||||||
|
|
||||||
# Generate png image block
|
# Generate png image block
|
||||||
f.write(b"\n// png image block\n")
|
f.write(b"\n// png image block\n")
|
||||||
|
|
||||||
@ -70,4 +73,6 @@ for x in shaders:
|
|||||||
f.write(b'";\n')
|
f.write(b'";\n')
|
||||||
sf.close()
|
sf.close()
|
||||||
|
|
||||||
|
f.write(b"#endif\n")
|
||||||
|
|
||||||
f.close()
|
f.close()
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// THIS FILE HAS BEEN AUTOGENERATED, DON'T EDIT!!
|
// THIS FILE HAS BEEN AUTOGENERATED, DON'T EDIT!!
|
||||||
|
#ifndef THEME_DATA_GENERATED_H
|
||||||
|
#define THEME_DATA_GENERATED_H
|
||||||
|
|
||||||
// png image block
|
// png image block
|
||||||
|
|
||||||
@ -443,3 +445,4 @@ static const unsigned char window_resizer_png[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// shaders block
|
// shaders block
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user