module

WritingAdditions::EnDoom

"The colorful screen shown when Doom exits."

Instance methods

write(file : String | Path) : UInt32

Writes a endoom given an output io and returns the size of the written lump

Writes a endoom in my_wad to a file:

my_wad = WAD.read("Path/To/Wad")
my_wad.endoom.write("Path/To/my_endoom.lmp")
write(io : IO) : UInt32

Writes a endoom given an output io and returns the size of the written lump

Writes a endoom in my_wad to a file:

my_wad = WAD.read("Path/To/Wad")
File.open("Path/To/my_endoom.lmp", "w+") do |file|
  my_wad.endoom.write(file)
end