mirror of https://github.com/OpenTTD/OpenTTD.git
(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)
This commit is contained in:
parent
1902803b6e
commit
160bfd8851
|
@ -50,7 +50,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
|
||||||
* Please only use this variable in genworld.h and genworld.cpp and
|
* Please only use this variable in genworld.h and genworld.cpp and
|
||||||
* nowhere else. For speed improvements we need it to be global, but
|
* 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 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;
|
GenWorldInfo _gw;
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert RGB colours to Grayscale using 29.9% Red, 58.7% Green, 11.4% Blue
|
* Convert RGB colours to Grayscale using 29.9% Red, 58.7% Green, 11.4% Blue
|
||||||
* (average luminosity formula) -- Dalestan
|
* (average luminosity formula, NTSC Colour Space)
|
||||||
* This in fact is the NTSC Colour Space -- TrueLight
|
|
||||||
*/
|
*/
|
||||||
static inline byte RGBToGrayscale(byte red, byte green, byte blue)
|
static inline byte RGBToGrayscale(byte red, byte green, byte blue)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,9 +24,6 @@
|
||||||
/*
|
/*
|
||||||
* This file contains objective C
|
* This file contains objective C
|
||||||
* Apple uses objective C instead of plain C to interact with OS specific/native functions
|
* 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
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ struct AyStar;
|
||||||
* The good part about #OpenListNode is, and how AIs use it, that you can
|
* 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
|
* 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
|
* 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:
|
* @return Status of the node:
|
||||||
* - #AYSTAR_FOUND_END_NODE : indicates this is the end tile
|
* - #AYSTAR_FOUND_END_NODE : indicates this is the end tile
|
||||||
* - #AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
|
* - #AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
|
||||||
|
|
|
@ -2535,8 +2535,7 @@ static SaveOrLoadResult DoLoad(LoadFilter *reader, bool load_check)
|
||||||
_sl_version = TO_BE32(hdr[1]) >> 16;
|
_sl_version = TO_BE32(hdr[1]) >> 16;
|
||||||
/* Minor is not used anymore from version 18.0, but it is still needed
|
/* 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.
|
* 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).
|
* 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 */
|
|
||||||
_sl_minor_version = (TO_BE32(hdr[1]) >> 8) & 0xFF;
|
_sl_minor_version = (TO_BE32(hdr[1]) >> 8) & 0xFF;
|
||||||
|
|
||||||
DEBUG(sl, 1, "Loading savegame version %d", _sl_version);
|
DEBUG(sl, 1, "Loading savegame version %d", _sl_version);
|
||||||
|
|
Loading…
Reference in New Issue