------------------------------------------------------------------------
r1489 | truelight | 2005-01-12 16:33:33 +0000 (Wed, 12 Jan 2005) | 3 lines

-Fix: You fix a GCC warning, you get a MSVC warning.. now fixed both 
(which compiler do we break this time?)

------------------------------------------------------------------------
r1488 | truelight | 2005-01-12 11:54:51 +0000 (Wed, 12 Jan 2005) | 3 lines

-Fix: fixed some spelling mistakes (tnx to Tron)
-Fix: fixed some compiler-warnings

------------------------------------------------------------------------
r1487 | darkvater | 2005-01-12 11:50:41 +0000 (Wed, 12 Jan 2005) | 1 line

-Fix: [1100736] wrong tooltip for place desert button
------------------------------------------------------------------------
r1486 | truelight | 2005-01-12 11:21:28 +0000 (Wed, 12 Jan 2005) | 3 lines

-Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 
dynamic arrays

------------------------------------------------------------------------
r1485 | darkvater | 2005-01-12 00:50:08 +0000 (Wed, 12 Jan 2005) | 2 lines

-Fix: [1031451] Catchment area shows when buying sign. Catchment area wasn't reset when road station window was unselected
-Fix: small GUI glitch in terraform toolbar
------------------------------------------------------------------------
r1484 | darkvater | 2005-01-11 23:39:21 +0000 (Tue, 11 Jan 2005) | 1 line

-Fix: [1099197] scrolling through console sometimes crashed the whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de)
------------------------------------------------------------------------
r1483 | truelight | 2005-01-11 15:52:18 +0000 (Tue, 11 Jan 2005) | 3 lines

-Fix: don't close a socket if it is already closed (windows doesn't like 
it :() (partly tnx to tamlin)

------------------------------------------------------------------------
r1481 | celestar | 2005-01-11 12:15:08 +0000 (Tue, 11 Jan 2005) | 1 line

-Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin)
------------------------------------------------------------------------
r1479 | darkvater | 2005-01-11 00:54:06 +0000 (Tue, 11 Jan 2005) | 4 lines

-Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while
-These values are saved in hs.dat; added read/write functions for it
-Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
------------------------------------------------------------------------
r1478 | darkvater | 2005-01-11 00:24:27 +0000 (Tue, 11 Jan 2005) | 2 lines

-Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 and Scrollbar2 now work independently. You can only scroll on list and scrollbar itself; scrollbar must be next widget of the list.
-Fix: updated the few gui's that didn't have the scrollbar right after the listbox.
------------------------------------------------------------------------
r1477 | darkvater | 2005-01-10 22:56:20 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: finally zooming in/out always works. The problem was that the zoomed in/out coordinates were used for checking if the area was a zoomable viewport in the not zoomed in/out position. The chances were high that there was a window.
------------------------------------------------------------------------
r1476 | darkvater | 2005-01-10 22:36:11 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: [1099209] Catchment area with drag&drop stations (Celestar)
------------------------------------------------------------------------
r1475 | tron | 2005-01-10 22:14:35 +0000 (Mon, 10 Jan 2005) | 1 line

Fix some more signed/unsigned comparison warnings
------------------------------------------------------------------------
r1474 | celestar | 2005-01-10 21:56:02 +0000 (Mon, 10 Jan 2005) | 1 line

Added some gcc flags in the Makefile
------------------------------------------------------------------------
r1472 | darkvater | 2005-01-10 21:52:35 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: correct error message for when trying to build a railroad station over a bus/truck/etc-station.
------------------------------------------------------------------------
r1471 | darkvater | 2005-01-10 20:53:18 +0000 (Mon, 10 Jan 2005) | 2 lines

-Alternate icon added, made by Dominik
-VS6 project file updated (bociusz)
------------------------------------------------------------------------
r1470 | tron | 2005-01-10 19:27:38 +0000 (Mon, 10 Jan 2005) | 1 line

Revert r1457, this warning option was introduced with gcc 3.4
------------------------------------------------------------------------
r1469 | truelight | 2005-01-10 19:14:05 +0000 (Mon, 10 Jan 2005) | 2 lines

-Fix: missed one in last commit

------------------------------------------------------------------------
r1468 | truelight | 2005-01-10 19:08:25 +0000 (Mon, 10 Jan 2005) | 2 lines

-Fix: really old maps do load again (Darkvater / TrueLight)

------------------------------------------------------------------------
r1467 | Celestar | 2005-01-10 16:35:20 +0000 (Mon, 10 Jan 2005) | 1 line

Fixed a nasty bug where one could build one station OVER the other
------------------------------------------------------------------------
r1466 | darkvater | 2005-01-10 14:56:26 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: oops, depot windows can of course also scroll horizontally. Thanks si-m1.
------------------------------------------------------------------------
r1465 | darkvater | 2005-01-10 14:43:00 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
------------------------------------------------------------------------
r1464 | darkvater | 2005-01-10 14:36:08 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: [1099106] Resizeable portion of bus/air/rail depots window unclickable
------------------------------------------------------------------------
r1463 | darkvater | 2005-01-10 14:24:40 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: [1099451] Game crashes after the click on Rename (see also Bug 10992). There was no check for non-selected engine
------------------------------------------------------------------------
r1460 | darkvater | 2005-01-10 12:14:15 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now.
------------------------------------------------------------------------
r1458 | darkvater | 2005-01-10 10:38:02 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: remove byte *s again for windows.
------------------------------------------------------------------------
r1457 | tron | 2005-01-10 09:33:18 +0000 (Mon, 10 Jan 2005) | 1 line

Make Darvater happy: -Wdeclaration-after-statement
------------------------------------------------------------------------
r1456 | tron | 2005-01-10 08:25:43 +0000 (Mon, 10 Jan 2005) | 1 line

Simplify isWagon(), make it static and give it a canonical name (IsWagon)
------------------------------------------------------------------------
r1455 | miham | 2005-01-10 07:26:19 +0000 (Mon, 10 Jan 2005) | 1 line

Fixed spritecache.c to compile
------------------------------------------------------------------------
r1454 | darkvater | 2005-01-10 01:50:17 +0000 (Mon, 10 Jan 2005) | 1 line

-Fix: small warnings in spritecache.c
------------------------------------------------------------------------
r1453 | dominik | 2005-01-10 01:14:26 +0000 (Mon, 10 Jan 2005) | 3 lines

Feature: MD5 hash check for TTD files
The original TTD files are now checked with a MD5 sum to determine which version of the grf files is used and to warn about possible file corruptions. (Thanks to ledow for the original patch)

------------------------------------------------------------------------
r1452 | miham | 2005-01-09 21:39:49 +0000 (Sun, 09 Jan 2005) | 1 line

Fixed missing option from settings.c (Simen Graaten)
------------------------------------------------------------------------
r1451 | tron | 2005-01-09 21:25:44 +0000 (Sun, 09 Jan 2005) | 1 line

Fix some of the signed/unsigned comparison warnings
------------------------------------------------------------------------
r1450 | miham | 2005-01-09 20:45:07 +0000 (Sun, 09 Jan 2005) | 1 line

Updated norwegian townname generation (Simen Graaten)
------------------------------------------------------------------------
r1449 | darkvater | 2005-01-09 18:59:16 +0000 (Sun, 09 Jan 2005) | 2 lines

-Fix: signed/unsigned error on windows
-Change: Makefile added -Wsign-compare flag
------------------------------------------------------------------------
r1448 | truelight | 2005-01-09 18:49:18 +0000 (Sun, 09 Jan 2005) | 5 lines

-Fix: The current_order of a vehicle is now correctly saved (caused 
       massive desyncs)
  Warning: savegames which are made with the nightly of 08-01-2005 will 
   NO LONGER work!!

------------------------------------------------------------------------
r1447 | tron | 2005-01-09 17:55:11 +0000 (Sun, 09 Jan 2005) | 1 line

Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic
------------------------------------------------------------------------
r1445 | truelight | 2005-01-09 16:02:06 +0000 (Sun, 09 Jan 2005) | 6 lines

-Fix: reversing a train also reverses the UP and DOWN status for the 
realistic acceleration calculation
-Fix: there was a big bug in setting the UP and DOWN flags making it 
easy possible for a overloaded train to go up a mountain. This is no 
longer possible. They will hang at a certain height

------------------------------------------------------------------------
r1444 | truelight | 2005-01-09 14:45:19 +0000 (Sun, 09 Jan 2005) | 5 lines

-Fix: fixed weight for double-head trains (and with that the acceleration) 
(now maglev lvl4 can reach their top speed, and are faster than lvl3) 
(Tnx to Darkvater :))
-Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly

------------------------------------------------------------------------
r1443 | miham | 2005-01-09 14:07:59 +0000 (Sun, 09 Jan 2005) | 1 line

Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set
------------------------------------------------------------------------
r1441 | celestar | 2005-01-09 10:04:30 +0000 (Sun, 09 Jan 2005) | 1 line

Fixed a couple of warnings, and removed a pointless assert
------------------------------------------------------------------------
r1440 | celestar | 2005-01-09 08:49:40 +0000 (Sun, 09 Jan 2005) | 5 lines

-Feature: Allows more flexible airport layouts now, as the number of
terminals in every group can be freely chosen
-Codechange: AT_OILRIG is now 15, so that new airports can be added
easily.

------------------------------------------------------------------------
r1439 | miham | 2005-01-09 01:11:01 +0000 (Sun, 09 Jan 2005) | 2 lines

Daily langfile updates [except latvian for non-iso8859-1 chars] (semi-automatic)
The last patch (norwegian townnames was from Simen Graaten
------------------------------------------------------------------------
r1438 | miham | 2005-01-09 00:17:01 +0000 (Sun, 09 Jan 2005) | 1 line

Added norwegian townnames
------------------------------------------------------------------------
r1437 | darkvater | 2005-01-08 23:59:49 +0000 (Sat, 08 Jan 2005) | 1 line

-Fix: Safetileadd preprocessor magic is the same as for GCC and no longer extern
------------------------------------------------------------------------
r1435 | dominik | 2005-01-08 20:55:21 +0000 (Sat, 08 Jan 2005) | 2 lines

Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator mode

------------------------------------------------------------------------
r1434 | dominik | 2005-01-08 19:34:00 +0000 (Sat, 08 Jan 2005) | 2 lines

Fix: [ 1098553 ] Crash when all vehicles from a vehicles per station list had been removed

------------------------------------------------------------------------
r1432 | truelight | 2005-01-08 15:31:20 +0000 (Sat, 08 Jan 2005) | 2 lines

-Fix: I seem to be unable to revert a simple file :s

------------------------------------------------------------------------
r1431 | truelight | 2005-01-08 15:28:16 +0000 (Sat, 08 Jan 2005) | 2 lines

-Fix: oeps, I added my personal Makefile in the last commit :(

------------------------------------------------------------------------
r1430 | truelight | 2005-01-08 15:26:58 +0000 (Sat, 08 Jan 2005) | 2 lines

-Fix: starting openttd with -g <invalid_name> now acts normal

------------------------------------------------------------------------
r1429 | truelight | 2005-01-08 12:47:26 +0000 (Sat, 08 Jan 2005) | 4 lines

Change: bumped savegame to revision 5.
   - Now orders are bigger
   - Now _map2 is official 16 bits

------------------------------------------------------------------------
r1428 | miham | 2005-01-08 12:03:21 +0000 (Sat, 08 Jan 2005) | 1 line

Compiling with MSVC6 documentation update (from the wiki) [Bociusz]
------------------------------------------------------------------------
r1427 | bjarni | 2005-01-08 10:38:07 +0000 (Sat, 08 Jan 2005) | 1 line

fixed issue where the wrong sprite could be used if autoreplacing between single and multiheaded trains
------------------------------------------------------------------------
r1426 | truelight | 2005-01-08 09:48:08 +0000 (Sat, 08 Jan 2005) | 5 lines

-Codechange: cleaned up the reference code in the saveload routines
-Codechange: removed next_in_chain_old, and saved ->next for Vehicles
  (and bumped savegame revision for that to version 4.4)
-Codechange: Added _sl.full_version, which has both major and minor version

------------------------------------------------------------------------
r1425 | celestar | 2005-01-08 09:40:22 +0000 (Sat, 08 Jan 2005) | 1 line

Added hotkeys for dock and airport toolbar
------------------------------------------------------------------------
r1424 | dominik | 2005-01-08 09:24:15 +0000 (Sat, 08 Jan 2005) | 2 lines

Add dynamite to landscaping toolbar (hotkey 'D')

------------------------------------------------------------------------
r1423 | dominik | 2005-01-08 09:09:11 +0000 (Sat, 08 Jan 2005) | 2 lines

Fix: [ 1084074 ] Delayed news messages

------------------------------------------------------------------------
r1422 | dominik | 2005-01-08 08:29:12 +0000 (Sat, 08 Jan 2005) | 2 lines

Fixed linux compiling, that was broken in r1420

------------------------------------------------------------------------
r1421 | bjarni | 2005-01-08 01:05:24 +0000 (Sat, 08 Jan 2005) | 1 line

improved autoreplace multiheaded trains. It now remembers the current heading for an engine instead of turning all of them like the first one and the last the other way
------------------------------------------------------------------------
r1420 | darkvater | 2005-01-08 00:48:10 +0000 (Sat, 08 Jan 2005) | 1 line

-Fix: Console alias, load_game functionality and load fix (sign_de)
------------------------------------------------------------------------
r1419 | bjarni | 2005-01-08 00:22:11 +0000 (Sat, 08 Jan 2005) | 1 line

fixed issue where autoreplacing dualheaded trains turned the last engine the wrong way
------------------------------------------------------------------------
r1418 | darkvater | 2005-01-07 23:59:59 +0000 (Fri, 07 Jan 2005) | 1 line

-Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid)
------------------------------------------------------------------------
r1417 | dominik | 2005-01-07 18:13:56 +0000 (Fri, 07 Jan 2005) | 3 lines

Fix: The invisible tiles on the southern border are now converted to class MP_VOID when an old map (with wrong classified invisible tiles) is loaded.
I bumped the minor savegame version for that, even though it's not really necessary. We're not gonna run out of minor savegame versions anyway though. ;)

------------------------------------------------------------------------
r1416 | tron | 2005-01-07 17:47:29 +0000 (Fri, 07 Jan 2005) | 1 line

Print sensible information in SafeTileAdd() if gcc is used
------------------------------------------------------------------------
r1415 | tron | 2005-01-07 17:40:23 +0000 (Fri, 07 Jan 2005) | 3 lines

Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits from map.h into map.c.
Now the whole source except map.c is independent of TILE_[XY]_BITS!

------------------------------------------------------------------------
r1414 | tron | 2005-01-07 17:02:43 +0000 (Fri, 07 Jan 2005) | 1 line

Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
------------------------------------------------------------------------
r1413 | dominik | 2005-01-07 12:33:28 +0000 (Fri, 07 Jan 2005) | 2 lines

Fixed a serious memory leak problem. The invisible tiles on the southern border now have the correct tile type (MP_VOID) again. Please note that older maps might still have incorrect border tiles, thus still causing overflows.

------------------------------------------------------------------------
r1412 | celestar | 2005-01-07 09:51:16 +0000 (Fri, 07 Jan 2005) | 6 lines

-Feature/Fix: Aircraft refit options have been restricted to "sane"
values.
-Feature: aircraft can now be refitted "mail-only"
-Feature: Passengers aircraft now ignore the amount of mail for "full
load any" options

------------------------------------------------------------------------
r1411 | truelight | 2005-01-07 09:28:16 +0000 (Fri, 07 Jan 2005) | 2 lines

-Fix: structure packing in the OS/2 version (eg, with the old loader).

------------------------------------------------------------------------
r1410 | celestar | 2005-01-07 08:38:27 +0000 (Fri, 07 Jan 2005) | 1 line

Replaced all occurences of 'passanger' by 'passenger' in the code
------------------------------------------------------------------------
r1409 | tron | 2005-01-07 08:07:24 +0000 (Fri, 07 Jan 2005) | 1 line

Simplify some preprocessor magic
------------------------------------------------------------------------
r1408 | darkvater | 2005-01-06 22:50:48 +0000 (Thu, 06 Jan 2005) | 1 line

-Fix: uninitialized variable :)
------------------------------------------------------------------------
r1407 | truelight | 2005-01-06 22:31:58 +0000 (Thu, 06 Jan 2005) | 20 lines

-Codechange: changed a lot around _stations, _vehicles, _towns and _industries
 (in prepare of dynamic arrays):
  - DEREF_XXX is changed into GetXXX
  - All direct call are directed via GetXXX
  - struct Industry has now an index-field
  - ENUM'd some stuff
  - Replaced home built loops with FOR_ALL_XXX
  - Added _stations_size, _vehicles_size, ... which gives the length of the
    array (which will be dynamic in the near future)
  - Changed lengtof(XXX) to _XXX_size (e.g. _stations_size)
  - Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX)
  - Made the sort-functions of all 4 dynamic
  - Made all 4 Initialize functions more of the same
  - Some minor tab-fixing and stuff
  (tnx to Tron for proof-reading my 100kb patch ;))

  Note for all: please do NOT directly call _stations, _vehicles, _towns and
  _industries, but use the right wrapper to access them. Thank you.
  Ps: please also do not use 'v++', where v is of type Vehicle *.

------------------------------------------------------------------------
r1405 | bjarni | 2005-01-06 19:40:44 +0000 (Thu, 06 Jan 2005) | 1 line

Added half done Estonian translation (indrek)
------------------------------------------------------------------------
r1404 | darkvater | 2005-01-06 18:54:13 +0000 (Thu, 06 Jan 2005) | 1 line

-Fix: Company password no longer shares a widget with buying shares
------------------------------------------------------------------------
r1403 | miham | 2005-01-06 18:49:51 +0000 (Thu, 06 Jan 2005) | 1 line

Daily langfile updates (semi-automatic) [505 missing strings]
------------------------------------------------------------------------
r1402 | tron | 2005-01-06 18:45:28 +0000 (Thu, 06 Jan 2005) | 1 line

Trim trailing whitespace
------------------------------------------------------------------------
r1401 | truelight | 2005-01-06 17:40:57 +0000 (Thu, 06 Jan 2005) | 3 lines

-Fix: glitches in train-depot GUI (tnx to Hackykid)
-Fix: glitch in Company Overview GUI (Hackykid)

------------------------------------------------------------------------
r1400 | truelight | 2005-01-06 17:14:37 +0000 (Thu, 06 Jan 2005) | 2 lines

-Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight)

------------------------------------------------------------------------
r1399 | truelight | 2005-01-06 15:57:26 +0000 (Thu, 06 Jan 2005) | 7 lines

-Fix: Fixes for compiling with Watcom C/C++ (ie, OS/2 port). (orudge)
 Note: If people could watch out for initialising structs with
  *non-constants* in future... it's a bit annoying, I
  know, but Open Watcom isn't the only compiler which
  doesn't support this (yet) - Borland, for example,
  still doesn't like it.

------------------------------------------------------------------------
r1398 | darkvater | 2005-01-06 15:54:09 +0000 (Thu, 06 Jan 2005) | 1 line

-Feature: CTRL+V (Paste) now works on all editboxes. This includes 'Add Server', chat, etc. Feature is Windows only.
------------------------------------------------------------------------
r1397 | tron | 2005-01-06 12:34:22 +0000 (Thu, 06 Jan 2005) | 1 line

Add missing RESIZE_NONE
------------------------------------------------------------------------
r1396 | tron | 2005-01-06 11:39:00 +0000 (Thu, 06 Jan 2005) | 1 line

Introduce TileIndexDiffC - the compile time version of TileIndexDiff
------------------------------------------------------------------------
r1395 | tron | 2005-01-06 08:08:17 +0000 (Thu, 06 Jan 2005) | 1 line

Fix assertion when building road bridge
------------------------------------------------------------------------
r1393 | bjarni | 2005-01-05 19:28:10 +0000 (Wed, 05 Jan 2005) | 2 lines

fix [ 1096026 ]. Autorenew trains should now hopefully work like it did before autoreplace was added
DEREF_ENGINE is now used in autoreplace
------------------------------------------------------------------------
r1392 | tron | 2005-01-05 19:12:47 +0000 (Wed, 05 Jan 2005) | 1 line

Use TileOffsByDir() instead of home brewed table
------------------------------------------------------------------------