Commit Graph

992 Commits

Author SHA1 Message Date
rubidium 6b37ea7b47 (svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it. 2007-04-27 20:01:25 +00:00
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. 2007-04-27 19:47:39 +00:00
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)
2007-04-27 18:28:44 +00:00
belugas 436cb70988 (svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
More to come.
2007-04-27 02:27:44 +00:00
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.
2007-04-26 20:20:12 +00:00
peter1138 5577d5c86c (svn r9720) -Codechange: Remove global var and gotos from window autoplacement 2007-04-26 17:32:54 +00:00
rubidium b469c443e9 (svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255. 2007-04-26 07:41:24 +00:00
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. 2007-04-26 07:24:19 +00:00
peter1138 5b5598b2a6 (svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation. 2007-04-26 06:49:32 +00:00
glx c1b898392e (svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag. 2007-04-25 17:40:06 +00:00
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)
2007-04-24 19:45:59 +00:00
peter1138 1164c275af (svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading. 2007-04-24 19:05:16 +00:00
peter1138 fa180a15cc (svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses. 2007-04-21 20:23:20 +00:00
truelight a5b77fad87 (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD 2007-04-21 13:20:20 +00:00
maedhros ac0c371d5a (svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index. 2007-04-21 08:51:42 +00:00
peter1138 e5a314399a (svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array. 2007-04-21 07:27:16 +00:00
peter1138 01ae38e3d7 (svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly. 2007-04-21 07:17:14 +00:00
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...
2007-04-21 02:47:33 +00:00
belugas 803b073c59 (svn r9704) -Documentation: Add comments on industry data macro 2007-04-21 02:42:51 +00:00
peter1138 1052b0e8f1 (svn r9703) -Codechange: support callback 36 in vehicle purchase lists 2007-04-20 21:42:06 +00:00
peter1138 15bfaba259 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43 2007-04-20 21:21:47 +00:00
peter1138 a4b3066433 (svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables 2007-04-20 21:19:28 +00:00
KUDr d0de381c30 (svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx) 2007-04-20 19:43:06 +00:00
KUDr 3df2656633 (svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator) 2007-04-20 19:19:23 +00:00
KUDr 4728765870 (svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference 2007-04-20 19:13:35 +00:00
rubidium 17dc1c6336 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 2007-04-20 17:52:28 +00:00
peter1138 98fe82da66 (svn r9691) -Fix (r9683): Forgotten savegame bump... 2007-04-20 17:26:10 +00:00
peter1138 8e457248a7 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 2007-04-20 17:23:33 +00:00
bjarni aa0e97e3ce (svn r9689) -Fix: Clone vehicles will no longer refit for free 2007-04-20 17:08:55 +00:00
bjarni 73875647b5 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 2007-04-20 16:56:55 +00:00
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)
2007-04-20 15:52:07 +00:00
peter1138 67529d2e63 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 2007-04-20 15:03:58 +00:00
maedhros 034f3591cf (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 2007-04-20 11:39:01 +00:00
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.
2007-04-20 11:05:56 +00:00
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. 2007-04-20 08:00:30 +00:00
peter1138 a8350e5fdf (svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*) 2007-04-20 07:51:20 +00:00
miham 20f22f021c (svn r9681) [Translations] -Fix: removed two unnecessary colons from the finnish translations (spotted by ln-) 2007-04-19 19:19:53 +00:00
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)
2007-04-19 19:11:24 +00:00
belugas 15a2c71a01 (svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01) 2007-04-19 18:51:40 +00:00
peter1138 a40d53d8d1 (svn r9678) -Codechange: Support changing of aircraft running cost via callback 36. 2007-04-19 18:49:40 +00:00
peter1138 0552b19225 (svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour. 2007-04-19 17:54:45 +00:00
belugas 95ae29b470 (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
2007-04-19 14:50:01 +00:00
rubidium 2dc5589290 (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 2007-04-18 22:41:53 +00:00
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 2007-04-18 22:10:36 +00:00
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. 2007-04-18 18:37:40 +00:00
rubidium aa284fd531 (svn r9670) -Documentation: add documentation to some the _map files. 2007-04-18 18:20:31 +00:00
belugas 4eb87ac62b (svn r9669) -Documentation: some more doxygen fixes 2007-04-18 18:00:33 +00:00
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)
2007-04-18 17:28:22 +00:00
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.
2007-04-18 14:23:30 +00:00
peter1138 4b7c59fce1 (svn r9666) -Fix (r9651): end of data / column flags were reversed 2007-04-18 07:22:53 +00:00
belugas d6651c1741 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 2007-04-18 00:41:09 +00:00
belugas addcae43fa (svn r9664) -Documentation: Doxygen corrections,errors and omissions 2007-04-17 21:09:38 +00:00
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 2007-04-17 20:23:13 +00:00
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...
2007-04-17 19:08:00 +00:00
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 2007-04-17 17:54:31 +00:00
maedhros 2a32b3b8db (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 2007-04-17 10:08:17 +00:00
belugas 792339554f (svn r9653) -Codechange: Indicate the proper function names in the GRF messages 2007-04-16 20:56:19 +00:00
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 ;)
2007-04-16 19:55:17 +00:00
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 2007-04-16 19:44:22 +00:00
belugas fc6cf587cd (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 2007-04-16 19:26:01 +00:00
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)
2007-04-16 16:56:04 +00:00
maedhros 0ec51d51b0 (svn r9648) -Codechange: Use HASBIT directly rather than shifting and then using it on the first bit. 2007-04-16 10:59:35 +00:00
maedhros 720842ba91 (svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen) 2007-04-16 10:30:31 +00:00
peter1138 229eb8cba5 (svn r9646) -Fix (r9645): incorrect count in error message for airport graphics 2007-04-16 08:31:00 +00:00
peter1138 15e112c290 (svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites. 2007-04-16 06:35:10 +00:00
belugas cc647a08a0 (svn r9644) -Codechange: if else cascade into a switch case 2007-04-16 02:56:48 +00:00
belugas 61c99f99a2 (svn r9643) -Codechange: Simplify a test. 2007-04-16 02:53:55 +00:00
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... 2007-04-16 02:47:01 +00:00
rubidium e17209b3cc (svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names. 2007-04-15 22:30:26 +00:00
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)
2007-04-15 17:51:23 +00:00
peter1138 49eb9b6fad (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader. 2007-04-15 16:20:35 +00:00
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)
2007-04-15 06:12:13 +00:00
peter1138 01ef0284cb (svn r9621) -Codechange: implement newgrf house property 1E (cargo types) 2007-04-13 21:18:48 +00:00
peter1138 59399480b3 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 2007-04-13 19:32:18 +00:00
belugas 39735f7b54 (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 2007-04-13 17:15:06 +00:00
peter1138 b5b7b489ce (svn r9617) -Codechange: Implement callback for cargo profit calculation 2007-04-12 19:33:05 +00:00
maedhros b962cc911d (svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors. 2007-04-12 18:36:54 +00:00
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)
2007-04-12 18:24:44 +00:00
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. 2007-04-12 18:23:47 +00:00
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.
2007-04-12 17:24:34 +00:00
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. 2007-04-12 13:07:15 +00:00
peter1138 8cdec9a2ab (svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting. 2007-04-12 06:16:46 +00:00
peter1138 69982b1f01 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 2007-04-11 21:04:03 +00:00
peter1138 b47078d690 (svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows... 2007-04-11 20:42:13 +00:00
peter1138 91c407bd37 (svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off 2007-04-11 20:14:11 +00:00
peter1138 23d9d6cfb4 (svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency... 2007-04-11 20:13:32 +00:00
peter1138 9e967ed6bf (svn r9595) -Fix (r9563): Transparency hotkeys didn't work 2007-04-11 20:03:05 +00:00
belugas e161e60af6 (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 2007-04-10 20:58:04 +00:00
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)
2007-04-10 12:55:08 +00:00
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. 2007-04-10 09:01:56 +00:00
belugas 82ad5a6d9c (svn r9580) -Documentation: Correction of doxygen function declarations 2007-04-09 15:06:24 +00:00
belugas ec03c72afb (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 2007-04-09 01:43:29 +00:00
belugas 93acc50678 (svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing 2007-04-09 01:14:43 +00:00
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.
2007-04-09 01:08:11 +00:00
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)
2007-04-08 17:24:10 +00:00
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. 2007-04-08 00:29:12 +00:00
glx 6b35482c8d (svn r9573) -Fix: enclose settings names containing spaces (like newgrf paths) with quotes 2007-04-07 22:30:10 +00:00
miham cb431a6a3e (svn r9572) [Translations] -Fix: (r9571) strange problem fixed in galician language header 2007-04-07 20:26:12 +00:00
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)
2007-04-07 20:21:03 +00:00
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)
2007-04-06 17:30:17 +00:00