Move info from the pre-compiled resource file to the Lazarus project itself
[d2df-editor.git] / src / editor / Editor.lpr
blob71f5906bf6784736fa889e0cb245e44726b9d4a2
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   f_about in 'f_about.pas' {AboutForm},
19   f_options in 'f_options.pas' {OptionsForm},
20   f_main in 'f_main.pas' {MainForm},
21   g_map in 'g_map.pas',
22   f_mapoptions in 'f_mapoptions.pas' {MapOptionsForm},
23   f_activationtype in 'f_activationtype.pas' {ActivationTypeForm},
24   f_addresource in 'f_addresource.pas' {AddResourceForm},
25   f_keys in 'f_keys.pas' {KeysForm},
26   f_mapcheck in 'f_mapcheck.pas' {MapCheckForm},
27   f_mapoptimization in 'f_mapoptimization.pas' {MapOptimizationForm},
28   g_basic in 'g_basic.pas',
29   g_textures in 'g_textures.pas',
30   f_addresource_texture in 'f_addresource_texture.pas' {AddTextureForm},
31   f_savemap in 'f_savemap.pas' {SaveMapForm},
32   f_selectmap in 'f_selectmap.pas' {SelectMapForm},
33   f_addresource_sky in 'f_addresource_sky.pas' {AddSkyForm},
34   f_addresource_sound in 'f_addresource_sound.pas' {AddSoundForm},
35   spectrum in 'spectrum.pas',
36   f_saveminimap in 'f_saveminimap.pas' {SaveMiniMapForm},
37   f_packmap in 'f_packmap.pas' {PackMapForm},
38   f_maptest in 'f_maptest.pas' {MapTestForm},
39   f_choosetype in 'f_choosetype.pas' {ChooseTypeForm},
40 {$IFNDEF NOSOUND}
41   fmod,
42   fmoderrors,
43   fmodpresets,
44   fmodtypes,
45 {$ENDIF}
46   ImagingTypes,
47   Imaging,
48   ImagingUtility,
49   g_language in 'g_language.pas',
50   f_selectlang in 'f_selectlang.pas' {SelectLanguageForm};
52 {$R *.res}
54 begin
55   Application.Initialize;
56   Application.CreateForm(TMainForm, MainForm);
57   Application.CreateForm(TOptionsForm, OptionsForm);
58   Application.CreateForm(TAboutForm, AboutForm);
59   Application.CreateForm(TMapOptionsForm, MapOptionsForm);
60   Application.CreateForm(TActivationTypeForm, ActivationTypeForm);
61   Application.CreateForm(TAddResourceForm, AddResourceForm);
62   Application.CreateForm(TKeysForm, KeysForm);
63   Application.CreateForm(TMapCheckForm, MapCheckForm);
64   Application.CreateForm(TMapOptimizationForm, MapOptimizationForm);
65   Application.CreateForm(TAddTextureForm, AddTextureForm);
66   Application.CreateForm(TSaveMapForm, SaveMapForm);
67   Application.CreateForm(TSelectMapForm, SelectMapForm);
68   Application.CreateForm(TAddSkyForm, AddSkyForm);
69   Application.CreateForm(TAddSoundForm, AddSoundForm);
70   Application.CreateForm(TSaveMiniMapForm, SaveMiniMapForm);
71   Application.CreateForm(TPackMapForm, PackMapForm);
72   Application.CreateForm(TMapTestForm, MapTestForm);
73   Application.CreateForm(TChooseTypeForm, ChooseTypeForm);
74   Application.CreateForm(TSelectLanguageForm, SelectLanguageForm);
75   if ParamStr(1) <> '' then OpenMap(ParamStr(1), '');
77   Application.Run;
78 end.