X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FLevel%2FAwards.hpp;h=dbb877041dbe3ccefa3d1635d1058a146395c15e;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=da0fb7510f69c9dee6860d2f8791f0ec691cb5a9;hpb=380d8141271d6fa12954f6fe46e736315cffd594;p=lugaru.git diff --git a/Source/Level/Awards.hpp b/Source/Level/Awards.hpp index da0fb75..dbb8770 100644 --- a/Source/Level/Awards.hpp +++ b/Source/Level/Awards.hpp @@ -1,5 +1,5 @@ /* -Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) +Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -20,14 +20,15 @@ along with Lugaru. If not, see . #ifndef _AWARDS_HPP_ #define _AWARDS_HPP_ -enum bonus_types { +enum bonus_types +{ #define DECLARE_BONUS(id, ...) id, #include "Bonuses.def" #undef DECLARE_BONUS bonus_count }; -extern const char *bonus_names[bonus_count]; +extern const char* bonus_names[bonus_count]; extern int bonus; extern int bonusvalue; @@ -38,16 +39,17 @@ extern float bonusnum[100]; extern void award_bonus(int playerid, int bonusid, int alt_value = 0); -enum award_types { +enum award_types +{ #define DECLARE_AWARD(id, name) id, #include "Awards.def" #undef DECLARE_AWARD award_count }; -extern const char *award_names[award_count]; +extern const char* award_names[award_count]; -extern int award_awards(int *); +extern int award_awards(int*); extern float damagetaken; extern int numfalls; @@ -67,4 +69,3 @@ extern int numreversals; extern int numattacks; extern int maxalarmed; #endif -