Debian Codegraph @

src/deprecated_units/castleinternalusedeprecatedunits.pas

raw
1 {
2 Copyright 2019-2023 Michalis Kamburelis.
3
4 This file is part of "Castle Game Engine".
5
6 "Castle Game Engine" is free software; see the file COPYING.txt,
7 included in this distribution, for details about the copyright.
8
9 "Castle Game Engine" is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13 ----------------------------------------------------------------------------
14 }
15
16 { Use deprecated units (in src/deprecated_units/ in CGE)
17 in a way that doesn't cause warnings when compiling Lazarus castle_base.lpk.
18 The deprecated units are compiled this way,
19 but you can uncheck AddToUsesPkgSection in lpk. }
20 unit CastleInternalUseDeprecatedUnits;
21
22 {.$warn 05074 off} // do not warn about deprecated units
23 {.$warn 05075 off} // do not warn about deprecated units
24 {$warnings off} // do not warn about deprecated units, above lines don't work unfortunately with FPC 3.0.4
25
26 interface
27
28 uses
29 {$ifdef MSWINDOWS} CastleWindowsFonts, {$endif}
30 CastleGooglePlayGames, CastleShaders, CastleWarnings,
31 CastleLocalization, CastleLocalizationFileLoader,
32 CastleSceneManager, Castle3D, Castle2DSceneManager,
33 CastleRenderer, CastleRendererBaseTypes, CastleGLContainer,
34 CastleSoundAllocator, CastleOnScreenMenu, CastleProgress, CastleProgressConsole,
35 CastleCreatures, CastleGameNotifications, CastleItems, CastleLevels, CastlePlayer, CastleResources,
36 CastleMaterialProperties, CastleUIState, CastleDialogStates;
37
38 implementation
39
40 end.