OpenTTD - http://www.openttd.org/ - with additional patches
Go to file
2006-12-06 02:03:55 +00:00
ai (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
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 r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits! 2006-09-12 10:42:04 +00:00
lang (svn r7387) -Fix: czech lang file compilation error 2006-12-05 23:32:15 +00:00
makefiledir (svn r7196) -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font. 2006-11-17 22:15:55 +00:00
media
music
openttd.xcode
os (svn r6432) -Fix r4987: [OSX] added CCFLAGS to OSX targets as well 2006-09-08 20:00:19 +00:00
scenario
scripts
sound
strgen (svn r7185) -Codechange: Make strgen validate strings for UTF-8 well-formed-ness-ness 2006-11-17 07:46:02 +00:00
table (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 2006-12-02 16:56:32 +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 (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
aystar.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
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 (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts 2006-09-05 23:21:41 +00:00
bridge_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
bridge.h
BUGS (svn r6465) -Fix: change some instances of '/* $Id */' to '/* $Id$ */', so SVN can do what is was supposed to do.. 2006-09-16 21:07:38 +00:00
build_vehicle_gui.c (svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local 2006-12-03 15:48:21 +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
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 r7196) -Feature: use fontconfig so one can set the font family name in openttd.cfg instead of the full path to the font. 2006-11-17 22:15:55 +00:00
console_cmds.c (svn r6884) -Codechange: Add strict bounds checking in string formatting system. 2006-10-21 23:31:34 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 r7390) -Codechange r7386: only loop though the windows to find a depot window to unhighlight a vehicle in if there is a vehicle on the mouse pointer 2006-12-06 00:03:24 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +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 r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros) 2006-12-05 17:53:33 +00:00
economy.h
elrail.c (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'. 2006-11-17 19:31:44 +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 r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
fileio.h
fios.c (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +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 r7362) -Fix (r7337): Free the freetype face after any possible error. For win32 do not use the 2006-12-04 18:57:09 +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 r7250) -Codechange: Shuffle sprite loading and character width caching around a bit. This reduces the number of times the sprites are loaded from 5 to 2, just for the intro game. 2006-11-24 18:39:22 +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 r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
gfxinit.h
graph_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
gui.h (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 2006-12-04 14:27:54 +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 (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform. 2006-09-04 20:40:33 +00:00
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 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_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 (svn r6433) -Codechange: replace some magic numbers (industry gfx indices) by enums. 2006-09-08 22:12:57 +00:00
industry.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
intro_gui.c (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 2006-12-04 14:27:54 +00:00
known-bugs.txt
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 r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add 2006-12-01 19:25:50 +00:00
langs.vcproj (svn r7322) -Update win32 project files for ukrainian and bulgarian language files. Also add 2006-12-01 19:25:50 +00:00
livery.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
lzoconf.h (svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments. 2006-08-28 10:14:37 +00:00
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 r7391) -Fix r6814: when sending money in multiplayer, the corresponding chat message was for the wrong player (off by one) 2006-12-06 02:03:55 +00:00
mainicon.ico
Makefile (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 2006-12-04 14:27:54 +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 (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
md5.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
mersenne.c
minilzo.c
minilzo.h (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
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 r7350) -Fix: do not handle the save game/scenario filename edit box when loading a game/scenario/heightmap. 2006-12-04 10:55:53 +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 r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel, 2006-10-24 14:15:17 +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 r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +00:00
network_client.h
network_core.h
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 r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is 2006-10-24 22:23:08 +00:00
network_gamelist.c (svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow 2006-11-06 00:12:55 +00:00
network_gamelist.h
network_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
network_gui.h (svn r6825) -Codechange: Remove two globals from chat-window 2006-10-18 21:19:04 +00:00
network_server.c (svn r7280) -Codechange: Replace some sprintf() functions with the safer snprintf() functions 2006-11-28 20:55:16 +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 r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow 2006-11-06 00:12:55 +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 r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow 2006-11-06 00:12: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 (svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h. 2006-08-24 01:25:00 +00:00
newgrf_config.c (svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. 2006-12-04 13:45:20 +00:00
newgrf_config.h (svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings. 2006-12-04 14:27:54 +00:00
newgrf_engine.c (svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word. 2006-11-29 11:48:47 +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 r7373) -Codechange: when removing a GRF from the list, make the next one selected, or the previous file if the last item is being removed. This makes clearing the list easier. 2006-12-05 14:18:58 +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 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 2006-09-27 18:17:01 +00:00
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 r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +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 r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. 2006-12-04 13:45:20 +00:00
newgrf.h (svn r7354) -Codechange: Remove grffile->flags and use grfconfig->flags exclusively. Update action 7/9 now that we know if GRFs are disabled. 2006-12-04 13:45:20 +00:00
news_gui.c (svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news 2006-12-05 23:37:04 +00:00
news.h (svn r6804) -Codechange: Remove the unused NF_NOEXPIRE flag. 2006-10-17 18:15:35 +00:00
npf.c (svn r6408) -Fix(r6406): compilation was broken 2006-09-06 01:56:01 +00:00
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 r7358) -Codechange: add newgrf_gui.c to MS project files 2006-12-04 14:30:18 +00:00
openttd.c (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +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 (svn r6412) -Fix(r6411): forgot to remove some lines in openttd*.sln (thx michi_cc) 2006-09-06 14:32:14 +00:00
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 r7358) -Codechange: add newgrf_gui.c to MS project files 2006-12-04 14:30:18 +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 r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +00:00
os_timer.c
ottdres.rc (svn r6358) -Codechange: update resource file to reflect development tree (0.5.0.0) as file 2006-09-03 16:02:15 +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 (svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer) 2006-08-26 21:54:04 +00:00
player_gui.c (svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1) 2006-11-10 19:24:14 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
readme.txt (svn r6699) -Fixed translator link in readme 2006-10-09 14:28:35 +00:00
resize_window_widgets.h (svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot 2006-09-29 10:54:59 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
saveload.c (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +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 r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +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 r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... 2006-12-04 08:30:04 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported. 2006-09-27 18:17:01 +00:00
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 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
station_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
station_map.c
station_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 r7271) -Codechange: Revert the strtolower part of r7199 as it can actually become broken due to 2006-11-28 14:12:09 +00:00
strings.c (svn r7274) -Codechange [utf8]: Add input/output unicode support. This actually only changes win32 2006-11-28 14:42:31 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
thread.c
thread.h
tile.c
tile.h
town_cmd.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_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 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
train_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
train_gui.c (svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local 2006-12-03 15:48:21 +00:00
train.h (svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before. 2006-11-27 23:11:56 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
tunnel_map.c (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts 2006-09-05 23:21:41 +00:00
tunnel_map.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 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
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
unmovable.h (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
variables.h (svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros) 2006-12-02 16:56:32 +00:00
vehicle_gui.c (svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after 2006-11-18 17:04:44 +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 r7386) -Codechange r7385: moved deletion of the vehicle highlight from DeleteVehicle to the sell commands as they are not called as often 2006-12-05 22:59:42 +00:00
vehicle.h (svn r7377) -Fix (r7326): With gradual loading, make sure cargo is only paid for once, and always notify the station the vehicle was present. (Maedhros) 2006-12-05 17:53:33 +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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
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 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
waypoint.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
waypoint.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
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 r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to also accept conversions 2006-12-03 17:47:53 +00:00
win32.h (svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty 2006-12-03 19:03:38 +00:00
win64.asm
window.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
window.h (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
yapf.txt

OpenTTD README
Last updated:    2006-08-12
Release version: 0.4.8
------------------------------------------------------------------------


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 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 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 6 or .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 VS6 see 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 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.

X.X) Credits:
---- --------
The OpenTTD team (in alphabetical order):
  Bjarni Corfitzen (Bjarni)      - Mac OS X port, coder
  Victor Fischer (Celestar)      - Programming everywhere you need him to
  Tam<61>s Farag<61> (Darkvater)       - Lead programmer
  Kerekes Miham (MiHaMiX)        - Maintainer of translator service, and host of nightlies
  Owen Rudge (orudge)            - Contributor, forum host, master server host, OS/2 port
  Peter Nelson (peter1138)       - NewGRF support wizard, OpenTTD addict
  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)
  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
  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!