File: 1.2_features.wl

package info (click to toggle)
wadc 2.1%2Bgit3aac3015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,312 kB
  • ctags: 643
  • sloc: java: 2,771; ansic: 1,526; xml: 125; makefile: 33; sh: 13
file content (27 lines) | stat: -rw-r--r-- 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#"standard.h"
#"monsters.h"
#"pickups.h"

-- 1.2_features.wl: demonstrate the new features in WadC 1.2:
-- midtex, impassable and friendly

main {
  thing movestep(-64,-64)
  box(0,192,160,512,add(256,128))

  revenant
  mid("MIDGRATE")

  movestep(64,128)
  ibox(24,128,160,128,128)
  pushpop( movestep(64,64) thing )

  popsector
  midtex
  impassable
  friendly

  movestep(256,0)
  ibox(24,128,160,128,128)
  pushpop( movestep(64,64) thing )
}