From 60d3dd98a44230c21803c1606552ee098ed9fa7c Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 21 Feb 2024 21:05:14 +0100 Subject: Convert remaining BOOL to bool --- indra/newview/llhudmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llhudmanager.h') diff --git a/indra/newview/llhudmanager.h b/indra/newview/llhudmanager.h index 7782739690..0c454dc4b9 100644 --- a/indra/newview/llhudmanager.h +++ b/indra/newview/llhudmanager.h @@ -40,7 +40,7 @@ class LLHUDManager : public LLSingleton ~LLHUDManager(); public: - LLHUDEffect *createViewerEffect(const U8 type, BOOL send_to_sim = TRUE, BOOL originated_here = TRUE); + LLHUDEffect *createViewerEffect(const U8 type, bool send_to_sim = true, bool originated_here = true); void updateEffects(); void sendEffects(); -- cgit v1.2.3 From e2e37cced861b98de8c1a7c9c0d3a50d2d90e433 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 22 May 2024 21:25:21 +0200 Subject: Fix line endlings --- indra/newview/llhudmanager.h | 120 +++++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 60 deletions(-) (limited to 'indra/newview/llhudmanager.h') diff --git a/indra/newview/llhudmanager.h b/indra/newview/llhudmanager.h index 2336fade56..58de31a061 100644 --- a/indra/newview/llhudmanager.h +++ b/indra/newview/llhudmanager.h @@ -1,60 +1,60 @@ -/** - * @file llhudmanager.h - * @brief LLHUDManager class definition - * - * $LicenseInfo:firstyear=2002&license=viewerlgpl$ - * Second Life Viewer Source Code - * Copyright (C) 2010, Linden Research, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License only. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA - * $/LicenseInfo$ - */ - -#ifndef LL_LLHUDMANAGER_H -#define LL_LLHUDMANAGER_H - -// Responsible for managing all HUD elements. - -#include "llhudobject.h" - -class LLHUDEffect; -class LLMessageSystem; - -class LLHUDManager : public LLSingleton -{ - LLSINGLETON(LLHUDManager); - ~LLHUDManager(); - -public: - LLHUDEffect *createViewerEffect(const U8 type, bool send_to_sim = true, bool originated_here = true); - - void updateEffects(); - void sendEffects(); - void cleanupEffects(); - - static void shutdownClass(); - - static void processViewerEffect(LLMessageSystem *mesgsys, void **user_data); - - static LLColor4 sParentColor; - static LLColor4 sChildColor; - -protected: - std::vector > mHUDEffects; -}; - -#endif // LL_LLHUDMANAGER_H +/** + * @file llhudmanager.h + * @brief LLHUDManager class definition + * + * $LicenseInfo:firstyear=2002&license=viewerlgpl$ + * Second Life Viewer Source Code + * Copyright (C) 2010, Linden Research, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; + * version 2.1 of the License only. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA + * $/LicenseInfo$ + */ + +#ifndef LL_LLHUDMANAGER_H +#define LL_LLHUDMANAGER_H + +// Responsible for managing all HUD elements. + +#include "llhudobject.h" + +class LLHUDEffect; +class LLMessageSystem; + +class LLHUDManager : public LLSingleton +{ + LLSINGLETON(LLHUDManager); + ~LLHUDManager(); + +public: + LLHUDEffect *createViewerEffect(const U8 type, bool send_to_sim = true, bool originated_here = true); + + void updateEffects(); + void sendEffects(); + void cleanupEffects(); + + static void shutdownClass(); + + static void processViewerEffect(LLMessageSystem *mesgsys, void **user_data); + + static LLColor4 sParentColor; + static LLColor4 sChildColor; + +protected: + std::vector > mHUDEffects; +}; + +#endif // LL_LLHUDMANAGER_H -- cgit v1.2.3