rubidium
9059e4f85f
(svn r18049) -Fix [FS#3310] (r16448): Crash when an articulated RV is turning on a drive through road station that gets forcefully (bankrupt) removed
15 years ago
rubidium
15ede6b763
(svn r18035) -Fix (r16909): one could remotely crash (assert) the server on certain commands
15 years ago
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
15 years ago
frosch
ba1fc280e3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
frosch
79627b4f89
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
rubidium
69b8e8e755
(svn r17836) -Codechange: split the CargoPacket constructor for creating 'real' new CargoPackets and saveload. For saveload we do not need to set anything except two variables (the rest is always overwritten by the load), for new 'real' cargo also pass the source_xy; dereferencing st before calling is easier than resolving st->index back to st and then dereferencing. Also don't set loaded_at_xy because that is of no importance when not loaded in a vehicle.
15 years ago
rubidium
29e173185a
(svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles when keeping the rail during removal
15 years ago
smatz
9225b3ba03
(svn r17589) -Codechange: rename town_acc to always_accepted
15 years ago
rubidium
ca91a97826
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
15 years ago
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
15 years ago
rubidium
23252c99bb
(svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating)
15 years ago
rubidium
64bafcbe18
(svn r17534) -Codechange: unify the naming of callback masks/flags
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
b615ae7015
(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
dcd6b2096d
(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
8cbcf17421
(svn r17470) -Fix (r17460): possible crash when overbuiling rail by station
15 years ago
rubidium
5396d6167b
(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
22e9d59559
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
smatz
ee685c8287
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
15 years ago
rubidium
c539b59da3
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
2a430d981f
(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
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
74cec1f0c4
(svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa
15 years ago
rubidium
a148a991bb
(svn r17002) -Change: also support distant join for waypoints
15 years ago
rubidium
c2fdb85c0d
(svn r17000) -Change: allow overbuilding/extending waypoints
15 years ago
rubidium
5bbf83ebbe
(svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations
15 years ago
rubidium
5592eb4955
(svn r16993) -Change: make the rail waypoint builder draggable
15 years ago
rubidium
37e6f6a003
(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.
15 years ago
rubidium
a52cd653d4
(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints.
15 years ago
rubidium
959a5e690b
(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
15 years ago
rubidium
e6480d823a
(svn r16987) -Codechange: simplify the code to loop train station for the station demolish code
15 years ago
rubidium
bfcf32c64e
(svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions
15 years ago
rubidium
2543b1b20a
(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first
15 years ago
rubidium
39ac44ad49
(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height.
15 years ago
rubidium
2ec12a3f58
(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
5b576e6e7a
(svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
15 years ago
rubidium
4017439c37
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
15 years ago
rubidium
7440ec7a73
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
rubidium
3ec35e4e8d
(svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct
15 years ago
rubidium
cf38a5bee6
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
15 years ago
rubidium
803cf87885
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
15 years ago
rubidium
5f9ee68eac
(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
16ad8df175
(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
f48cc9d4bf
(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
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
68ead6b84f
(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
8405d7d7e7
(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
f09df64608
(svn r16899) -Fix (r16896): Missing 'return'.
15 years ago
rubidium
43eda3dfbf
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
15 years ago
rubidium
42e1bdacbc
(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
861a2163f6
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
15 years ago
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
rubidium
2b1c43f81f
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
smatz
b6960e4e17
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
15 years ago
rubidium
86768da0f6
(svn r16791) -Codechange: unify (and document) the Remove[StationType] functions.
15 years ago
rubidium
9ae07bba85
(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
15 years ago
rubidium
3fb1506d6d
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
15 years ago
rubidium
3086383cdc
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
15 years ago
rubidium
fbb2fb9720
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
15 years ago
rubidium
4d14c1b534
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
rubidium
61e735ba4c
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
15 years ago
smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
rubidium
927c4a0fe8
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
15 years ago
frosch
a288e4d82f
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
15 years ago
frosch
812ad41f23
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
smatz
50b5678e26
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
smatz
2987f02144
(svn r16663) -Codechange: make removing of railway station tiles faster
15 years ago
smatz
90554ee390
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
15 years ago
smatz
c0ac230e3e
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
c30a87758f
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
smatz
38477f2b36
(svn r16655) -Codechange: use IsRailwayStationTile() more
15 years ago
smatz
fa1ad0fd3c
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
15 years ago
yexo
c7bd6c8d34
(svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
...
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
16 years ago
yexo
ea03c76bd6
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
16 years ago
yexo
4b34957987
(svn r16566) -Codechange: enumify all airport tiles
16 years ago
smatz
0c10006907
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
alberth
bab70a823d
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 years ago
smatz
45af2a294c
(svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick
16 years ago
rubidium
5df12c37a9
(svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy
16 years ago
smatz
5a463c8347
(svn r16442) -Codechange: use new Vehicle accessors at more places
16 years ago
rubidium
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
frosch
a4557c7da4
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
441011b782
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
d1f9a90d32
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
16 years ago
rubidium
6b2f9e8c9e
(svn r16328) -Fix: desync when removing lots of stations
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
683a6ca039
(svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo)
16 years ago
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
16 years ago
frosch
552f10bb09
(svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station.
16 years ago
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
rubidium
2ec09d95a1
(svn r16114) -Cleanup: unify some more strings and remove some more unused strings
16 years ago
frosch
faa1ec7a5d
(svn r16077) -Cleanup (r14456): Remove some code that is only used for some assertions, that haven't been triggered for a while.
16 years ago
rubidium
34cc30e7fb
(svn r16057) -Fix [FS#2834] (r16037): division by zero when having an order with only one station that has either middle or near end stop location and where the platform is (significantly) longer than the train.
16 years ago
rubidium
5790293af6
(svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
16 years ago
rubidium
f99b125c84
(svn r16029) -Fix [FS#2785]: do not give "... Mines" as name to the station of oil rigs, or more general: do not add "... Mines" when the all of the cargoes are part of the liquid, passenger or mail classes.
16 years ago
rubidium
f16aa9f509
(svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations.
16 years ago
rubidium
7bbdd4f119
(svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop.
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
smatz
3fdac6f702
(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts
16 years ago
frosch
c5684e56ec
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
16 years ago
glx
d6e8601a62
(svn r15438) -Fix (r15434): MSVC performance warning
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
belugas
d7971e5e37
(svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns refuse construction of noise-controlled airports
16 years ago
smatz
659989af45
(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of st->town
16 years ago
peter1138
792d1bd883
(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
16 years ago
peter1138
02bda12599
(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway.
16 years ago
smatz
26e5ccb60d
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
16 years ago
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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
16 years ago
frosch
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
16 years ago
smatz
0cd41d1dc6
(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare 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).
16 years ago
rubidium
db546e607f
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a 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).
16 years ago
rubidium
1b546505d2
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
16 years ago
rubidium
f0b0691bfe
(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.
16 years ago
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
16 years ago
rubidium
9877b71ee0
(svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
smatz
419f6e099f
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
16 years ago
smatz
d1ea050232
(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame)
16 years ago
frosch
259a073f0c
(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
...
-Fix [FS#2419]: The modifiers were not applied in all cases.
16 years ago
frosch
b759ccd032
(svn r14604) -Codechange: Simplify a function and rename it, and fix some comments.
16 years ago
rubidium
a1853ea27c
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
16 years ago
frosch
11ef57d81e
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
16 years ago
rubidium
a14ad77a36
(svn r14528) -Codechange: cache the closest town for all road tiles instead 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)
16 years ago
rubidium
7588513003
(svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; 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.
16 years ago
smatz
bb4a4a255d
(svn r14508) -Fix (r14501): arrays were not properly zeroed
16 years ago
rubidium
9df75b3f9e
(svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth)
16 years ago
frosch
5a1df325e2
(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (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.
16 years ago
frosch
dea505cbb8
(svn r14459) -Fix [FS#2343]: Update station-spread when building or removing oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type.
16 years ago
frosch
70e1e83eb2
(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.
16 years ago
rubidium
719891c23e
(svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
smatz
1266b1a73f
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
16 years ago
smatz
5df524ecc0
(svn r14323) -Fix (r14064): forgot a return...
16 years ago
rubidium
defecbc6ef
(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop.
16 years ago
smatz
66be028ad4
(svn r14307) -Fix: when deleting a station, remove news items regarding it
16 years ago
smatz
37edc141e2
(svn r14293) -Change: do not show PBS track reservation in the intro game
16 years ago
rubidium
9474db5cb6
(svn r14258) -Codechange: rework the way to query the vehicle hash to make 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.
16 years ago
rubidium
2d94337e1a
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
16 years ago
smatz
b595d59497
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
16 years ago
smatz
5229e45363
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
16 years ago
frosch
96b9fba333
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
16 years ago
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
16 years ago
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
16 years ago
rubidium
ad36ea6b29
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
16 years ago
frosch
74c63ac9e2
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
16 years ago
frosch
16c80d031c
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
16 years ago
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
16 years ago
smatz
690859bf57
(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases
16 years ago
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
smatz
29985b768c
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
...
This is to balance performance, code complexity and NewGRF requirements
17 years ago
glx
f56fe58d48
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
17 years ago
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
smatz
ee904e1df5
(svn r13295) -Codechange: remove now redundant check
17 years ago
smatz
9c7d4ffd4c
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
17 years ago
belugas
5f782d06be
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
17 years ago
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
frosch
ca30288c9d
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
...
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
17 years ago
frosch
6e7a7412cd
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
...
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
17 years ago
belugas
fc35ad9ee9
(svn r13226) -Feature: Allow to have more than only two airports per town. 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
17 years ago
frosch
eca692ef90
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
17 years ago
rubidium
9defec7876
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
17 years ago
rubidium
76b8970a33
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
17 years ago
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
belugas
b49b4f627f
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
17 years ago
smatz
dd00683a46
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
17 years ago
rubidium
1aa7d9faff
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
17 years ago
belugas
bf702602c1
(svn r12875) -Codechange: Use defined const instead of cast magic
17 years ago
belugas
fbeaf0389d
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
17 years ago
rubidium
dce1b33196
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
17 years ago
smatz
ccfe024a2a
(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles
17 years ago
rubidium
5ef8c01ce7
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
17 years ago
rubidium
15680e477a
(svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
17 years ago
peter1138
210d757499
(svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)
17 years ago
rubidium
acafc26426
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
17 years ago
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
17 years ago
smatz
5050ba84fb
(svn r12756) -Cleanup: variable scope and coding style in station*
17 years ago
rubidium
02cdf01507
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
17 years ago
rubidium
e8ee93b593
(svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles.
17 years ago
peter1138
a45c1d45e5
(svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours.
17 years ago
smatz
6af1fb2bdd
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
17 years ago
rubidium
1bd5a29df5
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
17 years ago
rubidium
d6623cf654
(svn r12588) -Codechange: do not access the destination of an order directly.
17 years ago
rubidium
5b47f81b0f
(svn r12584) -Codechange: do not access the order type directly.
17 years ago
rubidium
aef20ec54d
(svn r12580) -Codechange: merge some logical related to non-stop orders.
17 years ago
smatz
febc5150c9
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
17 years ago
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
17 years ago
rubidium
eeabab4555
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
17 years ago
peter1138
6184676ec7
(svn r12410) -Codechange: abstract out the test for catenary on electric rails
17 years ago
glx
4a4be744b6
(svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists
17 years ago
frosch
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
17 years ago
smatz
29125c0e68
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
17 years ago
glx
044ca2bbf6
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
17 years ago
glx
3e70ee6ed7
(svn r12154) -Codechange: removed a magic number
17 years ago
frosch
a40d761d7f
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
17 years ago
frosch
fd0f57a794
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
17 years ago
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
17 years ago
smatz
e3301db213
(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road.
17 years ago
smatz
802c949755
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
17 years ago
smatz
221494bd3f
(svn r12093) -Fix: do not set station owner for buoys when merging company
17 years ago
frosch
918591c05b
(svn r12072) -Fix: Make docks at sea flood neighboured tiles.
17 years ago
frosch
7860d8d18a
(svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots.
17 years ago
peter1138
1d891a8b15
(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
...
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the
original water type.
17 years ago
peter1138
67782add11
(svn r12036) -Fix: For station tiles, only get road types for road stops.
17 years ago
frosch
a1b98cda59
(svn r11999) -Fix: Do entrance-slope-check for every tile of railstations.
17 years ago
maedhros
21eef65e77
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
17 years ago
frosch
6f6708e844
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
17 years ago
peter1138
0f966a316a
(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.
17 years ago
smatz
96a18d859f
(svn r11944) -Fix: allow building drive-through road/tram stops at road/tram track that has no owner
17 years ago
smatz
9556623281
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
17 years ago
rubidium
576f8ad93e
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
17 years ago
smatz
245f05a7cc
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
17 years ago
peter1138
ea6535c864
(svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
peter1138
ab8382c0db
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
smatz
f44a9a5d5b
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
...
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium
998d7644f6
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
17 years ago
rubidium
46650c54b6
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
17 years ago
rubidium
b4b3190b62
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
b0ac283aec
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
17 years ago
peter1138
75472cbc16
(svn r11729) -Codechange: Don't rely on the first railtype's sprite offset being zero when drawing road stations.
17 years ago
peter1138
06d578d07e
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago