Commit Graph

2091 Commits

Author SHA1 Message Date
rubidium
4276173922 (svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13. 2007-10-14 20:24:42 +00:00
rubidium
69605afdf2 (svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch. 2007-10-14 20:16:44 +00:00
rubidium
64a6d3daad (svn r11262) -Fix [FS#1330]: do not check for vehicles that are not on the ground when removing owned land, furthermore do not check for shadows (of aircraft). 2007-10-14 20:12:51 +00:00
rubidium
486e4bbca2 (svn r11261) -Codechange: Draw selection sprites (HT_RECT, HT_POINT, HT_RAIL) on foundations as ChildSprite of the foundation, not as single ParentSprite. Patch by frosch. 2007-10-14 19:57:15 +00:00
rubidium
41b3c86d8e (svn r11260) -Codechange: replace a magic number by a less magic enumified constant. Patch by ammler. 2007-10-14 19:48:48 +00:00
rubidium
835a9670af (svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session. 2007-10-14 19:46:00 +00:00
rubidium
edc2a62669 (svn r11258) -Fix [FS#1325]: if a Load Amount callback returns 0, it means (according to TTDP's source code, not "the" specs) that it should take the "default" one. 2007-10-14 19:13:38 +00:00
glx
f45b2e8d38 (svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack 2007-10-14 14:50:07 +00:00
belugas
c78c96a8ad (svn r11256) -Codechange: Make opening a new toolbar not overlapping its parent one, by locating it under the parent, and aligned with the left side of it.
FS#1310, by BigBB
2007-10-14 00:26:24 +00:00
glx
d47e51c246 (svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading 2007-10-13 16:56:29 +00:00
glx
f49a52c2ff (svn r11253) -Fix (r9411): industries can still use cargo they define, even if these cargo are disabled by a grf loaded later 2007-10-13 02:49:05 +00:00
glx
ac9f287f20 (svn r11252) -Revert r11239, Fix r9620: cargo translation was not done correctly 2007-10-13 02:23:11 +00:00
belugas
63f54c43b3 (svn r11251) -Fix[FS#1318]: Newindustries must not rely on the old check placement functions. It is the the job of callbacks. Therefor, upon substitution, disable the said check.
Warning, plenty of industries are going to be generated ;)
2007-10-13 00:49:13 +00:00
miham
f79f3edb3f (svn r11249) -Update: WebTranslator2 update to 2007-10-12 22:42:24
afrikaans  - 110 fixed, 141 changed by TrueTenacity (251)
catalan    - 1 fixed by arnaullv (1)
czech      - 1 fixed by Hadez (1)
french     - 1 fixed by glx (1)
slovak     - 1 fixed by lengyel (1)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 1 fixed by eusebio (1)
turkish    - 11 fixed by jnmbk (11)
ukrainian  - 3 fixed by mad (3)
2007-10-12 20:43:01 +00:00
belugas
e4fdc7ce51 (svn r11248) -Fix[FS#1314]: The logic behind industry slot allocation was implying that the only condition an override could be placed in a slot is that there were no previous override.
That is not exact: the slot must not have been occupied by an industry coming from a grf.
So now, tourist center is available if more then one grf is used
2007-10-12 15:54:49 +00:00
belugas
9934cb8a1c (svn r11247) -Fix: The Industry's name to fund could be larger than the window itself. Now, it fits within the physical allowed space 2007-10-12 00:43:18 +00:00
belugas
0bedd88870 (svn r11246) -Codechange: beautify some conditions from "if else" into trinary operator 2007-10-11 15:40:53 +00:00
truelight
8b7f864c2d (svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka) 2007-10-11 11:32:43 +00:00
truelight
645e5b1fb0 (svn r11244) -Fix: trees can now be planted on bare land without making it grassy (Csaboka)
-Fix: planting tree in desert doesn't make it grassy for the first tile-cycle (Csaboka)
-Fix: when a tree dies in desert, it no longer becomes a snowy tile for the first tile-cycle (Csaboka)
2007-10-11 11:06:04 +00:00
glx
1ff0197ca4 (svn r11243) -Fix: update waypoint signs when renaming a town 2007-10-10 01:36:15 +00:00
belugas
81ed86477b (svn r11242) -Codechange: When displaying the industry funding gui, present the industries in the same order as they are available.
Prior of this, they were separated in processing/organic  and  extractive.
Now, all are mixed, just filtered when required.  This will allow easy comparison with TTDPatch's list. (glx and me)
2007-10-10 01:15:07 +00:00
belugas
c446c5ffb3 (svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and fixed by Csaboka 2007-10-10 00:42:52 +00:00
glx
129d5c6e8a (svn r11240) -Fix [FS#1323] (r11152): forgot to invert a test 2007-10-10 00:01:41 +00:00
glx
ffbd818517 (svn r11239) -Fix (r10495): don't do cargo translation when loading grfs, but do it once all grfs are loaded. This ensure correct accept/produced cargo when a grf uses cargo defined in a grf loaded after itself 2007-10-09 21:40:15 +00:00
rubidium
77020e255b (svn r11238) -Fix [FS#1316]: the orders of trains going to a waypoint where not updated when the waypoint would be moved. 2007-10-09 21:29:34 +00:00
rubidium
6cebf4aa53 (svn r11237) -Codechange: reduce code duplication between GetRailFoundation() and CheckRailSlope(). Patch by frosch. 2007-10-09 21:11:23 +00:00
rubidium
a71b7226c5 (svn r11236) -Fix [FS#1322]: DeleteVehicleChain can just work as good for all vehicles, instead of not allowing trains to use it (enforced by an assert), but actually using it for trains. Patch by SmatZ. 2007-10-09 20:53:25 +00:00
miham
7140c35cda (svn r11235) -Update: WebTranslator2 update to 2007-10-09 19:28:02
croatian   - 1 fixed by tperic (1)
dutch      - 3 fixed by habell (3)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
2007-10-09 17:28:37 +00:00
rubidium
84d93ec0e2 (svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south. 2007-10-09 15:48:41 +00:00
rubidium
6b9bff7531 (svn r11233) -Fix [FS#1303]: handle some wrong written station NewGRFs a little more gracefully than segfaulting. 2007-10-09 15:28:40 +00:00
glx
5684e42ada (svn r11232) -Fix (r10495): industry tile override works like house override, so handle it in the same way 2007-10-09 02:57:29 +00:00
rubidium
8c572c0ee5 (svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch. 2007-10-08 20:42:33 +00:00
rubidium
cbfe23108c (svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ. 2007-10-08 20:16:25 +00:00
rubidium
b6c9bc80cf (svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money. 2007-10-08 20:06:37 +00:00
rubidium
cb6cdf7978 (svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries. 2007-10-08 19:56:21 +00:00
miham
bbbfcb4360 (svn r11227) -Update: WebTranslator2 update to 2007-10-08 20:45:04
afrikaans  - 3 fixed, 236 changed by TrueTenacity (239)
croatian   - 5 fixed by knovak (5)
italian    - 1 changed by lorenzodv (1)
slovak     - 2 fixed by lengyel (2)
spanish    - 2 fixed by eusebio (2)
2007-10-08 18:45:33 +00:00
miham
885bbc3985 (svn r11226) -Update: WebTranslator2 update to 2007-10-07 19:56:41
afrikaans  - 48 fixed, 160 changed by TrueTenacity (208)
american   - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 5 fixed by arnaullv (5)
czech      - 3 fixed, 1 changed by Hadez (4)
dutch      - 3 fixed by habell (3)
estonian   - 3 fixed, 23 changed by kristjans (26)
french     - 5 fixed by glx (5)
hungarian  - 4 fixed by miham (4)
italian    - 5 fixed by lorenzodv (5)
slovak     - 3 fixed by lengyel (3)
slovenian  - 5 fixed by Necrolyte (5)
spanish    - 3 fixed by eusebio (3)
swedish    - 6 fixed, 12 changed by ChrillDeVille (18)
ukrainian  - 3 fixed by mad (3)
2007-10-07 17:59:46 +00:00
rubidium
9d8c8c200e (svn r11225) -Fix: if a sprite shares the bounding box of another sprite, the offset is unsigned instead of signed. 2007-10-07 15:26:20 +00:00
rubidium
b8bd791d76 (svn r11224) -Fix: GRM for cargos has registration entries for both cargo IDs and cargo bitmasks, not only cargo IDs. 2007-10-07 08:48:31 +00:00
belugas
c06a8c60ad (svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz). 2007-10-07 01:37:06 +00:00
belugas
62ab367800 (svn r11216) -Codechange: Protect the callback who would access var 45 against a randomness that could eventually cause desynchs. Instead, use a controlled random value. 2007-10-06 00:23:30 +00:00
rubidium
39a8b5549e (svn r11215) -Codechange: replace magic constants with less magic symbols. Patch by skidd13. 2007-10-05 22:39:15 +00:00
glx
8e5480aa16 (svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders 2007-10-05 22:13:35 +00:00
rubidium
0fd7d6257b (svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge. 2007-10-05 22:10:15 +00:00
rubidium
6e7402a1c5 (svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch. 2007-10-05 21:49:15 +00:00
rubidium
bf35f3a21a (svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized. 2007-10-05 21:31:59 +00:00
rubidium
1e73368d48 (svn r11210) -Codechange: unify the way that selection sprites are drawn. Patch by frosch. 2007-10-05 19:57:20 +00:00
rubidium
f4721fed87 (svn r11209) -Codechange: remove some magic numbers and bit magic with appropriate enums and functions. Patch by frosch. 2007-10-05 19:36:13 +00:00
rubidium
e237ac3ff3 (svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch. 2007-10-05 17:55:12 +00:00
glx
9a190237ca (svn r11207) -Fix [FS#1301]: don't use smooth_economy for industries using production callbacks as they may have no production for more than a month 2007-10-05 17:53:45 +00:00