rubidium
69605afdf2
(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.
17 years ago
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).
17 years ago
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.
17 years ago
rubidium
41b3c86d8e
(svn r11260) -Codechange: replace a magic number by a less magic enumified constant. Patch by ammler.
17 years ago
rubidium
835a9670af
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
17 years ago
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.
17 years ago
glx
f45b2e8d38
(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack
17 years ago
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
17 years ago
glx
d47e51c246
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
17 years ago
glx
f49a52c2ff
(svn r11253) -Fix (r9411): industries can still use cargo they define, even if these cargo are disabled by a grf loaded later
17 years ago
glx
ac9f287f20
(svn r11252) -Revert r11239, Fix r9620: cargo translation was not done correctly
17 years ago
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 ;)
17 years ago
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)
17 years ago
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
17 years ago
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
17 years ago
belugas
0bedd88870
(svn r11246) -Codechange: beautify some conditions from "if else" into trinary operator
17 years ago
truelight
8b7f864c2d
(svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka)
17 years ago
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)
17 years ago
glx
1ff0197ca4
(svn r11243) -Fix: update waypoint signs when renaming a town
17 years ago
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)
17 years ago
belugas
c446c5ffb3
(svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and fixed by Csaboka
17 years ago
glx
129d5c6e8a
(svn r11240) -Fix [FS#1323] (r11152): forgot to invert a test
17 years ago
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
17 years ago
rubidium
77020e255b
(svn r11238) -Fix [FS#1316]: the orders of trains going to a waypoint where not updated when the waypoint would be moved.
17 years ago
rubidium
6cebf4aa53
(svn r11237) -Codechange: reduce code duplication between GetRailFoundation() and CheckRailSlope(). Patch by frosch.
17 years ago
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.
17 years ago
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)
17 years ago
rubidium
84d93ec0e2
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
17 years ago
rubidium
6b9bff7531
(svn r11233) -Fix [FS#1303]: handle some wrong written station NewGRFs a little more gracefully than segfaulting.
17 years ago
glx
5684e42ada
(svn r11232) -Fix (r10495): industry tile override works like house override, so handle it in the same way
17 years ago
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.
17 years ago
rubidium
cbfe23108c
(svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ.
17 years ago
rubidium
b6c9bc80cf
(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money.
17 years ago
rubidium
cb6cdf7978
(svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries.
17 years ago
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)
17 years ago
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)
17 years ago
rubidium
9d8c8c200e
(svn r11225) -Fix: if a sprite shares the bounding box of another sprite, the offset is unsigned instead of signed.
17 years ago
rubidium
b8bd791d76
(svn r11224) -Fix: GRM for cargos has registration entries for both cargo IDs and cargo bitmasks, not only cargo IDs.
17 years ago
belugas
c06a8c60ad
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
17 years ago
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.
17 years ago
rubidium
39a8b5549e
(svn r11215) -Codechange: replace magic constants with less magic symbols. Patch by skidd13.
17 years ago
glx
8e5480aa16
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
17 years ago
rubidium
0fd7d6257b
(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.
17 years ago
rubidium
6e7402a1c5
(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch.
17 years ago
rubidium
bf35f3a21a
(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.
17 years ago
rubidium
1e73368d48
(svn r11210) -Codechange: unify the way that selection sprites are drawn. Patch by frosch.
17 years ago
rubidium
f4721fed87
(svn r11209) -Codechange: remove some magic numbers and bit magic with appropriate enums and functions. Patch by frosch.
17 years ago
rubidium
e237ac3ff3
(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch.
17 years ago
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
17 years ago
rubidium
a88d0a88b8
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
17 years ago
rubidium
cd1af1c870
(svn r11205) -Codechange: remove some, now obsolete, checks.
17 years ago
belugas
38b7480bb0
(svn r11204) -Feature: [NewGRF] Add support for Action 00 for Industries and IndustryTiles.
...
Thanks to :Csaboka for original concept, specs & help. Dalestan for technical explanations.
Pikkabird & Georges for detailled comments on their grf works. The Alpha testers (You know who you are).
And finally (but not least) Maedhros (newhouses), peter1138(newgrf) Rubidium and glx (numerous and welcome patches)
Remember: it certainly can be buggy. But be sure that behaviour has been tested in TTDP (if you can) before raising a flag.
17 years ago
belugas
7c17d394f2
(svn r11203) -Codechange: Raise the TTDPatch version a little higher, as some new features will be shortly exploitable
17 years ago
belugas
95b32d58e7
(svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries.
17 years ago
rubidium
7788c04b78
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
17 years ago
rubidium
07f8b91a18
(svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east.
17 years ago
rubidium
791d68325b
(svn r11199) -Fix: variable 67 and 68 not working correctly.
...
-Refactor: some code so there is less code duplication.
17 years ago
belugas
aae3ca07c4
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
17 years ago
belugas
7525f791c7
(svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
...
Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
17 years ago
glx
dca398e9a6
(svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage
17 years ago
rubidium
a5e8761325
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
17 years ago
rubidium
2b56d11276
(svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles.
17 years ago
rubidium
531fe3e070
(svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases).
17 years ago
belugas
7979674717
(svn r11192) -Fix: Little typo with bigger consequences when trying to remove a newindustries aware grf
17 years ago
glx
729d121c50
(svn r11191) -Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.
17 years ago
rubidium
a2256f6b0f
(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.
17 years ago
rubidium
171374a8f0
(svn r11189) -Fix: if the location check callback results in something invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it.
17 years ago
rubidium
ff14665f6e
(svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
...
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
17 years ago
rubidium
c952f3d5ef
(svn r11187) -Fix: what holds for houses in r11149 also holds for industries.
17 years ago
rubidium
32c0c3a644
(svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times.
17 years ago
rubidium
136d726b6f
(svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas.
17 years ago
rubidium
beeae81f60
(svn r11184) -Codechange: cleanup the code related to backup orders.
17 years ago
rubidium
e67b985bfa
(svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway.
17 years ago
rubidium
a4695c9022
(svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ.
17 years ago
glx
c07e91fd78
(svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)
17 years ago
rubidium
08fd0030d2
(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)
17 years ago
glx
9f552ae0b3
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
17 years ago
glx
1f4889e38a
(svn r11178) -Fix: don't check newgrf callback 22 in scenario editor
17 years ago
glx
7cdbb50b5b
(svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C
17 years ago
glx
5e45e73037
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
17 years ago
rubidium
02d23c2776
(svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier.
17 years ago
rubidium
8564e12554
(svn r11174) -Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
...
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
17 years ago
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
17 years ago
rubidium
01edaeec57
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
17 years ago
rubidium
a85e18c922
(svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch.
17 years ago
rubidium
7455676941
(svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything.
17 years ago
rubidium
2239809bdc
(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it to clip too much at screen/viewport borders. Patch by frosch.
17 years ago
rubidium
ca7cab0253
(svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch.
17 years ago
rubidium
93459d1b43
(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz.
17 years ago
belugas
fa075ed7bc
(svn r11164) -Fix(r11161): a rogue space roaming in the night... removed
17 years ago
belugas
21cbc7009f
(svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking.
17 years ago
belugas
a6c6b355c2
(svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... acceptance :) So don't need to get cargo name out of it (glx)
17 years ago
belugas
63b91ac88a
(svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx of 0xFF allows it
17 years ago
belugas
ea2100e4e8
(svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry.
17 years ago
glx
94a710fa46
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
17 years ago
rubidium
e61f197dba
(svn r11158) -Codechange: reduce the amount of Random calls needed when we do not have NewGRF industries that actually need the random bits.
17 years ago
rubidium
db0e01bd7b
(svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
17 years ago
glx
54fe17050b
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
17 years ago
rubidium
2408a68910
(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC ( http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606 ). Patch by boekabart.
17 years ago
rubidium
b12785cf7c
(svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME.
17 years ago