Merge branch 'master' into jgrpp
Remove the viewport sign cache as this is now superseded by the kd tree implementation # Conflicts: # src/crashlog.cpp # src/lang/english.txt # src/misc.cpp # src/pathfinder/follow_track.hpp # src/pbs.cpp # src/rail_cmd.cpp # src/saveload/vehicle_sl.cpp # src/settings.cpp # src/settings_gui.cpp # src/ship_cmd.cpp # src/station.cpp # src/station_base.h # src/station_cmd.cpp # src/table/settings.ini # src/thread/thread_morphos.cpp # src/town_cmd.cpp # src/train_cmd.cpp # src/viewport.cpp # src/waypoint.cpp
This commit is contained in:
@@ -108,6 +108,14 @@ enum TownFounding {
|
||||
/** It needs to be 8bits, because we save and load it as such */
|
||||
typedef SimpleTinyEnumT<TownFounding, byte> TownFoundingByte;
|
||||
|
||||
/** Town cargo generation modes */
|
||||
enum TownCargoGenMode : byte {
|
||||
TCGM_BEGIN = 0,
|
||||
TCGM_ORIGINAL = 0, ///< Original algorithm (quadratic cargo by population)
|
||||
TCGM_BITCOUNT, ///< Bit-counted algorithm (normal distribution from individual house population)
|
||||
TCGM_END,
|
||||
};
|
||||
|
||||
static const uint MAX_LENGTH_TOWN_NAME_CHARS = 32; ///< The maximum length of a town name in characters including '\0'
|
||||
|
||||
/** Store the maximum and actually transported cargo amount for the current and the last month. */
|
||||
|
||||
Reference in New Issue
Block a user