From 1d249f29b4eb49a78f91b1170e97a54031731c85 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Wed, 10 Jan 2024 18:44:22 -0500 Subject: [PATCH] Update donors/patreons --- DONORS.md | 6 +++++- cmake/donors.h.in | 4 ++++ cmake/generate-donors.cmake | 2 ++ src/editor/about_dialog.cpp | 3 ++- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/DONORS.md b/DONORS.md index fc3595be..c18ee061 100644 --- a/DONORS.md +++ b/DONORS.md @@ -10,4 +10,8 @@ ## Bronze donors - None currently, become one! \ No newline at end of file + None currently, become one! + +## Supporters + + Adrian Dalen \ No newline at end of file diff --git a/cmake/donors.h.in b/cmake/donors.h.in index 5bc0d9b5..52077635 100644 --- a/cmake/donors.h.in +++ b/cmake/donors.h.in @@ -31,4 +31,8 @@ const char *const DONORS_BRONZE[] = { @bronze_donors@ }; +const char *const SUPPORTERS[] = { +@supporters@ +}; + #endif // ORCHESTRATOR_DONORS_GENERATED_H \ No newline at end of file diff --git a/cmake/generate-donors.cmake b/cmake/generate-donors.cmake index a27edb82..5f152bfa 100644 --- a/cmake/generate-donors.cmake +++ b/cmake/generate-donors.cmake @@ -31,6 +31,8 @@ FUNCTION( GENERATE_DONORS ) READ_SECTION_LIST( "${lines}" ${index} ${max_index} silver_donors ) ELSEIF(line STREQUAL "## Bronze donors") READ_SECTION_LIST( "${lines}" ${index} ${max_index} bronze_donors ) + ELSEIF(line STREQUAL "## Supporters") + READ_SECTION_LIST( "${lines}" ${index} ${max_index} supporters ) ENDIF() ENDIF() MATH(EXPR index "${index} + 1") diff --git a/src/editor/about_dialog.cpp b/src/editor/about_dialog.cpp index a07f48c4..9e5ee916 100644 --- a/src/editor/about_dialog.cpp +++ b/src/editor/about_dialog.cpp @@ -102,7 +102,8 @@ OrchestratorAboutDialog::OrchestratorAboutDialog() donor_sections.push_back("Gold donors"); donor_sections.push_back("Silver donors"); donor_sections.push_back("Bronze donors"); - const char *const *donor_src[] = { DONORS_GOLD, DONORS_SILVER, DONORS_BRONZE }; + donor_sections.push_back("Supporters"); + const char *const *donor_src[] = { DONORS_GOLD, DONORS_SILVER, DONORS_BRONZE, SUPPORTERS }; tc->add_child(_populate_list("Donors", donor_sections, donor_src, 3, true)); // License