Skip to content

Commit

Permalink
Update donors/patreons
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Jan 10, 2024
1 parent b5b3421 commit f80572f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion DONORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@

## Bronze donors

None currently, become one! <https://patreon.com/vahera>
None currently, become one! <https://patreon.com/vahera>

## Supporters

Adrian Dalen
4 changes: 4 additions & 0 deletions cmake/donors.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ const char *const DONORS_BRONZE[] = {
@bronze_donors@
};

const char *const SUPPORTERS[] = {
@supporters@
};

#endif // ORCHESTRATOR_DONORS_GENERATED_H
2 changes: 2 additions & 0 deletions cmake/generate-donors.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
3 changes: 2 additions & 1 deletion src/editor/about_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,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
Expand Down

0 comments on commit f80572f

Please sign in to comment.