X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.h;h=b39d676552900e6d43c9f15c59c0269f54324abb;hp=665ff1b8d0b5c2462a0a82a87ce5b1ee93d439ad;hb=14801844faf14be284c590b66f030c6bf7cea5c2;hpb=403fa67c24301d440ae0871c2e31e1e395133a41 diff --git a/src/editor.h b/src/editor.h index 665ff1b8..b39d6765 100644 --- a/src/editor.h +++ b/src/editor.h @@ -1,35 +1,30 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * -*----------------------------------------------------------* -* editor.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// editor.h +// ============================================================================ #ifndef EDITOR_H #define EDITOR_H #include "main.h" -/* number of element button columns and rows in the edit window */ -#define MAX_ELEM_X 4 -#define MAX_ELEM_Y 10 - -extern int element_shift; -extern int editor_element[]; -extern int elements_in_list; - -void InitLevelEditorGadgets(); +void CreateLevelEditorGadgets(); +void FreeLevelEditorGadgets(); void UnmapLevelEditorGadgets(); void DrawLevelEd(void); -void LevelEd(int, int, int); -void HandleLevelEditorKeyInput(KeySym); -void LevelNameTyping(KeySym); +void HandleLevelEditorKeyInput(Key); +void HandleLevelEditorIdle(); void HandleEditorGadgetInfoText(void *ptr); +void RequestExitLevelEditor(boolean, boolean); +void PrintEditorElementList(); + +void DumpBrush(); +void DumpBrush_Small(); #endif