rubidium [Tue, 27 Feb 2007 16:18:31 +0000] rev 6167
(svn r8921) -Fix (FS#654): several issues related to removing all orders 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).
Darkvater [Tue, 27 Feb 2007 16:07:04 +0000] rev 6166
(svn r8920) -Codechange: Do not require to press 'Apply changes' in the newgrf GUI if the changes in there are not activated (this happens in the title screen)
Darkvater [Tue, 27 Feb 2007 16:05:49 +0000] rev 6165
(svn r8919) -Regression (UTF8) (try #2): Win9x is very picky about trailing 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.
Darkvater [Tue, 27 Feb 2007 16:05:20 +0000] rev 6164
(svn r8918) -Revert r8914 as the inverted files have been committed not the correct one.
Darkvater [Tue, 27 Feb 2007 15:17:06 +0000] rev 6163
(svn r8914) -Regression (UTF8): Win9x is very picky about trailing 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.
rubidium [Mon, 26 Feb 2007 22:32:21 +0000] rev 6162
(svn r8912) -Codechange: coding style cleanup and moving of two global externs into the functions that use them.
rubidium [Mon, 26 Feb 2007 22:25:18 +0000] rev 6161
(svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove two unused enums.
rubidium [Mon, 26 Feb 2007 18:25:03 +0000] rev 6160
(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
rubidium [Mon, 26 Feb 2007 00:41:24 +0000] rev 6159
(svn r8907) -Fix (r3281): reading from an unitialized variable.
rubidium [Mon, 26 Feb 2007 00:36:57 +0000] rev 6158
(svn r8906) -Feature: translation dependant formatting of dates.
peter1138 [Sun, 25 Feb 2007 14:33:43 +0000] rev 6157
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
tron [Sun, 25 Feb 2007 11:59:26 +0000] rev 6156
(svn r8901) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
tron [Sun, 25 Feb 2007 11:49:43 +0000] rev 6155
(svn r8900) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
tron [Sun, 25 Feb 2007 11:36:19 +0000] rev 6154
(svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
tron [Sun, 25 Feb 2007 10:49:13 +0000] rev 6153
(svn r8897) -Fix
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
tron [Sun, 25 Feb 2007 10:25:25 +0000] rev 6152
(svn r8896) -Fix
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.
tron [Sun, 25 Feb 2007 09:47:46 +0000] rev 6151
(svn r8894) -Fix
Slightly simplify the control flow of TrainController()
tron [Sun, 25 Feb 2007 09:27:03 +0000] rev 6150
(svn r8893) -Fix
variable scope, const, misc.
rubidium [Sun, 25 Feb 2007 09:06:13 +0000] rev 6149
(svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits.
peter1138 [Sat, 24 Feb 2007 23:36:40 +0000] rev 6148
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
peter1138 [Sat, 24 Feb 2007 23:20:21 +0000] rev 6147
(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47
rubidium [Sat, 24 Feb 2007 22:35:42 +0000] rev 6146
(svn r8889) -Fix (r8880): a CursorID is not a SpriteID.
peter1138 [Sat, 24 Feb 2007 22:01:18 +0000] rev 6145
(svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels.
KUDr [Sat, 24 Feb 2007 19:43:50 +0000] rev 6144
(svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto
peter1138 [Sat, 24 Feb 2007 19:36:47 +0000] rev 6143
(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only.
peter1138 [Sat, 24 Feb 2007 19:26:45 +0000] rev 6142
(svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list.
tron [Sat, 24 Feb 2007 18:44:30 +0000] rev 6141
(svn r8884) -Fix
Replace SetSpeedLimitOnBridge() by something simpler
maedhros [Sat, 24 Feb 2007 16:37:06 +0000] rev 6140
(svn r8882) -Cleanup (r8881): Remove obsolete strings.
maedhros [Sat, 24 Feb 2007 16:34:37 +0000] rev 6139
(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, and load custom error messages properly.
rubidium [Sat, 24 Feb 2007 15:05:14 +0000] rev 6138
(svn r8880) -Codechange: make anim cursors an array of structs.
rubidium [Sat, 24 Feb 2007 14:53:32 +0000] rev 6137
(svn r8879) -Codechange: make DrawPlayerFace easier to read.
tron [Sat, 24 Feb 2007 14:36:14 +0000] rev 6136
(svn r8878) -Fix
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle()
NOTE: 0.5 candidate
rubidium [Sat, 24 Feb 2007 12:50:05 +0000] rev 6135
(svn r8877) -Cleanup: remove already implemented @todo
tron [Sat, 24 Feb 2007 09:42:39 +0000] rev 6134
(svn r8876) -Fix
Replace tests with magic numbers by a simple extraction template for command parameters
tron [Sat, 24 Feb 2007 06:46:20 +0000] rev 6133
(svn r8875) -Fix
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)
KUDr [Sat, 24 Feb 2007 00:17:46 +0000] rev 6132
(svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)
rubidium [Fri, 23 Feb 2007 22:14:14 +0000] rev 6131
(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p).
KUDr [Fri, 23 Feb 2007 21:36:43 +0000] rev 6130
(svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, helpers.hpp had wrong line ending
KUDr [Fri, 23 Feb 2007 21:29:50 +0000] rev 6129
(svn r8866) -Doc: added more comments to template struct MakeEnumPropsT
peter1138 [Fri, 23 Feb 2007 21:03:57 +0000] rev 6128
(svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check
KUDr [Fri, 23 Feb 2007 20:51:10 +0000] rev 6127
(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result)
peter1138 [Fri, 23 Feb 2007 19:27:31 +0000] rev 6126
(svn r8863) -Fix: prefix engine_custom_sprites with _
belugas [Fri, 23 Feb 2007 18:55:07 +0000] rev 6125
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
Darkvater [Fri, 23 Feb 2007 12:56:10 +0000] rev 6124
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
belugas [Fri, 23 Feb 2007 11:50:43 +0000] rev 6123
(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
peter1138 [Fri, 23 Feb 2007 09:56:20 +0000] rev 6122
(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.
celestar [Fri, 23 Feb 2007 08:37:33 +0000] rev 6121
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
tron [Fri, 23 Feb 2007 08:19:24 +0000] rev 6120
(svn r8856) -Fix
Missing */ (r8853)
tron [Fri, 23 Feb 2007 08:03:30 +0000] rev 6119
(svn r8855) -Fix
Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means
belugas [Fri, 23 Feb 2007 02:18:17 +0000] rev 6118
(svn r8854) -Fix(r8853): Ctrl+s (save) without Ctrl does not produce desired result...
belugas [Fri, 23 Feb 2007 01:48:53 +0000] rev 6117
(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style
rubidium [Fri, 23 Feb 2007 00:17:46 +0000] rev 6116
(svn r8852) -Fix (r8735): make the dynamite tool for drive through road 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.
rubidium [Fri, 23 Feb 2007 00:10:16 +0000] rev 6115
(svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads outside of the local authority.
peter1138 [Thu, 22 Feb 2007 22:53:49 +0000] rev 6114
(svn r8850) -Codechange: Use the cargo type's is_freight flag instead of checking the cargo type to determine if the cargo type is freight cargo type cargo type.
peter1138 [Thu, 22 Feb 2007 22:09:51 +0000] rev 6113
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
miham [Thu, 22 Feb 2007 19:14:43 +0000] rev 6112
(svn r8848) -Update: WebTranslator2 update to 2007-02-22 19:57:58
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)
tron [Thu, 22 Feb 2007 19:05:26 +0000] rev 6111
(svn r8847) -Fix
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
tron [Thu, 22 Feb 2007 18:44:42 +0000] rev 6110
(svn r8846) -Fix
Remove confusing superfluous parentheses
tron [Thu, 22 Feb 2007 18:34:57 +0000] rev 6109
(svn r8845) -Fix
Remove pointless and out of context comment
Darkvater [Thu, 22 Feb 2007 16:16:44 +0000] rev 6108
(svn r8844) -Revert partly (r8820, r8806): Change AppendToGRFConfigList to add the allocated GRFConfig to its list and not copy it.