src/engine.h
changeset 8754 5dae65402806
parent 8750 fdd6054e7bae
child 8755 f148fd44aa06
equal deleted inserted replaced
8753:33e297b1595d 8754:5dae65402806
   107 	uint32 refit_mask;
   107 	uint32 refit_mask;
   108 	byte refit_cost;
   108 	byte refit_cost;
   109 	byte misc_flags;
   109 	byte misc_flags;
   110 	byte callbackmask;
   110 	byte callbackmask;
   111 	byte retire_early; ///< Number of years early to retire vehicle
   111 	byte retire_early; ///< Number of years early to retire vehicle
       
   112 	StringID string_id; ///< Default name of engine
   112 };
   113 };
   113 
   114 
   114 struct Engine {
   115 struct Engine {
       
   116 	char *name;         ///< Custom name of engine
   115 	Date intro_date;
   117 	Date intro_date;
   116 	Date age;
   118 	Date age;
   117 	uint16 reliability;
   119 	uint16 reliability;
   118 	uint16 reliability_spd_dec;
   120 	uint16 reliability_spd_dec;
   119 	uint16 reliability_start, reliability_max, reliability_final;
   121 	uint16 reliability_start, reliability_max, reliability_final;