------------------------------------------------------------------------
r2197 | bjarni | 2005-04-14 13:46:40 +0000 (Thu, 14 Apr 2005) | 4 lines

-fix [Makefile]: SDL_CONFIG from makefile.config is now not always overwritten
-fix [OSX]: fixed issue where OSX could not compile the java MIDI app if SHOW_WARNINGS was on (introduced in r1917)
-fix [OSX]: the midi class file is now also deleted with make clear

------------------------------------------------------------------------
r2196 | TrueLight | 2005-04-14 12:57:21 +0000 (Thu, 14 Apr 2005) | 4 lines

-Change: updated the Makefile, now it works for crossplatform compiling
(and distcc compiling via Makefile.config). Wiki is coming up soon! Big
tnx to Bjarni and Lucaspiller.

------------------------------------------------------------------------
r2195 | tron | 2005-04-14 11:17:36 +0000 (Thu, 14 Apr 2005) | 2 lines

Add CmdFailed() as the One True Way(tm) to check if a command failed.

------------------------------------------------------------------------
r2194 | miham | 2005-04-14 09:58:04 +0000 (Thu, 14 Apr 2005) | 1 line

[Translations] Updated to 2005-04-14 (12 strs / 5 langs)
------------------------------------------------------------------------
r2193 | Darkvater | 2005-04-13 23:07:13 +0000 (Wed, 13 Apr 2005) | 1 line

- SVN: Set ignore on the last couple of annoying files
------------------------------------------------------------------------
r2192 | Darkvater | 2005-04-13 23:03:31 +0000 (Wed, 13 Apr 2005) | 3 lines

- Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type.
- Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
------------------------------------------------------------------------
r2191 | truelight | 2005-04-13 18:36:29 +0000 (Wed, 13 Apr 2005) | 2 lines

-Add: OpenTTD now compiles with dietlibc (Aard)

------------------------------------------------------------------------
r2190 | darkvater | 2005-04-13 13:09:25 +0000 (Wed, 13 Apr 2005) | 1 line

- Fix: [1179424] '.. (Parent directory)' does not show up in the root-directory anymore; win32 only (mgasterix)
------------------------------------------------------------------------
r2189 | tron | 2005-04-12 10:31:26 +0000 (Tue, 12 Apr 2005) | 3 lines

Introduce and use IsCompatibleTrainStationTile()
This should prevent trains, which are longer than the station, to turn around without stopping under certain circumstances and fix speed limit for trains entering a station, when realistic accerlation is used

------------------------------------------------------------------------
r2188 | tron | 2005-04-12 09:21:04 +0000 (Tue, 12 Apr 2005) | 1 line

Revert r2185, because trains always accerlated (Requested by Celestar)
------------------------------------------------------------------------
r2187 | tron | 2005-04-12 09:17:51 +0000 (Tue, 12 Apr 2005) | 1 line

Implement a slightly better workaround than r1588 did. (Joint effort with Celestar)
------------------------------------------------------------------------
r2186 | miham | 2005-04-12 07:29:37 +0000 (Tue, 12 Apr 2005) | 1 line

[Translations] Refreshed translations (20 strs/3 langs)
------------------------------------------------------------------------
r2185 | celestar | 2005-04-11 21:10:47 +0000 (Mon, 11 Apr 2005) | 1 line

-Fix: Made sure that the realistic acceleration does not freeze trains anymore
------------------------------------------------------------------------
r2184 | Darkvater | 2005-04-11 20:54:25 +0000 (Mon, 11 Apr 2005) | 1 line

- CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago
------------------------------------------------------------------------
r2183 | matthijs | 2005-04-11 20:19:41 +0000 (Mon, 11 Apr 2005) | 2 lines

- Fix: Removed brackets from around STRAIGHT_TRACK_LENGTH, they caused preliminary rounding...

------------------------------------------------------------------------
r2182 | matthijs | 2005-04-11 19:53:44 +0000 (Mon, 11 Apr 2005) | 3 lines

- Add: [NPF] There is now a debug class for NPF. Use -d npf<level> to enable debugging printouts from npf.
- Codechange: [NPF] Removed NPF_MARKROUTE macro, to mark routes just specify a npf debugging level >= 1 on the commandline.

------------------------------------------------------------------------
r2181 | matthijs | 2005-04-11 19:14:48 +0000 (Mon, 11 Apr 2005) | 5 lines

- Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
- Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic().
- Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic.
- Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions.

------------------------------------------------------------------------
r2180 | celestar | 2005-04-11 14:59:06 +0000 (Mon, 11 Apr 2005) | 1 line

-Fix: Deceleration code now only takes into account rail station tiles for computing the remaining distance
------------------------------------------------------------------------
r2179 | matthijs | 2005-04-11 12:08:09 +0000 (Mon, 11 Apr 2005) | 2 lines

- Fix: [ 1121437, 1114228 ] Vehicles not entering depots for auto servicing.

------------------------------------------------------------------------
r2178 | Darkvater | 2005-04-10 21:54:29 +0000 (Sun, 10 Apr 2005) | 1 line

Postprevcommitaddendum: add debug.h if you use DEBUG()
------------------------------------------------------------------------
r2177 | Darkvater | 2005-04-10 21:51:11 +0000 (Sun, 10 Apr 2005) | 1 line

- Fix: Fix a slot desync with setting the invalid slot to the correct value
------------------------------------------------------------------------
r2176 | tron | 2005-04-10 20:48:43 +0000 (Sun, 10 Apr 2005) | 7 lines

Revise CheckOprhanedSlot():
- Don't assert the vehicle type, as it can be anything
- Don't touch the slot information of the vehicle, because it's possible that it is not a road vehicle anymore and even if it is, it has nothing to to with that slot
- Trim the debug printout, because the information about the vehicle is arbitrary
(Joint effort with Darkvater)


------------------------------------------------------------------------
r2175 | miham | 2005-04-10 18:02:48 +0000 (Sun, 10 Apr 2005) | 1 line

[Translations] Updated translations (11 strs/3 langs)
------------------------------------------------------------------------
r2174 | miham | 2005-04-09 22:42:12 +0000 (Sat, 09 Apr 2005) | 1 line

[Translations] Updated translations (7 strs/2 langs)
------------------------------------------------------------------------
r2173 | celestar | 2005-04-09 06:20:03 +0000 (Sat, 09 Apr 2005) | 1 line

-Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch
------------------------------------------------------------------------
r2172 | miham | 2005-04-09 06:19:08 +0000 (Sat, 09 Apr 2005) | 1 line

[Translations] Translations from the last two days (37 strs/11 langs)
------------------------------------------------------------------------
r2171 | miham | 2005-04-09 06:15:16 +0000 (Sat, 09 Apr 2005) | 1 line

[Translations] Manually fixed string-order in english.txt (someone fscked it up!)
------------------------------------------------------------------------
r2170 | bjarni | 2005-04-08 23:46:18 +0000 (Fri, 08 Apr 2005) | 2 lines

-fix: [1179457] the industry list can now no longer scroll down then the end of the list is reached (Hackykid)

------------------------------------------------------------------------
r2169 | celestar | 2005-04-08 22:50:22 +0000 (Fri, 08 Apr 2005) | 1 line

-Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
------------------------------------------------------------------------
r2168 | Darkvater | 2005-04-08 22:44:06 +0000 (Fri, 08 Apr 2005) | 1 line

- Fix: Various stages of invisible trains, and wrong v->u.rail.track combinations. When a vehicle was sold its (possibly) assigned road slot for multislot was not cleared, thus resulting in a bug confusion. This should fix [ 1178520 ] Assertion failure in ai.c (invalid v->u.rail.track). With big thanks to TrueLight for the demo-recording patch, BJH for the wonderful savegame, Hackykid for his brilliant suggestions of the problem and Celestar for... ehm, making it all possible ;p
------------------------------------------------------------------------
r2167 | bjarni | 2005-04-08 15:40:44 +0000 (Fri, 08 Apr 2005) | 3 lines

 -fix: [autoreplace] trains now get the default cargo type if the engine 
replaced from did not have cargo capacity (instead of refitting to passengers)

------------------------------------------------------------------------
r2166 | matthijs | 2005-04-07 19:33:32 +0000 (Thu, 07 Apr 2005) | 2 lines

Fixed two warnings in the last commit.

------------------------------------------------------------------------
r2165 | matthijs | 2005-04-07 19:19:16 +0000 (Thu, 07 Apr 2005) | 4 lines

- Codechange: [NPF] Properly enummed NPF hash size, it is easily changable now.
- Codechange: [NPF] Improved the NPF hash calculation slightly.
- Codechange: [NPF] Increased hash size, should speed up somewhat.

------------------------------------------------------------------------