Commit Graph

2588 Commits (fa1f94e599c317c234ed07f18adbddd527b86470)

Author SHA1 Message Date
egladil fc3312d8a3 (svn r11708) -Fix [FS#1598]: Removed include of variables.h as it was no longer needed and caused compilation to fail. 17 years ago
smatz c10d3da133 (svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
smatz ae3206cd97 (svn r11705) -Fix [FS#1557]: trains could have sprites with wrong direction when reversing, also was inconsistent with save/load process (possible desyncs) 17 years ago
rubidium 7f037d15d7 (svn r11704) -Codechange: remove another bunch of useless includes. 17 years ago
miham 8b726c2f4a (svn r11703) -Update: WebTranslator2 update to 2007-12-26 17:33:24
estonian   - 16 changed by kristjans (16)
polish     - 94 fixed, 6 changed by meush (100)
russian    - 22 fixed by Smoky555 (22)
spanish    - 11 fixed by eusebio (11)
traditional_chinese - 25 fixed, 4 changed by xbddc (29)
17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 7058b2cce2 (svn r11700) -Codechange: reduce the amount of unnecessary includes. 17 years ago
skidd13 bdf4cf6b19 (svn r11698) -Change: Make the abort/accept process of the difficulty window a bit less confusing
-Change: Make the highscore button in the difficulty window a bit more obvious
-Codechange: Enumify the window-widgets of the difficulty window
17 years ago
rubidium d821e5e92b (svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly. 17 years ago
skidd13 7bcc4d28e1 (svn r11695) -Codechange: Converted the md5 algorithm to OOP
-Codechange: Adapt the md5 algorithm to the OpenTTD source
17 years ago
rubidium 851f19b341 (svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp. 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
egladil 15c1af0517 (svn r11690) -Fix: Since indices into the patch array is sent over the network having conditionally compiled entries in the table can cause desyncs. Moving them to the end will hide this issue, but it should really be solved in a better way. 17 years ago
smatz 9060dbdb04 (svn r11689) -Fix: compilation error and most of warnings for gcc 4.3 17 years ago
egladil 217539ee24 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again. 17 years ago
skidd13 fec9cd587c (svn r11687) -Codechange: move some defines to a better place 17 years ago
glx 43f03dff68 (svn r11686) -Fix (r11684): win32 compilation was broken again :) 17 years ago
rubidium 20ecff81b0 (svn r11685) -Codechange: remove a few 'useless' includes. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
belugas a3693160cf (svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium f9c26f80c5 (svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
glx 4fc66235cb (svn r11679) -Add: [newgrf] support for station vars 67 and 68 17 years ago
bjarni c32c07e238 (svn r11678) -Fix (r11674): [OSX] fixed compilation 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
glx a122971ae2 (svn r11676) -Fix (r11674): some references to macros.h were left 17 years ago
rubidium 8427b8bad2 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium 60c82d0f8c (svn r11673) -Codechange: move the overflow safe type to a separate file. 17 years ago
rubidium c201bc35f0 (svn r11672) -Codechange: refactor some stuff out of gui.h. 17 years ago
smatz 33c86f83e2 (svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened 17 years ago
smatz 0e727b8e63 (svn r11670) -Feature [FS#1565]: list neutral stations where the player has service in the station list too 17 years ago
rubidium be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 2cf7d5b2cb (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
glx 41e8396f57 (svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner 17 years ago
belugas 0223de5442 (svn r11665) -Fix: Animation informations should not be copied from original industry tile spec, while doing an action 00, industry tile, prop 08.
Fix directly inspired by Csaboka
17 years ago
rubidium 818a23e7f2 (svn r11664) -Codechange: use more specific ("rail_type.h" instead of "rail.h" that includes way more than only "rail_type.h") includes at some places. 17 years ago
rubidium efc18e8ab3 (svn r11663) -Codechange: moving of the road related types and functions. 17 years ago
rubidium 2e2d76f445 (svn r11662) -Codechange: move some rail types/related functions around. 17 years ago
rubidium 0995194162 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 17 years ago
miham 962f6361ff (svn r11660) -Change: english -> english (uk), english_us ->english (us) 17 years ago
smatz 31765f0dfe (svn r11659) -Fix [FS#1563]: do not allow modifying non-uniform stations when non-uniform stations are disabled 17 years ago
smatz 531651293e (svn r11657) -Fix: show better error message when trying to convert rail
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
17 years ago
smatz 8d91abdfe3 (svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations 17 years ago
miham 89e49e5e95 (svn r11655) -Update: WebTranslator2 update to 2007-12-17 20:16:03
danish     - 22 fixed by ThomasA (22)
estonian   - 18 fixed, 47 changed by kristjans (65)
italian    - 4 changed by lorenzodv (4)
norwegian_nynorsk - 20 fixed by pollux (20)
17 years ago
miham bc171a0153 (svn r11654) -Change: renaming american languagefile to english_US 17 years ago
egladil 4c3186d2d0 (svn r11653) -Feature: [OSX] Allow windowed mode subdrivers to be disabled at compile time. 17 years ago
smatz d5dbce8331 (svn r11652) -Codechange: add the svn $ header for several files 17 years ago
rubidium 8d1b25beee (svn r11651) -Codechange [FS#1555]: implement GRF parameter querying for industries and fix a 'bug' as side effect. 17 years ago
rubidium c231998248 (svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass. 17 years ago
smatz d56a690ba4 (svn r11649) -Codechange: some code can be simplified thanks to changes in r11642 17 years ago
rubidium cdee7d4cb8 (svn r11648) -Fix [FS#1560]: the company password was not set when one pressed the enter key. 17 years ago
rubidium 274cbd72fe (svn r11647) -Fix (r11646): it did not compile without freetype... 17 years ago
rubidium 2b8863c846 (svn r11646) -Codechange: check whether (some) characters are missing in the current 'font' for the 'currently' chosen language and give a warning when that does happen. 17 years ago
glx 78fd9216f2 (svn r11645) -Fix (r8128): station ground tiles may have transparency or company colour 17 years ago
smatz 926fe5c9e9 (svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h 17 years ago
rubidium 8ce9c5f29b (svn r11643) -Codechange: conform with the coding style for the WP macro uses. 17 years ago
smatz 60f9bbd17e (svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks 17 years ago
rubidium ad218166ec (svn r11640) -Fix: missed change of include when moving stuff to random_func.cpp 17 years ago
smatz f13a60b90c (svn r11639) -Codechange: simplify EnsureNoVehicleOnGround 17 years ago
smatz 13c11e9af6 (svn r11638) -Codechange: use faster check in SignalVehicleCheck for tunnel/bridge 17 years ago
smatz c972d309be (svn r11637) -Fix: mark viewports dirty when removing visible vehicle chain 17 years ago
smatz 76391f4498 (svn r11636) -Fix: it was possible to build/remove road/tram in tunnel/bridge when there was vehicle in it 17 years ago
belugas c8f4810dac (svn r11635) -Codechange: Give a more informative debug message when encountering unknown newgrf feature in action 00 handling.(FS#1551, Bilbo) 17 years ago
smatz 57a83e7c76 (svn r11634) -Fix: update signals when deleting crashed train on a bridge, update even when train is rotated 17 years ago
smatz d31506654c (svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge 17 years ago
rubidium 6685c7c8e2 (svn r11632) -Fix [FS#1541]: vehicles were still followed when sold. 17 years ago
glx 3a0f350ab4 (svn r11631) -Fix (r11585, r11626): remove MSVC warnings 17 years ago
rubidium 5b689aa665 (svn r11630) -Fix [FS#1544] (r11556): the chat GUI got broken. 17 years ago
rubidium 2160338662 (svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor. 17 years ago
miham ceabed7e7e (svn r11628) -Update: WebTranslator2 update to 2007-12-13 09:47:23
american   - 30 fixed by WhiteRabbit (30)
brazilian_portuguese - 22 fixed by fukumori (9), tucalipe (13)
bulgarian  - 8 fixed by thetitan (8)
catalan    - 22 fixed by arnaullv (22)
croatian   - 17 fixed by knovak (17)
czech      - 22 fixed by Hadez (22)
danish     - 1 fixed, 4 changed by Bjarni (5)
dutch      - 22 fixed by habell (22)
estonian   - 10 fixed by kristjans (10)
french     - 7 fixed, 2 changed by glx (9)
italian    - 7 fixed, 2 changed by lorenzodv (9)
japanese   - 23 fixed by ickoonite (23)
korean     - 33 fixed, 7 changed by leejaeuk5 (40)
norwegian_nynorsk - 9 fixed by pollux (9)
romanian   - 13 fixed, 3 changed by CrystyB (16)
slovak     - 22 fixed by lengyel (22)
slovenian  - 22 fixed by Necrolyte (22)
swedish    - 10 fixed by daishan (10)
turkish    - 20 fixed by jnmbk (20)
ukrainian  - 22 fixed by mad (22)
17 years ago
glx ab99e83a83 (svn r11627) -Fix [FS#1532] (r11145): poping from text reference stack must be done in a precise order. But some compiler (MSVC) over optimised it and inverted this order. 17 years ago
skidd13 3b849778c1 (svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer saves 17 years ago
smatz 3b59b68a15 (svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too 17 years ago
belugas a7fa65a2e3 (svn r11624) -Fix[FS#1530]: An error in the translation of bitset to scroll directions made it so that up-down-right arrow keys did scrolled up, while it should have scrolled right instead. It was initially interpreted as left-right-up. 17 years ago
smatz cd58045234 (svn r11623) -Fix [FS#1533] (r11619): assert when train is going over two crossings next to each other 17 years ago
rubidium ad022c535c (svn r11622) -Codechange: support the unicode version of the 'control' characters. 17 years ago
rubidium 745da6563f (svn r11621) -Fix [FS#1525]: there were still some cases where one could not build a tram track, but the tram could become blocked. 17 years ago
belugas 13fe232f68 (svn r11620) -Change: Some are going, some are coming, some we do not know exactly. Little update on the OpenTTD Team 17 years ago
smatz 3a62919ba3 (svn r11619) -Fix [FS#1531]: do not make crossing red behind depot the train is entering 17 years ago
glx 946fa3b9ee (svn r11618) -Fix: buoys are just waypoints, so don't allow load/unload/transfert for them 17 years ago
belugas fd23999fb9 (svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in scenario more.(Bilbo) 17 years ago
rubidium 28c436a054 (svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart. 17 years ago
glx 4320447aef (svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house) 17 years ago
skidd13 7638c9b165 (svn r11614) -Fix: The about dialog scrolling was connected to the mouse instead of the internal ticks 17 years ago
glx 15085aa7f4 (svn r11611) -Codechange: it is now possible to use a define to enable asserts and show them in crash.log for MSVC release builds 17 years ago
glx 8bd26725d3 (svn r11610) -Cleanup (r8572): remove orphan comment 17 years ago
rubidium a510606144 (svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to build some industries in the scenario editor. 17 years ago
rubidium aa39d2a618 (svn r11608) -Fix: do not trigger industries, but only the industry's tiles. 17 years ago
skidd13 eff1c37b77 (svn r11607) -Codechange: Enumify the industry widgets
-Feature: Enable doubleclick in the found new industries window to build an industries
17 years ago
rubidium bde4b44473 (svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the extra checking and such anymore. 17 years ago
rubidium b6bc3aa698 (svn r11605) -Fix [FS#1482, FS#1523]: wrong count of Kirby trains when a ship was build. 17 years ago
smatz d03207df56 (svn r11604) -Fix: canal tiles were not marked dirty when surrounding tile got flooded, causing glitches 17 years ago
smatz 911273948b (svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic 17 years ago
smatz 189771541e (svn r11601) -Codechange: more strict break conditions for _userstring, assert when it overflows anyway (eg. code change without proper check change) 17 years ago
glx bfda3c82f1 (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions. 17 years ago
bjarni 593b49dc49 (svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode instead of quartz
The reason is that quickdraw is way faster (try fast forward)
  10.5 will still use quartz as it can't handle quickdraw.
17 years ago
rubidium 97a8a0d77f (svn r11598) -Change [FS#1518]: some tooltips of the main toolbar did not 'enumerate' all options in a drop down menu. 17 years ago
rubidium 33cdfc71dc (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. 17 years ago
belugas f271038461 (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function 17 years ago
belugas 902b20263c (svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick. 17 years ago
glx e3f4d0e72a (svn r11594) -Fix: don't allow changing network only patches settings from console when not in network game 17 years ago
belugas 42d6f195cf (svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief 17 years ago
belugas 544325590c (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 17 years ago
belugas ecb9382c7e (svn r11591) -Codechange: remove now unused widget accessors. 17 years ago
glx 7e7606b0d3 (svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrong 17 years ago
rubidium c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
glx b00f621239 (svn r11588) -Codechange: use the new member introduced in r11551 17 years ago
skidd13 30a5f9abf3 (svn r11587) -Fix (r11457): The one way road button wasn't reset on abort 17 years ago
glx d129a7295c (svn r11586) -Fix: make another widget 'accessor' function const when it should be const. 17 years ago
skidd13 10360288d0 (svn r11585) -Codechange: Enumify the widgets of the newGRF gui and a slight cleanup there 17 years ago
rubidium 2b9f51219f (svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482. 17 years ago
rubidium 39b1a8302b (svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small. 17 years ago
smatz 57fc61009e (svn r11582) -Fix: tiles were not marked dirty in some cases when removing a lock 17 years ago
rubidium 9b7b34fc2c (svn r11581) -Codechange: add some missing cargo classes and some documentation. 17 years ago
skidd13 b57274cdf2 (svn r11580) -Feature: Memorise the resizing of the build bridge selection window during runtime 17 years ago
belugas 1495f6aaf8 (svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
A better solution will be deviced, but not now.  Let's not cause a ton of bug reports
17 years ago
belugas cc29d43876 (svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
17 years ago
smatz 9cab7af581 (svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed 17 years ago
smatz 6ab52ddf89 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
smatz 15a5a1a95b (svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places 17 years ago
smatz fcfd0f1c76 (svn r11574) -Fix: flood train stations when there are no trains on border tiles too (when non-uniform stations are OFF) 17 years ago
rubidium 1c30d0b966 (svn r11573) -Codechange: pause games that miss GRFs by default and throw some warnings and disclaimers when you want to unpause it. 17 years ago
glx be48614ef8 (svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame 17 years ago
rubidium 4f0e072f3f (svn r11571) -Fix [FS#1493]: road vehicle getting to the wrong side of a station when trying to overtake in there. 17 years ago
smatz d4322bc8aa (svn r11570) -Fix: do not flood rail station tiles when there is a vehicle on it (when non-uniform stations are ON) 17 years ago
rubidium eb0be0322a (svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly. 17 years ago
belugas 586d2da917 (svn r11568) -Codechange: Use bit shifts instead of values for flags. It helps readability a little bit. 17 years ago
glx 06c131b244 (svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a vehicle after another in the same chain 17 years ago
smatz 411dec5c3e (svn r11565) -Revert: part of r11564 17 years ago
skidd13 5d74f2ced4 (svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style 17 years ago
skidd13 2b372e7e7b (svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs 17 years ago
rubidium f758c337c7 (svn r11562) -Fix [FS#1503] (r11546): aircraft sometimes stopped mid-air when the airport got destroyed. 17 years ago
glx 5da6900c3f (svn r11561) -Fix [FS#1504] (r11463): group list was not updated when removing the last group 17 years ago
rubidium 8ae661b176 (svn r11560) -Codechange: replace 'custom' version of FindLastBit with the generic. 17 years ago
rubidium 8c0122f429 (svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values. 17 years ago
rubidium 49e6247de8 (svn r11557) -Codechange: send and store the passwords a little more secure to/in the servers.
Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers.
NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
17 years ago
rubidium 2880047689 (svn r11556) -Feature: allow setting a default password for new companies in network games. 17 years ago
rubidium 92cb0e45ca (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago
rubidium c0790fff86 (svn r11554) -Codechange: be more consistent with the naming of the widget functions. 17 years ago
rubidium f8be009c74 (svn r11553) -Fix: make a few widget 'accessor' function const when they should be const. 17 years ago
miham a7929a8de9 (svn r11552) -Update: WebTranslator2 update to 2007-12-02 12:31:46
czech      - 1 fixed by Hadez (1)
french     - 15 fixed by glx (15)
galician   - 2 fixed by Condex (2)
italian    - 15 fixed by lorenzodv (15)
norwegian_bokmal - 6 fixed by jhsoby (6)
russian    - 7 fixed by Smoky555 (7)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 1 fixed by eusebio (1)
17 years ago
belugas 31cb48b1ad (svn r11551) -Codechange: Introduction of widget control members on struct Window. These "new" members have the exact same functionalities as their pure functions "genitors"
Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)"  is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
17 years ago
skidd13 b9c3ea6a01 (svn r11550) -Fix (r11547): Updated the data files regarding to r11549 17 years ago
rubidium 99dbfd3866 (svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB. 17 years ago