diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-06 19:02:56 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-06 19:02:56 +0000 |
commit | 57247ddc701c856e3bd0811566405ab4ac69e9ff (patch) | |
tree | fb90625caf573a20f65354ade1023ecb396c8456 /Game/Code/lib/midi | |
parent | c9f0475aa950753f91fddf36f94d488e554d3757 (diff) | |
download | usdx-57247ddc701c856e3bd0811566405ab4ac69e9ff.tar.gz usdx-57247ddc701c856e3bd0811566405ab4ac69e9ff.tar.xz usdx-57247ddc701c856e3bd0811566405ab4ac69e9ff.zip |
moved AllocateHWnd/DeallocateHWnd from UCommon.pas to WinAllocation.pas. Do NOT use them in USDX code. They are just by the DirWatch and Midi... libs in FPC (Windows).
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1224 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/midi')
-rw-r--r-- | Game/Code/lib/midi/MidiFile.pas | 8 | ||||
-rw-r--r-- | Game/Code/lib/midi/Midiin.pas | 4 | ||||
-rw-r--r-- | Game/Code/lib/midi/Midiout.pas | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/Game/Code/lib/midi/MidiFile.pas b/Game/Code/lib/midi/MidiFile.pas index 4279d305..57c9a161 100644 --- a/Game/Code/lib/midi/MidiFile.pas +++ b/Game/Code/lib/midi/MidiFile.pas @@ -99,9 +99,11 @@ uses Windows, //Forms, Messages, - SysUtils, - UCommon, - Classes; + Classes, + {$IFDEF FPC} + WinAllocation, + {$ENDIF} + SysUtils; type TChunkType = (illegal, header, track); diff --git a/Game/Code/lib/midi/Midiin.pas b/Game/Code/lib/midi/Midiin.pas index 3688d5c9..21db0298 100644 --- a/Game/Code/lib/midi/Midiin.pas +++ b/Game/Code/lib/midi/Midiin.pas @@ -112,7 +112,9 @@ uses Messages, Windows, MMSystem, - UCommon, + {$IFDEF FPC} + WinAllocation, + {$ENDIF} MidiDefs, MidiType, MidiCons, diff --git a/Game/Code/lib/midi/Midiout.pas b/Game/Code/lib/midi/Midiout.pas index 2463ae8a..606d0dae 100644 --- a/Game/Code/lib/midi/Midiout.pas +++ b/Game/Code/lib/midi/Midiout.pas @@ -107,7 +107,9 @@ uses Messages, Classes, MMSystem, - UCommon, + {$IFDEF FPC} + WinAllocation, + {$ENDIF} Circbuf, MidiType, MidiDefs, |