metagen: simplify catchall generations; move some codeview enums into metacode; generate enum->string code

This commit is contained in:
Ryan Fleury
2024-02-13 13:27:02 -08:00
parent 66a24a226a
commit 608055e447
15 changed files with 2323 additions and 996 deletions
+2 -2
View File
@@ -518,7 +518,7 @@ DF_ThemePresetColorTable:
//- rjf: view hook forward declares
@table_gen
@gen
{
@expand(DF_GfxViewTable a) `DF_VIEW_SETUP_FUNCTION_DEF($(a.name));`;
@expand(DF_GfxViewTable a) `DF_VIEW_STRING_FROM_STATE_FUNCTION_DEF($(a.name));`;
@@ -528,7 +528,7 @@ DF_ThemePresetColorTable:
//- rjf: gfx view rule function forward declares
@table_gen
@gen
{
``;
@expand(DF_GfxViewRuleTable a)