summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/industrytype.h16
-rw-r--r--src/vehicle_base.h9
2 files changed, 17 insertions, 8 deletions
diff --git a/src/industrytype.h b/src/industrytype.h
index 6829e50e8..0766ba8f4 100644
--- a/src/industrytype.h
+++ b/src/industrytype.h
@@ -110,9 +110,12 @@ struct IndustrySpec {
byte check_proc; ///< Index to a procedure to check for conflicting circumstances
CargoID produced_cargo[2];
byte production_rate[2];
- byte minimal_cargo; ///< minimum amount of cargo transported to the stations
- ///< If the waiting cargo is less than this number, no cargo is moved to it
- CargoID accepts_cargo[3]; ///< 3 accepted cargoes
+ /**
+ * minimum amount of cargo transported to the stations.
+ * If the waiting cargo is less than this number, no cargo is moved to it.
+ */
+ byte minimal_cargo;
+ CargoID accepts_cargo[3]; ///< 3 accepted cargoes.
uint16 input_cargo_multiplier[3][2]; ///< Input cargo multipliers (multiply amount of incoming cargo for the produced cargoes)
IndustryLifeType life_type; ///< This is also known as Industry production flag, in newgrf specs
byte climate_availability; ///< Bitmask, giving landscape enums as bit position
@@ -149,8 +152,11 @@ struct IndustryTileSpec {
Slope slopes_refused; ///< slope pattern on which this tile cannot be built
byte anim_production; ///< Animation frame to start when goods are produced
byte anim_next; ///< Next frame in an animation
- bool anim_state; ///< When true, the tile has to be drawn using the animation
- ///< state instead of the construction state
+ /**
+ * When true, the tile has to be drawn using the animation
+ * state instead of the construction state
+ */
+ bool anim_state;
/* Newgrf data */
uint8 callback_mask; ///< Bitmask of industry tile callbacks that have to be called
AnimationInfo animation; ///< Information about the animation (is it looping, how many loops etc)
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 7add6b6ff..0723817fc 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -187,9 +187,12 @@ public:
DirectionByte direction; ///< facing
OwnerByte owner; ///< Which company owns the vehicle?
- byte spritenum; ///< currently displayed sprite index
- ///< 0xfd == custom sprite, 0xfe == custom second head sprite
- ///< 0xff == reserved for another custom sprite
+ /**
+ * currently displayed sprite index
+ * 0xfd == custom sprite, 0xfe == custom second head sprite
+ * 0xff == reserved for another custom sprite
+ */
+ byte spritenum;
SpriteID cur_image; ///< sprite number for this vehicle
byte x_extent; ///< x-extent of vehicle bounding box
byte y_extent; ///< y-extent of vehicle bounding box