(svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
This commit is contained in:
10
engine.h
10
engine.h
@@ -1,6 +1,9 @@
|
||||
#ifndef ENGINE_H
|
||||
#define ENGINE_H
|
||||
|
||||
/** @file engine.h
|
||||
*/
|
||||
|
||||
#include "sprite.h"
|
||||
|
||||
typedef struct RailVehicleInfo {
|
||||
@@ -57,12 +60,15 @@ typedef struct RoadVehicleInfo {
|
||||
byte cargo_type;
|
||||
} RoadVehicleInfo;
|
||||
|
||||
/** Information about a vehicle
|
||||
* @see table/engines.h
|
||||
*/
|
||||
typedef struct EngineInfo {
|
||||
uint16 base_intro;
|
||||
byte unk2;
|
||||
byte unk2; ///< Carriages have the highest bit set in this one
|
||||
byte lifelength;
|
||||
byte base_life;
|
||||
byte railtype_climates;
|
||||
byte railtype_climates; ///< contains the railtype in the lower four bits, and a mask to the climates where the vehicle is available in the upper four
|
||||
} EngineInfo;
|
||||
|
||||
typedef struct Engine {
|
||||
|
Reference in New Issue
Block a user