Class: Doom::Render::Drawseg

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/render/renderer.rb

Overview

Drawseg stores wall segment info for sprite clipping Matches Chocolate Doom’s drawseg_t structure

Instance Attribute Summary collapse

Instance Attribute Details

#backsectorObject

Returns the value of attribute backsector

Returns:

  • (Object)

    the current value of backsector



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def backsector
  @backsector
end

#bsilheightObject

Returns the value of attribute bsilheight

Returns:

  • (Object)

    the current value of bsilheight



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def bsilheight
  @bsilheight
end

#curlineObject

Returns the value of attribute curline

Returns:

  • (Object)

    the current value of curline



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def curline
  @curline
end

#dist1Object

Returns the value of attribute dist1

Returns:

  • (Object)

    the current value of dist1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def dist1
  @dist1
end

#dist2Object

Returns the value of attribute dist2

Returns:

  • (Object)

    the current value of dist2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def dist2
  @dist2
end

#frontsectorObject

Returns the value of attribute frontsector

Returns:

  • (Object)

    the current value of frontsector



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def frontsector
  @frontsector
end

#maskedtexturecolObject

Returns the value of attribute maskedtexturecol

Returns:

  • (Object)

    the current value of maskedtexturecol



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def maskedtexturecol
  @maskedtexturecol
end

#scale1Object

Returns the value of attribute scale1

Returns:

  • (Object)

    the current value of scale1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def scale1
  @scale1
end

#scale2Object

Returns the value of attribute scale2

Returns:

  • (Object)

    the current value of scale2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def scale2
  @scale2
end

#scalestepObject

Returns the value of attribute scalestep

Returns:

  • (Object)

    the current value of scalestep



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def scalestep
  @scalestep
end

#sidedefObject

Returns the value of attribute sidedef

Returns:

  • (Object)

    the current value of sidedef



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sidedef
  @sidedef
end

#silhouetteObject

Returns the value of attribute silhouette

Returns:

  • (Object)

    the current value of silhouette



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def silhouette
  @silhouette
end

#sprbottomclipObject

Returns the value of attribute sprbottomclip

Returns:

  • (Object)

    the current value of sprbottomclip



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sprbottomclip
  @sprbottomclip
end

#sprtopclipObject

Returns the value of attribute sprtopclip

Returns:

  • (Object)

    the current value of sprtopclip



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sprtopclip
  @sprtopclip
end

#sx1Object

Returns the value of attribute sx1

Returns:

  • (Object)

    the current value of sx1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sx1
  @sx1
end

#sx2Object

Returns the value of attribute sx2

Returns:

  • (Object)

    the current value of sx2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def sx2
  @sx2
end

#tsilheightObject

Returns the value of attribute tsilheight

Returns:

  • (Object)

    the current value of tsilheight



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def tsilheight
  @tsilheight
end

#x1Object

Returns the value of attribute x1

Returns:

  • (Object)

    the current value of x1



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def x1
  @x1
end

#x2Object

Returns the value of attribute x2

Returns:

  • (Object)

    the current value of x2



19
20
21
# File 'lib/doom/render/renderer.rb', line 19

def x2
  @x2
end