Commit Graph

1430 Commits (9f8c5a97c0d453de3c02969d5a2b8baefd2520cc)

Author SHA1 Message Date
maedhros bbc0123cb6 (svn r9909) -Fix (r9897): Highlight road tunnels properly when building them. 17 years ago
rubidium 29123cf275 (svn r9908) -Codechange: prepare the station picker for more road types. 17 years ago
rubidium d647bc7987 (svn r9907) -Codechange: prepare the road gui for more road types. 17 years ago
belugas a4c6bca9c2 (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 17 years ago
maedhros 1242bb9a03 (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 17 years ago
maedhros cf1a3d9707 (svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again. 17 years ago
peter1138 fa72a4ebd1 (svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group. 17 years ago
maedhros 3b2a1c1c69 (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 17 years ago
maedhros 1a9d43ff40 (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 17 years ago
miham c35b459d02 (svn r9899) -Update: WebTranslator2 update to 2007-05-22 23:52:38
american   - 32 fixed by WhiteRabbit (32)
brazilian_portuguese - 25 fixed by tucalipe (25)
bulgarian  - 6 fixed by thetitan (6)
danish     - 32 fixed, 21 changed by ThomasA (53)
dutch      - 32 fixed, 3 changed by habell (35)
french     - 32 fixed by glx (32)
german     - 17 fixed by Neonox (17)
hungarian  - 32 fixed by miham (32)
italian    - 32 fixed by lorenzodv (32)
korean     - 29 fixed by darkttd (29)
slovak     - 35 fixed by lengyel (35)
slovenian  - 10 fixed by Necrolyte (10)
spanish    - 34 fixed by eusebio (34)
swedish    - 32 fixed by giddorah (32)
17 years ago
peter1138 056253bef2 (svn r9898) -Fix (r9874): Many...
- Group protection status wasn't changed via a command.
 - Group renaming didn't check group owner (and in fact changed the owner,
   just like renaming a sign...).
 - Added owner checks to other group commands.
 - Invalidate window data after the command has been completed instead of after
   the command has been sent. This fixes gui issues in network play.
17 years ago
rubidium 33c3420ef4 (svn r9897) -Codechange: prepare the toolbar for more road types. 17 years ago
glx bba732921f (svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once 17 years ago
rubidium 7935cf7754 (svn r9895) -Fix: assertion when removing roadstop. 17 years ago
rubidium 34c3ecc80b (svn r9894) -Fix (r9892): catenary was drawn on road bridges ;) 17 years ago
rubidium fe420111e8 (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 17 years ago
rubidium 51109475a2 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 17 years ago
rubidium 78243fbd3d (svn r9891) -Fix [FS#787]: the manage list menu wasn't removed/updated when changing to another group making it able to perform "group" actions for "all vehicles", which would cause a crash. 17 years ago
peter1138 d20e06f9b6 (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 17 years ago
peter1138 45d1c92030 (svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme. 17 years ago
peter1138 ee2feef6e7 (svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned. 17 years ago
peter1138 72972a1712 (svn r9887) -Fix (r9867): Industry production statistics messed up... 17 years ago
belugas 2e65d6e4e7 (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 17 years ago
truelight ecb8585bd4 (svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
17 years ago
truelight d2c750b2c9 (svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
17 years ago
peter1138 6670d1c018 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 17 years ago
rubidium 821c0acf4d (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 17 years ago
rubidium 6ef7915e6e (svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts. 17 years ago
glx 1e696cc27b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 17 years ago
rubidium a7edb4e914 (svn r9879) -Fix (r9874): global autoreplace was little broken ;) 17 years ago
rubidium 86bb5cc2a6 (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 17 years ago
peter1138 44b7f10db1 (svn r9877) -Revert (r9876): one file too many... 17 years ago
peter1138 d22478a22b (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 17 years ago
peter1138 da204ca17f (svn r9875) -Fix (r9828): Only set carriage capacity if the wagon has not been refitted. 17 years ago
rubidium 8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 17 years ago
peter1138 9a4b4ba448 (svn r9873) -Codechange: Add missing second callback parameter for houses 17 years ago
rubidium c17c5e972b (svn r9872) -Codechange: more type strictness for vehicle types 17 years ago
peter1138 96e9044249 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 17 years ago
belugas 662bee5b12 (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct 17 years ago
rubidium c8d05162c2 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 17 years ago
belugas 2a7442fda4 (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment 17 years ago
belugas c4b90f3137 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 17 years ago
rubidium b007a3419c (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 17 years ago
glx 91e638271c (svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen 17 years ago
rubidium b91ef25683 (svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error(). 17 years ago
rubidium c624eb04e7 (svn r9861) -Fix: null pointer derefence under MorphOS and AmigaOS. 17 years ago
rubidium 533ddeb9e6 (svn r9857) -Fix: loading of TTDP savegames with features that OTTD has. 17 years ago
rubidium c32d38a2b7 (svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles. 17 years ago
belugas 641d51a5ad (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
17 years ago
truelight 7f88f14f64 (svn r9848) -Fix r9846: how every many times you check something, of course you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing) 17 years ago
miham 696b1f3463 (svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
estonian   - 10 fixed by kristjans (10)
japanese   - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
17 years ago
truelight b605f68631 (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
17 years ago
truelight dc191785db (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
17 years ago
rubidium 3615d2aeee (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 17 years ago
rubidium f17f17fa45 (svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled. 17 years ago
rubidium 08be68e0b4 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 17 years ago
rubidium 0f81140b59 (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas). 17 years ago
rubidium 394946d4bc (svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished. 17 years ago
rubidium 49476d46e6 (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
- Now it is really FIFO.
 - When there is enough cargo to fill the first vehicle in the queue, the next vehicle in the queue start loading (and the next when ....).
17 years ago
peter1138 948100c260 (svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling. 17 years ago
rubidium 07bdd6c3cc (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading. 17 years ago
truelight 5f0e384ac0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 17 years ago
glx f739aedf5b (svn r9834) -Add: win9x check in win32 builds 17 years ago
rubidium fcb5e74fbb (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 17 years ago
rubidium 29ebda5b15 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 17 years ago
rubidium 5ae882a184 (svn r9831) -Codechange: more refactoring of the loading/unloading. 17 years ago
belugas eec76d9b49 (svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13) 17 years ago
rubidium 82ca197a10 (svn r9829) -Codechange: more refactoring of the unloading algorithm. 17 years ago
peter1138 e16ea9b758 (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains. 17 years ago
peter1138 aae8d359e6 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 17 years ago
peter1138 f7ccb6e31e (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 17 years ago
maedhros 304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
peter1138 acf5496681 (svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb) 17 years ago
peter1138 fe5830c4b7 (svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested. 17 years ago
rubidium 4500c365e1 (svn r9817) -Fix [FS#772]: an assertion that was triggered by the AI building when its rating for the town was not high enough. 17 years ago
rubidium e6a6d7ef31 (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits. 17 years ago
maedhros 7b5e3dbb82 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 17 years ago
rubidium 7cd82bd6f5 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 17 years ago
peter1138 70dcd881e4 (svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button. 17 years ago
miham 93580ad713 (svn r9811) -Update: WebTranslator2 update to 2007-05-07 19:59:41
american   - 11 fixed by WhiteRabbit (11)
danish     - 11 fixed by ThomasA (11)
dutch      - 9 fixed, 2 changed by Zr40 (11)
17 years ago
peter1138 1f552686d8 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 17 years ago
peter1138 4cfef9b7f5 (svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships. 17 years ago
rubidium a84ca16dc4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 17 years ago
rubidium 2813b4440b (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station. 17 years ago
peter1138 ebe81b98ce (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types. 17 years ago
peter1138 e4ada15d49 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 17 years ago
peter1138 152664e541 (svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' changes, as well as 'state'. (Thanks to bulb) 17 years ago
rubidium b159fb0898 (svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p). 17 years ago
rubidium eecf806cfc (svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p). 17 years ago
rubidium 6c967ddbfd (svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p). 17 years ago
rubidium 969366354d (svn r9800) -Codechange: play sound effects based on the engine class, not the rail type (mart3p). 17 years ago
rubidium f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 17 years ago
peter1138 e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
miham 7b65a015c8 (svn r9796) -Update: WebTranslator2 update to 2007-05-06 19:05:33
brazilian_portuguese - 10 fixed by tucalipe (10)
bulgarian  - 5 fixed by thetitan (5)
catalan    - 9 fixed by arnaullv (9)
czech      - 9 fixed by Hadez (9)
esperanto  - 11 fixed by LaPingvino (11)
finnish    - 11 fixed by habazi (11)
french     - 9 fixed by belugas (9)
german     - 9 fixed by Neonox (9)
hungarian  - 9 fixed by miham (9)
italian    - 9 fixed by lorenzodv (9)
japanese   - 2 fixed by ickoonite (2)
korean     - 9 fixed by darkttd (9)
norwegian_nynorsk - 11 fixed by pollux (11)
polish     - 8 fixed by meush (8)
portuguese - 21 fixed, 6 changed by supra90 (27)
romanian   - 11 fixed by kneekoo (11)
spanish    - 2 fixed by eusebio (2)
swedish    - 11 fixed by giddorah (11)
traditional_chinese - 11 fixed, 2 changed by xbddc (13)
turkish    - 8 fixed by jnmbk (8)
ukrainian  - 11 fixed by mad (11)
17 years ago
rubidium 425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 17 years ago
rubidium 9a893ebe20 (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle. 17 years ago
maedhros b219b7b53a (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 17 years ago
maedhros 755f2327d3 (svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor. 17 years ago
glx c67f068a84 (svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value 17 years ago
peter1138 9adf583122 (svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except activation. This also cleans up some special-case handling of the sprites. Actions 1 and 2 are now not considered unsafe, as an Action 3 (which is unsafe) is required for them. 17 years ago
rubidium d52b515de8 (svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered. 17 years ago
glx 4b4fb32e8a (svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players 17 years ago
rubidium bc1901a6e4 (svn r9784) -Codechange: remove unused variable. 17 years ago
peter1138 93793eb89a (svn r9780) -Codechange: [NewGRF] Add support for variable vehicle weight for trains (callback 36, property 16) 17 years ago
belugas b559b8f9ff (svn r9779) -Feature: Add the possiblity to choose different road patterns for towns to use.
Possible patterns are : 
No Road (not available in scenario editor)
Original (for the nostalgics)
Better Roads (same as original, but based on distance of 2 tiles instead of one)
2x2 grids
3x3 grids
Patch by skiddl13
17 years ago
peter1138 cef3e9bde1 (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 17 years ago
miham 9809facd13 (svn r9774) -Update: WebTranslator2 update to 2007-05-03 22:30:56
brazilian_portuguese - 1 fixed by tucalipe (1)
bulgarian  - 2 fixed by thetitan (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
dutch      - 2 fixed by habell (2)
estonian   - 1 fixed, 1 changed by kristjans (2)
french     - 2 fixed by belugas (2)
german     - 3 fixed by Neonox (3)
hungarian  - 2 fixed by miham (2)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by leejaeuk5 (1), darkttd (1)
norwegian_nynorsk - 19 fixed, 3 changed by pollux (22)
russian    - 1 fixed, 33 changed by HMage (34)
slovak     - 1 fixed, 15 changed by lengyel (16)
slovenian  - 1 fixed by Necrolyte (1)
17 years ago
glx 2b05a306e2 (svn r9773) -Fix r9772: MSVC warning 17 years ago
rubidium e11e91b02c (svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly). 17 years ago
peter1138 15aaaf3c6f (svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral) 17 years ago
rubidium cc9d811f53 (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station. 17 years ago
belugas 8165fac424 (svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean 17 years ago
rubidium 0297ce53a8 (svn r9765) -Codechange: constify some class functions. 17 years ago
rubidium 5e4c9ad875 (svn r9764) -Codechange: replace some lookup tables by functions. 17 years ago
rubidium dfe7c5cd66 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 17 years ago
belugas 7de20df379 (svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
Based on FS#289, by pitt2
17 years ago
rubidium 53485da02c (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle. 17 years ago
rubidium 5a46c763f0 (svn r9760) -Codechange: remove the need for saving some vehicle variables. 17 years ago
truelight fa244119b9 (svn r9759) -Add: added threading code for MorphOS (tokai) 17 years ago
peter1138 b2a7a49adc (svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts 17 years ago
rubidium 6f24a1ca7a (svn r9757) -Fix [FS#1244842]: when you have closed the "Load game"/"New game" windows accessible from the "New Server" window, any creation of new game/loading from the intro menu should not start a server. 17 years ago
rubidium 84c27fc773 (svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left. 17 years ago
rubidium df59f5cd15 (svn r9755) -Codechange: refactor some more of the begin loading stuff. 17 years ago
rubidium 0def47a3b0 (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches. 17 years ago
bjarni 5eb076402f (svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
v->dest_tile is now copied when replacing the front engine
17 years ago
rubidium dba21ab802 (svn r9752) -Codechange: remove some duplication related to BeginLoading. 17 years ago
KUDr 1f627254c3 (svn r9746) -Codechange [YAPF]: added DEBUGs level 0 if the current train order is OT_GOTO_WAYPOINT and waypoint is invalid or v->dest_tile is wrong 17 years ago
KUDr b0eeaea3cd (svn r9745) -Codechange [YAPF}: if destination is a waypoint then YAPF gets destination tile from that waypoint->xy instead of from v->dest_tile 17 years ago
maedhros a469d88364 (svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water. 17 years ago
maedhros 8acc58b731 (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time. 17 years ago
rubidium 55a4e4f756 (svn r9741) -Fix [FS#672]: station signs were not resized when the language changed, causing overflows in the coloured sign background. 17 years ago
truelight 948ef6dc1b (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment 17 years ago
maedhros 97e88ca4f1 (svn r9734) -Feature: Add an option to automatically pause when starting a new game. 17 years ago
truelight 0ac14b39af (svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with spaces, making it look ugly from time to time 17 years ago
maedhros 1d05573950 (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 17 years ago
rubidium 8491e15416 (svn r9729) -Documentation: add some documentation in various places 17 years ago
glx 9f9917451d (svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key is a dead-key. It needs to be pressed twice to have an effect but the console is then opened and closed on the 'same' keypress (2 WM_CHAR events). So skip the first WM_CHAR generated to restore the 'console' key functionality. 17 years ago
peter1138 87b731ead5 (svn r9727) -Fix (r8546): Company password field in network player info was inverted. 17 years ago
rubidium 87b07694a5 (svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it. 17 years ago
rubidium b10de90b69 (svn r9725) -Fix [FS#743]: plane made a 270 degree turn instead of a 90 degree turn on take off from the southern runway. 17 years ago
miham 7128545591 (svn r9724) -Update: WebTranslator2 update to 2007-04-27 20:28:02
american   - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 2 fixed by fukumori (2)
russian    - 10 changed by HMage (10)
ukrainian  - 1 changed by mad (1)
17 years ago
belugas 3a7afb581f (svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
More to come.
17 years ago
belugas 73a0ccdf9a (svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
17 years ago
peter1138 76358226d0 (svn r9720) -Codechange: Remove global var and gotos from window autoplacement 17 years ago
rubidium 98e59a5add (svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255. 17 years ago
peter1138 0eb9621096 (svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window. 17 years ago
peter1138 60dbc59bf8 (svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation. 17 years ago
glx bbc9a67f6f (svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag. 17 years ago
miham 450df80c3a (svn r9715) -Update: WebTranslator2 update to 2007-04-24 21:45:15
italian    - 2 changed by lorenzodv (2)
portuguese - 9 fixed by izhirahider (9)
russian    - 3 fixed, 328 changed by HMage (331)
simplified_chinese - 7 fixed by Fishingsnow (7)
traditional_chinese - 1 changed by xbddc (1)
17 years ago
peter1138 d7d29cfc1e (svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading. 17 years ago
peter1138 5f98f22a49 (svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses. 17 years ago
truelight b12b03dcda (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD 17 years ago
maedhros 56d0193f99 (svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index. 17 years ago
peter1138 a112455db4 (svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array. 17 years ago
peter1138 cc001f112b (svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly. 17 years ago
belugas cd97dec5a7 (svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
17 years ago
belugas 31a3208257 (svn r9704) -Documentation: Add comments on industry data macro 17 years ago
peter1138 9763b5bf8b (svn r9703) -Codechange: support callback 36 in vehicle purchase lists 17 years ago
peter1138 9861db8596 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43 17 years ago
peter1138 fa22eed316 (svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables 17 years ago
KUDr 02a3cc784d (svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx) 17 years ago
KUDr 50aaa26e95 (svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator) 17 years ago
KUDr 1a7fec1894 (svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference 17 years ago
rubidium 52daf7a2d3 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 17 years ago
peter1138 0b18789f36 (svn r9691) -Fix (r9683): Forgotten savegame bump... 17 years ago
peter1138 3b47d79353 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 17 years ago
bjarni 404880feed (svn r9689) -Fix: Clone vehicles will no longer refit for free 17 years ago
bjarni 809888fa21 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 17 years ago
miham 9c40b92323 (svn r9687) -Update: WebTranslator2 update to 2007-04-20 17:51:25
romanian   - 2 fixed by kneekoo (2)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovak     - 2 fixed by lengyel (2)
slovenian  - 2 fixed by Necrolyte (2)
traditional_chinese - 2 changed by xbddc (2)
17 years ago
peter1138 c7bdb5afe5 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 17 years ago
maedhros aaa917d56d (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 17 years ago
maedhros 88af5b07d3 (svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding
them again when they leave, and add a v->LeaveStation() call for aircraft.
17 years ago
rubidium 1951817f3b (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 17 years ago
peter1138 12ddcd0a24 (svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*) 17 years ago
miham a23263ffc3 (svn r9681) [Translations] -Fix: removed two unnecessary colons from the finnish translations (spotted by ln-) 17 years ago
miham 4ad4c3b185 (svn r9680) -Update: WebTranslator2 update to 2007-04-19 21:10:21
bulgarian  - 2 fixed by thetitan (1), kokobongo (1)
czech      - 2 fixed by joeprusa (2)
danish     - 2 fixed by ThomasA (2)
dutch      - 2 fixed, 1 changed by habell (3)
esperanto  - 2 fixed by LaPingvino (2)
estonian   - 2 fixed by vermon (2)
finnish    - 2 fixed by habazi (2)
german     - 3 fixed by Neonox (3)
italian    - 18 fixed, 2 changed by lorenzodv (20)
japanese   - 10 fixed by ickoonite (10)
norwegian_bokmal - 27 fixed by oletk (27)
polish     - 10 fixed by meush (10)
russian    - 2 fixed by HMage (2)
spanish    - 2 fixed by jfrank (2)
traditional_chinese - 2 fixed by xbddc (2)
turkish    - 11 fixed by jnmbk (11)
ukrainian  - 2 fixed, 5 changed by fevral13 (7)
17 years ago
belugas 8082f4c11a (svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01) 17 years ago
peter1138 a50f8bac27 (svn r9678) -Codechange: Support changing of aircraft running cost via callback 36. 17 years ago
peter1138 0371e4a957 (svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour. 17 years ago
belugas 0532eb2515 (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
17 years ago
rubidium 2ce514284c (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
peter1138 0d32783f87 (svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable. 17 years ago
rubidium 13c587bf39 (svn r9670) -Documentation: add documentation to some the _map files. 17 years ago
belugas d1c2c90ad0 (svn r9669) -Documentation: some more doxygen fixes 17 years ago
miham a993a0e273 (svn r9668) -Update: WebTranslator2 update to 2007-04-18 19:27:38
catalan    - 2 fixed by arnaullv (2)
french     - 2 fixed, 2 changed by glx (4)
hungarian  - 2 fixed by miham (2)
korean     - 2 fixed by darkttd (2)
swedish    - 2 fixed, 1 changed by daishan (3)
17 years ago
maedhros 1a81c1cedd (svn r9667) -Feature: Add the concept of cities. A (configurable) proportion of towns can
start off larger, and will grow twice as quickly as other towns. They can also
be placed specifically in the scenario editor. Thanks to TheJosh for the
initial patch and the idea.
17 years ago
peter1138 01ab087f35 (svn r9666) -Fix (r9651): end of data / column flags were reversed 17 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 17 years ago
belugas 76faa0f759 (svn r9664) -Documentation: Doxygen corrections,errors and omissions 17 years ago
belugas 097b3b3c7b (svn r9662) -Documentation: Doxygen corrections and @file omissions 17 years ago
belugas 37743094ec (svn r9658) -Codechange: CT_FOOD is not part of temperate climate, place it accordingly in arctic.
It could be put in tropic too, but it can be placed in both, so first to catch it...
17 years ago
peter1138 f37930d26a (svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot 17 years ago
maedhros 535f0dae1e (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 17 years ago
belugas 9315663258 (svn r9653) -Codechange: Indicate the proper function names in the GRF messages 17 years ago
belugas 6427aff94e (svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)
17 years ago
belugas 5c4700599e (svn r9651) -Codechange: make legend system of smallmap a little bit less magic with the help of a struct and not an array of bytes 17 years ago
belugas d8821ddbd4 (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 17 years ago
miham 3843649c52 (svn r9649) -Update: WebTranslator2 update to 2007-04-16 18:55:24
brazilian_portuguese - 8 fixed by fukumori (8)
dutch      - 8 fixed by habell (8)
estonian   - 11 fixed by kristjans (11)
italian    - 25 changed by lorenzodv (25)
17 years ago
maedhros b7e9d97bc7 (svn r9648) -Codechange: Use HASBIT directly rather than shifting and then using it on the first bit. 17 years ago
maedhros c5354bdecc (svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen) 17 years ago
peter1138 fe368130dc (svn r9646) -Fix (r9645): incorrect count in error message for airport graphics 17 years ago
peter1138 30c1d7472d (svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites. 17 years ago
belugas cfaaad6384 (svn r9644) -Codechange: if else cascade into a switch case 17 years ago
belugas 436cb4296b (svn r9643) -Codechange: Simplify a test. 17 years ago
belugas ce4ea342e8 (svn r9642) -Documentation: Having a different macro name for _original_house_specs (MS) than for _town_tile_data (M) might teach doxygen that we are dealing with two entities... 17 years ago
rubidium 169ec1d712 (svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names. 17 years ago
miham 8ad3f5aa5f (svn r9640) -Update: WebTranslator2 update to 2007-04-15 19:49:19
swedish    - 23 fixed by giddorah (23)
traditional_chinese - 336 changed by xbddc (336)
17 years ago
peter1138 7df3a94d8f (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader. 17 years ago
miham 56dcbd169a (svn r9633) -Update: WebTranslator2 update to 2007-04-15 08:06:47
american   - 8 fixed by WhiteRabbit (8)
bulgarian  - 8 fixed by thetitan (8)
catalan    - 8 fixed by arnaullv (8)
czech      - 8 fixed by Hadez (8)
danish     - 8 fixed by MiR (8)
esperanto  - 8 fixed, 2 changed by LaPingvino (10)
estonian   - 8 fixed by t2t2 (8)
finnish    - 8 fixed by habazi (8)
french     - 8 fixed by glx (8)
german     - 18 fixed by Neonox (18)
italian    - 16 fixed, 847 changed by lorenzodv (863)
japanese   - 6 fixed, 5 changed by PouncingAnt (11)
korean     - 8 fixed by darkttd (6), leejaeuk5 (2)
romanian   - 8 fixed by kneekoo (8)
russian    - 8 fixed by HMage (8)
slovak     - 8 fixed by lengyel (8)
slovenian  - 8 fixed by Necrolyte (8)
spanish    - 8 fixed by eusebio (8)
traditional_chinese - 8 fixed by thomasau (8)
ukrainian  - 8 fixed by mad (8)
17 years ago
peter1138 13de7f229e (svn r9621) -Codechange: implement newgrf house property 1E (cargo types) 17 years ago
peter1138 ed8a66e3d1 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 17 years ago
belugas 5775fb475f (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 17 years ago
peter1138 e7cd92f06f (svn r9617) -Codechange: Implement callback for cargo profit calculation 17 years ago
maedhros af53865f6a (svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors. 17 years ago
miham fbef708423 (svn r9615) -Update: WebTranslator2 update to 2007-04-12 20:22:06
hungarian  - 8 fixed by miham (8)
italian    - 21 fixed, 707 changed by lorenzodv (728)
japanese   - 11 fixed by ickoonite (11)
17 years ago
maedhros 21fcae536b (svn r9614) -Feature: Use the normal growth rate values when the growth rate is set to none and "Fund new buildings" is used. 17 years ago
maedhros f2a14a813a (svn r9613) -Feature: Make it possible to have some control over the town growth. The
default rate is TTD's original rate, and to approximate OpenTTD's previous
behaviour the rate should be set to "Fast" or "Very Fast". Town growth can be
switched off entirely, and if so, buildings will not be rebuilt. It is also
possible to specify a proportion of towns that grow twice as fast as the
others.
17 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 17 years ago
peter1138 7e0ad00ef6 (svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting. 17 years ago
peter1138 3148fdca59 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 17 years ago
peter1138 f7a92a2f16 (svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows... 17 years ago
peter1138 5d48b3c122 (svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off 17 years ago
peter1138 d3ae1421fa (svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency... 17 years ago
peter1138 71d6f5c598 (svn r9595) -Fix (r9563): Transparency hotkeys didn't work 17 years ago
belugas e735e8261f (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 17 years ago
miham d68bc2bfc3 (svn r9585) -Update: WebTranslator2 update to 2007-04-10 14:52:27
romanian   - 26 fixed, 7 changed by kneekoo (33)
turkish    - 11 fixed by jnmbk (11)
17 years ago
maedhros f925791a10 (svn r9581) -Revert (r9562): This broke as much as it fixed, so revert until a proper way of paying for refits when cloning can be found. 17 years ago
belugas faad091b8f (svn r9580) -Documentation: Correction of doxygen function declarations 17 years ago
belugas 2f6f7b1984 (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 17 years ago
belugas 6ec39ea441 (svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing 17 years ago
belugas e45fe68667 (svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
-Move the check proc array, in order to make it more useful latter.
-Add basic newGRF stuff on the industry spec. Not used yet.
17 years ago
miham 8f16c2bc38 (svn r9576) -Update: WebTranslator2 update to 2007-04-08 19:22:55
american   - 15 fixed by WhiteRabbit (15)
polish     - 1 changed by meush (1)
17 years ago
belugas e824e5e892 (svn r9574) -Fix(r9520, FS#721): Oil Rig ( or industry with behaviour INDUSTRYBEH_BUILT_ONWATER) should check all tiles before leaving the test. A tile in water does not ensure that all required tiles will necessary be on water. 17 years ago
glx c709b97aad (svn r9573) -Fix: enclose settings names containing spaces (like newgrf paths) with quotes 17 years ago
miham 1d72a58190 (svn r9572) [Translations] -Fix: (r9571) strange problem fixed in galician language header 18 years ago
miham 62a7241a68 (svn r9571) -Update: WebTranslator2 update to 2007-04-07 22:18:15
danish     - 15 fixed by MiR (15)
galician   - 14 fixed by Condex (14)
portuguese - 6 fixed by izhirahider (6)
russian    - 10 fixed by HMage (10)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovenian  - 15 fixed by Necrolyte (15)
18 years ago
miham eace6cc5aa (svn r9570) -Update: WebTranslator2 update to 2007-04-06 19:21:04
brazilian_portuguese - 14 fixed by fukumori (14)
bulgarian  - 13 fixed by thetitan (10), groupsky (3)
catalan    - 13 fixed by arnaullv (13)
czech      - 9 fixed by Hadez (9)
dutch      - 13 fixed by habell (13)
esperanto  - 13 fixed by LaPingvino (13)
finnish    - 15 fixed by habazi (15)
french     - 9 fixed by glx (9)
frisian    - 99 fixed by ikkejw (99)
german     - 6 fixed by moewe2 (6)
hungarian  - 9 fixed by miham (9)
italian    - 13 fixed by lorenzodv (13)
korean     - 15 fixed by darkttd (15)
norwegian_nynorsk - 9 fixed by khaavik (9)
polish     - 16 fixed, 1 changed by meush (17)
russian    - 6 fixed, 3 changed by HMage (9)
slovak     - 9 fixed by lengyel (9)
spanish    - 15 fixed by eusebio (15)
traditional_chinese - 15 fixed, 5 changed by xbddc (20)
ukrainian  - 9 fixed by mad (9)
18 years ago
belugas e4fe1cb119 (svn r9569) -Fix(r9567): testing mode leftover... 18 years ago
belugas 7ad3bb257e (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible 18 years ago
belugas a8bedd18a5 (svn r9567) -Fix(9555, FS#718): The industry ID been collected was just an index in a out of phase array. Now, ensure that the ID will really be an IndustryType 18 years ago
peter1138 56882d2f5e (svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC. 18 years ago
peter1138 8c67992051 (svn r9564) -Fix (r9563): When adding files remember to add them... 18 years ago
peter1138 51d72c11c8 (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 18 years ago
maedhros 0340291888 (svn r9562) -Fix: When cloning, pay for the refit costs as well. 18 years ago
rubidium b430c03cdd (svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
18 years ago
rubidium 1c1a4bc872 (svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
18 years ago
belugas 45b0c8042f (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that... 18 years ago
belugas 4c4f2a34ef (svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done 18 years ago
belugas 6a86e75870 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 18 years ago
belugas 9dd844def2 (svn r9555) -Codechange: Cleanup of industry_cmd (Step-9). Use in-game appearing chances for industry creation. 18 years ago
rubidium 82a1d0f2e4 (svn r9554) -Documentation: add documentation to some map accessors. 18 years ago
rubidium c1d557bc98 (svn r9553) -Documentation: fix ambiguity issue. 18 years ago
belugas 5640d7716d (svn r9552) -Documentation: Some more doxygen work, adding comments too 18 years ago
belugas b52ce40496 (svn r9551) -Documentation: Some more doxygen work 18 years ago
belugas d71462f533 (svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
Not used yet.
18 years ago
belugas de17e621c1 (svn r9549) -Codechange: Add definition of callbacks and callback masks for both industries and industry tiles 18 years ago
miham b2bb72510b (svn r9548) [Translations] -Fix: Fixed empty strings added by WT2 [note to self: really should fix this old bug in WT2] 18 years ago
miham 7e69d12c2b (svn r9547) -Update: WebTranslator2 update to 2007-04-02 21:37:30
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian  - 2 fixed by thetitan (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 6 fixed by Hadez (6)
dutch      - 2 fixed by habell (2)
esperanto  - 2 fixed, 1 changed by LaPingvino (3)
estonian   - 4 fixed by t2t2 (4)
french     - 6 fixed by glx (6)
hungarian  - 7 fixed by miham (7)
italian    - 2 fixed by lorenzodv (2)
norwegian_bokmal - 12 fixed by oletk (12)
slovak     - 6 fixed by lengyel (6)
ukrainian  - 6 fixed by mad (6)
18 years ago
rubidium b961ef336e (svn r9546) -Fix (r9545): several typos... 18 years ago
belugas 0e33549b7f (svn r9545) -Documentation: Some corrections to previous doxygen work 18 years ago
maedhros 0e981754b3 (svn r9544) -Cleanup (r9543): Remove unused strings. 18 years ago
maedhros 00d828e738 (svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
translated properly and remove "buildable", since it isn't actually a word.
18 years ago
belugas 27311537ce (svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words 18 years ago
celestar 6f49e4c644 (svn r9541) -Codechange: Safeguard the company-buying routines so that the buying player and the bought player need to be two different entities 18 years ago
celestar 43dc111833 (svn r9540) -Fix (r1): Bankrupt AIs no longer buy themselves (usage of wrong variable) 18 years ago
truelight fb116653c6 (svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company. 18 years ago
maedhros 175eeba2c9 (svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through road stops more descriptive. 18 years ago
maedhros 59903a84ea (svn r9531) -Fix (r8661) [FS#692]: The scroll settings were wrong for trains as only a part
of the window should be horizontally scrollable, not all of it. This lead to
wagons without an engine overflowing the window and not being able to scroll to
the end of a train if there was an engine attached.
18 years ago
belugas 0a6d6eaa74 (svn r9530) -Codechange: Replace a direct industry type access by a behaviour 18 years ago
truelight 9d7497c837 (svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first 18 years ago
glx fab0c38ddf (svn r9528) -Fix r8610: don't try to modify non-existent widgets (many thanks to Bruce Perence, the libefence developer) 18 years ago
miham 58b4027129 (svn r9527) -Update: WebTranslator2 update to 2007-03-30 19:44:17
slovenian  - 2 fixed by Necrolyte (2)
18 years ago
belugas 6803f2eada (svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees 18 years ago
miham 27d6c4f869 (svn r9525) -Update: WebTranslator2 update to 2007-03-29 19:56:13
estonian   - 3 fixed, 4 changed by kristjans (7)
finnish    - 2 fixed by pallokala (2)
italian    - 1 changed by lorenzodv (1)
traditional_chinese - 1 changed by xbddc (1)
turkish    - 12 fixed by jnmbk (12)
18 years ago
celestar 4ad4f1f3f1 (svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts) 18 years ago
belugas 34272ad201 (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 18 years ago
belugas 7a0952a5bc (svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc... 18 years ago
glx 79e97494dc (svn r9519) -Fix r7406 (revert r9518): free the malloced variable, not a pointer to that variable. Also free it if there's any error. 18 years ago
rubidium 8b8f20c216 (svn r9518) -Fix [Windows]: do not free an uninitialized pointer. 18 years ago
maedhros 2eed59028f (svn r9476) -Codechange: Make build windows for all vehicle types the same width. 18 years ago
maedhros 822ce5661d (svn r9475) -Codechange: Allow the purchase details widget to expand dynamically if there's still not enough room for the text. 18 years ago
maedhros 9339c954e1 (svn r9474) -Fix (r8378): Expand the details widget in the vehicle build windows again to make room for all the text. 18 years ago
peter1138 b30354d690 (svn r9473) -Codechange: add 'unhandled variable' debug message to newcargo resolver 18 years ago
maedhros e496aaac1f (svn r9472) -Fix (r9449): num is the number of newlines in the string, not the number of lines. Also allow for maxh being negative. 18 years ago
belugas 1597b07849 (svn r9469) -Fix(r3720): The maximum year allowed for to_euro conversion of custom currency was set to 1000, making it impossible to ever have one. Now, with 3000, it should be a little more comfortable 18 years ago
belugas 32b33e3121 (svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the custom currency was reset too, thus loosing the setting a user could have used for it.(glx) 18 years ago
rubidium f9547cf3b2 (svn r9455) -Fix: the values for diff_custom, diff_level and snow_line in the .cfg were not properly checked. 18 years ago
maedhros 68248cad4f (svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long. 18 years ago
peter1138 4a1f9286dd (svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable... 18 years ago
peter1138 5780965b90 (svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary. 18 years ago
rubidium 4a9dabe2c8 (svn r9437) -Fix (r9420): dedicated server crashed when the y part of the resolution was less than 10. 18 years ago
peter1138 18c21cc115 (svn r9436) -Fix (r9411): don't deactivate GRF in an action 7/9 during reservation (and loading of cargo data), and action 6 should be run also 18 years ago
peter1138 8ec3e58b48 (svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high 18 years ago
peter1138 0aad93d1ce (svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something 18 years ago
truelight 0ecd7f7718 (svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted 18 years ago
peter1138 5a73caa0f7 (svn r9427) -Codechange: remove redundant variable 18 years ago
celestar 44be40052f (svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations 18 years ago
rubidium 3e3f582d98 (svn r9420) -Fix [FS#701]: crashes when the chatbox would be drawn outside of the main window. 18 years ago
peter1138 f69549f1eb (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 18 years ago
peter1138 c63db0def3 (svn r9417) -Fix (r1): Waiting cargo icons in the station view window were incorrectly drawn if the cargo list was scrolled, resulting in overlapping images 18 years ago
peter1138 25d4c3028f (svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though) 18 years ago
miham 5563550d98 (svn r9415) -Update: WebTranslator2 update to 2007-03-23 20:04:40
danish     - 1 changed by ThomasA (1)
german     - 5 fixed by moewe2 (5)
hungarian  - 1 fixed by miham (1)
portuguese - 8 fixed by Digitalfox (8)
simplified_chinese - 9 fixed by Fishingsnow (9)
18 years ago
peter1138 4621436d07 (svn r9413) -Codechange: Remove default cargo translation table and use bitnums directly if no table is provided. This lets pre-cargolabel cargo definitions work. 18 years ago
peter1138 9a10771046 (svn r9412) -Fix (r8886): When looking up a cargo type by label skip disabled cargos 18 years ago
peter1138 9931916345 (svn r9411) -Codechange: Add support for loading of newcargo data. 18 years ago
belugas 691f8578fd (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
belugas 8298227685 (svn r9399) -Feature: Openttd.cfg will now present landscape patch entry as been temperate, arctic, tropic or toyland.
This is the first usage of the callback conversion system of settings loading
18 years ago
belugas de273f1c45 (svn r9398) -Feature: Allow for a conversion callback system while reading configuration file, in case of wrong value.
This is the basic step, no patch setting is actually using it, so far
18 years ago
peter1138 3c6e6a1d99 (svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler 18 years ago
miham f2b8466375 (svn r9392) -Update: WebTranslator2 update to 2007-03-21 19:54:29
brazilian_portuguese - 2 changed by fukumori (2)
danish     - 11 fixed, 2 changed by ThomasA (13)
esperanto  - 8 fixed by LaPingvino (8)
estonian   - 28 fixed by vermon (27), t2t2 (1)
finnish    - 19 fixed, 66 changed by pallokala (9), habazi (76)
french     - 9 changed by Skiper (9)
italian    - 1 fixed, 49 changed by sidew (50)
traditional_chinese - 2 fixed by thomasau (2)
ukrainian  - 9 changed by mad (9)
18 years ago
belugas e9295b82ff (svn r9391) -Documentation : correct Doxygen of comments and @file inclusion. Time for P and Q files 18 years ago
belugas 4d86aa2479 (svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O 18 years ago
peter1138 93fe91cc8c (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. 18 years ago
rubidium 7e00fdac90 (svn r9387) -Fix (r9385): termination of a comment forgotten. 18 years ago
belugas 8952924c64 (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 18 years ago
rubidium d99a269493 (svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount of players in the network game when they haven't joined the game yet. 18 years ago
rubidium f64f9fad4f (svn r9377) -Fix (r9376): the off-by-one error was also present at another location :( 18 years ago
rubidium d384260ba5 (svn r9376) -Fix (r8969): off-by-one error for the amount of mouth pieces for men. 18 years ago
rubidium 9f7f58bdfc (svn r9373) -Fix (r9271): the chosen language was not stored nor read properly in/from the cfg. 18 years ago
maedhros 94db6aa1a2 (svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
18 years ago
maedhros ad0b5de3da (svn r9367) -Fix (r9315): If a new house doesn't have a corresponding action 3, the
graphics for the substitute (original) house should be drawn instead.
18 years ago
belugas 4e5567a710 (svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot. 18 years ago
peter1138 b08c8dcb6a (svn r9352) -Codechange: Use cargo class to determine if an aircraft should carry mail 18 years ago
rubidium adf90db9d0 (svn r9339) -Codechange: disable shares by default as the sharing system is broken (abusable) and should therefor not be used in multiplayer games.
-Codechange: make default maximum distance from the edge for oil refineries a little higher, so the chance that you get oil refineries is a little better.
18 years ago
truelight a33d240af8 (svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles 18 years ago
truelight c24f6f3b24 (svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open. 18 years ago
peter1138 21c69a550a (svn r9327) -Fix (r9301): Fix warning on MSVC 18 years ago
peter1138 5a2236dd84 (svn r9322) -Codechange: Use cargo class to count crash/flood victims 18 years ago
maedhros ccd448b72f (svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge. 18 years ago
maedhros 209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
18 years ago
peter1138 3d3d8d7c47 (svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft. 18 years ago
peter1138 fa206387ad (svn r9302) -Codechange: Use cargo class to test for passengers when deciding on the livery scheme to use. 18 years ago
peter1138 497e5fe565 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 18 years ago
peter1138 d947f5cec9 (svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui 18 years ago
richk 46fd8ca644 (svn r9299) -Fix (FS#675,FS#660): Small micro-movements on airports (of <4 pixels) caused odd aircraft movements. On oilrigs, this caused a full crash as movement would take helicopter out of airport/station tile.
Corrected by maneuvering aircraft directly over these tiny movements, rather than relying on movement by changing facing.
18 years ago
richk 11ba449045 (svn r9298) -Fix (r1): A34-1000, Z-Shuttle, and Kelling K1 should be listed as small aircraft. 18 years ago
miham 691e9c1d0c (svn r9292) [Translations] -Fix: Removed empty translation reached /trunk 18 years ago
miham a0bb478a29 (svn r9286) -Update: WebTranslator2 update to 2007-03-18 19:56:07
american   - 10 fixed by WhiteRabbit (10)
brazilian_portuguese - 7 fixed by fukumori (7)
bulgarian  - 12 fixed by thetitan (12)
catalan    - 3 fixed by arnaullv (3)
czech      - 8 fixed by Hadez (8)
dutch      - 8 fixed by habell (8)
french     - 3 fixed by glx (3)
greek      - 80 fixed by thanoulas (80)
italian    - 7 fixed, 7 changed by sidew (6), bluesboy84 (8)
japanese   - 11 fixed by PouncingAnt (2), ickoonite (9)
korean     - 3 fixed by darkttd (3)
norwegian_nynorsk - 6 fixed by pollux (6)
polish     - 7 fixed by meush (7)
russian    - 9 fixed, 1 changed by DarkFenX (10)
slovak     - 10 fixed by lengyel (10)
slovenian  - 6 fixed by Necrolyte (6)
spanish    - 9 fixed by eusebio (9)
swedish    - 9 fixed by daishan (9)
traditional_chinese - 6 fixed, 4 changed by thomasau (10)
ukrainian  - 9 fixed by mad (9)
18 years ago
rubidium 065144b5ae (svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg). 18 years ago
rubidium b63634f095 (svn r9277) -Fix [FS#685]: shared orders got messed up when the 'first' trains got removed in the depot. 18 years ago
celestar df793407cb (svn r9275) -Fix(r8973, FS#686): Faulty display of aircraft maximum velocity in the news item for new vehicles 18 years ago
rubidium b30f46f274 (svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths). 18 years ago
rubidium e04afaf704 (svn r9267) -Fix (r9266): some leftover includes and erronous call to ChangeWorkingDirectory (it was moved). 18 years ago
rubidium aeb7241db8 (svn r9266) -Codechange: unify the retrieval of the base paths a little more. 18 years ago
peter1138 70e32d663a (svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type... 18 years ago
peter1138 28717b6bc5 (svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type. 18 years ago
celestar 045d3dc05f (svn r9251) -Fix(r6057, FS#644): Use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game. The AI now sucks a even a bit more than before (if that's even possible). 18 years ago
peter1138 50811a49ed (svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup. 18 years ago
peter1138 5b3b287883 (svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs. 18 years ago
belugas dbee26fda9 (svn r9215) -Documentation : correct Doxygen of comments 18 years ago
truelight 89794adebe (svn r9205) -Fix: if you started openttd with '-g' you got the same map every run 18 years ago
belugas 9e90282712 (svn r9190) -Fix: Little typo in an enum. 18 years ago
maedhros 787d0fcf62 (svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under bridges. 18 years ago
belugas ee945d2375 (svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
18 years ago
peter1138 c4a191dd11 (svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios. 18 years ago
KUDr 8a58bb5108 (svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous) 18 years ago
truelight b1e8191040 (svn r9137) -Fix: if all news-setting buttons show 'full', make the ALL-button show 'full' too 18 years ago
miham 21392c7846 (svn r9132) [Translations] -Fix: Removed empty strings added by last commit 18 years ago
rubidium 9a107b8752 (svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together. 18 years ago
rubidium c0ac3745a0 (svn r9129) -Codechange: unify parts of DeterminePaths. 18 years ago
peter1138 a2c7352f71 (svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little) 18 years ago
bjarni e93ace0cfa (svn r9126) -Feature: "Function of scrollwheel" can now be set to off as well
Note: since this can be useful for all platforms, the GUI is no longer OSX specific.
  Note: scrolling lists is still unaffected by this setting
18 years ago
bjarni a7259e6317 (svn r9125) -Fix r9111: default scrollwheel setting is now zooming, not scrolling 18 years ago
miham c998e496e4 (svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 5 fixed by arnaullv (5)
czech      - 1 changed by Hadez (1)
esperanto  - 1 fixed by LaPingvino (1)
french     - 5 fixed by glx (5)
german     - 1 fixed by Neonox (1)
greek      - 260 fixed by thanoulas (260)
hungarian  - 8 fixed by miham (8)
italian    - 1 fixed by sidew (1)
korean     - 12 fixed by leejaeuk5 (7), darkttd (5)
polish     - 1 fixed, 2 changed by meush (3)
portuguese - 2 fixed by izhirahider (2)
slovenian  - 1 fixed by Necrolyte (1)
traditional_chinese - 1 fixed, 42 changed by thomasau (43)
18 years ago
rubidium 40ebea6a6a (svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window. 18 years ago
miham 8ce88873c7 (svn r9116) [Translations] -Change: force remove of changed translations (r9115) to ensure they are really changed 18 years ago
rubidium bfe4878568 (svn r9115) -Fix [FS#622]: make clear in the tooltips when the canal build tool (in the scenario editor) makes flooding water (ocean). 18 years ago
bjarni 49d26fd754 (svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the smallmap 18 years ago
bjarni 7d498a55de (svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming
  Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting
    appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
18 years ago
belugas c90cfa1df0 (svn r9108) -Fix(9093) : MSVC was a bit unhappy with some of the type changes. So basically, widening the types makes the difference 18 years ago
rubidium b510eaaca5 (svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0. 18 years ago
KUDr 3ccc5e7b27 (svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138) 18 years ago
peter1138 53452ef9a7 (svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks 18 years ago
truelight de5beec61c (svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
18 years ago
peter1138 23e4a98dad (svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type. 18 years ago
peter1138 1efd1adc97 (svn r9093) -Codechange: variable scope / type 18 years ago
peter1138 ec5b2c600b (svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate. 18 years ago
belugas b57ef910f8 (svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-Codechange: Use the newly created WWT_TEXT widget.
-Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events.
Thanks glx for ideas from an old patch
18 years ago
belugas 8ef56794ab (svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon. 18 years ago
Darkvater 8b2f9c8207 (svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus. 18 years ago
Darkvater 8007fb38d4 (svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. 18 years ago
Darkvater 6f36db349f (svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale. 18 years ago
Darkvater a59eec1c36 (svn r9083) -Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length. 18 years ago
KUDr 9cd4f3a204 (svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead. 18 years ago
peter1138 8754295bd9 (svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window. 18 years ago
peter1138 53ee239945 (svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo payment graph 18 years ago
rubidium 9cfae085cb (svn r9078) -Codechange: coding style. 18 years ago
rubidium 2b6736d244 (svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances. 18 years ago
rubidium e1eab15b84 (svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13). 18 years ago
belugas b95daaf434 (svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use. 18 years ago
glx 921d4f58cb (svn r9074) -Codechange: win32 dedicated console now doesn't need an extra 'enter' to fully quit 18 years ago
bjarni b6efe5482d (svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file) 18 years ago
bjarni 0ad237611e (svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use 18 years ago
truelight e2eeac06f8 (svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI 18 years ago
truelight ca375d573a (svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station 18 years ago
peter1138 900fcaa2fa (svn r9069) -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway... 18 years ago
rubidium 36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
truelight 05eb676f22 (svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns 18 years ago
truelight c5a6a4458b (svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it 18 years ago