summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-height.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* HangedMan's new Shoals ending.Darshan Shaligram2013-02-031-0/+3
| | | | | | | | Remove Shoals:$ vault placement code that tries to place vaults on islands: the regular minivault placement routine works just as well (probably a little better for lopsided islands). Use spotty connection builder for Shoals vaults.
* Use std namespace.Raphael Langella2012-08-261-2/+2
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Revert shoals colours and exploration limit.Raphael Langella2012-07-191-11/+0
| | | | | | | | | | This reverts commit 7f8c7b4f641a56ac897124dc63a1b6d2b3b5f935. This reverts commit 29c3559ac217a7c57c3e34814c8cdf7e5ed197dc. This reverts commit 5f7d03867298546a272c3db760c57ef0c6541415. This reverts commit a4184751df456850d7d5c312c54b62a427d06f3d. This reverts commit 410924b6f8f920b2b3f2f0b06a79b14e70e2f874. This reverts commit 12d28aa9d876c186e3ad7dceb6d11d20cd57d417. This reverts commit 35eb27d2ba502f201b5f67753fb646c338d0b344.
* Make the Shoals floor brown/yellow depending on height (wet sand).Raphael Langella2012-07-171-1/+2
| | | | | Brown floor means that it turns to water at high tide (wet sand). Yellow floor is dry, it stays sand at high tide.
* Show the autoexplore limit in Shoals.Raphael Langella2012-07-171-0/+10
| | | | | | | | | | | | | | The autoexplore is now limited to cells with a height > -18, which is about the sand limit at low tide. We say that beyond this point, the bottom changes from sand to rock and autoexplore won't try to go there, even if they are traverseable. This greatly reduce autoexplore time, and even amphibious species will respect it. It doesn't prevent a merfolk from crossing deep water to explore an island spotted over the water, but they won't randomly explore the sea. To illustrate the limit, shallow water is light cyan or cyan, deep water is light blue or blue.
* Remove libutil.h from AppHdr.h and include explicitly.Robert Vollmert2010-01-201-2/+0
| | | | | | | Also extract unwind_var template to unwind.h. The latter is now included from AppHdr.h, though it needn't really be. This means it's now possible to use coord_def in libutil.h.
* Experimental level builder changes for Swamp.Darshan Shaligram2010-01-161-4/+0
| | | | The Swamp now gets a border of trees and uses trees instead of walls. Swamp:5 vaults may need tweaking to fit in better.
* Move island-building code from dgn-shoals.cc->dgn-height.cc.Darshan Shaligram2010-01-131-0/+104