]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Awards.h
Remove some extra declarations of "channels"
[lugaru.git] / Source / Awards.h
index d146ada3fcad8e556d2421143a9945fccff4bf2c..83b61c09643a2ef874cb5f260754ff6ca8c31864 100644 (file)
@@ -23,18 +23,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define AWARDS_H
 
 enum bonus_types {
-#define DECLARE_BONUS(id, name) id,
+#define DECLARE_BONUS(id, ...) id,
 #include "Bonuses.def"
 #undef DECLARE_BONUS
 bonus_count
 };
 
 static const char *bonus_names[bonus_count] = {
-#define DECLARE_BONUS(id, name) name,
+#define DECLARE_BONUS(id, name, ...) name,
 #include "Bonuses.def"
 #undef DECLARE_BONUS
 };
 
+extern int bonus;
+extern float bonusvalue;
+extern float bonustotal;
+extern float bonustime;
+extern float startbonustotal;
+extern float bonusnum[100];
+
+extern void award_bonus(int playerid, int bonusid, int alt_value = 0);
+
 enum award_types {
 #define DECLARE_AWARD(id, name) id,
 #include "Awards.def"