OpenTTD - http://www.openttd.org/ - with additional patches
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Darkvater f2fdb38c92 (svn r7693) -Codechange (r7540): print a newline after the summary (strgen). 18 years ago
ai (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 18 years ago
data (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 18 years ago
docs (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
lang (svn r7689) [Translations] Translator manually handcrafted the czech translation to have proper accents 18 years ago
makefiledir (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 18 years ago
media (svn r5872) - Feature: Add an icon to the SDL openttd executable. 18 years ago
music (svn r7639) -Fix: FS#487 Changed music/qtmidi.c to not use functions deprecated by Apple (pvz) 18 years ago
openttd.xcode (svn r2606) -Codechange: renamed ai.c to ai_old.c, and ai.h to ai_new.h to make room 19 years ago
os (svn r7626) -Fix r7600: [OSX] building release dmg files no longer includes console.txt, since we don't have that file anymore (this made dmg building fail) 18 years ago
scenario (svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack). 18 years ago
scripts (svn r5136) Fix various style bugs: 18 years ago
sound (svn r7569) -Fix (r7565): cocoa files were (somehow) forgotten. 18 years ago
strgen (svn r7693) -Codechange (r7540): print a newline after the summary (strgen). 18 years ago
table (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
video (svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, so work around 18 years ago
yapf (svn r7628) -Fix: [YAPF] suppress 'Train is lost' message if pathfinding ended on the first two-way red signal due to yapf.rail_firstred_twoway_eol option. 18 years ago
BUGS (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911) 18 years ago
COPYING (svn r1) Import of revision 975 of old (crashed) SVN 20 years ago
Doxyfile (svn r2808) -Fix: Removed 'kdevelop' from the doxygen project name (thanks tron) 19 years ago
Makefile (svn r7624) -Fix (FS#470): Also install openttd.32.bmp on make install, used as window icon by SDL (to be ported to 0.5). 18 years ago
aircraft.h (svn r6644) -Fix(r6637): remove inline to allow MSVC compilation 18 years ago
aircraft_cmd.c (svn r7657) -Fix (r6291): 'Goto Depot' did not work for helicopters going to an airport without depot (mart3p). 18 years ago
aircraft_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
airport.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
airport.h (svn r6768) -Cleanup: For airports change *Airport to *apc (variable naming coding style 18 years ago
airport_gui.c (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 18 years ago
airport_movement.h (svn r6770) -Codechange: Make the airport checking a bit stricter...fix unnoticed errors: 18 years ago
aystar.c (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
aystar.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
bmp.c (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc) 18 years ago
bmp.h (svn r5946) -Add: merged the TGP branch to mainline. TGP adds: 18 years ago
bridge.h (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
bridge_gui.c (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 18 years ago
bridge_map.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
bridge_map.h (svn r7607) -Codechange: remove direct map accesses for snow/desert on tunnels and bridges. 18 years ago
build_vehicle_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
callback_table.c (svn r6594) - Fix (r6513): When adding command callbacks, add the callback to the list... 18 years ago
callback_table.h (svn r6752) -Codechange: Move command functions from messy functions.h into command.h 18 years ago
changelog.txt (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 18 years ago
clear_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
clear_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
command.c (svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a 18 years ago
command.h (svn r6752) -Codechange: Move command functions from messy functions.h into command.h 18 years ago
configure (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 18 years ago
console.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
console.h (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
console_cmds.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 18 years ago
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. 18 years ago
currency.h (svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus) 18 years ago
date.c (svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex(). 18 years ago
date.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
debug.c (svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, so work around 18 years ago
debug.h (svn r7602) -Fix (r7565): MSVC2003 and lower don't support variadic macros, so work around 18 years ago
dedicated.c (svn r2818) Don't tell the world about a local variable which is only used once 19 years ago
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. 18 years ago
depot.h (svn r7385) -Fix: FS#418 Deleting Train in depot with autoreplace failes 18 years ago
depot_gui.c (svn r7622) -Codechange: Convert some more windows to ShowQuery. This includes the depot 18 years ago
direction.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
disaster_cmd.c (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and 18 years ago
dock_gui.c (svn r7239) Enumerate the widgets in the airport, dock, rail and road toolbars 18 years ago
driver.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
driver.h (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 18 years ago
dummy_land.c (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 18 years ago
economy.c (svn r7630) -Fix: At the end of the quarter the old economy numbers were shifted up, and 18 years ago
economy.h (svn r7563) -Fix (FS#468): removing towns in the scenario editor could leave subsidies with that town as source/destination, resulting in an assertion when displaying the Subsidies Window. 18 years ago
elrail.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
endian_check.c (svn r3264) -Codechange: [OSX] OSX targets will now always use the preprocessor to determine endianess 19 years ago
engine.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
engine.h (svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration. 18 years ago
engine_gui.c (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 18 years ago
fileio.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 18 years ago
fileio.h (svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions. 18 years ago
fios.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 18 years ago
fios.h (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 18 years ago
fontcache.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
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. 18 years ago
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. 18 years ago
genworld.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
genworld.h (svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap. 18 years ago
genworld_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
gfx.c (svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now the str pointer for 18 years ago
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. 18 years ago
gfxinit.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
gfxinit.h (svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header 19 years ago
graph_gui.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
gui.h (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
hal.h (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 18 years ago
heightmap.c (svn r7555) -Fix (r5479): off-by-one error due do truncation on division by 2. Thanks to Ben_Robbins_ for providing the test case. 18 years ago
heightmap.h (svn r5946) -Add: merged the TGP branch to mainline. TGP adds: 18 years ago
helpers.cpp (svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138) 18 years ago
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. 18 years ago
industry_cmd.c (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
industry_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
industry_map.h (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
intro_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
known-bugs.txt (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 18 years ago
landscape.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
langs.vcproj (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 18 years ago
langs_vs80.vcproj (svn r7539) -Add Esperanto to VS project files and update changelog with added languages information. 18 years ago
livery.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
lzoconf.h (svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments. 18 years ago
macros.h (svn r6758) -Feature: Add a measurement tool that will show dimensions and height 18 years ago
main_gui.c (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around 18 years ago
mainicon.ico (svn r1) Import of revision 975 of old (crashed) SVN 20 years ago
map.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
map.h (svn r7198) -Codechange: Implement a circular tile search function. 18 years ago
masm64.rules (svn r5813) Add x64 target to VS2005 project files (michi_cc) 18 years ago
md5.c (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
md5.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
mersenne.c (svn r3511) More whitespace ([FS#46] by Rubidium) 19 years ago
minilzo.c (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes 19 years ago
minilzo.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
misc.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
misc_cmd.c (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an 18 years ago
misc_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
mixer.c (svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById 18 years ago
mixer.h (svn r3552) Remove the global variable _mixer 19 years ago
music.c (svn r5670) - The keyword is $Id$ not $Id :) 18 years ago
music.h (svn r5670) - The keyword is $Id$ not $Id :) 18 years ago
music_gui.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 18 years ago
namegen.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
namegen.h (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators. 18 years ago
network.c (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around 18 years ago
network.h (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have. 18 years ago
network_client.c (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around 18 years ago
network_client.h (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters 19 years ago
network_core.h (svn r7461) -Fix: [FS#262] Add support for building with GCC on OS/2 (psmedley) 18 years ago
network_data.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
network_data.h (svn r7505) -Feature: show NewGRFs used on a game server, show which NewGRFs you do and do not have. 18 years ago
network_gamelist.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
network_gamelist.h (svn r2701) Insert Id tags into all source files 19 years ago
network_gui.c (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around 18 years ago
network_gui.h (svn r7638) -Codechange: Remove special window ShowJoinStatusWindowAfterJoin and shuffle around 18 years ago
network_server.c (svn r7566) -Fix: only send commands to the new client from the map, that is going to be transfered to the new client, is saved on the server and not while waiting for the 'map download slot' as that will add commands for already passed frames in the command queue of the new client. 18 years ago
network_server.h (svn r6876) -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER 18 years ago
network_udp.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
network_udp.h (svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking 18 years ago
newgrf.c (svn r7636) -Cleanup: Remove unused window classes (sorry WC-mess) and use sizeof(array) instead 18 years ago
newgrf.h (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
newgrf_callbacks.h (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 18 years ago
newgrf_cargo.c (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 18 years ago
newgrf_cargo.h (svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h. 18 years ago
newgrf_config.c (svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code) 18 years ago
newgrf_config.h (svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code) 18 years ago
newgrf_engine.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
newgrf_engine.h (svn r7079) -Codechange: Move an array to the only place it is used. 18 years ago
newgrf_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
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. 18 years ago
newgrf_sound.h (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 18 years ago
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. 18 years ago
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. 18 years ago
newgrf_station.c (svn r7606) -Codechange: [NewStations] Add support for variables 45 and 65. 18 years ago
newgrf_station.h (svn r7113) -Codechange: [NewStations] Add support for copying custom station layouts 18 years ago
newgrf_text.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
newgrf_text.h (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 18 years ago
news.h (svn r6804) -Codechange: Remove the unused NF_NOEXPIRE flag. 18 years ago
news_gui.c (svn r7402) -Fix: [FS#255] Long Delay for Message Windows to Appear. Immediately show a new message 18 years ago
npf.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
npf.h (svn r4153) -Codechange. Changed NPF_TILE_LENGTH into an enum and moved it out of variables.h. Just a drop in the bucket, but it is a start 18 years ago
oldloader.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
oldpool.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
oldpool.h (svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H (forgotten in r7331). 18 years ago
openttd.c (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
openttd.h (svn r7636) -Cleanup: Remove unused window classes (sorry WC-mess) and use sizeof(array) instead 18 years ago
openttd.ico (svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow 19 years ago
openttd.sln (svn r6412) -Fix(r6411): forgot to remove some lines in openttd*.sln (thx michi_cc) 18 years ago
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. 18 years ago
openttd.vcproj (svn r7410) -Codechange/Fix: Remove useless and unfollowable programmatic-resize, and implement it 18 years ago
openttd_vs80.sln (svn r6817) -Fix: set svn:eol-style for vs80 files 18 years ago
openttd_vs80.vcproj (svn r7550) -Fix (r7299): compilation of x64 binaries with MSVC 2005, due to not telling that helpers.cpp should be compiled as C++ for x64. 18 years ago
order.h (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 18 years ago
order_cmd.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
order_gui.c (svn r7366) -Fix: Out of bounds widget access when accessing orders window of other players. 18 years ago
os2.c (svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because 18 years ago
os_timer.c (svn r7548) -Codechange: Some MorphOS changes to get OpenTTD compiled, packaged (tokai) 18 years ago
ottdres.rc (svn r7527) -Update appropiate files with release information for 0.5.0-RC1 18 years ago
pathfind.c (svn r7620) -Fix: [OPF] signal update was incorrectly propagated: 18 years ago
pathfind.h (svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer) 18 years ago
player.h (svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window. 18 years ago
player_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
players.c (svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code) 18 years ago
queue.c (svn r3592) Miscellaneous smaller changes, most notably replacing sizeof(type) by sizeof(*variable) 19 years ago
queue.h (svn r3592) Miscellaneous smaller changes, most notably replacing sizeof(type) by sizeof(*variable) 19 years ago
rail.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
rail.h (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'. 18 years ago
rail_cmd.c (svn r7617) -Fix (7609): GetTrackBits only works (as intended) for plain rail tiles, so get the trackbits if it is certain it is a plain rail tile. Noticed by Tron. 18 years ago
rail_gui.c (svn r7351) -Fix (r6619): Disabled platform length and numbers were not reset for the default station. 18 years ago
rail_map.h (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
railtypes.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
readme.txt (svn r7600) -Remove: out-dated documentation about console and Mandrake Readme. 18 years ago
resource.h (svn r2701) Insert Id tags into all source files 19 years ago
road.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
road_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
road_cmd.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
road_gui.c (svn r7586) -Fix (FS#473): remove the Landscaping toolbar option from the Road Construction toolbar in the scenario editor, as there is another Lanscaping GUI in the scenario editor and launching that one could confuse users. 18 years ago
road_map.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
road_map.h (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as 18 years ago
roadveh.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
roadveh_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
roadveh_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
saveload.c (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
saveload.h (svn r7232) -Codechange: Also allow for the save/load of non pre-allocated strings inside structs. 18 years ago
screenshot.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
screenshot.h (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism 18 years ago
sdl.c (svn r5872) - Feature: Add an icon to the SDL openttd executable. 18 years ago
sdl.h (svn r5872) - Feature: Add an icon to the SDL openttd executable. 18 years ago
settings.c (svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList 18 years ago
settings.h (svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c 18 years ago
settings_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
ship.h (svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot() 18 years ago
ship_cmd.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
ship_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
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. 18 years ago
signs.h (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. 18 years ago
slope.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
smallmap_gui.c (svn r7208) -Revert [r6040]: Remove double-click action in minimap and reintroduce lmb-scrolling (Rubidium) 18 years ago
sound.c (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron 18 years ago
sound.h (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 18 years ago
sprite.h (svn r5787) Rename width, height and unk of struct DrawTileSeqStruct to size_{x,y,z} 18 years ago
spritecache.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
spritecache.h (svn r4446) - Add function to determine if a Sprite ID exists. 18 years ago
station.h (svn r7590) -Codechange: (r7585) 18 years ago
station_cmd.c (svn r7599) -Fix: (r7585, r7590) assert on load game that has some station with bigger spread-out than _patches.station_spread value (Celestar) 18 years ago
station_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
station_map.c (svn r4938) Remove STATION_HANGAR, because it isn't really a station type of its own 18 years ago
station_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
stdafx.h (svn r7548) -Codechange: Some MorphOS changes to get OpenTTD compiled, packaged (tokai) 18 years ago
string.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
string.h (svn r7475) -Fix (r7348): sanity check NewGRF action 8 strings for null terminator 18 years ago
strings.c (svn r7596) -Codechange: Always display tractive effort in kN. 18 years ago
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. 18 years ago
subsidy_gui.c (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 18 years ago
svnup.sh (svn r2087) Show also the modified filenames along each change in svn log. Prevents enraging Darkvater, and we show the commit messages along changed files everywhere else too (on IRC and in mail). 19 years ago
terraform_gui.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
texteff.c (svn r7632) -Codechange: several small code cleanups of texteff, like moving magic values and defines to an enum and fix coding/documentation style. 18 years ago
tgp.c (svn r7237) -Fix: TGP landscape generation could leak memory if aborted during the generation of the heightmap. 18 years ago
tgp.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
thread.c (svn r5978) -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing. 18 years ago
thread.h (svn r5946) -Add: merged the TGP branch to mainline. TGP adds: 18 years ago
tile.c (svn r5363) Revert 5312, 5288, 5248, 3992, 3249, 3228 18 years ago
tile.h (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 18 years ago
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. 18 years ago
town_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
town_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
town_map.h (svn r5171) Get rid of an ungly hack in the load routine, which temporarily turned house and road tiles into void tiles to calculate the closest town 18 years ago
train.h (svn r7473) -Fix (r7269): Pass a cargo type to determine the freight weight 18 years ago
train_cmd.c (svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration. 18 years ago
train_gui.c (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago
tree_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
tree_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
tunnel_map.c (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts 18 years ago
tunnel_map.h (svn r7607) -Codechange: remove direct map accesses for snow/desert on tunnels and bridges. 18 years ago
tunnelbridge_cmd.c (svn r7607) -Codechange: remove direct map accesses for snow/desert on tunnels and bridges. 18 years ago
unix.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
unmovable.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
unmovable_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
unmovable_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
variables.h (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
vehicle.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
vehicle.h (svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration. 18 years ago
vehicle_gui.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
vehicle_gui.h (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) 18 years ago
viewport.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
viewport.h (svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them 18 years ago
void_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
water_cmd.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
water_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
waypoint.c (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
waypoint.h (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. 18 years ago
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. 18 years ago
win32.c (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to 18 years ago
win32.h (svn r7468) -Codechange: [win32] Add some comments to MB/WIDE_TO_WIDE/MB_[BUFFER] macros and 18 years ago
win64.asm (svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc) 19 years ago
window.c (svn r7635) -Fix (r7618, r7621): Guard against recursive deletion. It is possible that when a 18 years ago
window.h (svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the 18 years ago

readme.txt

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.oftc.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/nightly 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/Console


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.

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 a universal binary type "make UNIVERSAL_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, libpng and freetype2 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ás Faragó (Darkvater)       - Lead programmer
  Loï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)        - Programmer
  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ß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 (RichK67)      - 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!