Skip to content

Commit

Permalink
demo/blocky: fix flat markers for vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtd committed Mar 6, 2021
1 parent ac87992 commit 64dbe4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion demo/blocky.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@
out.patches[name] = gr

# generate a texture entry
editor.simple(name, out.patches[name])
editor.simple(name, ot.patches[name])

# generate a flat
name = "FOLOR{:03d}".format(i)
flat = Flat()
flat.load_raw(bytes([i])*4096)
out.flats[name] = flat

# fix flats in vanilla
out.flats.prefix='FF*_START'

out.txdefs = editor.to_lumps()
out.to_file('out.wad')

0 comments on commit 64dbe4c

Please sign in to comment.