From b2a824d8f4fcf4d9038e2a360ac586fb0279e739 Mon Sep 17 00:00:00 2001 From: tobigun Date: Sun, 6 Apr 2008 11:36:03 +0000 Subject: removed lazarus dependencies - added an implementation of AllocateHWnd/DeallocateHWnd to UCommon for the Win32 only units DirWatch and Midi... (do not use AllocateHWnd somewhere else) - added an own implementation of ShowMessage to UCommon (uses MessageBox in Windows, console-output otherwise) - linux still needs lresources for the lrs-file (will be removed soon) - the FPC windows version uses windows resources now (instead of lrs ones). compile them with windres (in FPC's "bin" dir) or delphi (a batch-file for windres will follow soon) - changed path-separator from '\' to '/' in RC-file for windres compatibility git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1006 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/other/DirWatch.pas | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Game/Code/lib/other/DirWatch.pas') diff --git a/Game/Code/lib/other/DirWatch.pas b/Game/Code/lib/other/DirWatch.pas index b14fa791..95e0f8e9 100644 --- a/Game/Code/lib/other/DirWatch.pas +++ b/Game/Code/lib/other/DirWatch.pas @@ -31,11 +31,7 @@ uses Windows, Messages, SysUtils, - {$IFDEF LCL} - LCLIntf, // used for AllocateHWnd - {$ELSE} - Forms, - {$ENDIF} + UCommon, Classes; type -- cgit v1.2.3