~flosoft/s25rttr/trunk

« back to all changes in this revision

Viewing changes to src/AddonRefundMaterials.h

  • Committer: FloSoft
  • Date: 2014-04-25 15:35:50 UTC
  • Revision ID: flosoft@siedler25.org-20140425153550-9muu4vodhlqu58m0
committing subversion revision 9357 by FloSoft
astyle

modified:
s25client/trunk/
s25client/trunk/contrib/lua/lin32/include/
s25client/trunk/contrib/lua/lin64/include/
s25client/trunk/contrib/lua/mac/include/
s25client/trunk/contrib/lua/win32/include/
s25client/trunk/contrib/lua/win64/include/
s25client/trunk/driver/audio/SDL/src/
s25client/trunk/driver/src/
s25client/trunk/driver/video/GLFW/src/
s25client/trunk/driver/video/SDL/src/
s25client/trunk/driver/video/WinAPI/src/
s25client/trunk/src/
s25client/trunk/win32/
s25client/trunk/win32/prebuild-mutex/src/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: AddonRefundMaterials.h 7521 2011-09-08 20:45:55Z FloSoft $
 
1
// $Id: AddonRefundMaterials.h 9357 2014-04-25 15:35:25Z FloSoft $
2
2
//
3
3
// Copyright (c) 2005 - 2011 Settlers Freaks (sf-team at siedler25.org)
4
4
//
31
31
 */
32
32
class AddonRefundMaterials : public AddonList
33
33
{
34
 
public:
35
 
        AddonRefundMaterials() : AddonList(ADDON_REFUND_MATERIALS, 
36
 
                                                                           ADDONGROUP_ECONOMY,
37
 
                                                                           gettext_noop("Refund materials when building is destroyed"), 
38
 
                                                                           gettext_noop("Allows you to get building materials back if the building is destroyed."),
39
 
                                                                           0
40
 
                                                                          )
41
 
        {
42
 
                addOption(gettext_noop("No refund"));
43
 
                addOption(gettext_noop("Refund 25%"));
44
 
                addOption(gettext_noop("Refund 50%"));
45
 
                addOption(gettext_noop("Refund 75%"));
46
 
                addOption(gettext_noop("Get all back"));        
47
 
        }
 
34
    public:
 
35
        AddonRefundMaterials() : AddonList(ADDON_REFUND_MATERIALS,
 
36
                                               ADDONGROUP_ECONOMY,
 
37
                                               gettext_noop("Refund materials when building is destroyed"),
 
38
                                               gettext_noop("Allows you to get building materials back if the building is destroyed."),
 
39
                                               0
 
40
                                              )
 
41
        {
 
42
            addOption(gettext_noop("No refund"));
 
43
            addOption(gettext_noop("Refund 25%"));
 
44
            addOption(gettext_noop("Refund 50%"));
 
45
            addOption(gettext_noop("Refund 75%"));
 
46
            addOption(gettext_noop("Get all back"));
 
47
        }
48
48
};
49
49
 
50
50
#endif // !ADDONREFUNDMATERIALS_H_INCLUDED