------------------------------------------------------------------------
r1206 | dominik | 2004-12-21 18:30:51 +0000 (Tue, 21 Dec 2004) | 2 lines

Fix: Polished build docks window a bit.

------------------------------------------------------------------------
r1205 | dominik | 2004-12-21 17:41:12 +0000 (Tue, 21 Dec 2004) | 2 lines

Fix: Made the network window a bit wider, so that other languages don't have overlapping strings

------------------------------------------------------------------------
r1204 | truelight | 2004-12-21 17:31:10 +0000 (Tue, 21 Dec 2004) | 2 lines

-Add: [Network] Added some cheaters-protection (money-cheat mostly)

------------------------------------------------------------------------
r1203 | truelight | 2004-12-21 17:12:20 +0000 (Tue, 21 Dec 2004) | 4 lines

-Fix: the pathfinder no longer sees rail with an other owner as a 
possible route. This also makes sure signals don't show red because 
there is a train on the track of an other owner.

------------------------------------------------------------------------
r1202 | truelight | 2004-12-21 16:56:43 +0000 (Tue, 21 Dec 2004) | 2 lines

-Fix: removed unused variable

------------------------------------------------------------------------
r1201 | truelight | 2004-12-21 16:54:46 +0000 (Tue, 21 Dec 2004) | 2 lines

-Fix: I forgot to add a * in r1183 ;)

------------------------------------------------------------------------
r1200 | truelight | 2004-12-21 16:17:27 +0000 (Tue, 21 Dec 2004) | 4 lines

-Fix: Fixed bug pointed out by Tron: when a train is on the 
road/rail-crossing, and you let an other train drive towards it, reverse 
it, the lights no longer go off.

------------------------------------------------------------------------
r1199 | truelight | 2004-12-21 16:02:14 +0000 (Tue, 21 Dec 2004) | 4 lines

-Fix: [ 958098 ] No longer road/rail crossing signals hang when a train 
is reversed at the wrong moment (Yeah, our longest open bug finally 
fixed :) :) :))

------------------------------------------------------------------------
r1198 | truelight | 2004-12-21 16:00:14 +0000 (Tue, 21 Dec 2004) | 4 lines

-Fix: [ 1087701 ] It is no longer possible to crash trains of other 
companies by building a depot close to a station. (even more: trains do 
no longer enter tiles that do not belong to his owner)

------------------------------------------------------------------------
r1197 | truelight | 2004-12-21 14:54:27 +0000 (Tue, 21 Dec 2004) | 3 lines

-Fix: [GUI] in r1194 someone deleted too much code from WE_KEYPRESS. Now 
you can change your player-name in the GUI again :)

------------------------------------------------------------------------
r1196 | truelight | 2004-12-21 14:42:06 +0000 (Tue, 21 Dec 2004) | 2 lines

-Fix: Preview Vehicle had a small glitch. Fixed now.

------------------------------------------------------------------------
r1195 | miham | 2004-12-21 14:35:19 +0000 (Tue, 21 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1194 | dominik | 2004-12-20 22:14:39 +0000 (Mon, 20 Dec 2004) | 2 lines

Feature: You can now add and remove servers from the server list. Those will be remembered until you delete them by pressing the Delete key.

------------------------------------------------------------------------
r1189 | tron | 2004-12-20 18:11:22 +0000 (Mon, 20 Dec 2004) | 1 line

Fix vehicle list update glitch when moving waggons in depots
------------------------------------------------------------------------
r1188 | truelight | 2004-12-20 16:35:16 +0000 (Mon, 20 Dec 2004) | 4 lines

-Fix: [Network] Fixed that CTRL+<key> could sometimes hang a dedicated 
server till enter was pressed. CTRL+D after a random key still does hang 
the dedicated server till enter is pressed.

------------------------------------------------------------------------
r1187 | truelight | 2004-12-20 16:15:19 +0000 (Mon, 20 Dec 2004) | 3 lines

-Fix: [Network] You can no longer join as spectator a game with no 
companies (a lot of code can simply not handle it)

------------------------------------------------------------------------
r1186 | truelight | 2004-12-20 16:02:01 +0000 (Mon, 20 Dec 2004) | 3 lines

-Fix: [Network] You can now join a company on a server where a company 
went bankrupt, without joining the wrong company (or even failing to do so)

------------------------------------------------------------------------
r1185 | truelight | 2004-12-20 15:26:19 +0000 (Mon, 20 Dec 2004) | 2 lines

-Fix: [Network] Send to team now results in correct company on the sender

------------------------------------------------------------------------
r1184 | truelight | 2004-12-20 15:25:39 +0000 (Mon, 20 Dec 2004) | 3 lines

-Fix: [Network] %p as chat message no longer gives funny result (tnx to 
GeniusDex (that makes 10 ;)))

------------------------------------------------------------------------
r1183 | truelight | 2004-12-20 14:38:28 +0000 (Mon, 20 Dec 2004) | 3 lines

-Fix: Newsmessage-validation-pointer was never reset, causing some nasty 
crashes (tnx to GeniusDex for the clear backtrace)

------------------------------------------------------------------------
r1182 | truelight | 2004-12-20 14:37:52 +0000 (Mon, 20 Dec 2004) | 2 lines

-Fix: Makefile had a small glitch, making it impossible to compile the game (Oskar_)

------------------------------------------------------------------------
r1181 | miham | 2004-12-20 12:38:33 +0000 (Mon, 20 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1180 | bjarni | 2004-12-19 23:27:20 +0000 (Sun, 19 Dec 2004) | 1 line

Makefile: fixed dependancies so the flag -j can be used. It makes the compilation process into more than one job which makes it able to benefit from multiple CPUs. Using -j without setting a limit of jobs (like -j2) is not a great idea (thanks to ln-- for reporting the need for this one)
------------------------------------------------------------------------
r1179 | dominik | 2004-12-19 22:23:32 +0000 (Sun, 19 Dec 2004) | 3 lines

Fix: Tooltips for vehicle list sorting
This has gotta be the greatest kick for Moriarty!

------------------------------------------------------------------------
r1178 | dominik | 2004-12-19 22:17:27 +0000 (Sun, 19 Dec 2004) | 2 lines

Fix: Error message for building canals on slopes is correct

------------------------------------------------------------------------
r1177 | tron | 2004-12-19 21:03:16 +0000 (Sun, 19 Dec 2004) | 1 line

Enable non-stop flag for waypoints
------------------------------------------------------------------------
r1176 | truelight | 2004-12-19 19:17:15 +0000 (Sun, 19 Dec 2004) | 2 lines

-Fix: [Network] PlayerBasedMenu's caused crashes when a company went bankrupt

------------------------------------------------------------------------
r1175 | truelight | 2004-12-19 16:26:45 +0000 (Sun, 19 Dec 2004) | 4 lines

-Fix: [ 1086375 ] Backup-order-list was not closed with an OT_NOTHING, 
resulting in order-lists mixing together (maybe tnx to Darkvater, not 
sure though..)

------------------------------------------------------------------------
r1174 | truelight | 2004-12-19 15:14:55 +0000 (Sun, 19 Dec 2004) | 2 lines

-Fix: [Network] All strings can now be translated (no more hardcoded strings)

------------------------------------------------------------------------
r1173 | truelight | 2004-12-19 14:42:17 +0000 (Sun, 19 Dec 2004) | 3 lines

-Fix: [Network] Console input in dedicated server for windows was not 
working (Hackykid)

------------------------------------------------------------------------
r1172 | truelight | 2004-12-19 14:08:29 +0000 (Sun, 19 Dec 2004) | 2 lines

-Fix: [Network] Pressing CTRL+C in dedicated server now closed the server

------------------------------------------------------------------------
r1171 | dominik | 2004-12-19 13:28:09 +0000 (Sun, 19 Dec 2004) | 2 lines

Fix: Console hotkey works again on keyboards where this key is a deadkey.

------------------------------------------------------------------------
r1170 | dominik | 2004-12-19 13:06:20 +0000 (Sun, 19 Dec 2004) | 2 lines

Fix: news_gui.c should compile everywhere without warnings now.

------------------------------------------------------------------------
r1169 | truelight | 2004-12-19 10:24:45 +0000 (Sun, 19 Dec 2004) | 3 lines

-Fix: [Network] [ 1087591 ] When you want to be a spectator, you now 
stay a spectator even if someone else joins.

------------------------------------------------------------------------
r1168 | truelight | 2004-12-19 10:17:26 +0000 (Sun, 19 Dec 2004) | 4 lines

-Cleanup: [Network] Cleaned the network code a bit. Added 'const' 
and 'void' where needed, prefixed all functions, typedefs and global 
vars with 'Network' and organized all externals nicely.

------------------------------------------------------------------------
r1167 | dominik | 2004-12-19 09:39:19 +0000 (Sun, 19 Dec 2004) | 2 lines

Feature: Added the possibility to add validation functions to NewsItems. This is now done for "Train in depot" messages. Before displaying such a message, it checks if the train really still is in the depot. Can be applied to other news items as well.

------------------------------------------------------------------------
r1166 | dominik | 2004-12-19 09:33:02 +0000 (Sun, 19 Dec 2004) | 2 lines

Fix: [ 1040119 ] Flooded wagons in depots don't keep constantly exploding any more

------------------------------------------------------------------------
r1165 | dominik | 2004-12-19 09:31:35 +0000 (Sun, 19 Dec 2004) | 2 lines

Fix: [ 1085255 ] Docks now have a button to display the catchment area

------------------------------------------------------------------------
r1164 | dominik | 2004-12-19 09:30:05 +0000 (Sun, 19 Dec 2004) | 2 lines

Redid fix from revision 1163 to work with all patch settings

------------------------------------------------------------------------
r1163 | dominik | 2004-12-18 21:11:45 +0000 (Sat, 18 Dec 2004) | 2 lines

Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more

------------------------------------------------------------------------
r1162 | dominik | 2004-12-18 18:58:03 +0000 (Sat, 18 Dec 2004) | 2 lines

The server list can now be automatically filled from the config file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.

------------------------------------------------------------------------
r1161 | tron | 2004-12-18 18:19:49 +0000 (Sat, 18 Dec 2004) | 1 line

Don't make redundant GetAirport() calls, use the cached value
------------------------------------------------------------------------
r1160 | truelight | 2004-12-18 18:13:37 +0000 (Sat, 18 Dec 2004) | 2 lines

-Fix: redid revision 1159. pid_t should not be defined under windows.

------------------------------------------------------------------------
r1159 | darkvater | 2004-12-18 18:05:56 +0000 (Sat, 18 Dec 2004) | 1 line

-Fix: pid_t was unknown to windows; typedeffed to int.
------------------------------------------------------------------------
r1158 | tron | 2004-12-18 17:31:02 +0000 (Sat, 18 Dec 2004) | 1 line

Make network compile on SunOS
------------------------------------------------------------------------
r1157 | dominik | 2004-12-18 16:00:10 +0000 (Sat, 18 Dec 2004) | 2 lines

Enhanced the config file (openttd.cfg) to use another section type. "List sections" as opposed to "variable sections" contain a list of values, separated by a new line. This is now used for the [newgrf] group. You have to edit each line in this section from e.g. "0 = firstset.grf" to only "firstset.grf".

------------------------------------------------------------------------
r1154 | truelight | 2004-12-18 14:19:21 +0000 (Sat, 18 Dec 2004) | 2 lines

-Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex)

------------------------------------------------------------------------
r1153 | truelight | 2004-12-18 13:38:27 +0000 (Sat, 18 Dec 2004) | 3 lines

-Fix: FindCatchmentRadius is now a function that uses the enums instead 
of magic numbers (tnx to Stumo)

------------------------------------------------------------------------
r1152 | truelight | 2004-12-18 13:15:41 +0000 (Sat, 18 Dec 2004) | 2 lines

-Add: [Network] Added signal handling (GeniusDex)

------------------------------------------------------------------------
r1151 | tron | 2004-12-18 12:46:29 +0000 (Sat, 18 Dec 2004) | 1 line

Fix last commit |:
------------------------------------------------------------------------
r1150 | tron | 2004-12-18 12:40:34 +0000 (Sat, 18 Dec 2004) | 4 lines

Fixes:
- Don't crash when building or destroying airport without depots (bugs were latent before r1149)
- Delete all hangar windows when destroying an airport, not just the first one (before r1149 none where deleted)

------------------------------------------------------------------------
r1149 | tron | 2004-12-18 12:19:04 +0000 (Sat, 18 Dec 2004) | 1 line

Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch)
------------------------------------------------------------------------
r1148 | dominik | 2004-12-17 23:32:54 +0000 (Fri, 17 Dec 2004) | 1 line

Fix: The console hotkey is finally working properly on all keyboards. It's the key on the top left corner
------------------------------------------------------------------------
r1146 | truelight | 2004-12-17 17:06:20 +0000 (Fri, 17 Dec 2004) | 2 lines

-Fix: You can no longer change waypoints whom are owned by somebody else 

------------------------------------------------------------------------
r1145 | tron | 2004-12-17 09:02:41 +0000 (Fri, 17 Dec 2004) | 1 line

Remove stray line which crept in in last commit
------------------------------------------------------------------------
r1144 | tron | 2004-12-17 09:01:24 +0000 (Fri, 17 Dec 2004) | 1 line

Don't rely on sizeof() to determine the map size, use MapSize() instead
------------------------------------------------------------------------
r1143 | miham | 2004-12-17 04:42:55 +0000 (Fri, 17 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1137 | truelight | 2004-12-16 15:51:18 +0000 (Thu, 16 Dec 2004) | 3 lines

-Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows really 
does not like strncpy for some silly reason.

------------------------------------------------------------------------
r1136 | truelight | 2004-12-16 15:35:19 +0000 (Thu, 16 Dec 2004) | 2 lines

-Fix: [Network] Revision check on windows-servers is working now

------------------------------------------------------------------------
r1135 | truelight | 2004-12-16 14:57:25 +0000 (Thu, 16 Dec 2004) | 2 lines

-Fix: added map.c/h to vc6 project file (bociusz)

------------------------------------------------------------------------
r1131 | truelight | 2004-12-16 13:59:23 +0000 (Thu, 16 Dec 2004) | 9 lines

-Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off'). 
When enabled, empty companies (companies with no active clients) with no 
 password are declared bankrupt after 1 year of emptyness.
For empty companies with password, the password is removed after 3 years 
 of emptyness.
The delay of removing company/password can be configured via:
 - 'set autoclean_protected <months>'
 - 'set autoclean_unprotected <months>'

------------------------------------------------------------------------
r1130 | tron | 2004-12-16 12:30:13 +0000 (Thu, 16 Dec 2004) | 1 line

Add helper functions to query map size
------------------------------------------------------------------------
r1129 | truelight | 2004-12-16 11:36:57 +0000 (Thu, 16 Dec 2004) | 4 lines

-Add: [Network] Added 'reset_company <company-id>'. If a company is 
empty (no clients logged on to it), a server can delete a company via 
this command in the console.

------------------------------------------------------------------------
r1128 | truelight | 2004-12-16 11:36:00 +0000 (Thu, 16 Dec 2004) | 2 lines

-Fix: [Network] Going bankrupt of human-players was corrupted in networkgames

------------------------------------------------------------------------
r1127 | truelight | 2004-12-16 11:35:08 +0000 (Thu, 16 Dec 2004) | 3 lines

-Fix: [Network] Protect the network against an illegal PLAYER_CTRL (in 
which a modified client could, for example, delete a random active company)

------------------------------------------------------------------------
r1126 | truelight | 2004-12-16 11:12:59 +0000 (Thu, 16 Dec 2004) | 3 lines

-Fix: [Network] Pressing Disconnect on the GUI puts you back to the 
main-menu (so you no longer stay ingame (if you were))

------------------------------------------------------------------------
r1125 | truelight | 2004-12-16 11:09:00 +0000 (Thu, 16 Dec 2004) | 2 lines

-Fix: [Network] You can now safely join a company again

------------------------------------------------------------------------
r1124 | truelight | 2004-12-16 11:04:43 +0000 (Thu, 16 Dec 2004) | 3 lines

-Fix: [Network] Also the server now has the option Give Money in 
ClientList (tnx to teeone for reporting)

------------------------------------------------------------------------
r1121 | darkvater | 2004-12-15 23:33:04 +0000 (Wed, 15 Dec 2004) | 2 lines

-Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)
-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
------------------------------------------------------------------------
r1119 | miham | 2004-12-15 22:50:20 +0000 (Wed, 15 Dec 2004) | 1 line

Fixed url in manpage
------------------------------------------------------------------------
r1118 | matthijs | 2004-12-15 22:46:53 +0000 (Wed, 15 Dec 2004) | 3 lines

* Added a minimal manpage with references to where to get real info
* Specified installation locations in the os/debian/rules script so it works now.

------------------------------------------------------------------------
r1117 | tron | 2004-12-15 22:18:54 +0000 (Wed, 15 Dec 2004) | 1 line

Move map arrays and some related macros into their own files map.c and map.h
------------------------------------------------------------------------
r1116 | truelight | 2004-12-15 22:06:47 +0000 (Wed, 15 Dec 2004) | 3 lines

-Add: [Console] With 'set server_advertise on/off' you can put server 
advertise on/off via console (requested by imachine)

------------------------------------------------------------------------
r1115 | tron | 2004-12-15 22:05:40 +0000 (Wed, 15 Dec 2004) | 1 line

Put every source file on an extra line
------------------------------------------------------------------------
r1114 | miham | 2004-12-15 21:54:13 +0000 (Wed, 15 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1113 | truelight | 2004-12-15 21:54:07 +0000 (Wed, 15 Dec 2004) | 5 lines

-Add: [Network] Added the GUI part for server advertising. When you go 
to Start Server, you can select by connection: 'Internet (advertise)'. 
When selected, the server will announce itself to the server-list at 
http://servers.openttd.org (when finished)

------------------------------------------------------------------------
r1112 | truelight | 2004-12-15 21:45:44 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: _decode_parameters was increased to [20], but not all temp-dparams were

------------------------------------------------------------------------
r1111 | darkvater | 2004-12-15 21:45:05 +0000 (Wed, 15 Dec 2004) | 1 line

-Fix: Some language file fixes. Added a space in 'company information' and fixed most not-same-format as english.txt problems. Some are remaining because they need translations.
------------------------------------------------------------------------
r1110 | darkvater | 2004-12-15 21:30:20 +0000 (Wed, 15 Dec 2004) | 1 line

-Fix: Empty console commands were executed and returned error message (sign_de for GeniusDex)
------------------------------------------------------------------------
r1109 | tron | 2004-12-15 21:25:33 +0000 (Wed, 15 Dec 2004) | 1 line

Fix c&p bug: In vehicle lists a name was displayed for road vehicles even if they had none
------------------------------------------------------------------------
r1108 | truelight | 2004-12-15 21:13:52 +0000 (Wed, 15 Dec 2004) | 7 lines

-Fix: [Network] Fixed problem around slow clients:
  They joined, they got the map, but it took some time before the new 
player was created. In this time a player could do stuff, causing a 
player-id-mismatch, and the player was kicked out. Now a player get's a 
nice GUI which says: registering.. When that is gone, the player is 
joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)

------------------------------------------------------------------------
r1107 | truelight | 2004-12-15 20:24:26 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: [Network] A spectator can no longer buy/sell shares of companies

------------------------------------------------------------------------
r1106 | truelight | 2004-12-15 20:10:34 +0000 (Wed, 15 Dec 2004) | 3 lines

-Add: [Network] Added master-server protocol and advertise to 
master-server option. No GUI yet, and disabled by default (it still is WIP)

------------------------------------------------------------------------
r1104 | darkvater | 2004-12-15 20:08:01 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: nasty server crash buffer overflow problem when using release build. Big thanks to Truelight for the guidance in fixing this very annoying bug!
-VS.NET now treats warnings as errors too in the release build.
------------------------------------------------------------------------
r1102 | truelight | 2004-12-15 17:40:12 +0000 (Wed, 15 Dec 2004) | 3 lines

-Fix: [Console] 'set server_pw' was acting crazy when you typed more 
chars then it could take

------------------------------------------------------------------------
r1101 | truelight | 2004-12-15 17:31:18 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: [Console] Removed magic numbers

------------------------------------------------------------------------
r1100 | truelight | 2004-12-15 17:24:10 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: [Console] 'set company_pw' is now working again (Hackykid)

------------------------------------------------------------------------
r1098 | darkvater | 2004-12-15 16:51:55 +0000 (Wed, 15 Dec 2004) | 1 line

-Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
------------------------------------------------------------------------
r1096 | truelight | 2004-12-15 15:19:51 +0000 (Wed, 15 Dec 2004) | 4 lines

-Fix: [Network] PlayAs is now registered correctly
-Codewise: [Network] Cleaned some code, removed some comment, changed 
some wrong comment

------------------------------------------------------------------------
r1095 | darkvater | 2004-12-15 11:42:05 +0000 (Wed, 15 Dec 2004) | 2 lines

-Fix: scenario editor road-build-gui works again altough shortcuts are screwed.
-Feature: Pressing enter on 'Abandon Game' returns to main menu (one less click \o/)
------------------------------------------------------------------------
r1094 | miham | 2004-12-15 10:56:33 +0000 (Wed, 15 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1093 | darkvater | 2004-12-15 00:31:08 +0000 (Wed, 15 Dec 2004) | 1 line

-Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
------------------------------------------------------------------------
r1092 | dominik | 2004-12-14 21:56:01 +0000 (Tue, 14 Dec 2004) | 1 line

Fix: Autorail can be accessed with the 'a' hotkey again
------------------------------------------------------------------------
r1091 | dominik | 2004-12-14 20:54:01 +0000 (Tue, 14 Dec 2004) | 1 line

Fix: Finally station names use 100% the correct color in transparent mode
------------------------------------------------------------------------
r1090 | truelight | 2004-12-14 20:27:00 +0000 (Tue, 14 Dec 2004) | 6 lines

-Fix: Made the _openttd_revision variable global, and with that 
hopefully killed the windows-revision problem. If WITH_REV is defined, 
for both Windows as *nix system _openttd_revision is filled with normal 
info, else _openttd_revision is set to 'norev000'
-Fix: Small possible server-crash

------------------------------------------------------------------------
r1089 | miham | 2004-12-14 20:21:52 +0000 (Tue, 14 Dec 2004) | 1 line

Daily langfile updates (automatic)
------------------------------------------------------------------------
r1088 | dominik | 2004-12-14 19:47:35 +0000 (Tue, 14 Dec 2004) | 2 lines

Strings cleanup. Renamed some strings to reflect their content.

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