File: mixtypes.wl

package info (click to toggle)
wadc 3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 7,352 kB
  • sloc: java: 3,808; ansic: 1,950; xml: 135; makefile: 67; sh: 34
file content (23 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#"standard.h"

/*
 * prove that mixing linetype/linetypehexen works OK:
 *     * using linetype() in hexen-format WADs sets type and tag correctly
 *     * linetype() resets args 2-5 so they don't bleed out to later lines
 */

main {
    hexenformat
    linetypehexen(1,2,3,4,5,6)
    straight(128) /* should be 1,2,3,4,5,6 */
    linetype(0,0)
    right(128)    /* should be 0,0,0,0,0,0 */
    linetype(7,8)
    right(128)    /* should be 7,8,0,0,0,0 */
    linetype(0,0)
    right(128)    /* should be 0,0,0,0,0,0 */
    rightsector(0,128,160)
    rotright
    movestep(64,64)
    thing
}