1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * (c) 1995-2006 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
20 #define LEVEL_PACKED_START 100
21 #define PACKED_LEVELS(x) (LEVEL_PACKED_START + x)
23 #define LEVEL_FILE_TYPE_RND_PACKED PACKED_LEVELS(LEVEL_FILE_TYPE_RND)
24 #define LEVEL_FILE_TYPE_EM_PACKED PACKED_LEVELS(LEVEL_FILE_TYPE_EM)
26 #define IS_SINGLE_LEVEL_FILE(x) (x < LEVEL_PACKED_START)
27 #define IS_PACKED_LEVEL_FILE(x) (x > LEVEL_PACKED_START)
30 void setElementChangePages(struct ElementInfo *, int);
31 void setElementChangeInfoToDefaults(struct ElementChangeInfo *);
32 void copyElementInfo(struct ElementInfo *, struct ElementInfo *);
34 char *getDefaultLevelFilename(int);
36 void LoadLevelFromFilename(struct LevelInfo *, char *);
38 void LoadLevelTemplate(int);
40 void SaveLevelTemplate();
41 void DumpLevel(struct LevelInfo *);
42 boolean SaveLevelChecked(int);
44 void CopyNativeLevel_RND_to_Native(struct LevelInfo *);
45 void CopyNativeLevel_Native_to_RND(struct LevelInfo *);
47 void LoadTapeFromFilename(char *);
49 void LoadSolutionTape(int);
51 void DumpTape(struct TapeInfo *);
52 boolean SaveTapeChecked(int);
60 void LoadSetup_EditorCascade();
61 void SaveSetup_EditorCascade();
63 void LoadCustomElementDescriptions();
64 void LoadSpecialMenuDesignSettings();
65 void LoadUserDefinedEditorElementList(int **, int *);
67 void LoadHelpAnimInfo();
68 void LoadHelpTextInfo();
70 void ConvertLevels(void);