summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2009-02-10(svn r15438) -Fix (r15434): MSVC performance warningglx
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-29(svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns ↵belugas
refuse construction of noise-controlled airports
2009-01-26(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of ↵smatz
st->town
2009-01-13(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't ↵peter1138
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using ↵peter1138
SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-12(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hacksmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-11(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to ↵frosch
'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
2009-01-10(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare ↵smatz
only with manually set names There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a ↵rubidium
new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
2009-01-10(svn r14955) -Fix: newgrf station specs didn't get deallocated when building ↵rubidium
a new station part over them.
2009-01-09(svn r14933) -Codechange: check the whether a pool item can be constructed ↵rubidium
instead of trying to make it and check for NULL.
2009-01-08(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)rubidium
2009-01-05(svn r14853) -Codechange: rename GetClosestStationFromTile to ↵rubidium
GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-20(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk ↵smatz
is stored before MAP in old savegame)
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22(svn r14604) -Codechange: Simplify a function and rename it, and fix some ↵frosch
comments.
2008-11-19(svn r14598) -Feature: Action0Industries property 24 (industry suuplies ↵rubidium
default name for nearby station).
2008-10-25(svn r14529) -Codechange: Turn FindCatchmentRadius() into ↵frosch
Station::GetCatchmentRadius().
2008-10-25(svn r14528) -Codechange: cache the closest town for all road tiles instead ↵rubidium
of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-24(svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; ↵rubidium
a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station.
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.