cinera.c: Add Donorbox as default support platform

This commit is contained in:
Matt Mascarenhas 2022-12-06 18:22:06 +00:00
parent 0f15957cb5
commit ac4b155e73
3 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = {
.Major = 0,
.Minor = 10,
.Patch = 16
.Patch = 17
};
#define __USE_XOPEN2K8 // NOTE(matt): O_NOFOLLOW

View File

@ -2070,6 +2070,10 @@ PushDefaultBoolPair(scope_tree *Parent, config_identifier_id Key, bool Value)
void
SetDefaults(scope_tree *Root, memory_book *TypeSpecs)
{
scope_tree *SupportDonorbox = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("donorbox"));
PushDefaultPair(SupportDonorbox, IDENT_ICON, Wrap0("cinera_sprite_donorbox.png"));
PushDefaultIntPair(SupportDonorbox, IDENT_ICON_TYPE, IT_GRAPHICAL);
scope_tree *SupportPatreon = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("patreon"));
PushDefaultPair(SupportPatreon, IDENT_ICON, Wrap0("cinera_sprite_patreon.png"));
PushDefaultIntPair(SupportPatreon, IDENT_ICON_TYPE, IT_GRAPHICAL);
@ -2089,6 +2093,7 @@ SetDefaults(scope_tree *Root, memory_book *TypeSpecs)
scope_tree *SupportSendOwl = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("sendowl"));
PushDefaultPair(SupportSendOwl, IDENT_ICON, Wrap0("cinera_sprite_sendowl.png"));
PushDefaultIntPair(SupportSendOwl, IDENT_ICON_TYPE, IT_GRAPHICAL);
scope_tree *MediumAuthored = PushDefaultScope(TypeSpecs, Root, IDENT_MEDIUM, Wrap0("authored"));
PushDefaultPair(MediumAuthored, IDENT_ICON, Wrap0("🗪"));

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB