Commit Graph

29 Commits

Author SHA1 Message Date
frosch
ba358638a8 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
frosch
2ebf8fa584 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 2011-07-10 13:00:05 +00:00
frosch
e2a5d69cb7 (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 2011-07-04 20:31:57 +00:00
rubidium
43c8073551 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 2011-01-22 09:53:15 +00:00
frosch
814a46aa38 (svn r21746) -Fix: [NewGRF] Canal variable 83 accessed water random bits also for non-water tiles (e.g. watery industries or objects). 2011-01-09 13:53:57 +00:00
frosch
826555c741 (svn r21745) -Fix: [NewGRF] Canal variable 80 shall return consistent heights within a lock. 2011-01-09 13:53:05 +00:00
rubidium
878a06dd9a (svn r21198) -Fix: don't call variables properties in debug messages 2010-11-15 16:43:46 +00:00
alberth
2b4da1d345 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 2010-08-29 15:58:43 +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
michi_cc
95f5ad8c79 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 2010-08-03 17:48:07 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
846382a0f3 (svn r16402) -Codechange: make Resolve a function of SpriteGroup 2009-05-23 15:25:52 +00:00
rubidium
730b411878 (svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union 2009-05-23 12:13:42 +00:00
peter1138
0418e2c9d1 (svn r15651) -Codechange: Codestyle and comments. 2009-03-09 13:38:00 +00:00
peter1138
3bafe9b0e2 (svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent. 2009-02-18 09:14:41 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
frosch
d54d8bf295 (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. 2008-07-30 18:23:12 +00:00
rubidium
1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
glx
90616adcb0 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 2008-03-27 21:36:16 +00:00
peter1138
c05d10dd35 (svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the 
original water type.
2008-02-02 09:28:43 +00:00
peter1138
9d754a7f76 (svn r11938) -Codechange: support loading of canal/river properties (though still ignored) 2008-01-21 20:41:04 +00:00
peter1138
b967c9918e (svn r11934) -Codechange: add persistent random data for river and canal tiles. 2008-01-20 18:30:53 +00:00
rubidium
be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 2007-12-19 23:26:02 +00:00
rubidium
222e105ec7 (svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong heights (height of nothern corner instead of height of lowest corner). Patch by frosch. 2007-09-04 12:06:38 +00:00
rubidium
feb91ab5ea (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 2007-07-25 19:06:29 +00:00
rubidium
b3ed27adab (svn r10484) -Codechange: reduce code duplication. 2007-07-09 13:10:04 +00:00
peter1138
e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 2007-05-06 18:14:33 +00:00