DEADSOFTWARE

Maps can be saved to zip
[d2df-editor.git] / src / editor / Editor.lpr
1 program Editor;
3 {$INCLUDE ../shared/a_modes.inc}
5 uses
6 Forms, Interfaces,
7 GL, GLExt,
8 e_graphics in '../engine/e_graphics.pas',
9 e_log in '../engine/e_log.pas',
10 e_textures in '../engine/e_textures.pas',
11 MAPSTRUCT in '../shared/MAPSTRUCT.pas',
12 MAPREADER in '../shared/MAPREADER.pas',
13 MAPWRITER in '../shared/MAPWRITER.pas',
14 MAPDEF in '../shared/MAPDEF.pas',
15 WADEDITOR in '../shared/WADEDITOR.pas',
16 WADSTRUCT in '../shared/WADSTRUCT.pas',
17 CONFIG in '../shared/CONFIG.pas',
18 xstreams in '../shared/xstreams.pas',
19 dfzip in '../shared/dfzip.pas',
20 sfs in '../sfs/sfs.pas',
21 sfsPlainFS in '../sfs/sfsPlainFS.pas',
22 sfsZipFS in '../sfs/sfsZipFS.pas',
24 f_about in 'f_about.pas' {AboutForm},
25 f_options in 'f_options.pas' {OptionsForm},
26 f_main in 'f_main.pas' {MainForm},
27 g_map in 'g_map.pas',
28 f_mapoptions in 'f_mapoptions.pas' {MapOptionsForm},
29 f_activationtype in 'f_activationtype.pas' {ActivationTypeForm},
30 f_addresource in 'f_addresource.pas' {AddResourceForm},
31 f_keys in 'f_keys.pas' {KeysForm},
32 f_mapcheck in 'f_mapcheck.pas' {MapCheckForm},
33 f_mapoptimization in 'f_mapoptimization.pas' {MapOptimizationForm},
34 g_basic in 'g_basic.pas',
35 g_textures in 'g_textures.pas',
36 f_addresource_texture in 'f_addresource_texture.pas' {AddTextureForm},
37 f_savemap in 'f_savemap.pas' {SaveMapForm},
38 f_selectmap in 'f_selectmap.pas' {SelectMapForm},
39 f_addresource_sky in 'f_addresource_sky.pas' {AddSkyForm},
40 f_addresource_sound in 'f_addresource_sound.pas' {AddSoundForm},
41 spectrum in 'spectrum.pas',
42 f_saveminimap in 'f_saveminimap.pas' {SaveMiniMapForm},
43 f_packmap in 'f_packmap.pas' {PackMapForm},
44 f_maptest in 'f_maptest.pas' {MapTestForm},
45 f_choosetype in 'f_choosetype.pas' {ChooseTypeForm},
46 {$IFNDEF NOSOUND}
47 fmod,
48 fmoderrors,
49 fmodpresets,
50 fmodtypes,
51 {$ENDIF}
52 ImagingTypes,
53 Imaging,
54 ImagingUtility,
55 g_language in 'g_language.pas',
56 f_selectlang in 'f_selectlang.pas' {SelectLanguageForm};
58 {$IFDEF WINDOWS}
59 {$R *.res}
60 {$ENDIF}
62 begin
63 Application.ExceptionDialog := aedOkMessageBox;
64 Application.Initialize();
66 Application.CreateForm(TMainForm, MainForm);
67 Application.CreateForm(TOptionsForm, OptionsForm);
68 Application.CreateForm(TAboutForm, AboutForm);
69 Application.CreateForm(TMapOptionsForm, MapOptionsForm);
70 Application.CreateForm(TActivationTypeForm, ActivationTypeForm);
71 Application.CreateForm(TAddResourceForm, AddResourceForm);
72 Application.CreateForm(TKeysForm, KeysForm);
73 Application.CreateForm(TMapCheckForm, MapCheckForm);
74 Application.CreateForm(TMapOptimizationForm, MapOptimizationForm);
75 Application.CreateForm(TAddTextureForm, AddTextureForm);
76 Application.CreateForm(TSaveMapForm, SaveMapForm);
77 Application.CreateForm(TSelectMapForm, SelectMapForm);
78 Application.CreateForm(TAddSkyForm, AddSkyForm);
79 Application.CreateForm(TAddSoundForm, AddSoundForm);
80 Application.CreateForm(TSaveMiniMapForm, SaveMiniMapForm);
81 Application.CreateForm(TPackMapForm, PackMapForm);
82 Application.CreateForm(TMapTestForm, MapTestForm);
83 Application.CreateForm(TChooseTypeForm, ChooseTypeForm);
84 Application.CreateForm(TSelectLanguageForm, SelectLanguageForm);
86 if ParamStr(1) <> '' then OpenMap(ParamStr(1), '');
87 Application.Run();
88 end.