From c6411168d88d02420f31df9bbb58cd9ce73d7434 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Wed, 1 Nov 2023 21:46:33 +0100 Subject: [PATCH] Cleanup: missing spaces before continuation * in some comments --- src/console_gui.cpp | 2 +- src/core/bitmath_func.hpp | 2 +- src/core/kdtree.hpp | 16 ++++++++-------- src/fios.cpp | 6 +++--- src/framerate_gui.cpp | 12 ++++++------ src/framerate_type.h | 10 +++++----- src/music/midi.h | 10 +++++----- src/music/midifile.cpp | 10 +++++----- src/music/midifile.hpp | 10 +++++----- src/network/network_client.cpp | 6 +++--- src/network/network_content.cpp | 2 +- src/newgrf.cpp | 18 +++++++++--------- src/newgrf_roadtype.h | 12 ++++++------ src/os/unix/font_unix.cpp | 4 ++-- src/os/windows/string_uniscribe.h | 24 ++++++++++++------------ src/script/squirrel.cpp | 2 +- src/settings.cpp | 2 +- src/sound/xaudio2_s.cpp | 22 +++++++++++----------- src/terraform_gui.cpp | 2 +- src/tests/test_script_admin.cpp | 2 +- src/timer/timer_game_calendar.h | 16 ++++++++-------- src/vehicle.cpp | 2 +- src/video/cocoa/cocoa_v.mm | 2 +- src/viewport.cpp | 4 ++-- src/viewport_kdtree.h | 10 +++++----- 25 files changed, 104 insertions(+), 104 deletions(-) diff --git a/src/console_gui.cpp b/src/console_gui.cpp index d507c3b660..309dcb9a1b 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -457,7 +457,7 @@ void IConsoleGUIPrint(TextColour colour_code, const std::string &str) * all lines in the buffer are aged by one. When a line exceeds both the maximum position * and also the maximum age, it gets removed. * @return true if any lines were removed -*/ + */ static bool TruncateBuffer() { bool need_truncation = false; diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index 44e81612ca..1e55c1b88e 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.hpp @@ -324,7 +324,7 @@ static inline T ROR(const T x, const uint8_t n) * Iterable ensemble of each set bit in a value. * @tparam Tbitpos Type of the position variable. * @tparam Tbitset Type of the bitset value. -*/ + */ template struct SetBitIterator { struct Iterator { diff --git a/src/core/kdtree.hpp b/src/core/kdtree.hpp index b84c30c33c..5dc3a1263d 100644 --- a/src/core/kdtree.hpp +++ b/src/core/kdtree.hpp @@ -447,14 +447,14 @@ public: } /** - * Find all items contained within the given rectangle. - * @note Start coordinates are inclusive, end coordinates are exclusive. x1 void FindContained(CoordT x1, CoordT y1, CoordT x2, CoordT y2, const Outputter &outputter) const { diff --git a/src/fios.cpp b/src/fios.cpp index 8e150daafd..e7bdac1e08 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -719,7 +719,7 @@ void ScanScenarios() /** * Constructs FiosNumberedSaveName. Initial number is the most recent save, or -1 if not found. * @param prefix The prefix to use to generate a filename. -*/ + */ FiosNumberedSaveName::FiosNumberedSaveName(const std::string &prefix) : prefix(prefix), number(-1) { static std::optional _autosave_path; @@ -756,7 +756,7 @@ FiosNumberedSaveName::FiosNumberedSaveName(const std::string &prefix) : prefix(p /** * Generate a savegame name and number according to _settings_client.gui.max_num_autosaves. * @return A filename in format ".sav". -*/ + */ std::string FiosNumberedSaveName::Filename() { if (++this->number >= _settings_client.gui.max_num_autosaves) this->number = 0; @@ -766,7 +766,7 @@ std::string FiosNumberedSaveName::Filename() /** * Generate an extension for a savegame name. * @return An extension in format "-.sav". -*/ + */ std::string FiosNumberedSaveName::Extension() { return fmt::format("-{}.sav", this->prefix); diff --git a/src/framerate_gui.cpp b/src/framerate_gui.cpp index 4a6c687e31..97ad01b20b 100644 --- a/src/framerate_gui.cpp +++ b/src/framerate_gui.cpp @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /** @file framerate_gui.cpp GUI for displaying framerate/game speed information. */ @@ -802,7 +802,7 @@ struct FrametimeGraphWindow : Window { void SelectHorizontalScale(TimingMeasurement range) { /* Determine horizontal scale based on period covered by 60 points - * (slightly less than 2 seconds at full game speed) */ + * (slightly less than 2 seconds at full game speed) */ struct ScaleDef { TimingMeasurement range; int scale; }; static const ScaleDef hscales[] = { { 120, 60 }, diff --git a/src/framerate_type.h b/src/framerate_type.h index fc4660f200..8dd84c29ce 100644 --- a/src/framerate_type.h +++ b/src/framerate_type.h @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /** @file framerate_type.h * Types for recording game performance data. diff --git a/src/music/midi.h b/src/music/midi.h index 7408cd52d0..38f82220f4 100644 --- a/src/music/midi.h +++ b/src/music/midi.h @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /* @file midi.h Declarations for MIDI data */ diff --git a/src/music/midifile.cpp b/src/music/midifile.cpp index 45a5bea24b..dc02bc280c 100644 --- a/src/music/midifile.cpp +++ b/src/music/midifile.cpp @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /* @file midifile.cpp Parser for standard MIDI files */ diff --git a/src/music/midifile.hpp b/src/music/midifile.hpp index fcbe5abcce..c66094315e 100644 --- a/src/music/midifile.hpp +++ b/src/music/midifile.hpp @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /* @file midifile.hpp Parser for standard MIDI files */ diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 85a20ed30d..fa01e6f110 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -171,9 +171,9 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::CloseConnection(NetworkRecvSta this->SendPackets(true); /* Wait a number of ticks so our leave message can reach the server. - * This is especially needed for Windows servers as they seem to get - * the "socket is closed" message before receiving our leave message, - * which would trigger the server to close the connection as well. */ + * This is especially needed for Windows servers as they seem to get + * the "socket is closed" message before receiving our leave message, + * which would trigger the server to close the connection as well. */ CSleep(3 * MILLISECONDS_PER_TICK); } diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index d54a61a1d2..c8854f536d 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -219,7 +219,7 @@ void ClientNetworkContentSocketHandler::RequestContentList(ContentType type) p->Send_string("patchpack"); // Or what-ever the name of your patchpack is. p->Send_string(_openttd_content_version_patchpack); - */ + */ this->SendPacket(p); } diff --git a/src/newgrf.cpp b/src/newgrf.cpp index da7f9d5935..604fe777e8 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -3591,12 +3591,12 @@ static ChangeInfoResult IndustriesChangeInfo(uint indid, int numinfo, int prop, it.ti.y = (int8_t)GB(it.ti.y, 0, 8); /* When there were only 256x256 maps, TileIndex was a uint16_t and - * it.ti was just a TileIndexDiff that was added to it. - * As such negative "x" values were shifted into the "y" position. - * x = -1, y = 1 -> x = 255, y = 0 - * Since GRF version 8 the position is interpreted as pair of independent int8. - * For GRF version < 8 we need to emulate the old shifting behaviour. - */ + * it.ti was just a TileIndexDiff that was added to it. + * As such negative "x" values were shifted into the "y" position. + * x = -1, y = 1 -> x = 255, y = 0 + * Since GRF version 8 the position is interpreted as pair of independent int8. + * For GRF version < 8 we need to emulate the old shifting behaviour. + */ if (_cur.grffile->grf_version < 8 && it.ti.x < 0) it.ti.y += 1; } } @@ -9348,8 +9348,8 @@ static void FinaliseIndustriesArray() StringID strid; /* process the conversion of text at the end, so to be sure everything will be fine - * and available. Check if it does not return undefind marker, which is a very good sign of a - * substitute industry who has not changed the string been examined, thus using it as such */ + * and available. Check if it does not return undefind marker, which is a very good sign of a + * substitute industry who has not changed the string been examined, thus using it as such */ strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->name); if (strid != STR_UNDEFINED) indsp->name = strid; @@ -9367,7 +9367,7 @@ static void FinaliseIndustriesArray() if (indsp->station_name != STR_NULL) { /* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the - * station's name. Don't want to lose the value, therefore, do not process. */ + * station's name. Don't want to lose the value, therefore, do not process. */ strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name); if (strid != STR_UNDEFINED) indsp->station_name = strid; } diff --git a/src/newgrf_roadtype.h b/src/newgrf_roadtype.h index 43c9c9cf7a..6a4ed878c5 100644 --- a/src/newgrf_roadtype.h +++ b/src/newgrf_roadtype.h @@ -21,12 +21,12 @@ struct RoadTypeScopeResolver : public ScopeResolver { const RoadTypeInfo *rti; /** - * Constructor of the roadtype scope resolvers. - * @param ro Surrounding resolver. - * @param rti Associated RoadTypeInfo. - * @param tile %Tile containing the track. For track on a bridge this is the southern bridgehead. - * @param context Are we resolving sprites for the upper halftile, or on a bridge? - */ + * Constructor of the roadtype scope resolvers. + * @param ro Surrounding resolver. + * @param rti Associated RoadTypeInfo. + * @param tile %Tile containing the track. For track on a bridge this is the southern bridgehead. + * @param context Are we resolving sprites for the upper halftile, or on a bridge? + */ RoadTypeScopeResolver(ResolverObject &ro, const RoadTypeInfo *rti, TileIndex tile, TileContext context) : ScopeResolver(ro), tile(tile), context(context), rti(rti) { diff --git a/src/os/unix/font_unix.cpp b/src/os/unix/font_unix.cpp index 87eac16384..c418cdb772 100644 --- a/src/os/unix/font_unix.cpp +++ b/src/os/unix/font_unix.cpp @@ -79,8 +79,8 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face) if (!font_style.empty() && !StrEqualsIgnoreCase(font_style, (char *)style)) continue; /* Font config takes the best shot, which, if the family name is spelled - * wrongly a 'random' font, so check whether the family name is the - * same as the supplied name */ + * wrongly a 'random' font, so check whether the family name is the + * same as the supplied name */ if (StrEqualsIgnoreCase(font_family, (char *)family)) { err = FT_New_Face(_library, (char *)file, index, face); } diff --git a/src/os/windows/string_uniscribe.h b/src/os/windows/string_uniscribe.h index 0c63d468c3..0621f5885c 100644 --- a/src/os/windows/string_uniscribe.h +++ b/src/os/windows/string_uniscribe.h @@ -28,21 +28,21 @@ public: static const bool SUPPORTS_RTL = true; /** - * Get the actual ParagraphLayout for the given buffer. - * @param buff The begin of the buffer. - * @param buff_end The location after the last element in the buffer. - * @param fontMapping THe mapping of the fonts. - * @return The ParagraphLayout instance. - */ + * Get the actual ParagraphLayout for the given buffer. + * @param buff The begin of the buffer. + * @param buff_end The location after the last element in the buffer. + * @param fontMapping THe mapping of the fonts. + * @return The ParagraphLayout instance. + */ static ParagraphLayouter *GetParagraphLayout(CharType *buff, CharType *buff_end, FontMap &fontMapping); /** - * Append a wide character to the internal buffer. - * @param buff The buffer to append to. - * @param buffer_last The end of the buffer. - * @param c The character to add. - * @return The number of buffer spaces that were used. - */ + * Append a wide character to the internal buffer. + * @param buff The buffer to append to. + * @param buffer_last The end of the buffer. + * @param c The character to add. + * @return The number of buffer spaces that were used. + */ static size_t AppendToBuffer(CharType *buff, const CharType *buffer_last, char32_t c) { assert(buff < buffer_last); diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp index 167f970817..2c767b9abb 100644 --- a/src/script/squirrel.cpp +++ b/src/script/squirrel.cpp @@ -31,7 +31,7 @@ * If changing the call paths into the scripting engine, define this symbol to enable full debugging of allocations. * This lets you track whether the allocator context is being switched correctly in all call paths. #define SCRIPT_DEBUG_ALLOCATIONS -*/ + */ struct ScriptAllocator { size_t allocated_size; ///< Sum of allocated data size diff --git a/src/settings.cpp b/src/settings.cpp index d86c153828..bbf603413a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -413,7 +413,7 @@ size_t OneOfManySettingDesc::ParseValue(const char *str) const { size_t r = OneOfManySettingDesc::ParseSingleValue(str, strlen(str), this->many); /* if the first attempt of conversion from string to the appropriate value fails, - * look if we have defined a converter from old value to new value. */ + * look if we have defined a converter from old value to new value. */ if (r == (size_t)-1 && this->many_cnvt != nullptr) r = this->many_cnvt(str); if (r != (size_t)-1) return r; // and here goes converted value diff --git a/src/sound/xaudio2_s.cpp b/src/sound/xaudio2_s.cpp index 70f8fa987f..f50a109dec 100644 --- a/src/sound/xaudio2_s.cpp +++ b/src/sound/xaudio2_s.cpp @@ -41,9 +41,9 @@ typedef HRESULT(__stdcall *API_XAudio2Create)(_Outptr_ IXAudio2** ppXAudio2, UIN static FSoundDriver_XAudio2 iFSoundDriver_XAudio2; /** -* Implementation of the IXAudio2VoiceCallback interface. -* Provides buffered audio to XAudio2 from the OpenTTD mixer. -*/ + * Implementation of the IXAudio2VoiceCallback interface. + * Provides buffered audio to XAudio2 from the OpenTTD mixer. + */ class StreamingVoiceContext : public IXAudio2VoiceCallback { private: @@ -132,12 +132,12 @@ static HRESULT CreateXAudio(API_XAudio2Create xAudio2Create) } /** -* Initialises the XAudio2 driver. -* -* @param parm Driver parameters. -* @return An error message if unsuccessful, or nullptr otherwise. -* -*/ + * Initialises the XAudio2 driver. + * + * @param parm Driver parameters. + * @return An error message if unsuccessful, or nullptr otherwise. + * + */ const char *SoundDriver_XAudio2::Start(const StringList &parm) { HRESULT hr = CoInitializeEx(nullptr, COINIT_MULTITHREADED); @@ -261,8 +261,8 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm) } /** -* Terminates the XAudio2 driver. -*/ + * Terminates the XAudio2 driver. + */ void SoundDriver_XAudio2::Stop() { // Clean up XAudio2 diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index f791c90852..5889ff19f2 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -279,7 +279,7 @@ struct TerraformToolbarWindow : Window { case DDSP_BUILD_OBJECT: if (!_settings_game.construction.freeform_edges) { /* When end_tile is MP_VOID, the error tile will not be visible to the - * user. This happens when terraforming at the southern border. */ + * user. This happens when terraforming at the southern border. */ if (TileX(end_tile) == Map::MaxX()) end_tile += TileDiffXY(-1, 0); if (TileY(end_tile) == Map::MaxY()) end_tile += TileDiffXY(0, -1); } diff --git a/src/tests/test_script_admin.cpp b/src/tests/test_script_admin.cpp index 7063c489df..c286e6293a 100644 --- a/src/tests/test_script_admin.cpp +++ b/src/tests/test_script_admin.cpp @@ -51,7 +51,7 @@ static std::optional TestScriptAdminMakeJSON(std::string_view squir { auto vm = sq_open(1024); /* sq_compile creates a closure with our snipper, which is a table. - * Add "return " to get the table on the stack. */ + * Add "return " to get the table on the stack. */ std::string buffer = fmt::format("return {}", squirrel); /* Insert an (empty) class for testing. */ diff --git a/src/timer/timer_game_calendar.h b/src/timer/timer_game_calendar.h index 22a7d91dcc..a4ea3f27a3 100644 --- a/src/timer/timer_game_calendar.h +++ b/src/timer/timer_game_calendar.h @@ -106,10 +106,10 @@ public: static void SetDate(Date date, DateFract fract); /** - * Calculate the year of a given date. - * @param date The date to consider. - * @return the year. - */ + * Calculate the year of a given date. + * @param date The date to consider. + * @return the year. + */ static constexpr Year DateToYear(Date date) { /* Hardcode the number of days in a year because we can't access CalendarTime from here. */ @@ -117,10 +117,10 @@ public: } /** - * Calculate the date of the first day of a given year. - * @param year the year to get the first day of. - * @return the date. - */ + * Calculate the date of the first day of a given year. + * @param year the year to get the first day of. + * @return the date. + */ static constexpr Date DateAtStartOfYear(Year year) { int32_t year_as_int = static_cast(year); diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 8a935dfb03..d995547d63 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1609,7 +1609,7 @@ void Vehicle::UpdatePosition() /** * Update the bounding box co-ordinates of the vehicle * @param update_cache Update the cached values for previous co-ordinate values -*/ + */ void Vehicle::UpdateBoundingBoxCoordinates(bool update_cache) const { Rect new_coord; diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 7129aae7e8..2a9ae02424 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -336,7 +336,7 @@ void VideoDriver_Cocoa::GameSizeChanged() ::GameSizeChanged(); /* We need to store the window size as non-Retina size in - * the config file to get same windows size on next start. */ + * the config file to get same windows size on next start. */ _cur_resolution.width = [ this->cocoaview frame ].size.width; _cur_resolution.height = [ this->cocoaview frame ].size.height; } diff --git a/src/viewport.cpp b/src/viewport.cpp index 0b77051ea9..caa33662a8 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1391,8 +1391,8 @@ static void ViewportAddKdtreeSigns(DrawPixelInfo *dpi) const Sign *si = Sign::Get(item.id.sign); /* Don't draw if sign is owned by another company and competitor signs should be hidden. - * Note: It is intentional that also signs owned by OWNER_NONE are hidden. Bankrupt - * companies can leave OWNER_NONE signs after them. */ + * Note: It is intentional that also signs owned by OWNER_NONE are hidden. Bankrupt + * companies can leave OWNER_NONE signs after them. */ if (!show_competitors && _local_company != si->owner && si->owner != OWNER_DEITY) break; signs.push_back(si); diff --git a/src/viewport_kdtree.h b/src/viewport_kdtree.h index 940d695051..3c2f49c2e4 100644 --- a/src/viewport_kdtree.h +++ b/src/viewport_kdtree.h @@ -1,9 +1,9 @@ /* -* This file is part of OpenTTD. -* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . -*/ + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . + */ /** @file town_kdtree.h Declarations for accessing the k-d tree of towns */