Commit Graph

55 Commits

Author SHA1 Message Date
frosch
e9e68c3a50 (svn r22698) -Fix [FS#4694]: Only insert cleared object tiles into _cleared_object_areas if clearing actually succeeds, else subsequential tests of the same tile will be skipped and considered successful. 2011-07-30 12:28:49 +00:00
michi_cc
cf2bfa91a4 (svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157. 2011-07-11 16:32:30 +00:00
michi_cc
dd0439c690 (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 2011-07-08 14:42:18 +00:00
terkhen
e392f26215 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 2011-06-12 20:32:52 +00:00
smatz
c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
smatz
0ff7e9a114 (svn r22033) -Fix: don't crash when there are too many objects generated already when placing transmitters 2011-02-08 21:49:39 +00:00
smatz
a54faf0303 (svn r22026) -Fix: don't crash when we generate too many objects while generating map 2011-02-08 18:39:29 +00:00
rubidium
3cb12ed89c (svn r22019) -Codechange: s/functions.h/clear_func.h/ 2011-02-07 22:38:02 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium
0cf2ef83f0 (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 2011-01-18 23:09:43 +00:00
rubidium
82b1a32f70 (svn r21485) -Codechange: use CircularTileSearch to find whether there's a transmitter nearby 2010-12-12 18:18:50 +00:00
rubidium
e590fe22ac (svn r21454) -Codechange: add support for object variable 48 2010-12-10 21:32:52 +00:00
rubidium
1af7df8ba0 (svn r21453) -Codechange: add the view of an object to the savegame 2010-12-10 21:32:04 +00:00
rubidium
83db490771 (svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object 2010-11-24 23:08:12 +00:00
frosch
5a355daa5b (svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests. 2010-11-21 18:38:45 +00:00
frosch
061021cbc5 (svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas. 2010-11-21 17:05:23 +00:00
alberth
b698045b82 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
rubidium
ecb191b1ba (svn r20919) -Fix [FS#4140]: objects didn't change colour when the company changed colour. Now they do, except when the "decide colour" callback is (defined to be) used 2010-10-12 19:48:42 +00:00
rubidium
d160ca90a1 (svn r20909) -Fix [FS#4137]: don't see coasts as water for object construction 2010-10-08 21:08:38 +00:00
yexo
66d57b96a8 (svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account 2010-09-05 16:00:36 +00:00
yexo
66c1f1881d (svn r20745) -Fix: don't delete an object when trying to terraform a tile of it with canal under it. If we delete the object the terraforming will still fail due to the canal 2010-09-05 14:54:18 +00:00
yexo
17340f4762 (svn r20744) -Fix: overbuilding an object with water under it failed 2010-09-05 14:53:20 +00:00
frosch
4a4dd45193 (svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run. 2010-09-05 13:31:39 +00:00
frosch
e723ce12ea (svn r20742) -Fix: Evaluate DC_NO_WATER flag when clearing objects built on water. 2010-09-05 13:28:59 +00:00
yexo
ef8fbbe74d (svn r20730) -Fix: crash when removing an object while the newgrf debug window was open for that object 2010-09-03 22:28:11 +00:00
yexo
0d040f03e6 (svn r20729) -Fix [FS#4107]: assert when overbuilding object 2010-09-03 21:50:51 +00:00
rubidium
f7a1828c2b (svn r20721) -Fix: objects that can be built on water shouldn't be drowned. 2010-09-02 20:45:54 +00:00
rubidium
509ff70691 (svn r20714) -Fix: bit 9 of object's flags implies bit 3 is set, so just test for either of the bits being set 2010-09-01 20:09:15 +00:00
rubidium
a8d00c2ac0 (svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't removed properly 2010-09-01 06:15:26 +00:00
rubidium
2e2e8e0ccf (svn r20706) -Fix (r20664): land slope check wasn't called when it should be called 2010-08-31 16:17:22 +00:00
rubidium
c3c8f67cef (svn r20669) -Codechange: trigger the whole object every 256 ticks instead of every 250 ticks 2010-08-28 19:13:20 +00:00
rubidium
34c4e8f259 (svn r20668) -Codechange: add (more) support for bridges over objects 2010-08-28 19:02:21 +00:00
rubidium
738a068006 (svn r20667) -Codechange: implement the autoslope callback for objects 2010-08-28 19:00:21 +00:00
rubidium
b26adf0bd9 (svn r20666) -Codechange: enable drawing of (NewGRF) objects 2010-08-28 18:57:32 +00:00
rubidium
d4240351ca (svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch 2010-08-28 18:56:07 +00:00
rubidium
2ea1ba4589 (svn r20664) -Codechange: implement the land slope callback for objects 2010-08-28 18:55:20 +00:00
rubidium
2dd04c0ded (svn r20663) -Codechange: add the GRF name to the tile info window 2010-08-28 18:54:12 +00:00
rubidium
b06ad652c9 (svn r20662) -Codechange: implement object animation 2010-08-28 18:51:47 +00:00
rubidium
43eadd4595 (svn r20661) -Codechange: implement the "decide colour" callback for objects 2010-08-28 18:50:32 +00:00
rubidium
18e6bf0d71 (svn r20658) -Codechange: add the colour of an object to the object instance 2010-08-28 18:28:34 +00:00
rubidium
63478d8533 (svn r20656) -Codechange: implement counting of objects 2010-08-28 18:23:14 +00:00
rubidium
d5decb0825 (svn r20651) -Codechange: add a function to determine whether an object is available and use it 2010-08-28 17:36:28 +00:00
rubidium
cd705f434c (svn r20647) -Codechange: update some of the object spec information 2010-08-28 17:29:12 +00:00
rubidium
ea04251578 (svn r20643) -Fix (r20641): != != == 2010-08-27 22:51:16 +00:00
rubidium
a3b1abc83d (svn r20641) -Codechange: remove the "require flat land" flag 2010-08-27 22:43:27 +00:00
rubidium
b79c5b5f84 (svn r20640) -Add: support for water under objects 2010-08-27 22:29:13 +00:00
rubidium
a126dc7500 (svn r20639) -Add: random bits to object tiles 2010-08-27 22:26:21 +00:00
rubidium
1f78d3f6ec (svn r20638) -Codechange: split object.h 2010-08-27 22:21:23 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
5a7d6249af (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 2010-08-26 14:45:45 +00:00