From 68d14692120605dbe2d61645b87887bbb28ffa0b Mon Sep 17 00:00:00 2001 From: Matt Mascarenhas Date: Thu, 13 Oct 2022 20:21:48 +0100 Subject: [PATCH] cinera.c: Add Ko-fi as a default support platform --- cinera/cinera.c | 2 +- cinera/cinera_config.c | 5 +++++ cinera/cinera_sprite_kofi.png | Bin 0 -> 5584 bytes 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 cinera/cinera_sprite_kofi.png diff --git a/cinera/cinera.c b/cinera/cinera.c index 618a654..412ff93 100644 --- a/cinera/cinera.c +++ b/cinera/cinera.c @@ -23,7 +23,7 @@ typedef struct version CINERA_APP_VERSION = { .Major = 0, .Minor = 10, - .Patch = 14 + .Patch = 15 }; #define __USE_XOPEN2K8 // NOTE(matt): O_NOFOLLOW diff --git a/cinera/cinera_config.c b/cinera/cinera_config.c index 9a60320..0c551fa 100644 --- a/cinera/cinera_config.c +++ b/cinera/cinera_config.c @@ -2069,6 +2069,11 @@ SetDefaults(scope_tree *Root, memory_book *TypeSpecs) PushDefaultIntPair(SupportGitHub, IDENT_ICON_VARIANTS, GetArtVariantFromString(Wrap0("normal"))); PushDefaultPair(SupportGitHub, IDENT_URL, Wrap0("https://github.com/sponsors/$person")); + scope_tree *SupportKofi = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("kofi")); + PushDefaultPair(SupportKofi, IDENT_ICON, Wrap0("cinera_sprite_kofi.png")); + PushDefaultIntPair(SupportKofi, IDENT_ICON_TYPE, IT_GRAPHICAL); + PushDefaultPair(SupportKofi, IDENT_URL, Wrap0("https://ko-fi.com/$person")); + scope_tree *SupportSendOwl = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("sendowl")); PushDefaultPair(SupportSendOwl, IDENT_ICON, Wrap0("cinera_sprite_sendowl.png")); diff --git a/cinera/cinera_sprite_kofi.png b/cinera/cinera_sprite_kofi.png new file mode 100644 index 0000000000000000000000000000000000000000..ad7d33d5faeedc1e382def0b55aeb73f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