summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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)
2007-02-23(svn r8855) -Fixtron
Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means
2007-02-23(svn r8854) -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired ↵belugas
result...
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-23(svn r8852) -Fix (r8735): make the dynamite tool for drive through road ↵rubidium
stops as if it were removing a normal road tile (consider the local authority and such). -Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
2007-02-23(svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads ↵rubidium
outside of the local authority.
2007-02-22(svn r8850) -Codechange: Use the cargo type's is_freight flag instead of ↵peter1138
checking the cargo type to determine if the cargo type is freight cargo type cargo type.
2007-02-22(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping ↵peter1138
tables with dynamically generated data. Change associated code to use new functions.
2007-02-22(svn r8848) -Update: WebTranslator2 update to 2007-02-22 19:57:58miham
brazilian_portuguese - 1 fixed, 49 changed by tucalipe (48), fukumori (2) bulgarian - 2 fixed by kokobongo (2) catalan - 1 fixed, 2 changed by arnaullv (3) czech - 1 fixed by Hadez (1) danish - 2 fixed, 1 changed by MiR (3) dutch - 1 fixed by habell (1) french - 1 fixed, 1 changed by Skiper (2) german - 1 fixed by Neonox (1) italian - 1 fixed by sidew (1) korean - 4 fixed by leejaeuk5 (3), darkttd (1) portuguese - 4 changed by izhirahider (4) romanian - 10 fixed by kneekoo (10) russian - 1 fixed, 42 changed by DarkFenX (43) slovenian - 1 deleted by Necrolyte (1) spanish - 1 changed by eusebio (1) ukrainian - 19 fixed, 1 deleted, 12 changed by mad (32)
2007-02-22(svn r8847) -Fixtron
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
2007-02-22(svn r8846) -Fixtron
Remove confusing superfluous parentheses
2007-02-22(svn r8845) -Fixtron
Remove pointless and out of context comment
2007-02-22(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to ↵Darkvater
add the allocated GRFConfig to its list and not copy it.
2007-02-22(svn r8843) -Fixtron
-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size) Also avoid an unnecessary buffer copy and strlcpy() abuse NOTE: 0.5 candidate
2007-02-22(svn r8841) -Fixtron
Remove {,u}intswap() and replace them by Swap()
2007-02-22(svn r8840) -Fixtron
Remove FIFO and Stack. They have never been used and could not be used anyway because the declarations of some functions are spelled different than the definitions they should correspond to. Also remove some other unused helpers and related struct attributes.