Commit Graph

421 Commits (b124e9e87438dd7d57ef0f48eefc3eac58533682)

Author SHA1 Message Date
rubidium 3855302822 (svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles when keeping the rail during removal 15 years ago
smatz c3a80f1518 (svn r17589) -Codechange: rename town_acc to always_accepted 15 years ago
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 335a542722 (svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating) 15 years ago
rubidium c2c0f4403e (svn r17534) -Codechange: unify the naming of callback masks/flags 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 8c09d46e96 (svn r17481) -Fix (r16998): in cases where the northern most tile of an airport-to-build didn't touch the station you wanted it to join, but another part did, it wouldn't join the airport to the existing station 15 years ago
rubidium 08d9873001 (svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two. 15 years ago
smatz ebe2bc0a02 (svn r17470) -Fix (r17460): possible crash when overbuiling rail by station 15 years ago
rubidium c631790b6f (svn r17460) -Feature: allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh) 15 years ago
smatz 5d622fd840 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 15 years ago
smatz 09e1ecc8ac (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() 15 years ago
rubidium 1cfc262fb0 (svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz 0502a6df42 (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 4579b06c89 (svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa 15 years ago
rubidium 5fa2b6ed8a (svn r17002) -Change: also support distant join for waypoints 15 years ago
rubidium d31e84b68c (svn r17000) -Change: allow overbuilding/extending waypoints 15 years ago
rubidium 3f19dde77e (svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations 15 years ago
rubidium 1ab2d22318 (svn r16993) -Change: make the rail waypoint builder draggable 15 years ago
rubidium b3f3ba36db (svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints. 15 years ago
rubidium df1c950d6a (svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints. 15 years ago
rubidium 34cb882127 (svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints 15 years ago
rubidium 96e5135c21 (svn r16987) -Codechange: simplify the code to loop train station for the station demolish code 15 years ago
rubidium 7ad1530ffb (svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions 15 years ago
rubidium 2e1cee9aaf (svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first 15 years ago
rubidium 7beaa029f0 (svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height. 15 years ago
rubidium 30d9e54279 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 15 years ago
rubidium d827a78ab7 (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. 15 years ago
rubidium def31de3c1 (svn r16948) -Codechange: some code reductions and usage of wrapper functions 15 years ago
rubidium 58563eafa7 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 15 years ago
rubidium 2f453bd7cc (svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct 15 years ago
rubidium 196856f54e (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 15 years ago
rubidium 7b07e93b89 (svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not 15 years ago
rubidium b717e32dcc (svn r16926) -Fix (r16925): if checking whether a station can be adjoined, don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one. 15 years ago
rubidium 7f08aa4572 (svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa. 15 years ago
rubidium f8ac5d16b7 (svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them behave more like waypoints, e.g. reuse station signs of recently deleted buoys 15 years ago
rubidium 6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium 100cb17fa8 (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium f1d6561cc4 (svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits? 15 years ago
frosch a8a3017921 (svn r16899) -Fix (r16896): Missing 'return'. 15 years ago
rubidium 6670fae515 (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 15 years ago
rubidium a854cb1f76 (svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function. 15 years ago
rubidium a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 15 years ago
rubidium b4f5a1eebb (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
rubidium 873adde908 (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 15 years ago