Merge branch 'master' into jgrpp
# Conflicts: # src/blitter/32bpp_anim.cpp # src/blitter/32bpp_anim.hpp # src/blitter/32bpp_anim_sse2.cpp # src/blitter/32bpp_base.cpp # src/blitter/32bpp_base.hpp # src/ground_vehicle.cpp # src/linkgraph/linkgraph_gui.h # src/main_gui.cpp # src/newgrf_house.cpp # src/newgrf_house.h # src/town_cmd.cpp # src/vehicle_base.h # src/viewport_gui.cppp
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
int DrawStationCoverageAreaText(int left, int right, int top, StationCoverageType sct, int rad, bool supplies)
|
||||
{
|
||||
TileIndex tile = TileVirtXY(_thd.pos.x, _thd.pos.y);
|
||||
uint32 cargo_mask = 0;
|
||||
CargoTypes cargo_mask = 0;
|
||||
if (_thd.drawstyle == HT_RECT && tile < MapSize()) {
|
||||
CargoArray cargoes;
|
||||
if (supplies) {
|
||||
@@ -158,8 +158,8 @@ protected:
|
||||
static Listing last_sorting;
|
||||
static byte facilities; // types of stations of interest
|
||||
static bool include_empty; // whether we should include stations without waiting cargo
|
||||
static const uint32 cargo_filter_max;
|
||||
static uint32 cargo_filter; // bitmap of cargo types to include
|
||||
static const CargoTypes cargo_filter_max;
|
||||
static CargoTypes cargo_filter; // bitmap of cargo types to include
|
||||
static const Station *last_station;
|
||||
|
||||
/* Constants for sorting stations */
|
||||
@@ -656,8 +656,8 @@ public:
|
||||
Listing CompanyStationsWindow::last_sorting = {false, 0};
|
||||
byte CompanyStationsWindow::facilities = FACIL_TRAIN | FACIL_TRUCK_STOP | FACIL_BUS_STOP | FACIL_AIRPORT | FACIL_DOCK;
|
||||
bool CompanyStationsWindow::include_empty = true;
|
||||
const uint32 CompanyStationsWindow::cargo_filter_max = UINT32_MAX;
|
||||
uint32 CompanyStationsWindow::cargo_filter = UINT32_MAX;
|
||||
const CargoTypes CompanyStationsWindow::cargo_filter_max = ALL_CARGOTYPES;
|
||||
CargoTypes CompanyStationsWindow::cargo_filter = ALL_CARGOTYPES;
|
||||
const Station *CompanyStationsWindow::last_station = NULL;
|
||||
|
||||
/* Availible station sorting functions */
|
||||
@@ -1805,7 +1805,7 @@ struct StationViewWindow : public Window {
|
||||
{
|
||||
const Station *st = Station::Get(this->window_number);
|
||||
|
||||
uint32 cargo_mask = 0;
|
||||
CargoTypes cargo_mask = 0;
|
||||
for (CargoID i = 0; i < NUM_CARGO; i++) {
|
||||
if (HasBit(st->goods[i].status, GoodsEntry::GES_ACCEPTANCE)) SetBit(cargo_mask, i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user