OpenTTD - http://www.openttd.org/ - with additional patches
Go to file
celestar 9a287d932d (svn r1495) -Fix: Loan does not count against the company value
-Feature: New companies receive a 5-year protection period
2005-01-13 09:55:32 +00:00
data (svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows 2005-01-04 14:54:27 +00:00
docs (svn r1453) Feature: MD5 hash check for TTD files 2005-01-10 01:14:26 +00:00
lang (svn r1495) -Fix: Loan does not count against the company value 2005-01-13 09:55:32 +00:00
makefiledir (svn r1274) Makefile: networking is not longer experimental 2004-12-24 00:33:41 +00:00
media (svn r1278) (Applied to trunk/ and branch/map/) 2004-12-25 20:59:11 +00:00
os (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). 2005-01-07 09:28:16 +00:00
scripts (svn r1077) Implements scripts/autoexec.scr to get executed on game starting (sign_de) 2004-12-13 22:13:02 +00:00
strgen (svn r1281) -Fix: the OS/2 is now finished. Fixes: 2004-12-27 10:40:04 +00:00
table (svn r1489) -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed both 2005-01-12 16:33:33 +00:00
ai_build.c (svn r1386) Move TileIndexDiff to map.h 2005-01-05 13:32:03 +00:00
ai_new.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
ai_pathfinder.c (svn r1475) Fix some more signed/unsigned comparison warnings 2005-01-10 22:14:35 +00:00
ai_shared.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
ai.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
ai.h (svn r1392) Use TileOffsByDir() instead of home brewed table 2005-01-05 19:12:47 +00:00
aircraft_cmd.c (svn r1440) -Feature: Allows more flexible airport layouts now, as the number of 2005-01-09 08:49:40 +00:00
aircraft_gui.c (svn r1478) -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. 2005-01-11 00:24:27 +00:00
airport_gui.c (svn r1435) Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator mode 2005-01-08 20:55:21 +00:00
airport_movement.h (svn r1440) -Feature: Allows more flexible airport layouts now, as the number of 2005-01-09 08:49:40 +00:00
airport.c (svn r1440) -Feature: Allows more flexible airport layouts now, as the number of 2005-01-09 08:49:40 +00:00
airport.h (svn r1440) -Feature: Allows more flexible airport layouts now, as the number of 2005-01-09 08:49:40 +00:00
aystar.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
aystar.h (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way! 2004-09-10 19:02:27 +00:00
bridge_gui.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
callback_table.c (svn r942) -Merged branch/network back into the trunk 2004-12-04 17:54:56 +00:00
callback_table.h (svn r942) -Merged branch/network back into the trunk 2004-12-04 17:54:56 +00:00
changelog.txt (svn r1269) - Updated changelog.txt and readme.txt for 0.3.5 2004-12-23 23:32:07 +00:00
clear_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
command.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
command.h (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
console_cmds.c (svn r1422) Fixed linux compiling, that was broken in r1420 2005-01-08 08:29:12 +00:00
console.c (svn r1484) -Fix: [1099197] scrolling through console sometimes crashed the whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de) 2005-01-11 23:39:21 +00:00
console.h (svn r1077) Implements scripts/autoexec.scr to get executed on game starting (sign_de) 2004-12-13 22:13:02 +00:00
COPYING
dedicated.c (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
disaster_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
dock_gui.c (svn r1435) Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator mode 2005-01-08 20:55:21 +00:00
dummy_land.c (svn r815) Include strings.h only in the files which need it. 2004-11-25 10:47:30 +00:00
economy.c (svn r1495) -Fix: Loan does not count against the company value 2005-01-13 09:55:32 +00:00
economy.h (svn r1291) -Codechange: prepared subsidies and towns to become an uint16 (happens 2004-12-28 17:40:15 +00:00
endian_check.c (svn r201) -Fix: [1025836] Company values bigger dan int32 were put to negative 2004-09-11 09:40:19 +00:00
engine_gui.c (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out 2005-01-03 19:45:18 +00:00
engine.c (svn r1456) Simplify isWagon(), make it static and give it a canonical name (IsWagon) 2005-01-10 08:25:43 +00:00
engine.h (svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code 2005-01-07 08:38:27 +00:00
extmidi.c (svn r518) Merge extmidi.c r441 to trunk: 2004-11-06 23:24:59 +00:00
fileio.c (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
fileio.h
functions.h (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
gfx.c (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
gfx.h (svn r1091) Fix: Finally station names use 100% the correct color in transparent mode 2004-12-14 20:54:01 +00:00
graph_gui.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
gui.h (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
hal.h (svn r1281) -Fix: the OS/2 is now finished. Fixes: 2004-12-27 10:40:04 +00:00
industry_cmd.c (svn r1443) Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set 2005-01-09 14:07:59 +00:00
industry_gui.c (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
industry.h (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
intro_gui.c (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out 2005-01-03 19:45:18 +00:00
known-bugs.txt (svn r1271) -Fix: set eol-style to native on missing files 2004-12-24 00:00:10 +00:00
landscape.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
langs.dsp (svn r1296) Cleanup for MSVC files (bociusz) 2004-12-29 11:00:34 +00:00
langs.vcproj (svn r1271) -Fix: set eol-style to native on missing files 2004-12-24 00:00:10 +00:00
lzoconf.h
macros.h (svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic 2005-01-09 17:55:11 +00:00
main_gui.c (svn r1487) -Fix: [1100736] wrong tooltip for place desert button 2005-01-12 11:50:41 +00:00
mainicon.ico
Makefile (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
map.c (svn r1449) -Fix: signed/unsigned error on windows 2005-01-09 18:59:16 +00:00
map.h (svn r1475) Fix some more signed/unsigned comparison warnings 2005-01-10 22:14:35 +00:00
md5.c (svn r1078) md5.c vc6 + vs.net fix for release builds (sign_de) 2004-12-13 22:19:37 +00:00
md5.h (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
minilzo.c
minilzo.h
misc_cmd.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
misc_gui.c (svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar) 2005-01-10 22:36:11 +00:00
misc.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
music_gui.c (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out 2005-01-03 19:45:18 +00:00
namegen.c (svn r1494) Give GetNumberBasedOnSeed() a bit more sane name: SeedChance() 2005-01-12 22:10:50 +00:00
network_client.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
network_client.h (svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' 2004-12-19 10:17:26 +00:00
network_core.h (svn r1281) -Fix: the OS/2 is now finished. Fixes: 2004-12-27 10:40:04 +00:00
network_data.c (svn r1389) -Add: [Network] Added packet protection. No longer a client or server 2005-01-05 14:39:48 +00:00
network_data.h (svn r1389) -Add: [Network] Added packet protection. No longer a client or server 2005-01-05 14:39:48 +00:00
network_gamelist.c (svn r1194) 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. 2004-12-20 22:14:39 +00:00
network_gamelist.h (svn r1194) 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. 2004-12-20 22:14:39 +00:00
network_gui.c (svn r1478) -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. 2005-01-11 00:24:27 +00:00
network_server.c (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it. 2005-01-10 14:43:00 +00:00
network_server.h (svn r1320) -Fix: fixed chat-bug (that from a certain moment, nobody could talk).. 1 2005-01-01 16:34:54 +00:00
network_udp.c (svn r1483) -Fix: don't close a socket if it is already closed (windows doesn't like 2005-01-11 15:52:18 +00:00
network_udp.h (svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled. 2004-12-23 00:24:44 +00:00
network.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
network.h (svn r1322) -Add: banning system (mostly tnx to guru3) 2005-01-02 12:03:43 +00:00
newgrf.c (svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code 2005-01-07 08:38:27 +00:00
newgrf.h (svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly. 2004-11-19 22:53:18 +00:00
news_gui.c (svn r1423) Fix: [ 1084074 ] Delayed news messages 2005-01-08 09:09:11 +00:00
news.h (svn r1167) 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. 2004-12-19 09:39:19 +00:00
oldloader.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
openttd.ico (svn r1471) -Alternate icon added, made by Dominik 2005-01-10 20:53:18 +00:00
openttd.tgt (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). 2005-01-07 09:28:16 +00:00
order_cmd.c (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
order_gui.c (svn r1493) -Codechange: Removed redundancy in the order GUI. Currently we had most 2005-01-12 22:09:21 +00:00
os2.c (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
pathfind.c (svn r1475) Fix some more signed/unsigned comparison warnings 2005-01-10 22:14:35 +00:00
pathfind.h (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
player_gui.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
player.h (svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) 2005-01-12 11:54:51 +00:00
players.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
queue.c (svn r1297) Language fixes in the source.. (ln-) 2004-12-29 13:13:29 +00:00
queue.h (svn r202) -Codechange: I missed some files with trailing spaces.. this should be 2004-09-11 09:55:19 +00:00
rail_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
rail_gui.c (svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar) 2005-01-10 22:36:11 +00:00
readme.txt (svn r1453) Feature: MD5 hash check for TTD files 2005-01-10 01:14:26 +00:00
resource.h (svn r202) -Codechange: I missed some files with trailing spaces.. this should be 2004-09-11 09:55:19 +00:00
road_cmd.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
road_gui.c (svn r1485) -Fix: [1031451] Catchment area shows when buying sign. Catchment area wasn't reset when road station window was unselected 2005-01-12 00:50:08 +00:00
roadveh_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
roadveh_gui.c (svn r1478) -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. 2005-01-11 00:24:27 +00:00
saveload.c (svn r1440) -Feature: Allows more flexible airport layouts now, as the number of 2005-01-09 08:49:40 +00:00
saveload.h (svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused 2005-01-09 18:49:18 +00:00
screenshot.c (svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader). 2005-01-07 09:28:16 +00:00
screenshot.h (svn r631) Merge r440, r444, r485, r630 to trunk: 2004-11-15 19:25:59 +00:00
sdl.c (svn r1388) Feature: [SDL] Show revision number in window title 2005-01-05 14:20:23 +00:00
settings_gui.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
settings.c (svn r1452) Fixed missing option from settings.c (Simen Graaten) 2005-01-09 21:39:49 +00:00
settings.h (svn r1215) Feature: You can now make a custom currency by chosing "Custom..." 2004-12-22 13:19:26 +00:00
ship_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
ship_gui.c (svn r1478) -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. 2005-01-11 00:24:27 +00:00
signs.c (svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) 2005-01-12 11:54:51 +00:00
signs.h (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
smallmap_gui.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
sound.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
sound.h (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk 2004-11-05 23:12:33 +00:00
sprite.c (svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky) 2004-11-17 08:52:47 +00:00
sprite.h (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
spritecache.c (svn r1458) -Fix: remove byte *s again for windows. 2005-01-10 10:38:02 +00:00
station_cmd.c (svn r1472) -Fix: correct error message for when trying to build a railroad station over a bus/truck/etc-station. 2005-01-10 21:52:35 +00:00
station_gui.c (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
station.h (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
StdAfx.c
stdafx.h (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
strings.c (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it. 2005-01-10 14:43:00 +00:00
subsidy_gui.c (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
svnup.sh (svn r504) The Bourne Shell ist spelled 'sh', not 'bash'; even if there is a 'bash', on most systems it's not in /bin 2004-11-03 21:50:21 +00:00
terraform_gui.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
texteff.c (svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows 2005-01-03 08:50:44 +00:00
town_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
town_gui.c (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
town.h (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries 2005-01-06 22:31:58 +00:00
train_cmd.c (svn r1445) -Fix: reversing a train also reverses the UP and DOWN status for the 2005-01-09 16:02:06 +00:00
train_gui.c (svn r1478) -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. 2005-01-11 00:24:27 +00:00
tree_cmd.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
ttd.c (svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) 2005-01-12 11:54:51 +00:00
ttd.dsp (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
ttd.dsw
ttd.h (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
ttd.rc (svn r1471) -Alternate icon added, made by Dominik 2005-01-10 20:53:18 +00:00
ttd.sln
ttd.vcproj (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
tunnelbridge_cmd.c (svn r1451) Fix some of the signed/unsigned comparison warnings 2005-01-09 21:25:44 +00:00
unix.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
unmovable_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
variables.h (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
vehicle_gui.c (svn r1460) -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. 2005-01-10 12:14:15 +00:00
vehicle_gui.h (svn r1323) Adding autoreplace feature 2005-01-02 17:23:04 +00:00
vehicle.c (svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused 2005-01-09 18:49:18 +00:00
vehicle.h (svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused 2005-01-09 18:49:18 +00:00
viewport.c (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for 2005-01-12 11:21:28 +00:00
viewport.h (svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, not some arbitrary data types 2005-01-03 21:29:59 +00:00
w32dm2.cpp (svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc). 2004-09-12 22:03:14 +00:00
w32dm.c (svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc). 2004-09-12 22:03:14 +00:00
water_cmd.c (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY] 2005-01-07 17:02:43 +00:00
widget.c (svn r1402) Trim trailing whitespace 2005-01-06 18:45:28 +00:00
win32.c (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00
window.c (svn r1481) -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin) 2005-01-11 12:15:08 +00:00
window.h (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) 2005-01-11 00:54:06 +00:00

OpenTTD README
Last updated:    $LastChangedDate: 2004-12-24 00:25:11 +0100 $
Release version: 0.3.5
------------------------------------------------------------------------


Table of Contents:
------------------
1.0) About
2.0) Contacting
 * 2.1 Reporting Bugs
3.0) Supported Platforms
4.0) Running OpenTTD
5.0) OpenTTD features
6.0) Configuration File
7.0) Compiling
8.0) Translating
 * 8.1 Guidelines
 * 8.2 Translation
 * 8.3 Previewing
X.X) Credits


1.0) About:
---- ------
OpenTTD is a clone of Transport Tycoon Deluxe, a popular game originally
written by Chris Sawyer.  It attempts to mimic the original game as closely
as possible while extending it with new features.


2.0) Contacting:
---- ----------
The easiest way to contact the OpenTTD team is by submitting bug reports or
posting comments in our forums. You can also chat with us on IRC (#openttd
on irc.freenode.net).

The OpenTTD homepage is http://www.openttd.org/.

You can find a forum for OpenTTD at
http://www.tt-forums.net/index.php?c=20


2.1) Reporting Bugs:
---- ---------------
To report a bug, please create a SourceForge account and follow the bugs
link from our homepage. Please make sure the bug is reproducible and
still occurs in the latest daily build or the current SVN version. Also
please look through the existing bug reports briefly to see whether the bug
is not already known.

The SourceForge project page URL is: http://sourceforge.net/projects/openttd/
Click on "Bugs" to see the bug tracker.

Please include the following information in your bug report:
        - OpenTTD version (PLEASE test the latest SVN/daily build)
        - Bug details, including instructions how to reproduce it
        - Platform and compiler (Win32, Linux, FreeBSD, ...)
        - Attach a save game or a screenshot if possible
        - If this bug only occurred recently please note the last
          version without the bug and the first version including
          the bug. That way we can fix it quicker by looking at the
          changes made.


3.0) Supported Platforms:
---- --------------------
OpenTTD has been ported to several platforms and operating systems. It shouldn't
be very difficult to port it to a new platform. The currently working platforms
are:

	Windows - Win32 GDI (faster) or SDL
	Linux - SDL
	FreeBSD - SDL
	MacOS - SDL
	BeOS - SDL
	MorphOS - SDL


4.0) Running OpenTTD:
---- ----------------

Before you run OpenTTD, you need to put the game's datafiles into the data/
subdirectory. You need the following files from the original version
of TTD as OpenTTD makes use of the original TTD artwork.

List of the required files:
sample.cat
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf

(Alternatively you can use the TTD GRF files from the DOS version: TRG1.GRF,
TRGC.GRF, TRGH.GRF, TRGI.GRF, TRGT.GRF. A few minor graphical glitches with 
the DOS graphics remain. E.g. the autorail button in the rail toolbar doesn't 
look as nice as with the Windows graphics.)

If you want music you need to copy the gm/ folder from Windows TTD into your
OpenTTD folder, not your data folder.

You can change the data path (which contains savegames as well) in Makefile.config
by setting DATA_DIR_PREFIX and USE_HOMEDIR.


5.0) OpenTTD features:
---- -----------------

OpenTTD has a lot of features going beyond the original TTD emulation.
Currently there is unfortunately no comprehensive list of features. You could
check the features list on the web, and some optional features can be
controlled through the Configure patches dialog. We also implement some
features known from TTDPatch (http://www.ttdpatch.net/).

Several important non-standard controls:

* Use Ctrl to place presignals
* Ctrl-d toggles double mode on win32
* Ingame console. More information at http://wiki.openttd.org/index.php/OpenTTDDevBlackBook


6.0) Configuration File:
---- -------------------
The configuration file for OpenTTD (openttd.cfg) is in a simple windows-like
.INI format. It's mostly undocumented.


7.0) Compiling:
---- ----------
Windows:
  You need Microsoft Visual Studio 6 or .NET. Open the project file
  and it should build automatically. In case you don't build with SDL,
  you need to remove WITH_SDL from the project settings.
  (see also docs/Readme_Windows_MSVC6.0.txt)

  You can also build it using the Makefile with MSys/MingW or Cygwin/MingW.
  Please read the Makefile for more information.

Unix:
  OpenTTD can be built either with "make" or with "jam". To build with
  "make", just type "make", or "gmake" on non-gnu systems. To build with "jam",
  first run "./configure" and then "jam". Note that you need SDL to compile
  OpenTTD.
  (see also docs/Readme_Mandrake_Linux.txt)

MacOS:
  Use "make".

BeOS:
  Use "jam".

FreeBSD
  Use "gmake".

MorphOS
  Use "make". Note that you need the MorphOS SDK and the
  powersdl.library SDK.

8.0) Translating:
---- -------------------
See http://www.openttd.org/translating.php for up-to-date information.

The use of the online Translator service, located at http://translator.openttd.org.
For a username password combo you should contact the development team, either by mail, irc
or the forums. The system is straight-forward to use, if you have any troubles, read the
online help located there.

If for some reason the website is down for a longer period of time, the information below
might be of help.

8.1) Guidelines:
---- -------------------
Here are some translation guidelines which you should follow closely.

    * Please contact the development team before begining the translation process!
      This avoids double work, as someone else may have already started translating to the same language.
    * Translators must use the charater set ISO 8859-15.
      Otherwise, some characters will not display correctly in the game.

8.2) Translation:
---- -------------------
So, now that you've notified the development team about your intention to translate
(You did, right? Of course you did.) you can pick up english.txt (found in the SVN repository
under /lang) and translate.

You must change the first two lines of the file appropriately:

##name English-Name-Of-Language
##ownname Native-Name-Of-Language

Note: Do not alter the following parts of the file:

    * String identifiers (the first word on each line)
    * Parts of the strings which are in curly braces (such as {STRING})
    * Lines beginning with ## (such as ##id), other than the first two lines of the file

8.3) Previewing:
---- -------------------
In order to view the translation in the game, you need to compile your language file
with the strgen utility, which is now bundled with the game.

strgen is a command-line utility. It takes the language filename as parameter.
Example:

strgen lang/german.txt

This results in compiling german.txt and produces another file named german.lng.
Any missing strings are replaced with the english strings. Note that it looks for english.txt
in the lang subdirectory, which is where your language file should also be.

That's all! You should now be able to select the language in the game options.


X.X) Credits:
---- --------
The OpenTTD team:
  Dominik Scherer (dominik81)    - Lead coder
  Tamas Farago (Darkvater)       - Lead coder
  Patric Stout (TrueLight)       - Coder, network guru, SVN-repository and website host
  Owen Rudge (orudge)            - Contributor, forum host, masterserver host
  Bjarni Corfitzen (Bjarni)      - MacOS port
  Kerekes Miham (MiHaMiX)        - Maintainer of translator service, and host of nightlies
  Cian Duffy (MYOB)              - BeOS port / manual writing
  Christian Rosentreter (tokaiz) - MorphOS / AmigaOS port
  Ludvig Strigeus (ludde)        - OpenTTD author, main coder (0.1 - 0.3.3)
  Serge Paquet (vurlix)          - Assistant project manager, coder (0.1 - 0.3.3)

Thanks to:
  Josef Drexler - For his great work on TTDPatch.
  Marcin Grzegorczyk - For his TTDPatch work and documentation of TTD internals and graphics (signals and track foundations)
  Mike Ragsdale - OpenTTD installer
  Celestar - For his many patches, suggestions and fixes
  blathijs - For his many patches, suggestions and code documentation
  Tron - For his many patches, suggestions and relentless correcting of the code
  Stefan Mei<65>ner (sign_de) - For his work on the console
  pasky - Many patches, newgrf support, etc.
  Michael Polnick - Some patches
  Michael Blunck - Nice graphics
  George - Canal graphics
  All Translators - For their support to make OpenTTD a truly international game
  Bug Reporters - Thanks for all bug reports
  Chris Sawyer - For an amazing game!