Commit Graph

7870 Commits

Author SHA1 Message Date
rubidium
410b4fae00 (svn r11318) -Codechange: add the actual support for drawing selections on halftiles, r11316 just added the things needed to load the sprites. Patch by frosch. 2007-10-20 20:25:43 +00:00
rubidium
3fe8be47ff (svn r11317) -Fix [FS#1355]: don't read a variable of a destroyed vehicle as the value will be reset to 0. 2007-10-20 20:15:34 +00:00
rubidium
fc9ebd257f (svn r11316) -Codechange: add support for the half-tile (selection) graphics. 2007-10-20 20:06:55 +00:00
rubidium
9a32d5f44f (svn r11315) -Fix [FS#1353]: towns are not growing beyond height differences. Patch by skidd13. 2007-10-20 17:38:23 +00:00
rubidium
29ebb28c65 (svn r11314) -Fix [FS#1356]: stop following a vehicle when you sell/destroyed it. 2007-10-20 17:11:02 +00:00
rubidium
99266a173c (svn r11313) -Codechange: prepare several pieces of code so the can handle some new slopes. Patch by frosch. 2007-10-20 16:50:48 +00:00
rubidium
eadd6765e1 (svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo. 2007-10-20 14:51:09 +00:00
maedhros
3a361422fa (svn r11308) -Fix (r9315): Change the house id as well as the house spec when using an overridden town building, since the house id is the one that's used to actually build the house. 2007-10-20 10:19:23 +00:00
miham
1a6251937e (svn r11306) -Update: WebTranslator2 update to 2007-10-20 08:17:35
american   - 47 fixed by WhiteRabbit (47)
brazilian_portuguese - 46 fixed by fukumori (46)
catalan    - 3 changed by arnaullv (3)
italian    - 1 changed by lorenzodv (1)
norwegian_bokmal - 54 fixed, 1 changed by jhsoby (55)
portuguese - 5 fixed by Digitalfox (5)
swedish    - 46 fixed by giddorah (46)
ukrainian  - 9 fixed by mad (9)
2007-10-20 06:18:22 +00:00
glx
f642c03d28 (svn r11305) -Codechange: randomise layout when building an industry ingame 2007-10-20 00:20:23 +00:00
belugas
202b4de279 (svn r11304) -Feature: Control-Clicking the Center Main View button on the vehicle window allows the main viewport to follow the chosen vehicle.(stevenh) 2007-10-20 00:09:39 +00:00
rubidium
8342c18fb5 (svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround. 2007-10-19 22:46:55 +00:00
glx
3b08339a10 (svn r11302) -Fix (r9520): typo 2007-10-19 21:14:38 +00:00
glx
b0e5a3be63 (svn r11301) -Fix: water check when building industries didn't work 2007-10-19 21:05:25 +00:00
glx
f6907db708 (svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params 2007-10-18 20:35:59 +00:00
rubidium
4ce24d8a40 (svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ. 2007-10-18 20:34:09 +00:00
rubidium
f034036ef4 (svn r11291) -Fix [FS#1345]: changing the wagon_speed_limits patch option caused desyncs. 2007-10-18 20:32:36 +00:00
rubidium
6f75794b0f (svn r11290) -Fix: obiwan in the assertion that checked for overflows when writing a packet, causing still correctly sized packets to cause assertions. 2007-10-18 17:44:59 +00:00
miham
5a27f5448b (svn r11288) -Update: WebTranslator2 update to 2007-10-17 23:47:06
bulgarian  - 47 fixed by thetitan (47)
catalan    - 46 fixed by arnaullv (46)
dutch      - 46 fixed by habell (46)
french     - 46 fixed by glx (46)
hungarian  - 28 fixed by miham (28)
italian    - 46 fixed, 1 changed by lorenzodv (47)
russian    - 53 fixed by Smoky555 (53)
slovak     - 46 fixed, 8 changed by lengyel (54)
slovenian  - 46 fixed by Necrolyte (46)
spanish    - 46 fixed by eusebio (46)
2007-10-17 21:47:44 +00:00
rubidium
eaff35a821 (svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka. 2007-10-17 20:09:16 +00:00
rubidium
20ee708744 (svn r11286) -Fix (r11228): NewGRF industries assume that the order of animation always stays the same. Patch by Csaboka. 2007-10-17 16:09:04 +00:00
glx
34f8fd2d2b (svn r11285) -Fix: 'site unsuitable' was always shown instead specified message when trying to build industry ingame (Csaboka) 2007-10-17 15:47:49 +00:00
glx
b9572bd083 (svn r11284) -Codechange: don't reset build industry cursor if it failed 2007-10-17 14:54:18 +00:00
belugas
5691c77494 (svn r11283) -Fix(r11282): a typo. Don't ask. 2007-10-17 02:50:18 +00:00
belugas
ebd7b63733 (svn r11282) -Fix[FS#1344]: Use the right pointer when evaluating the size of the layouts. 2007-10-17 02:46:21 +00:00
belugas
9804808fe4 (svn r11281) -Revert(r11259): the problem was not there. In fact, it made it so that no more music were allowed on intro.
-Fix[FS#1331]: Somehow, the notion that the first song must be the ttd theme has been lost while on the intro window.
When using shuffling setting (which was saved), the intro song at startup was shuffled too.  No more :)
2007-10-17 01:33:21 +00:00
rubidium
04c09b9bf2 (svn r11280) -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ. 2007-10-16 21:16:30 +00:00
rubidium
406c22d7e3 (svn r11279) -Codechange: use a typedeffed type for all magic with GameDifficulty instead on relying ints to always be 32 bits, which they are not. 2007-10-16 21:15:34 +00:00
glx
c0e5ca11dc (svn r11278) -Fix [FS#1342] (r11269): modulo result can be negative for signed int 2007-10-16 20:59:53 +00:00
glx
389391f9ec (svn r11277) -Fix (r8498): the check for ghost station (on water industries) always removed station for non-oilrig 2007-10-16 20:44:59 +00:00
rubidium
3bcfe14cd1 (svn r11276) -Codechange: be more consistent with naming of some accessors.
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-16 19:48:58 +00:00
rubidium
8c33d938cb (svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not yet loaded. 2007-10-16 19:27:24 +00:00
belugas
cba9def0ba (svn r11272) -Codechange: Truncate text describing the grf file in the NewGrf settings gui 2007-10-16 00:35:59 +00:00
rubidium
2cb0906c58 (svn r11271) -Fix [FS#1333]: some (very) old games (TTD original scenarios for example) would give a new vehicle spree, even though the vehicles were introduced decades ago. 2007-10-15 20:49:11 +00:00
rubidium
d63262ddb9 (svn r11270) -Fix (r11269): black people only have one eye colour. 2007-10-15 20:33:11 +00:00
rubidium
5164e57416 (svn r11269) -Feature: user customisable faces. Patch by BigBB. 2007-10-15 19:59:27 +00:00
belugas
1280c7636d (svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. Looks like there was one spot missing. Thanks frosch 2007-10-15 18:36:20 +00:00
miham
506107ea9d (svn r11267) -Update: WebTranslator2 update to 2007-10-15 19:58:13
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian  - 12 fixed by thetitan (12)
norwegian_bokmal - 118 fixed, 32 changed by jhsoby (150)
swedish    - 1 fixed by ChrillDeVille (1)
ukrainian  - 22 changed by mad (22)
2007-10-15 17:58:42 +00:00
belugas
c5a8f4a857 (svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores 2007-10-15 00:06:59 +00:00
maedhros
ee4823857f (svn r11265) -Feature: Make more advanced rail types more expensive to build. 2007-10-14 21:20:12 +00:00
rubidium
85b56a9c15 (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
7a20f662ac (svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch. 2007-10-14 20:16:44 +00:00
rubidium
633004402a (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
8b5b748029 (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
ad128da526 (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
198ea304ad (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
3d4bc58dc4 (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
0cc8449101 (svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack 2007-10-14 14:50:07 +00:00
belugas
5a64bb79d8 (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
748d5141cd (svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading 2007-10-13 16:56:29 +00:00