| 1 |
{ |
| 2 |
Copyright 2019-2022 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/window/deprecated_units/ in CGE) |
| 17 |
in a way that doesn't cause warnings when compiling Lazarus castle_window.lpk. |
| 18 |
The deprecated units are compiled this way, |
| 19 |
but you can uncheck AddToUsesPkgSection in lpk. } |
| 20 |
unit CastleInternalUseWindowDeprecatedUnits; |
| 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 CastleWindowModes, CastleSoundMenu, CastleWindowProgress; |
| 29 |
|
| 30 |
implementation |
| 31 |
|
| 32 |
end. |