summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-06-12Codechange: Deduplicate ResolveReal() for resolvers that don't use real ↵Peter Nelson
sprite groups. This may change behaviour when multiple loading/loaded stages are provided, as the various copies checked in different orders, however only one result is expected in these cases anyway.
2021-05-02Cleanup: Use std::vector in RealSpriteGroup.Peter Nelson
2020-01-26Feature: NewGRF callback profiling (#7868)Niels Martin Hansen
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2018-03-11(svn r27984) -Codechange: Make ScopeResolver constructors/destructors ↵frosch
inlineable. Speedup sprite resolving by about 8 percent.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-03(svn r26388) -Codechange: Move resolving of Action 3 into ResolverObject ↵frosch
constructor.
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-05-06(svn r25229) -Feature: [NewGRF] Variable 0x82 for canals and rivers (dike map)planetmaker
2012-11-10(svn r24693) -Doc: Add some doxymentation into the newgrf code.alberth
2012-11-10(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.alberth
2012-11-10(svn r24680) -Codechange: Add resolver classes for canals.alberth
2012-11-10(svn r24678) -Codechange: Introduce scope resolver base class and prepare ↵alberth
for adding derived classes.
2011-11-08(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23102) -Codechange: remove the remaining pointless multiplications by ↵rubidium
TILE_HEIGHT
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-07-10(svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks ↵frosch
and depots. (based on patched by adf88 and michi_cc)
2011-07-10(svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart.frosch
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2011-01-09(svn r21746) -Fix: [NewGRF] Canal variable 83 accessed water random bits ↵frosch
also for non-water tiles (e.g. watery industries or objects).
2011-01-09(svn r21745) -Fix: [NewGRF] Canal variable 80 shall return consistent ↵frosch
heights within a lock.
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-03(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") ↵michi_cc
for canals.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-03-09(svn r15651) -Codechange: Codestyle and comments.peter1138
2009-02-18(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, ↵peter1138
but at least it can be consistent.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-02-02(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in ↵peter1138
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-01-21(svn r11938) -Codechange: support loading of canal/river properties (though ↵peter1138
still ignored)
2008-01-20(svn r11934) -Codechange: add persistent random data for river and canal tiles.peter1138
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-09-04(svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong ↵rubidium
heights (height of nothern corner instead of height of lowest corner). Patch by frosch.
2007-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-09(svn r10484) -Codechange: reduce code duplication.rubidium
2007-05-06(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.peter1138