Commit Graph

1225 Commits (98c3056aa66b82817ab2dc4045c718de4dbaaf1a)

Author SHA1 Message Date
rubidium 23492f1f34 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 18 years ago
rubidium a390db6941 (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas). 18 years ago
rubidium 54de7d90f6 (svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished. 18 years ago
rubidium 72662e15f9 (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 ....).
18 years ago
peter1138 b80e11c44c (svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling. 18 years ago
rubidium c7d57379fb (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. 18 years ago
truelight d7b4fb80d0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 18 years ago
glx 62fe9c2e42 (svn r9834) -Add: win9x check in win32 builds 18 years ago
rubidium 42f920964b (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 18 years ago
rubidium e72ab0fdf5 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 18 years ago
rubidium d78651f7b1 (svn r9831) -Codechange: more refactoring of the loading/unloading. 18 years ago
belugas 2ccc060b4a (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) 18 years ago
rubidium c46a00aba7 (svn r9829) -Codechange: more refactoring of the unloading algorithm. 18 years ago
peter1138 1d5135830a (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. 18 years ago
peter1138 5e00e688f8 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 18 years ago
peter1138 c9018d3e7c (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 18 years ago
maedhros 3cc31aae86 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 18 years ago
peter1138 9643fd7638 (svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb) 18 years ago
peter1138 dc2073b96e (svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested. 18 years ago
rubidium f24f9d5a2e (svn r9817) -Fix [FS#772]: an assertion that was triggered by the AI building when its rating for the town was not high enough. 18 years ago
rubidium 2d86e87a3d (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits. 18 years ago
maedhros d098e88035 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 18 years ago
rubidium 5869384530 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 18 years ago
peter1138 e0a276c1a2 (svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button. 18 years ago
miham e52a953e99 (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)
18 years ago
peter1138 e643aeaed2 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 18 years ago
peter1138 bc7d762196 (svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships. 18 years ago
rubidium 2efecd34c4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 18 years ago
rubidium 161786e222 (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station. 18 years ago
peter1138 4591fb5b0d (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types. 18 years ago
peter1138 0de85b7eb0 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 18 years ago
peter1138 76ee6d1c82 (svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' changes, as well as 'state'. (Thanks to bulb) 18 years ago
rubidium b46e37774d (svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p). 18 years ago
rubidium feadd86819 (svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p). 18 years ago
rubidium 411985b13a (svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p). 18 years ago
rubidium 208e40a839 (svn r9800) -Codechange: play sound effects based on the engine class, not the rail type (mart3p). 18 years ago
rubidium fe1306ce65 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 18 years ago
peter1138 37a873e03c (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 18 years ago
miham b0e3c0d40a (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)
18 years ago
rubidium 5c0a52149d (svn r9795) -Codechange: enumify the EngineClass. 18 years ago
rubidium abbaa1691e (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle. 18 years ago
maedhros cf927a9792 (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 18 years ago
maedhros b81a390d47 (svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor. 18 years ago
glx 41bbc5c990 (svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value 18 years ago
peter1138 74bf87dd82 (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. 18 years ago
rubidium 438d55d576 (svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered. 18 years ago
glx 79637ef7b8 (svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players 18 years ago
rubidium b76cc8c96b (svn r9784) -Codechange: remove unused variable. 18 years ago
peter1138 e81906c62d (svn r9780) -Codechange: [NewGRF] Add support for variable vehicle weight for trains (callback 36, property 16) 18 years ago
belugas aff49954bf (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
18 years ago
peter1138 449e76c05a (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 18 years ago
miham 574013a920 (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)
18 years ago
glx a7c39f7325 (svn r9773) -Fix r9772: MSVC warning 18 years ago
rubidium 9194d5ab9e (svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly). 18 years ago
peter1138 c584b7a401 (svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral) 18 years ago
rubidium 981bf52bdd (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station. 18 years ago
belugas e4dc1f460b (svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean 18 years ago
rubidium 951c74806f (svn r9765) -Codechange: constify some class functions. 18 years ago
rubidium dce7dcb664 (svn r9764) -Codechange: replace some lookup tables by functions. 18 years ago
rubidium 1bea3b55a6 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 18 years ago
belugas 9b7a615887 (svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
Based on FS#289, by pitt2
18 years ago
rubidium f25a168c98 (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle. 18 years ago
rubidium a4e045a3fb (svn r9760) -Codechange: remove the need for saving some vehicle variables. 18 years ago
truelight 2ccee752fd (svn r9759) -Add: added threading code for MorphOS (tokai) 18 years ago
peter1138 7ce17c9577 (svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts 18 years ago
rubidium 0aad91f43b (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. 18 years ago
rubidium cbd9a1bf0d (svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left. 18 years ago
rubidium ec9ac99d01 (svn r9755) -Codechange: refactor some more of the begin loading stuff. 18 years ago
rubidium 202009522c (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches. 18 years ago
bjarni 95e48eacac (svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
v->dest_tile is now copied when replacing the front engine
18 years ago
rubidium 6440440f12 (svn r9752) -Codechange: remove some duplication related to BeginLoading. 18 years ago
KUDr bf04c88eca (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 18 years ago
KUDr 027597f485 (svn r9745) -Codechange [YAPF}: if destination is a waypoint then YAPF gets destination tile from that waypoint->xy instead of from v->dest_tile 18 years ago
maedhros 469c04478a (svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water. 18 years ago
maedhros 02e770ff2c (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time. 18 years ago
rubidium ccf4ddc06f (svn r9741) -Fix [FS#672]: station signs were not resized when the language changed, causing overflows in the coloured sign background. 18 years ago
truelight 347bfc7f9f (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment 18 years ago
maedhros 6ebe60fc17 (svn r9734) -Feature: Add an option to automatically pause when starting a new game. 18 years ago
truelight 57ad2dd0fb (svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with spaces, making it look ugly from time to time 18 years ago
maedhros 889f2ab48c (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 18 years ago
rubidium e1057864d8 (svn r9729) -Documentation: add some documentation in various places 18 years ago
glx 75ba8f4489 (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. 18 years ago
peter1138 b02623901a (svn r9727) -Fix (r8546): Company password field in network player info was inverted. 18 years ago
rubidium 6b37ea7b47 (svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it. 18 years ago
rubidium 49cd2374bb (svn r9725) -Fix [FS#743]: plane made a 270 degree turn instead of a 90 degree turn on take off from the southern runway. 18 years ago
miham 9c741dd325 (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)
18 years ago
belugas 436cb70988 (svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
More to come.
18 years ago
belugas 5912b08890 (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.
18 years ago
peter1138 5577d5c86c (svn r9720) -Codechange: Remove global var and gotos from window autoplacement 18 years ago
rubidium b469c443e9 (svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255. 18 years ago
peter1138 4d0483b650 (svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window. 18 years ago
peter1138 5b5598b2a6 (svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation. 18 years ago
glx c1b898392e (svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag. 18 years ago
miham 78e542a62e (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)
18 years ago
peter1138 1164c275af (svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading. 18 years ago
peter1138 fa180a15cc (svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses. 18 years ago
truelight a5b77fad87 (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD 18 years ago
maedhros ac0c371d5a (svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index. 18 years ago
peter1138 e5a314399a (svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array. 18 years ago
peter1138 01ae38e3d7 (svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly. 18 years ago
belugas 3a1e7679d8 (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...
18 years ago
belugas 803b073c59 (svn r9704) -Documentation: Add comments on industry data macro 18 years ago
peter1138 1052b0e8f1 (svn r9703) -Codechange: support callback 36 in vehicle purchase lists 18 years ago
peter1138 15bfaba259 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43 18 years ago
peter1138 a4b3066433 (svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables 18 years ago
KUDr d0de381c30 (svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx) 18 years ago
KUDr 3df2656633 (svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator) 18 years ago
KUDr 4728765870 (svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference 18 years ago
rubidium 17dc1c6336 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 18 years ago
peter1138 98fe82da66 (svn r9691) -Fix (r9683): Forgotten savegame bump... 18 years ago
peter1138 8e457248a7 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 18 years ago
bjarni aa0e97e3ce (svn r9689) -Fix: Clone vehicles will no longer refit for free 18 years ago
bjarni 73875647b5 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 18 years ago
miham afea22e013 (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)
18 years ago
peter1138 67529d2e63 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 18 years ago
maedhros 034f3591cf (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 18 years ago
maedhros 8b65349d86 (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.
18 years ago
rubidium fdf86bb4a2 (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 18 years ago
peter1138 a8350e5fdf (svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*) 18 years ago
miham 20f22f021c (svn r9681) [Translations] -Fix: removed two unnecessary colons from the finnish translations (spotted by ln-) 18 years ago
miham 7e63ff86e1 (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)
18 years ago
belugas 15a2c71a01 (svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01) 18 years ago
peter1138 a40d53d8d1 (svn r9678) -Codechange: Support changing of aircraft running cost via callback 36. 18 years ago
peter1138 0552b19225 (svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour. 18 years ago
belugas 95ae29b470 (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
18 years ago
rubidium 2dc5589290 (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 18 years ago
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 18 years ago
peter1138 41cf2fa69b (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. 18 years ago
rubidium aa284fd531 (svn r9670) -Documentation: add documentation to some the _map files. 18 years ago
belugas 4eb87ac62b (svn r9669) -Documentation: some more doxygen fixes 18 years ago
miham 7789eef209 (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)
18 years ago
maedhros 16a948a463 (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.
18 years ago
peter1138 4b7c59fce1 (svn r9666) -Fix (r9651): end of data / column flags were reversed 18 years ago
belugas d6651c1741 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 18 years ago
belugas addcae43fa (svn r9664) -Documentation: Doxygen corrections,errors and omissions 18 years ago
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 18 years ago
belugas c39ab93daa (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...
18 years ago
peter1138 2b2cfaeec1 (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 18 years ago
maedhros 2a32b3b8db (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 18 years ago
belugas 792339554f (svn r9653) -Codechange: Indicate the proper function names in the GRF messages 18 years ago
belugas 44143b8cdb (svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)
18 years ago
belugas a5bd48b23d (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 18 years ago
belugas fc6cf587cd (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 18 years ago
miham 87e3e48ef0 (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)
18 years ago
maedhros 0ec51d51b0 (svn r9648) -Codechange: Use HASBIT directly rather than shifting and then using it on the first bit. 18 years ago
maedhros 720842ba91 (svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen) 18 years ago
peter1138 229eb8cba5 (svn r9646) -Fix (r9645): incorrect count in error message for airport graphics 18 years ago
peter1138 15e112c290 (svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites. 18 years ago
belugas cc647a08a0 (svn r9644) -Codechange: if else cascade into a switch case 18 years ago
belugas 61c99f99a2 (svn r9643) -Codechange: Simplify a test. 18 years ago
belugas 83c269d071 (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... 18 years ago
rubidium e17209b3cc (svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names. 18 years ago
miham 071e466609 (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)
18 years ago
peter1138 49eb9b6fad (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader. 18 years ago
miham 24e95eb2cd (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)
18 years ago
peter1138 01ef0284cb (svn r9621) -Codechange: implement newgrf house property 1E (cargo types) 18 years ago
peter1138 59399480b3 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 18 years ago
belugas 39735f7b54 (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 18 years ago
peter1138 b5b7b489ce (svn r9617) -Codechange: Implement callback for cargo profit calculation 18 years ago
maedhros b962cc911d (svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors. 18 years ago
miham 10d4bfa2a7 (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)
18 years ago
maedhros 39b193efb6 (svn r9614) -Feature: Use the normal growth rate values when the growth rate is set to none and "Fund new buildings" is used. 18 years ago
maedhros 61fe356880 (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.
18 years ago
maedhros ccaaa7d33a (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 18 years ago
peter1138 8cdec9a2ab (svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting. 18 years ago
peter1138 69982b1f01 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 18 years ago
peter1138 b47078d690 (svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows... 18 years ago
peter1138 91c407bd37 (svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off 18 years ago
peter1138 23d9d6cfb4 (svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency... 18 years ago
peter1138 9e967ed6bf (svn r9595) -Fix (r9563): Transparency hotkeys didn't work 18 years ago
belugas e161e60af6 (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 18 years ago
miham e34df4f3ad (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)
18 years ago
maedhros afc3da5fc8 (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. 18 years ago
belugas 82ad5a6d9c (svn r9580) -Documentation: Correction of doxygen function declarations 18 years ago
belugas ec03c72afb (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 18 years ago
belugas 93acc50678 (svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing 18 years ago
belugas cdb910d64b (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.
18 years ago
miham 039720650a (svn r9576) -Update: WebTranslator2 update to 2007-04-08 19:22:55
american   - 15 fixed by WhiteRabbit (15)
polish     - 1 changed by meush (1)
18 years ago
belugas 12addc1bbe (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. 18 years ago
glx 6b35482c8d (svn r9573) -Fix: enclose settings names containing spaces (like newgrf paths) with quotes 18 years ago
miham cb431a6a3e (svn r9572) [Translations] -Fix: (r9571) strange problem fixed in galician language header 18 years ago
miham 78a3c51423 (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 558a6267fd (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 1c97841ff6 (svn r9569) -Fix(r9567): testing mode leftover... 18 years ago
belugas d4d5ce7ee5 (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 15d360c7f6 (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 39f92d1f21 (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 614dd12f21 (svn r9564) -Fix (r9563): When adding files remember to add them... 18 years ago
peter1138 a2cec54c9d (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 abf88b687c (svn r9562) -Fix: When cloning, pay for the refit costs as well. 18 years ago
rubidium 3b8dd00bae (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 db91588845 (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 a1b7fb8909 (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 f81217bcf4 (svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done 18 years ago
belugas dfe5533db6 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 18 years ago
belugas f12d1a3f0a (svn r9555) -Codechange: Cleanup of industry_cmd (Step-9). Use in-game appearing chances for industry creation. 18 years ago
rubidium a403f32e59 (svn r9554) -Documentation: add documentation to some map accessors. 18 years ago
rubidium d2634aaeec (svn r9553) -Documentation: fix ambiguity issue. 18 years ago
belugas 64f2e6ef07 (svn r9552) -Documentation: Some more doxygen work, adding comments too 18 years ago
belugas 56943ab584 (svn r9551) -Documentation: Some more doxygen work 18 years ago
belugas 0d691539a4 (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 b1e0fdfd2a (svn r9549) -Codechange: Add definition of callbacks and callback masks for both industries and industry tiles 18 years ago
miham b13086bfee (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 517225935b (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 48c23d27f3 (svn r9546) -Fix (r9545): several typos... 18 years ago
belugas d58f9ef7b4 (svn r9545) -Documentation: Some corrections to previous doxygen work 18 years ago
maedhros e2cd1fedf7 (svn r9544) -Cleanup (r9543): Remove unused strings. 18 years ago
maedhros eae03e0f72 (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 65bc46082e (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 191ea4b1ba (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 e3f1914de0 (svn r9540) -Fix (r1): Bankrupt AIs no longer buy themselves (usage of wrong variable) 18 years ago
truelight 32c3ba6604 (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 9c88baee67 (svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through road stops more descriptive. 18 years ago
maedhros 3ac05f25db (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 377fbf9eb7 (svn r9530) -Codechange: Replace a direct industry type access by a behaviour 18 years ago
truelight a764888619 (svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first 18 years ago
glx 94b3ea7b34 (svn r9528) -Fix r8610: don't try to modify non-existent widgets (many thanks to Bruce Perence, the libefence developer) 18 years ago
miham 70a73fceab (svn r9527) -Update: WebTranslator2 update to 2007-03-30 19:44:17
slovenian  - 2 fixed by Necrolyte (2)
18 years ago
belugas 77b3767f2f (svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees 18 years ago
miham 7a57ae4968 (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 a1ab0d29fe (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 386e298acd (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 18 years ago
belugas 72fc068844 (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 29b2455761 (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 5d3c610ab5 (svn r9518) -Fix [Windows]: do not free an uninitialized pointer. 18 years ago
maedhros c25d539543 (svn r9476) -Codechange: Make build windows for all vehicle types the same width. 18 years ago
maedhros cdf74ca0c9 (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 d2bd12d52e (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 2afcd1561a (svn r9473) -Codechange: add 'unhandled variable' debug message to newcargo resolver 18 years ago
maedhros c2312c37d6 (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 ac784b5fbe (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 683aae8abf (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 45e788d524 (svn r9455) -Fix: the values for diff_custom, diff_level and snow_line in the .cfg were not properly checked. 18 years ago
maedhros 1a70cf53ff (svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long. 18 years ago
peter1138 f56fbbfed9 (svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable... 18 years ago
peter1138 e74169364c (svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary. 18 years ago
rubidium 0a3719fb72 (svn r9437) -Fix (r9420): dedicated server crashed when the y part of the resolution was less than 10. 18 years ago
peter1138 0ceca4140a (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 fc540fcd0d (svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high 18 years ago
peter1138 bea0993015 (svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something 18 years ago
truelight 9a9e891e0c (svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted 18 years ago
peter1138 d53e16131d (svn r9427) -Codechange: remove redundant variable 18 years ago
celestar 49ff7cb938 (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 694c7fdf0f (svn r9420) -Fix [FS#701]: crashes when the chatbox would be drawn outside of the main window. 18 years ago
peter1138 68572f1076 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 18 years ago
peter1138 8353032129 (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 2e32df30dd (svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though) 18 years ago
miham c603a27d29 (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 85ec21e8c5 (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 2f6a46632a (svn r9412) -Fix (r8886): When looking up a cargo type by label skip disabled cargos 18 years ago