aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/MacOSX/Wrapper/Messages.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/MacOSX/Wrapper/Messages.pas30
1 files changed, 30 insertions, 0 deletions
diff --git a/Game/Code/MacOSX/Wrapper/Messages.pas b/Game/Code/MacOSX/Wrapper/Messages.pas
new file mode 100644
index 00000000..e1c8e6aa
--- /dev/null
+++ b/Game/Code/MacOSX/Wrapper/Messages.pas
@@ -0,0 +1,30 @@
+unit Messages;
+
+{$I switches.inc}
+
+interface
+
+uses Windows;
+
+type
+
+ TMessage = packed record
+ Msg: Cardinal;
+ case Integer of
+ 0: (
+ WParam: Longint;
+ LParam: Longint;
+ Result: Longint);
+ 1: (
+ WParamLo: Word;
+ WParamHi: Word;
+ LParamLo: Word;
+ LParamHi: Word;
+ ResultLo: Word;
+ ResultHi: Word);
+ end;
+ PMessage = ^TMessage;
+
+implementation
+
+end. \ No newline at end of file