--- sourceforge.net/trunk/rdesktop/orders.h 2001/06/20 13:54:48 28 +++ sourceforge.net/trunk/rdesktop/orders.h 2002/09/26 14:26:46 207 @@ -1,7 +1,7 @@ /* rdesktop: A Remote Desktop Protocol client. RDP order processing - Copyright (C) Matthew Chapman 1999-2000 + Copyright (C) Matthew Chapman 1999-2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,7 +57,8 @@ uint16 cy; uint8 opcode; -} DESTBLT_ORDER; +} +DESTBLT_ORDER; typedef struct _PATBLT_ORDER { @@ -70,7 +71,8 @@ uint8 fgcolour; BRUSH brush; -} PATBLT_ORDER; +} +PATBLT_ORDER; typedef struct _SCREENBLT_ORDER { @@ -82,7 +84,8 @@ uint16 srcx; uint16 srcy; -} SCREENBLT_ORDER; +} +SCREENBLT_ORDER; typedef struct _LINE_ORDER { @@ -95,7 +98,8 @@ uint8 opcode; PEN pen; -} LINE_ORDER; +} +LINE_ORDER; typedef struct _RECT_ORDER { @@ -105,7 +109,8 @@ uint16 cy; uint8 colour; -} RECT_ORDER; +} +RECT_ORDER; typedef struct _DESKSAVE_ORDER { @@ -116,7 +121,8 @@ uint16 bottom; uint8 action; -} DESKSAVE_ORDER; +} +DESKSAVE_ORDER; typedef struct _TRIBLT_ORDER { @@ -135,7 +141,8 @@ uint16 cache_idx; uint16 unknown; -} TRIBLT_ORDER; +} +TRIBLT_ORDER; typedef struct _MEMBLT_ORDER { @@ -150,7 +157,8 @@ uint16 srcy; uint16 cache_idx; -} MEMBLT_ORDER; +} +MEMBLT_ORDER; #define MAX_DATA 256 @@ -158,13 +166,14 @@ { uint16 x; uint16 y; - uint8 flags; + uint8 opcode; uint8 fgcolour; uint8 lines; uint8 datasize; uint8 data[MAX_DATA]; -} POLYLINE_ORDER; +} +POLYLINE_ORDER; #define MAX_TEXT 256 @@ -189,7 +198,8 @@ uint8 length; uint8 text[MAX_TEXT]; -} TEXT2_ORDER; +} +TEXT2_ORDER; typedef struct _RDP_ORDER_STATE { @@ -207,7 +217,8 @@ POLYLINE_ORDER polyline; TEXT2_ORDER text2; -} RDP_ORDER_STATE; +} +RDP_ORDER_STATE; typedef struct _RDP_RAW_BMPCACHE_ORDER { @@ -220,7 +231,8 @@ uint16 cache_idx; uint8 *data; -} RDP_RAW_BMPCACHE_ORDER; +} +RDP_RAW_BMPCACHE_ORDER; typedef struct _RDP_BMPCACHE_ORDER { @@ -237,7 +249,8 @@ uint16 final_size; uint8 *data; -} RDP_BMPCACHE_ORDER; +} +RDP_BMPCACHE_ORDER; #define MAX_GLYPH 32 @@ -250,7 +263,8 @@ uint16 height; uint8 data[MAX_GLYPH]; -} RDP_FONT_GLYPH; +} +RDP_FONT_GLYPH; #define MAX_GLYPHS 256 @@ -260,11 +274,13 @@ uint8 nglyphs; RDP_FONT_GLYPH glyphs[MAX_GLYPHS]; -} RDP_FONTCACHE_ORDER; +} +RDP_FONTCACHE_ORDER; typedef struct _RDP_COLCACHE_ORDER { uint8 cache_id; COLOURMAP map; -} RDP_COLCACHE_ORDER; +} +RDP_COLCACHE_ORDER;