{ Copyright 2019-2023 Michalis Kamburelis. This file is part of "Castle Game Engine". "Castle Game Engine" is free software; see the file COPYING.txt, included in this distribution, for details about the copyright. "Castle Game Engine" 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. ---------------------------------------------------------------------------- } { Use deprecated units (in src/deprecated_units/ in CGE) in a way that doesn't cause warnings when compiling Lazarus castle_base.lpk. The deprecated units are compiled this way, but you can uncheck AddToUsesPkgSection in lpk. } unit CastleInternalUseDeprecatedUnits; {.$warn 05074 off} // do not warn about deprecated units {.$warn 05075 off} // do not warn about deprecated units {$warnings off} // do not warn about deprecated units, above lines don't work unfortunately with FPC 3.0.4 interface uses {$ifdef MSWINDOWS} CastleWindowsFonts, {$endif} CastleGooglePlayGames, CastleShaders, CastleWarnings, CastleLocalization, CastleLocalizationFileLoader, CastleSceneManager, Castle3D, Castle2DSceneManager, CastleRenderer, CastleRendererBaseTypes, CastleGLContainer, CastleSoundAllocator, CastleOnScreenMenu, CastleProgress, CastleProgressConsole, CastleCreatures, CastleGameNotifications, CastleItems, CastleLevels, CastlePlayer, CastleResources, CastleMaterialProperties, CastleUIState, CastleDialogStates; implementation end.