summaryrefslogtreecommitdiff
path: root/src/heightmap.cpp
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2014-10-25(svn r27044) -Change (r26905, r26984): Scale heightmap greyscales > 0 evenly ↵frosch
to heightlevels > 0, instead of giving heightlevel 1 a bigger loading. Sea level remains at pure black only.
2014-10-09(svn r26984) -Fix (r26905) [FS#6134]: Heightlevels must be scaled by number ↵frosch
of intervals, not by the value of the highest interval. Otherwise the highest interval becomes non-proportionally small.
2014-09-21(svn r26905) -Change: account for the maximum map height when converting ↵rubidium
heightmaps
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
2013-11-23(svn r26057) -Fix: a number of possibly uninitialised variablesrubidium
2013-10-12(svn r25848) -Codechange: Refactor check for if a tile is not an edge tile ↵zuu
to new IsInnerTile method (cirdan, LordAro)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-30(svn r23376) -Remove: on popular demand, remove my (revoked) name from ↵truebrain
comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-09-02(svn r22873) -Fix [FS#4747]: Validate image dimensions before loading. ↵michi_cc
(Based on patch by monoid)
2011-08-24(svn r22827) -Codechange: pass the/a more proper sub directory when opening ↵rubidium
(some) files instead of the default one
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-01-08(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecatedglx
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-03-12(svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map ↵rubidium
generation" sprites with garbage.
2009-03-04(svn r15610) -Change: allow loading of heightmaps and savegames (any form) ↵rubidium
that are in .tar files
2009-02-24(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating failssmatz
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-04(svn r15332) -Fix (r15190): terrain generated from heightmaps always was at ↵smatz
sea level at both southern borders
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
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-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2007-12-28(svn r11713) -Codechange: Move some declarations and definitions in a more ↵belugas
logical disposition
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-04-27(svn r9729) -Documentation: add some documentation in various placesrubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-05(svn r9019) -Fix: use <> for system-headerstruelight
2007-03-01(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-01-12(svn r8077) -Cleanup: Restructure some switch() statements' default case ↵Darkvater
when they're unreachable
2007-01-12(svn r8074) -Fix (FS#537, r7555, r5749): revert r7555 because it was really ↵rubidium
wrong and fix the off-by-one error due to truncation that was supposedly fixed by r7555.
2007-01-11(svn r8070) -Fix r5815: missing initialisation could cause crash when ↵glx
loading 24bpp BMP heightmap
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8044) Regression (r8038): Crash on allocating bridge memory (peter1138)Darkvater