home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 August / GSSH0804.iso / Geschicklichkeit / RocksnDiamonds / rocksndiamonds.exe / rocksndiamonds-3.1.0 / src / editor.h < prev    next >
C/C++ Source or Header  |  2004-01-18  |  1KB  |  40 lines

  1. /***********************************************************
  2. * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
  3. *----------------------------------------------------------*
  4. * (c) 1995-2002 Artsoft Entertainment                      *
  5. *               Holger Schemel                             *
  6. *               Detmolder Strasse 189                      *
  7. *               33604 Bielefeld                            *
  8. *               Germany                                    *
  9. *               e-mail: info@artsoft.org                   *
  10. *----------------------------------------------------------*
  11. * editor.h                                                 *
  12. ***********************************************************/
  13.  
  14. #ifndef EDITOR_H
  15. #define EDITOR_H
  16.  
  17. #include "main.h"
  18.  
  19. /* number of element button columns and rows in the edit window */
  20. #define MAX_ELEM_X        4
  21. #define MAX_ELEM_Y        10
  22.  
  23. extern int element_shift;
  24. extern int editor_element[];
  25. extern int elements_in_list;
  26.  
  27. void CreateLevelEditorGadgets();
  28. void FreeLevelEditorGadgets();
  29. void UnmapLevelEditorGadgets();
  30. void DrawLevelEd(void);
  31. void HandleLevelEditorKeyInput(Key);
  32. void HandleLevelEditorIdle();
  33. void HandleEditorGadgetInfoText(void *ptr);
  34. void RequestExitLevelEditor(boolean);
  35. void PrintEditorElementList();
  36.  
  37. void DumpBrush();
  38.  
  39. #endif
  40.