Commit Graph

58 Commits (f72e4dfbe42e979b31e06d94800ddba2f89f87ac)

Author SHA1 Message Date
rubidium 517bfd4361 (svn r26946) -Fix (r26945): MSVC doesn't seem to have round yet 10 years ago
rubidium 94513de4f8 (svn r26945) -Fix-ish: better scaling of the "cells" in which variety distribution happens for non-square maps (attempt to make reasonably square areas) 10 years ago
rubidium d63fcbe519 (svn r26940) -Fix (r26937): comparing values of different signedness 10 years ago
rubidium e550580d74 (svn r26939) -Cleanup: some bits of coding style cleanup for TGP 10 years ago
rubidium 72354f7e6a (svn r26938) -Codechange: simplify RandomHeight significantly 10 years ago
rubidium 4549a07a89 (svn r26937) -Cleanup: simplify the logic for heightmap generation in TGP; instead of performing more and more loops the larger the map becomes to elaborately set the height to 0 many times, just run it for each frequency and be done with it 10 years ago
rubidium e1120327e7 (svn r26932) -Codechange: replace some constants with less weird looking constants and simplify clamping by actually using Clamp 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 bebf2291db (svn r26056) -Fix: a number of possibly uninitialised variables 11 years ago
zuu e428c27a54 (svn r25848) -Codechange: Refactor check for if a tile is not an edge tile to new IsInnerTile method (cirdan, LordAro) 11 years ago
alberth 19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
alberth 6c6abd87db (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
terkhen 080c4330a9 (svn r20833) -Fix (r20832): Remove a warning. 14 years ago
terkhen 379a8f3504 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 14 years ago
yexo b4ec144af2 (svn r20474) -Cleanup: remove some unused code 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
yexo 128ef7617d (svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h 15 years ago
rubidium 886c1e8e30 (svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly casting from floats to integers 15 years ago
peter1138 e88b327343 (svn r18541) -Feature: Additional map variety option for TGP landscape generator. Evolved from curve map idea from Zephyris. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium ed8788d581 (svn r17682) -Codechange: remove erroneous space before some commas 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz 073e163b7f (svn r17131) -Codechange: apply coding style to some switch statements 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
Yexo bd08be44ea (svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose which edges will be water to 4 pushbuttons (based on patch by planetmaker). 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
glx c61674221c (svn r14840) -Cleanup: remove duplicate includes 16 years ago
frosch ebb0059773 (svn r13671) -Cleanup: Zeros for sell. 16 years ago
frosch ffb7e8ee17 (svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ. 16 years ago
frosch 654ea1a310 (svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16. 16 years ago
frosch 8a800ee258 (svn r13645) -Codechange: Convert a macro into an inlined member function. 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium bf3b61cfa3 (svn r13228) -Codechange: split console.h. 16 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
smatz b18f330739 (svn r12690) -Cleanup: remove unused table from tgp.cpp 16 years ago
rubidium 9c0c798dd8 (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 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 be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
skidd13 f4a5c80d71 (svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define 17 years ago