X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.h;h=b39d676552900e6d43c9f15c59c0269f54324abb;hp=f1f44184b847dc13e1ccd0e2b8153fcc9cb2fd07;hb=6746a99c1d7348748c06d457f8496b4253bb7c84;hpb=e0bf8eee0aec424593e68e37e35c6b6f120e4712 diff --git a/src/editor.h b/src/editor.h index f1f44184..b39d6765 100644 --- a/src/editor.h +++ b/src/editor.h @@ -1,29 +1,19 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-2002 Artsoft Entertainment * -* Holger Schemel * -* Detmolder Strasse 189 * -* 33604 Bielefeld * -* Germany * -* e-mail: info@artsoft.org * -*----------------------------------------------------------* -* 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 CreateLevelEditorGadgets(); void FreeLevelEditorGadgets(); void UnmapLevelEditorGadgets(); @@ -31,9 +21,10 @@ void DrawLevelEd(void); void HandleLevelEditorKeyInput(Key); void HandleLevelEditorIdle(); void HandleEditorGadgetInfoText(void *ptr); -void RequestExitLevelEditor(boolean); +void RequestExitLevelEditor(boolean, boolean); void PrintEditorElementList(); void DumpBrush(); +void DumpBrush_Small(); #endif