summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-02-27(svn r8935) -Codechange: unification of track type between road and rail ↵rubidium
tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
2007-02-27(svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc)KUDr
2007-02-27(svn r8921) -Fix (FS#654): several issues related to removing all orders ↵rubidium
from an aircraft and removing the airport it was heading: - the aircraft would go to (0, 0) and circle there. Clicking the 'eye' to jump to the aircraft in the main window could cause a segmentation fault. - when rebuilding an airport with the StationID of the old airport could crash as the FTA state of the aircraft is higher than the number of states of the new airport, causing a crash of all clients and the server when assertions are enabled. - when rebuilding an airport with the StationID of the old airport can bring the aircraft in a state where is keeps circling the airport. To solve these issues all aircraft without a valid order will try to go to the nearest hangar it can safely get to (large jets do not land on small airports). If there is no hangar to go to, the airplane crashes (out of fuel).
2007-02-27(svn r8920) -Codechange: Do not require to press 'Apply changes' in the ↵Darkvater
newgrf GUI if the changes in there are not activated (this happens in the title screen)
2007-02-27(svn r8919) -Regression (UTF8) (try #2): Win9x is very picky about trailing ↵Darkvater
slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
2007-02-27(svn r8918) -Revert r8914 as the inverted files have been committed not the ↵Darkvater
correct one.
2007-02-27(svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes ↵Darkvater
in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
2007-02-26(svn r8912) -Codechange: coding style cleanup and moving of two global ↵rubidium
externs into the functions that use them.
2007-02-26(svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove ↵rubidium
two unused enums.
2007-02-26(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in ↵rubidium
a map accessors header.
2007-02-26(svn r8907) -Fix (r3281): reading from an unitialized variable.rubidium
2007-02-26(svn r8906) -Feature: translation dependant formatting of dates.rubidium
2007-02-25(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...peter1138
2007-02-25(svn r8901) -Fixtron
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
2007-02-25(svn r8900) -Fixtron
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
2007-02-25(svn r8899) -Fixtron
Remove the unused second parameter from GetTileRailType()
2007-02-25(svn r8897) -Fixtron
Change the signature of GetNewVehiclePos(): -void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
2007-02-25(svn r8896) -Fixtron
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult. Therefore remove the return value.
2007-02-25(svn r8894) -Fixtron
Slightly simplify the control flow of TrainController()
2007-02-25(svn r8893) -Fixtron
variable scope, const, misc.
2007-02-25(svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits.rubidium
2007-02-24(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo ↵peter1138
mapping is now dealt with only in NewGRF code, on load where possible.
2007-02-24(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47peter1138
2007-02-24(svn r8889) -Fix (r8880): a CursorID is not a SpriteID.rubidium
2007-02-24(svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a ↵peter1138
list of cargo labels.
2007-02-24(svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped ↵KUDr
by goto
2007-02-24(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table ↵peter1138
support, applied to action 3s only.
2007-02-24(svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of ↵peter1138
range then choose the cargo type from its refit list.
2007-02-24(svn r8884) -Fixtron
Replace SetSpeedLimitOnBridge() by something simpler
2007-02-24(svn r8882) -Cleanup (r8881): Remove obsolete strings.maedhros
2007-02-24(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, ↵maedhros
and load custom error messages properly.
2007-02-24(svn r8880) -Codechange: make anim cursors an array of structs.rubidium
2007-02-24(svn r8879) -Codechange: make DrawPlayerFace easier to read.rubidium
2007-02-24(svn r8878) -Fixtron
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle() NOTE: 0.5 candidate
2007-02-24(svn r8877) -Cleanup: remove already implemented @todorubidium
2007-02-24(svn r8876) -Fixtron
Replace tests with magic numbers by a simple extraction template for command parameters
2007-02-24(svn r8875) -Fixtron
Remove unnecessary EnsureNoVehicle() checks because they are - pointless per se (f.e. there are no vehicles on house tiles) - done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
2007-02-24(svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash ↵KUDr
(Jigsaw_Psyche)
2007-02-23(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some ↵rubidium
directions (mart3p).
2007-02-23(svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, ↵KUDr
helpers.hpp had wrong line ending
2007-02-23(svn r8866) -Doc: added more comments to template struct MakeEnumPropsTKUDr
2007-02-23(svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety checkpeter1138
2007-02-23(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like ↵KUDr
CLRBIT() and so on (modify value of the first parameter instead or returning the result)
2007-02-23(svn r8863) -Fix: prefix engine_custom_sprites with _peter1138
2007-02-23(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and ↵belugas
a few comments style. Some documentation addition, when i can easily supply them
2007-02-23(svn r8860) -Cleanup: some style changes, proper #endif comments, variable ↵Darkvater
initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-02-23(svn r8858) -Codechange: Replace magic number test with class method for ↵peter1138
determining if a cargo is valid/active.
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-23(svn r8856) -Fixtron
Missing */ (r8853)