mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 14:33:01 +00:00
do use because this will succeed
This commit is contained in:
parent
a28c233c77
commit
3d87a4284e
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
||||||
// }
|
// }
|
||||||
// );
|
// );
|
||||||
// flags are a string of new line-separated values.
|
// flags are a string of new line-separated values.
|
||||||
|
// use SUB_ENTRY instead of ENTRY to add sub-entries to the previous entry.
|
||||||
|
|
||||||
#define CH FurnaceGUISysDefChip
|
#define CH FurnaceGUISysDefChip
|
||||||
#define CATEGORY_BEGIN(x,y) cat=FurnaceGUISysCategory(x,y);
|
#define CATEGORY_BEGIN(x,y) cat=FurnaceGUISysCategory(x,y);
|
||||||
|
@ -38,7 +39,7 @@
|
||||||
#define ENTRY(...) \
|
#define ENTRY(...) \
|
||||||
cat.systems.push_back(FurnaceGUISysDef(__VA_ARGS__));
|
cat.systems.push_back(FurnaceGUISysDef(__VA_ARGS__));
|
||||||
#define SUB_ENTRY(...) \
|
#define SUB_ENTRY(...) \
|
||||||
cat.system[cat.size()-1].subDefs.push_back(FurnaceGUISysDef(__VA_ARGS__));
|
cat.systems[cat.systems.size()-1].subDefs.push_back(FurnaceGUISysDef(__VA_ARGS__));
|
||||||
|
|
||||||
void FurnaceGUI::initSystemPresets() {
|
void FurnaceGUI::initSystemPresets() {
|
||||||
sysCategories.clear();
|
sysCategories.clear();
|
||||||
|
|
Loading…
Reference in a new issue