Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Un-bitstuff landscape commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff remaining transport infrastructure commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff station/depot/waypoint commands. | Michael Lutz | |
2021-12-16 | Codechange: Template DoCommand to automagically reflect the parameters of ↵ | Michael Lutz | |
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing. | |||
2021-12-16 | Codechange: Make TileIndex a "strong" typedef to give it a distinct type. | Michael Lutz | |
This is accomplished by changing it to a single member struct with the appropriate operator overloads to make it all work with not too much source modifications. | |||
2021-12-16 | Codechange: Move flags in CommandProc in front of the command arguments. | Michael Lutz | |
2021-12-16 | Codechange: Let the compile generate the master command table out of ↵ | Michael Lutz | |
templated command traits. This is using a non-intrusive type-traits like templated system, which allows compile-time validation that the command table and the command enum match up. | |||
2021-12-16 | Codechange: Move command arguments to the back of the DoCommand function call. | Michael Lutz | |
2021-09-19 | Fix: Incorrect error messages on placing water on scenario editor (#9560) | SamuXarick | |
Additionally changes the behaviour of placing sea on sea/river/canal and placing canal/river on canal to (over)build, instead of disallowing it | |||
2021-09-18 | Fix: wrong error message when building canals over ship depots / locks | SamuXarick | |
IsTileType() also considers ship depots and locks water. IsWaterTile() does the right thing. | |||
2021-09-18 | Fix: reduce cost of building canals over objects on sea | SamuXarick | |
It is not like we will drain the sea first, to put water back in it after. Besides, the cost for draining the sea isn't calculated for all other cases either. | |||
2021-07-09 | Codechange: Remove FOR_EACH_SET_BIT | glx22 | |
2021-05-29 | Codechange: move from C-string to std::string for DoCommand | rubidium42 | |
2021-05-27 | Fix: do not hide parameter by local variable with the same name | rubidium42 | |
2021-05-13 | Codechange: Replace TILE_AREA_LOOP with range-based for loops | glx22 | |
2021-04-02 | Feature: Press ctrl to build diagonal rivers in Scenario Editor (#8880) | Tyler Trahan | |
2021-01-05 | Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497) | Patric Stout | |
When a vehicle is cleaned up, all news that points to the news is also removed. This was a bit evil, as it would also remove any news related to crashed, acting like the crash never happened. This left players a bit in the dark what was going on exactly. | |||
2020-03-30 | Fix #8020: Add missing docking tiles around industry neutral stations | SamuXarick | |
2020-02-09 | Fix #7944: Demolishing locks built on rivers didn't always restore the river | Samu | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-06-30 | Codechange: Restrict docking points of docks. | peter1138 | |
2019-06-30 | Feature: Multi-tile docks and docking points. | peter1138 | |
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-02-23 | Fix: Remove desert around lakes upon generation | SamuXarick | |
2018-10-31 | Remove: A few bits of dead code | Charles Pigott | |
2018-04-30 | Codechange: Use TileAddBy(Diag)Dir when possible. | J0anJosep | |
2018-04-15 | Codechange: Replace magic numbers with the proper enum. | Michael Lutz | |
2018-03-05 | (svn r27973) -Fix: [FS#6662] Avoid tile operations outside map border when ↵ | peter1138 | |
building lock. | |||
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2015-04-26 | (svn r27254) -Fix [FS#6264]: When building a lock on DC_AUTO-removable ↵ | frosch | |
water-based objects, the water class was always set to canal. | |||
2014-09-21 | (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵ | rubidium | |
data is now always accessible | |||
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-02-16 | (svn r26344) -Change [FS#5907]: Do not flood shores of type MP_TREE ↵ | planetmaker | |
needlessly (MJP) | |||
2013-10-12 | (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵ | zuu | |
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) | |||
2013-05-06 | (svn r25229) -Feature: [NewGRF] Variable 0x82 for canals and rivers (dike map) | planetmaker | |
2013-05-06 | (svn r25220) -Change [FS#Eddi]: Consider map border as water wrt. ↵ | frosch | |
river/canal continuation. | |||
2013-02-05 | (svn r24972) -Fix [FS#5258]: do not make overbuilding rivers with canals ↵ | rubidium | |
insanely expensive; there is no real need to fill the river with dirt first, just excavate it a bit and build borders | |||
2013-01-20 | (svn r24924) -Fix (r24923): Make sure that autoslope on steep coast tiles ↵ | planetmaker | |
cannot not leave invalid canals | |||
2013-01-20 | (svn r24923) -Fix [FS#5441]: When an object built on a river is removed, ↵ | planetmaker | |
restore the river, if possible also on slopes (based on patch by Supercheese) | |||
2012-12-23 | (svn r24846) -Add: Advanced settings to disable certain sound effects. | frosch | |
2012-05-26 | (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵ | frosch | |
NewsFlag instead. | |||
2012-02-09 | (svn r23920) -Fix: Consider only the middle tile of a lock for ↵ | frosch | |
lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope. | |||
2012-01-03 | (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed | rubidium | |
2012-01-03 | (svn r23725) -Fix (r23723): compile before commit | yexo | |
2012-01-03 | (svn r23724) -Codechange: split of the check to see if ambient sounds are ↵ | yexo | |
enabled to a header file allowing compilers to inline that check | |||
2012-01-03 | (svn r23723) -Codechange: speedup flood checks a bit | yexo | |
2011-12-29 | (svn r23686) -Fix [FS#4921] (r23413): Infrastructure count of ↵ | michi_cc | |
canals/locks/ship depots wasn't updated properly when a company went into bankruptcy or was taken over. | |||
2011-12-19 | (svn r23622) -Add: a set of events to trigger in a GameScript | truebrain | |
2011-12-13 | (svn r23512) -Change [FS#4872]: Allow to place locks also on river rapids ↵ | planetmaker | |
and restore rivers, if locks are deleted |