Add a tab to the credits panel for mod-specific text.

Enabled by adding a ModCredits block to mod.yaml.
This commit is contained in:
Paul Chote
2018-06-02 15:57:25 +00:00
committed by reaperrr
parent 314169f2b0
commit e4dd78c5cd
5 changed files with 113 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
#region Copyright & License Information
/*
* Copyright 2007-2018 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
namespace OpenRA
{
public class ModCredits : IGlobalModData
{
public readonly string ModTabTitle = "Game";
[FieldLoader.Require]
public readonly string ModCreditsFile = null;
}
}