summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-02-15(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in ↵frosch
station_land and unmovable_land.
2008-02-15(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in ↵frosch
station_land and unmovable_land.
2008-02-15(svn r12145) -Codechange: includes should be at the top of the source filebelugas
-Codechange: undefine a defined macro once work is finished, just in case
2008-02-15(svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast peter1138
aircraft slow down more rapidly than slower aircraft. This prevents them from reaching the end of the runway at high speed, and also stops slow aircraft from slowing down too much at the start of the runway.
2008-02-15(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ↵peter1138
ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
2008-02-15(svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var ↵frosch
0x18, independent of grf version.
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14(svn r12140) -Codechange: A bit of code style fixes(Geektoo).belugas
2008-02-14(svn r12139) -Fix (r12124): The global variable value should be returned, ↵peter1138
not the variable.
2008-02-14(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there ↵smatz
is a vehicle on it
2008-02-14(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles ↵peter1138
correctly in the purchase list. Multiple cargo types can also now been shown.
2008-02-14(svn r12136) -Fix(r12135): Code style compliance and... code style as suchbelugas
2008-02-14(svn r12135) -Codechange: Road and rail bridge selection windows were ↵belugas
identical apart the caption. So remove one window definition and set manually the caption accordingly. -Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process. Makes less magic around.
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-02-13(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for ↵peter1138
trains. Instead of trying to work it out again, just use the cached values...
2008-02-13(svn r12132) -Cleanup: convert pathfinder selection from if/else to ↵smatz
switch/case at many places
2008-02-13(svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train ↵smatz
length was limited to 9
2008-02-13(svn r12130) -Cleanup (r12129): remove now unused strings from all language ↵smatz
files
2008-02-13(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders ↵smatz
(Yorick)
2008-02-13(svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) ↵peter1138
with v->PlayLeaveStationSound(), and remove wrapper function.
2008-02-13(svn r12127) -Codechange: Use a variable instead of calling the same ↵belugas
function a few times. Again. Just a different value.
2008-02-13(svn r12126) -Codechange: Use a variable instead of calling the same ↵belugas
function a few times
2008-02-12(svn r12125) -Codechange: Remove redundant signal lookup table, and document ↵peter1138
why normal electric signals are handled specially.
2008-02-12(svn r12124) -Codechange: Move newgrf-variables that are common to ↵frosch
VarAction2 and Action7/9/D to their own function. -Fix: Add some variables that were missing in one or both cases.
2008-02-12(svn r12122) -Codechange: Add framework for generic feature callbacks, along ↵peter1138
with some parts for AI use.
2008-02-12(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead ↵peter1138
of a byte (Yexo)
2008-02-12(svn r12120) -Cleanup: const-ify parameters when checking for same ↵peter1138
cargopacket source.
2008-02-12(svn r12119) -Codechange: Rename grfspec_feature to match code style, and ↵peter1138
expose in header for use elsewhere.
2008-02-12(svn r12118) -Codechange: Put the two descriptions of bridges in an array ↵belugas
instead of two single variables, following the transport type it represents
2008-02-11(svn r12115) -Codechange: move malloc/realloc error messages to separate ↵smatz
file to spare 4-8kB of binary size
2008-02-11(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpecpeter1138
2008-02-11(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy ↵belugas
with other Specs in used.
2008-02-11(svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, ↵smatz
so it cannot have an invalid tile index
2008-02-11(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in ↵peter1138
GetNearbyTile() was wrong way around.
2008-02-11(svn r12107) -Codechange: Add and use the typedef BridgeTypebelugas
2008-02-11(svn r12106) -Fix(r12105): Kill warnings and raise an error when the ↵belugas
transport type is not supported
2008-02-11(svn r12105) -Codechange: Use TransportType instead of guessing what kind of ↵belugas
bridge we are preparing to build
2008-02-10(svn r12104) -Fix (r12103): remember loading indicators transparency ↵smatz
settings and make in switchable by Ctrl+9
2008-02-10(svn r12103) -Feature(tte): separate catenary transparency settings from ↵smatz
building transparency settings
2008-02-10(svn r12102) -Feature: Allow locking individual transparency settings so ↵maedhros
they will not be changed by pressing 'x'. (Roujin)
2008-02-10(svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to ↵smatz
substract one to be on water border tiles
2008-02-10(svn r12100) -Fix (r12042): check for water class of surrounding tiles fails ↵smatz
for buoys at map borders
2008-02-10(svn r12098) -Fix: make snow appear on rail tiles dependant on track height, ↵smatz
not on height of the lowest part of the tile
2008-02-10(svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames.glx
2008-02-09(svn r12096) -Fix: remove leftover property when loading older savegamessmatz
2008-02-09(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through ↵smatz
road stops, ship depots and buoys too. Update owners of water and road.
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-02-09(svn r12093) -Fix: do not set station owner for buoys when merging companysmatz