--- a/src/livery.h Wed Jan 09 18:11:12 2008 +0000
+++ b/src/livery.h Sun Feb 03 20:17:54 2008 +0000
@@ -5,6 +5,7 @@
#ifndef LIVERY_H
#define LIVERY_H
+#include "player_type.h"
/* List of different livery schemes. */
enum LiveryScheme {
@@ -22,6 +23,8 @@
LS_PASSENGER_WAGON_STEAM,
LS_PASSENGER_WAGON_DIESEL,
LS_PASSENGER_WAGON_ELECTRIC,
+ LS_PASSENGER_WAGON_MONORAIL,
+ LS_PASSENGER_WAGON_MAGLEV,
LS_FREIGHT_WAGON,
/* Road vehicles */
@@ -63,4 +66,11 @@
byte colour2; ///< Second colour, for vehicles with 2CC support.
};
+/**
+ * Reset the livery schemes to the player's primary colour.
+ * This is used on loading games without livery information and on new player start up.
+ * @param p Player to reset.
+ */
+void ResetPlayerLivery(Player *p);
+
#endif /* LIVERY_H */