summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2008-10-21(svn r14508) -Fix (r14501): arrays were not properly zeroedsmatz
2008-10-20(svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or ↵rubidium
hardcoded amounts (magic constant) for memset (Alberth)
2008-10-18(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout ↵frosch
(Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint). Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-12(svn r14459) -Fix [FS#2343]: Update station-spread when building or removing ↵frosch
oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type.
2008-10-10(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.frosch
2008-10-07(svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update ↵rubidium
the destination of RVs going to that road stop.
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-14(svn r14323) -Fix (r14064): forgot a return...smatz
2008-09-13(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build ↵rubidium
for a roadstop.
2008-09-13(svn r14307) -Fix: when deleting a station, remove news items regarding itsmatz
2008-09-11(svn r14293) -Change: do not show PBS track reservation in the intro gamesmatz
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-08-13(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in ↵rubidium
the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-08(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce ↵smatz
stale reservations, too. (michi_cc)
2008-08-08(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track ↵smatz
tiles could produce stale reservations. (michi_cc)
2008-08-04(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have ↵frosch
unknown water class.
2008-08-02(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing ↵rubidium
some tracks and reroute trains afterwards. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-08-01(svn r13912) -Codechange: remove some casts by returning the proper type ↵rubidium
instead of void*.
2008-07-27(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station ↵frosch
tiles, also make use of it.
2008-07-26(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.frosch
2008-07-25(svn r13830) -Feature: show additional NewGRF info in the Tile Info window ↵smatz
for stations, houses and industries
2008-07-20(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different ↵smatz
in many cases
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-18(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences ↵smatz
are now drawn until first non-opaque sprite is found (bit 14 not set) This is to balance performance, code complexity and NewGRF requirements
2008-06-11(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as ↵glx
documented (only look at bit 0, not at the complete value)
2008-06-10(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most placessmatz
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-27(svn r13295) -Codechange: remove now redundant checksmatz
2008-05-27(svn r13293) -Fix (r13226): airport far from a town generated too much noisesmatz
2008-05-26(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdanbelugas
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13234) -Fix: Check/affect town rating when removing/bulldozing ↵frosch
town-owned road under drivethrough stops. -Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
2008-05-24(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by ↵frosch
RoadOwner. -Fix: Before evaluating RoadOwner, check if the roadtype is present. -Fix: Some places assumed that MP_ROAD means normal street.
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-02(svn r12934) -Codechange: Before verification of local authority, just make ↵belugas
sure airport can physically be built there. Just moving tests
2008-04-28(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with ↵smatz
tile=0, buoys will never change that value
2008-04-25(svn r12897) -Codechange: some coding style in station_cmd.cpp.rubidium
2008-04-24(svn r12875) -Codechange: Use defined const instead of cast magicbelugas
2008-04-24(svn r12874) -Codechange: The closest town is already known. Do not search ↵belugas
for it again.
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-23(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tilessmatz
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.