(svn r11818) -Codechange: split player.h into smaller pieces.

This commit is contained in:
rubidium
2008-01-12 14:10:35 +00:00
parent 63cc41cd1c
commit 2fc62eab05
114 changed files with 295 additions and 189 deletions

View File

@@ -5,6 +5,7 @@
#ifndef LIVERY_H
#define LIVERY_H
#include "player_type.h"
/* List of different livery schemes. */
enum LiveryScheme {
@@ -63,4 +64,11 @@ struct Livery {
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 */