added license to scripts and shaders
[dd2d.git] / data / scripts / maps / map01.dacs
blob53265b02d63904c9daf83149357bf7f7e0fd4ae8
1 /* DooM2D: Midnight on the Firing Line
2  * coded by Ketmar // Invisible Vector <ketmar@ketmar.no-ip.org>
3  * Understanding is not required. Only obedience.
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 module mapsMap01 is "map" "map01";
20 import apiActor;
21 import miscLevellight;
22 import miscAmbientlight;
23 import stdlib;
26 const LYOfs = 1;
28 void putStaticLights () {
29   miscLevellight.spawn( 27, 391-0+LYOfs, 255, 100);
30   miscLevellight.spawn(542, 424-0+LYOfs, 255, 100);
31   miscLevellight.spawn(377, 368-0+LYOfs, 255,  32);
32   miscLevellight.spawn(147, 288-0+LYOfs, 255,  64);
33   miscLevellight.spawn( 71, 200-0+LYOfs, 255, 128);
34   miscLevellight.spawn(249, 200-0+LYOfs, 255, 128);
35   miscLevellight.spawn(426, 200-0+LYOfs, 255, 128);
36   miscLevellight.spawn(624, 200-0+LYOfs, 255, 128);
37   miscLevellight.spawn(549, 298-0+LYOfs, 255,  64);
38   miscLevellight.spawn( 74, 304-0+LYOfs, 255,  32);
40   miscLevellight.spawn(280, 330, 255, 64);
42   // red light
43   miscLevellight.spawn(24*8+4, (24+18)*8-2+LYOfs, 150, 0, 0, 128);
45   //miscAmbientlight.spawn(10, 10, 550, 150, 255);
46   //miscAmbientlight.spawn(10, 10, 550, 350, 128, 0, 0);
50 // called after level map is loaded. you can place static lights here.
51 public void initialize () {
52   putStaticLights();
53   writeln("level 01 initialized");
57 // called after mosters set
58 public void loaded () {
59   writeln("level 01 loaded");
63 // called before level is unloaded (i.e. player finished the level)
64 public void unloading () {
65   writeln("level 01 unloading");
69 // called before monster think
70 public void prethink () {
71   //writeln("level prethink");
75 // called after monster think
76 public void postthink () {
77   //writeln("level postthink");