Mercurial > hg > openttd
changeset 18532:9c4e0f3231a7 draft
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
author | truebrain <truebrain@openttd.org> |
---|---|
date | Wed, 30 Nov 2011 01:22:18 +0000 |
parents | 5534ad86e009 |
children | d2d7996eff1d |
files | src/genworld.cpp src/heightmap.cpp src/os/macosx/macos.mm src/pathfinder/npf/aystar.h src/saveload/saveload.cpp |
diffstat | 5 files changed, 4 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -50,7 +50,7 @@ * Please only use this variable in genworld.h and genworld.cpp and * nowhere else. For speed improvements we need it to be global, but * in no way the meaning of it is to use it anywhere else besides - * in the genworld.h and genworld.cpp! -- TrueLight + * in the genworld.h and genworld.cpp! */ GenWorldInfo _gw;
--- a/src/heightmap.cpp +++ b/src/heightmap.cpp @@ -24,8 +24,7 @@ /** * Convert RGB colours to Grayscale using 29.9% Red, 58.7% Green, 11.4% Blue - * (average luminosity formula) -- Dalestan - * This in fact is the NTSC Colour Space -- TrueLight + * (average luminosity formula, NTSC Colour Space) */ static inline byte RGBToGrayscale(byte red, byte green, byte blue) {
--- a/src/os/macosx/macos.mm +++ b/src/os/macosx/macos.mm @@ -24,9 +24,6 @@ /* * This file contains objective C * Apple uses objective C instead of plain C to interact with OS specific/native functions - * - * Note: TrueLight's crosscompiler can handle this, but it likely needs a manual modification for each change in this file. - * To insure that the crosscompiler still works, let him try any changes before they are committed */
--- a/src/pathfinder/npf/aystar.h +++ b/src/pathfinder/npf/aystar.h @@ -70,7 +70,7 @@ * The good part about #OpenListNode is, and how AIs use it, that you can * access the parent of the current node, and so check if you, for example * don't try to enter the file tile with a 90-degree curve. So please, leave - * this an #OpenListNode, it works just fine -- TrueLight + * this an #OpenListNode, it works just fine. * @return Status of the node: * - #AYSTAR_FOUND_END_NODE : indicates this is the end tile * - #AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
--- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -2535,8 +2535,7 @@ _sl_version = TO_BE32(hdr[1]) >> 16; /* Minor is not used anymore from version 18.0, but it is still needed * in versions before that (4 cases) which can't be removed easy. - * Therefor it is loaded, but never saved (or, it saves a 0 in any scenario). - * So never EVER use this minor version again. -- TrueLight -- 22-11-2005 */ + * Therefor it is loaded, but never saved (or, it saves a 0 in any scenario). */ _sl_minor_version = (TO_BE32(hdr[1]) >> 8) & 0xFF; DEBUG(sl, 1, "Loading savegame version %d", _sl_version);