home *** CD-ROM | disk | FTP | other *** search
/ NEXT Generation 27 / NEXT27.iso / pc / demos / emperor / dx3.exe / SDK / SAMPLES / IKLOWNS / CGREMQUE.H < prev    next >
C/C++ Source or Header  |  1996-08-28  |  2KB  |  49 lines

  1. /*===========================================================================*\
  2. |
  3. |  File:        cgremque.h
  4. |
  5. |  Description: 
  6. |       
  7. |-----------------------------------------------------------------------------
  8. |
  9. |  Copyright (C) 1995-1996 Microsoft Corporation.  All Rights Reserved.
  10. |
  11. |  Written by Moss Bay Engineering, Inc. under contract to Microsoft Corporation
  12. |
  13. \*===========================================================================*/
  14. /**************************************************************************
  15.  
  16.     (C) Copyright 1995-1996 Microsoft Corp.  All rights reserved.
  17.  
  18.     You have a royalty-free right to use, modify, reproduce and 
  19.     distribute the Sample Files (and/or any modified version) in 
  20.     any way you find useful, provided that you agree that 
  21.     Microsoft has no warranty obligations or liability for any 
  22.     Sample Application Files which are modified. 
  23.  
  24.     we do not recomend you base your game on IKlowns, start with one of
  25.     the other simpler sample apps in the GDK
  26.  
  27.  **************************************************************************/
  28.  
  29. #ifndef _CGREMQUE_H
  30. #define _CGREMQUE_H
  31.  
  32. // Entry for object in master object list
  33. typedef struct 
  34. {
  35.     REMOTE_OBJECT   RemObj;
  36.     void        *Data;
  37.     CLinkedList *ActionList;
  38. } REMOTE_DATA;
  39.  
  40. CLinkedList *CreateRemoteObjectQueue(REMOTE_OBJECT *, void *);
  41. void DestroyRemoteObjectQueue(REMOTE_OBJECT *);
  42. CLinkedList *GetRemoteObjectQueue(REMOTE_OBJECT *);
  43.  
  44. ACTION GetNextRemoteAction(CLinkedList *, void *&, DWORD &);
  45. BOOL QueueRemoteAction(CLinkedList *, ACTION, void *, DWORD);
  46.  
  47. REMOTE_DATA *FindRemoteObjectEntry(REMOTE_OBJECT *);
  48. #endif
  49.