Commit Graph

49 Commits (e2a4e517250b506eecda9a89fd06f103758e070e)

Author SHA1 Message Date
rubidium b8f9579133 (svn r26503) -Fix: compilation error with full debug build 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 8ff6c2da52 (svn r23701) -Codechange: give TileAddWrap() a 27% speed-up, by swapping entries in an if() statement, and reusing already calculated values (tnx to SmatZ for the ideas) 13 years ago
rubidium 9fc2798baf (svn r22411) -Document: another bunch of bits 13 years ago
frosch 06ff23f61f (svn r21995) -Cleanup (r21994): Remove obsolete comment. 14 years ago
frosch e6f28bf300 (svn r21994) -Fix: Make computations of closest-land/water-distances handle waterish tiles more correctly. 14 years ago
rubidium ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
rubidium 26718abaf4 (svn r21470) -Codechange: add method to get the distance from the edge in a given direction 14 years ago
alberth 88910224a4 (svn r21055) -Codechange [FS#4190]: Code style fix (chillcore) 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
yexo 78ade1f944 (svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border 15 years ago
yexo 14ed7330ba (svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz d65963a48f (svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo) 15 years ago
smatz 6ba1c691ad (svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults 15 years ago
smatz ac991bff90 (svn r16547) -Codechange: make CircularTileSearch a tiny bit faster 15 years ago
rubidium a963f5c91d (svn r16138) -Codechange: move GetClosestWaterDistance to map* 15 years ago
smatz 34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 1dcbba1c2d (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough 16 years ago
rubidium 9682126d28 (svn r14847) -Codechange: generalise the circular search to search around a rectangle (PhilSophus) 16 years ago
frosch 2b071f84ea (svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch(). 16 years ago
belugas f7b79916e8 (svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not 16 years ago
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. 16 years ago
belugas fa39916fe9 (svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: informations about current map size. 17 years ago
frosch 03e7f6f2d2 (svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium 0995194162 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 17 years ago
glx bfda3c82f1 (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions. 17 years ago
skidd13 f56579e0d9 (svn r11526) -Codechange: Rename the function delta fitting to the naming style 17 years ago
skidd13 795174edf1 (svn r11483) -Codechange: Replace codeparts with functions that do the same to increase readability 17 years ago
rubidium c37b0a73b3 (svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman. 17 years ago
truelight 930bb84242 (svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
17 years ago
peter1138 61f94c2d5e (svn r10736) -Fix: Correct all mispellings of 'successful'. 17 years ago
rubidium 8491e15416 (svn r9729) -Documentation: add some documentation in various places 17 years ago
rubidium 2ce514284c (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
maedhros 209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
18 years ago
belugas 5792aa85c7 (svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style. 18 years ago
KUDr 28e969924b (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr 07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago