OpenTTD - http://www.openttd.org/ - with additional patches
Go to file
2006-12-22 13:16:40 +00:00
ai (svn r7494) -Fix: Really disable AI's in Multiplayer if you tell it so. In loaded games with 2006-12-13 22:38:45 +00:00
data (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 2006-10-31 13:55:38 +00:00
docs (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
lang (svn r7524) -Fix: remove empty strings that should not have been empty from the Ukrainian language file. 2006-12-21 10:41:10 +00:00
makefiledir (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
media
music
openttd.xcode
os (svn r7533) -Codechange [Debian]: Update debian packaging files 2006-12-21 14:44:19 +00:00
scenario
scripts
sound
strgen (svn r7540) -Codechange: Print a summary of the number of errors/warnings of a language when strgen is run with the -w flag. 2006-12-22 01:18:56 +00:00
table (svn r7476) -Fix (6965): the paper mill belongs in the Sub-Arctic (LT_HILLY) and not the Tropic (LT_DESERT) climate. 2006-12-11 12:32:23 +00:00
video (svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions. 2006-12-03 17:42:56 +00:00
yapf (svn r7255) -Comments added for CBlobBaseSimple, CBlobT classes 2006-11-24 21:37:08 +00:00
aircraft_cmd.c (svn r7389) -Fix: when forcing a vehicle to go to a depot, clear refit orders from current orders (caused refit error popup when not having no orders) 2006-12-05 23:57:04 +00:00
aircraft_gui.c (svn r7142) -Fix: disable clone button in vehicle view for not owned vehicles (was already done for trains) 2006-11-14 00:02:02 +00:00
aircraft.h (svn r6644) -Fix(r6637): remove inline to allow MSVC compilation 2006-10-05 02:26:27 +00:00
airport_gui.c (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 2006-11-22 16:08:01 +00:00
airport_movement.h (svn r6770) -Codechange: Make the airport checking a bit stricter...fix unnoticed errors: 2006-10-14 10:26:13 +00:00
airport.c (svn r6770) -Codechange: Make the airport checking a bit stricter...fix unnoticed errors: 2006-10-14 10:26:13 +00:00
airport.h (svn r6768) -Cleanup: For airports change *Airport to *apc (variable naming coding style 2006-10-13 23:08:55 +00:00
aystar.c
aystar.h
bmp.c
bmp.h
bridge_gui.c (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 2006-11-10 19:24:14 +00:00
bridge_map.c
bridge_map.h
bridge.h
BUGS
build_vehicle_gui.c (svn r7418) -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As 2006-12-07 14:03:55 +00:00
callback_table.c (svn r6594) - Fix (r6513): When adding command callbacks, add the callback to the list... 2006-09-30 21:36:00 +00:00
callback_table.h (svn r6752) -Codechange: Move command functions from messy functions.h into command.h 2006-10-12 14:42:00 +00:00
changelog.txt (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 2006-12-22 01:17:33 +00:00
clear_cmd.c (svn r6739) -Fix (r6001): Crash on removing farmland belonging to a farm. The search would loop 2006-10-11 21:20:53 +00:00
clear_map.h
command.c (svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a 2006-11-10 17:52:51 +00:00
command.h (svn r6752) -Codechange: Move command functions from messy functions.h into command.h 2006-10-12 14:42:00 +00:00
configure (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
console_cmds.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
console.c (svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated 2006-11-29 21:38:19 +00:00
console.h (svn r7233) -Codechange: get rid of three console.c globals 2006-11-21 22:10:52 +00:00
COPYING
currency.c (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
currency.h (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 2006-11-15 21:51:16 +00:00
date.c (svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex(). 2006-12-05 16:41:13 +00:00
date.h
debug.c (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
debug.h (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
dedicated.c
depot_gui.c (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it 2006-12-07 00:51:20 +00:00
depot.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
depot.h (svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failes 2006-12-05 22:40:42 +00:00
direction.h
disaster_cmd.c (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and 2006-10-14 15:15:56 +00:00
dock_gui.c (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 2006-11-22 16:08:01 +00:00
Doxyfile
driver.c (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
driver.h (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
dummy_land.c
economy.c (svn r7433) -Fix (r2301): Town ratings were not reset when a company went bankrupt. 2006-12-08 12:31:34 +00:00
economy.h
elrail.c (svn r7470) -Codechange: Leave elrails enabled after loading old (pre-optional) and very old (pre-elrails) games. Let the user manually disable if if undesired. 2006-12-10 15:21:48 +00:00
endian_check.c
engine_gui.c (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 2006-11-19 22:24:18 +00:00
engine.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
engine.h (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
fileio.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
fileio.h
fios.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
fios.h (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +00:00
fontcache.c (svn r7411) -Cleanup: Add 'Freetype' to dbg message output, just like all others 2006-12-07 00:54:18 +00:00
fontcache.h (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
functions.h (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
genworld_gui.c (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +00:00
genworld.c (svn r7506) -Codechange: [NewGRF] Add action 7/9/D variable 0x81 (current year) 2006-12-18 15:34:12 +00:00
genworld.h (svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap. 2006-11-22 14:14:02 +00:00
gfx.c (svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions. 2006-12-03 17:42:56 +00:00
gfx.h (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
gfxinit.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
gfxinit.h
graph_gui.c (svn r7444) -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food 2006-12-09 00:37:02 +00:00
gui.h (svn r7444) -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food 2006-12-09 00:37:02 +00:00
hal.h (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +00:00
heightmap.c
heightmap.h
helpers.cpp (svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138) 2006-11-30 17:12:10 +00:00
industry_cmd.c (svn r7477) -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command. 2006-12-11 12:37:57 +00:00
industry_gui.c (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 2006-12-05 13:58:20 +00:00
industry_map.h
industry.h (svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time. 2006-12-09 14:18:08 +00:00
intro_gui.c (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
known-bugs.txt (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
landscape.c (svn r6993) -Regression (r5833): Rails/roads on steep slopes incorrectly show a foundation edge if the NE/NW adjacent tile is a steep tile 2006-10-28 14:06:40 +00:00
langs_vs80.vcproj (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 2006-12-22 01:17:33 +00:00
langs.vcproj (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 2006-12-22 01:17:33 +00:00
livery.h
lzoconf.h
macros.h (svn r6758) -Feature: Add a measurement tool that will show dimensions and height 2006-10-12 15:13:40 +00:00
main_gui.c (svn r7525) -Fix (r6631): Invalidate the widget of 'many random industries' when it is raised (Maedhros) 2006-12-21 11:34:50 +00:00
mainicon.ico
Makefile (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
map.c (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
map.h (svn r7198) -Codechange: Implement a circular tile search function. 2006-11-17 23:01:58 +00:00
masm64.rules
md5.c
md5.h
mersenne.c
minilzo.c
minilzo.h
misc_cmd.c (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an 2006-10-14 22:31:18 +00:00
misc_gui.c (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
misc.c (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
mixer.c (svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById 2006-11-18 00:14:43 +00:00
mixer.h
music_gui.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
music.c
music.h
namegen.c (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
namegen.h (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators. 2006-10-22 10:08:49 +00:00
network_client.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
network_client.h
network_core.h (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 2006-12-10 00:20:26 +00:00
network_data.c (svn r6816) -Codechange: Some coding style, variable localization, const correctness. 2006-10-17 23:34:12 +00:00
network_data.h (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have. 2006-12-18 12:26:55 +00:00
network_gamelist.c (svn r7518) -Codechange: more NULL pointer resets after free. 2006-12-20 21:17:33 +00:00
network_gamelist.h
network_gui.c (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
network_gui.h (svn r6825) -Codechange: Remove two globals from chat-window 2006-10-18 21:19:04 +00:00
network_server.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
network_server.h (svn r6876) -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER 2006-10-21 22:29:14 +00:00
network_udp.c (svn r7507) -Fix (7505): the name of a GRF could be "", which causes a segmentation fault. So take the filename, which cannot be "", when the of the GRF name is "". Also check for "" length when receiving GRF names. 2006-12-18 17:29:59 +00:00
network_udp.h (svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking 2006-10-12 14:59:27 +00:00
network.c (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
network.h (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have. 2006-12-18 12:26:55 +00:00
newgrf_callbacks.h (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 2006-12-02 16:56:32 +00:00
newgrf_cargo.c
newgrf_cargo.h
newgrf_config.c (svn r7522) -Codechange: Have CopyGRFConfigList clear the destination list before assigning 2006-12-21 10:09:43 +00:00
newgrf_config.h (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
newgrf_engine.c (svn r7503) -Codechange: [NewGRF] Add bounds checking for spriteset cargo types. (NewCargo support will change this rule a bit...) 2006-12-18 10:46:06 +00:00
newgrf_engine.h (svn r7079) -Codechange: Move an array to the only place it is used. 2006-11-06 10:11:03 +00:00
newgrf_gui.c (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
newgrf_sound.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
newgrf_sound.h
newgrf_spritegroup.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
newgrf_spritegroup.h (svn r6836) - Codechange: constify SpriteGroup references. These used to be non-const when we kept a reference count, which we don't do anymore. 2006-10-19 10:20:36 +00:00
newgrf_station.c (svn r7282) -Fix (r625): ttdpatch vars are little endian 2006-11-28 21:03:28 +00:00
newgrf_station.h (svn r7113) -Codechange: [NewStations] Add support for copying custom station layouts 2006-11-08 12:17:14 +00:00
newgrf_text.c (svn r7515) -Codechange [newgrf]: Ignore ascii code 0x0A in text. Newline is 0x0D. 2006-12-20 17:03:14 +00:00
newgrf_text.h (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +00:00
newgrf.c (svn r7506) -Codechange: [NewGRF] Add action 7/9/D variable 0x81 (current year) 2006-12-18 15:34:12 +00:00
newgrf.h (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
news_gui.c (svn r7402) -Fix: [FS#255] Long Delay for Message Windows to Appear. Immediately show a new message 2006-12-06 17:28:14 +00:00
news.h (svn r6804) -Codechange: Remove the unused NF_NOEXPIRE flag. 2006-10-17 18:15:35 +00:00
npf.c
npf.h
oldloader.c (svn r6986) Use the pool macros for the Town pool 2006-10-28 11:55:29 +00:00
oldpool.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
oldpool.h (svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331). 2006-12-03 20:03:40 +00:00
openttd_vs80.sln (svn r6817) -Fix: set svn:eol-style for vs80 files 2006-10-18 00:10:38 +00:00
openttd_vs80.vcproj (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it 2006-12-07 00:51:20 +00:00
openttd.c (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
openttd.h (svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit: 2006-11-30 16:03:12 +00:00
openttd.ico
openttd.sln
openttd.tgt (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
openttd.vcproj (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it 2006-12-07 00:51:20 +00:00
order_cmd.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
order_gui.c (svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players. 2006-12-05 09:19:14 +00:00
order.h (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 2006-12-05 13:58:20 +00:00
os2.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
os_timer.c
ottdres.rc (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
pathfind.c (svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138) 2006-11-05 18:42:25 +00:00
pathfind.h
player_gui.c (svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use 2006-12-07 13:00:41 +00:00
player.h (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
players.c (svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game 2006-11-13 20:33:51 +00:00
queue.c
queue.h
rail_cmd.c (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call 2006-12-01 00:09:13 +00:00
rail_gui.c (svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station. 2006-12-04 13:20:14 +00:00
rail_map.h
rail.c
rail.h (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'. 2006-11-17 19:31:44 +00:00
railtypes.h
readme.txt (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 2006-12-21 14:23:47 +00:00
resource.h
road_cmd.c (svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing 2006-12-03 12:17:35 +00:00
road_cmd.h
road_gui.c (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 2006-11-22 16:08:01 +00:00
road_map.c (svn r6691) -Fix r3907: check the transport type under the bridge when you want to get the road bits under a bridge (thanx hylje) 2006-10-08 19:31:01 +00:00
road_map.h (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as 2006-10-14 22:22:48 +00:00
road.h
roadveh_cmd.c (svn r7389) -Fix: when forcing a vehicle to go to a depot, clear refit orders from current orders (caused refit error popup when not having no orders) 2006-12-05 23:57:04 +00:00
roadveh_gui.c (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call 2006-12-01 00:09:13 +00:00
roadveh.h
saveload.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
saveload.h (svn r7232) -Codechange: Also allow for the save/load of non pre-allocated strings inside structs. 2006-11-21 20:23:57 +00:00
screenshot.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
screenshot.h
sdl.c
sdl.h
settings_gui.c (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 2006-12-04 14:27:54 +00:00
settings.c (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 2006-12-20 20:43:52 +00:00
settings.h (svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c 2006-11-21 20:20:30 +00:00
ship_cmd.c (svn r7389) -Fix: when forcing a vehicle to go to a depot, clear refit orders from current orders (caused refit error popup when not having no orders) 2006-12-05 23:57:04 +00:00
ship_gui.c (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call 2006-12-01 00:09:13 +00:00
ship.h (svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot() 2006-10-04 12:01:59 +00:00
signs.c (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. 2006-12-03 17:27:43 +00:00
signs.h (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 2006-12-05 13:58:20 +00:00
slope.h
smallmap_gui.c (svn r7208) -Revert [r6040]: Remove double-click action in minimap and reintroduce lmb-scrolling (Rubidium) 2006-11-18 17:12:39 +00:00
sound.c (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 2006-11-19 22:24:18 +00:00
sound.h
sprite.h
spritecache.c (svn r7242) -Fix: Don't load 1-byte pseudo sprites, as used in some NewGRF sets. If the sprite is ever drawn this will result in a "missing sprite" error instead of undefined misbehaviour leading to segmentation faults... 2006-11-23 21:19:43 +00:00
spritecache.h
station_cmd.c (svn r7547) -Fix: The cost of rail station removal was calculated based on the area occupied by the station. This produced unreasonably large removal costs for non-uniform stations. Now it is based on number of station tiles actually removed. 2006-12-22 13:16:40 +00:00
station_gui.c (svn r7446) -Feature: Double the length of the cargo and rating indicators in the station list window, 2006-12-09 00:46:02 +00:00
station_map.c
station_map.h
station.h (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 2006-12-05 13:58:20 +00:00
stdafx.h (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +00:00
string.c (svn r7272) -Ok, let's hope this one's correct...stupid msvc 2006-11-28 14:19:18 +00:00
string.h (svn r7475) -Fix (r7348): sanity check NewGRF action 8 strings for null terminator 2006-12-10 21:39:38 +00:00
strings.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
strings.h (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come. 2006-11-16 22:05:33 +00:00
subsidy_gui.c (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 2006-11-10 19:24:14 +00:00
svnup.sh
terraform_gui.c (svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with 2006-11-11 10:12:00 +00:00
texteff.c (svn r7067) Remove the unused parameter params_3 from AddStringToDraw() 2006-11-05 11:52:19 +00:00
tgp.c (svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap. 2006-11-22 14:14:02 +00:00
tgp.h
thread.c
thread.h
tile.c
tile.h
town_cmd.c (svn r7477) -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command. 2006-12-11 12:37:57 +00:00
town_gui.c (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 2006-12-05 13:58:20 +00:00
town_map.h
town.h (svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time. 2006-12-09 14:18:08 +00:00
train_cmd.c (svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight 2006-12-10 19:00:06 +00:00
train_gui.c (svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight 2006-12-10 19:00:06 +00:00
train.h (svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight 2006-12-10 19:00:06 +00:00
tree_cmd.c (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an 2006-10-14 22:31:18 +00:00
tree_map.h
tunnel_map.c
tunnel_map.h
tunnelbridge_cmd.c (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'. 2006-11-17 19:31:44 +00:00
unix.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
unmovable_cmd.c (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and 2006-10-14 15:49:43 +00:00
unmovable_map.h
unmovable.h
variables.h (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 2006-12-09 10:56:12 +00:00
vehicle_gui.c (svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron) 2006-12-09 10:57:05 +00:00
vehicle_gui.h (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) 2006-10-23 21:39:15 +00:00
vehicle.c (svn r7535) -Fix (r7326): Always unload cargo if the station accepts it, and always load cargo 2006-12-21 20:56:27 +00:00
vehicle.h (svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. 2006-12-21 10:29:16 +00:00
viewport.c (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 2006-11-19 22:24:18 +00:00
viewport.h (svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them 2006-11-18 13:54:33 +00:00
void_map.h
water_cmd.c (svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites. 2006-12-02 09:54:49 +00:00
water_map.h
waypoint.c (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. 2006-12-21 00:13:56 +00:00
waypoint.h (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. 2006-12-21 00:13:56 +00:00
widget.c (svn r7356) -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != WWT_LAST; i++, wi++)' type for loops with 'for (i = 0; i < w->window_count; i++) { wi = &w->widget[i];'-type for loops for better readability. 2006-12-04 13:57:04 +00:00
win32.c (svn r7500) -Fix (r7460): GetEnvironmentVariable and strncat take the number of characters and 2006-12-15 15:21:13 +00:00
win32.h (svn r7468) -Codechange: [win32] Add some comments to MB/WIDE_TO_WIDE/MB_[BUFFER] macros and 2006-12-10 11:46:43 +00:00
win64.asm
window.c (svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag 2006-12-07 12:57:53 +00:00
window.h (svn r7409) -Codechange: Make the ResizeWindow function also available outside of window.c. This makes 2006-12-07 00:47:35 +00:00

OpenTTD README
Last updated:    2006-12-21
Release version: 0.5.0-RC1
------------------------------------------------------------------------


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
9.0) Troubleshooting
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.

OpenTTD is licensed under the GNU General Public License version 2.0. For
more information, see the file 'COPYING'.

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 also find the OpenTTD forums at
http://www.tt-forums.net/index.php?c=20


2.1) Reporting Bugs:
---- ---------------
To report a bug, please create a Flyspray 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 Flyspray project page URL is: http://bugs.openttd.org/

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 saved 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:

	BeOS                 - SDL
	FreeBSD              - SDL
	Linux                - SDL
	MacOS X (universal)  - Cocoa video and sound drivers (SDL works too, but not 100% and not as a universal binary)
	MorphOS              - SDL
	OS/2                 - SDL
	Windows              - Win32 GDI (faster) or 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.
Unfortunately, there is currently no comprehensive list of features, but there
is a basic 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 semaphore signals
* Ctrl-D toggles double mode in the Windows version
* 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. Almost all settings can be changed
ingame by using the 'Configure Patches' window.


7.0) Compiling:
---- ----------
Windows:
  You need Microsoft Visual Studio .NET. Open the project file
  and it should build automatically. In case you want to build with SDL support
  you need to add WITH_SDL to the project settings.
  PNG (WITH_PNG) and ZLIB (WITH_ZLIB) support is enabled by default. For these
  to work you need their development files. For best results, download the
  openttd-useful.zip file from SourceForge under the Files tab. Put the header
  files into your compiler's include/ directory and the library (.lib) files
  into the lib/ directory.
  For more help with VS see docs/Readme_Windows_MSVC.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 with GNU "make". On non-GNU systems it's called "gmake".
  Note that you need SDL-devel 1.2.5 (or higher) to compile OpenTTD.
  (see also docs/Readme_Mandrake_Linux.txt)

MacOS X:
  Use "make" or Xcode (which will then call make for you)
	This will give you a binary for your CPU type (PPC/Intel)
	To make an universal binary type "make FAT_BINARY:=1"

BeOS:
  Use "make".

FreeBSD:
  You need the port devel/sdl12 for a non-dedicated build.
  graphics/png is optional for screenshots in the PNG format.
  Use "gmake".

MorphOS:
  Use "make". Note that you need the MorphOS SDK, latest libnix updates (else
  C++ parts of OpenTTD will not build) and the powersdl.library SDK. Optionally
  libz and libpng developer files.

OS/2:
  Open Watcom C/C++ 1.3 or later is required to build the OS/2 version. See the
  docs/Readme_OS2.txt file for more information.


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://translator2.openttd.org/, is highly encouraged. For a username/password
combo you should contact the development team, either by mail, IRC or the
forums. The system is straightforward to use, and if you have any problems,
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 beginning the translation
      process! This avoids double work, as someone else may have already
      started translating to the same language.
    * Translators must use the character set ISO 8859-15.
      Otherwise, some characters will not display correctly in the game.
    * Currently it is not possible to translate into character sets other than
      Latin.

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.

9.0) Troubleshooting
---- ---------------

To see all startup options available to you, start OpenTTD with the
"./openttd -h" option. This might help you tweak some of the settings.

If the game is acting strange and you feel adventurous you can try the
"-d [[<name>]=[<level>]" flag, where the higher levels will give you more
debugging output. The "name" variable can help you to display only some type of
debugging messages. This is mostly undocumented so best is to look in the
source code file debug.c for the various debugging types. For more information
look at http://wiki.openttd.org/index.php/Command_line.

The most frequent problem is missing data files. Don't forget to put all GRF
files from TTD into your data/ folder including sample.cat!

Under Windows 98 and lower it is impossible to use a dedicated server; it will
fail to start. Perhaps this is for the better because those OS's are not known
for their stability.

With the added support for font-based text selecting a non-latin language will
result in garbage (lots of '?') shown on screen. Please open your configuration
file and add a desired font for small/medium/-and large_font. This can be a font
name like "Tahoma" or a path to a font.

Any NewGRF file used in a game is stored inside the savegame and will refuse
to load if you don't have that grf file available. A list of missing files
will be output to the console at the moment, so use the '-d' flag (on windows)
to see this list. You just have to find the files (http://grfcrawler.tt-forums.net/)
put them in the data/ folder and you're set to go.

X.X) Credits:
---- --------
The OpenTTD team (in alphabetical order):
  Jean-Francois Claeys (Belugas) - In training, not yet specialized
  Bjarni Corfitzen (Bjarni)      - Mac OS X port, coder
  Matthijs Kooijman (blathijs)   - Pathfinder-guru
  Victor Fischer (Celestar)      - Programming everywhere you need him to
  Tam<61>s Farag<61> (Darkvater)       - Lead programmer
  Lo<4C>c Guilloux (glx)            - In training, not yet specialized
  Jaroslav Mazanec (KUDr)        - YAPG (Yet Another Pathfinder God) ;)
  Kerekes Miham (MiHaMiX)        - Maintainer of translator service, and host of nightlies

  Peter Nelson (peter1138)       - Spiritual descendant from newgrf gods
  Remko Bijker (Rubidium)        - Belugas code scrutinizer",
  Christoph Mallon (Tron)        - Programmer, code correctness police
  Patric Stout (TrueLight)       - Programmer, network guru, SVN-repository and website host

Retired Developers:
  Dominik Scherer (dominik81)    - Lead programmer, GUI expert (0.3.0 - 0.3.6)
  Owen Rudge (orudge)            - Contributor, forum host, master server host, OS/2 port (0.1 - 0.4.8)
  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)
  Matthijs Kooijman (blathijs) - For his many patches, suggestions and major work on maprewrite
  Petr Baudis (pasky) - Many patches, newgrf support, etc.
  Simon Sasburg (HackyKid) - For the many bugfixes he has blessed us with (and future PBS)
  Stefan Mei<65>ner (sign_de) - For his work on the console
  Mike Ragsdale - OpenTTD installer
  Cian Duffy (MYOB) - BeOS port / manual writing
  Christian Rosentreter (tokai) - MorphOS / AmigaOS port
  Richard Kempton (richK) - additional airports, initial TGP implementation
  Michael Blunck - For revolutionizing TTD with awesome 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!