Skip to content

Commit

Permalink
some cleaning up of things
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Jun 3, 2011
1 parent d309d15 commit 3b2955f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/Neck.py
Expand Up @@ -372,8 +372,7 @@ def renderIncomingNeck(self, visibility, song, pos, time, neckTexture): #MFH -
if not song.readyToGo:
return

w = self.boardWidth
l = self.boardLength
l = self.boardLength
z = ((time - pos) / self.currentPeriod) / self.beatsPerUnit

glEnable(GL_TEXTURE_2D)
Expand Down Expand Up @@ -451,7 +450,7 @@ def renderIncomingNecks(self, visibility, song, pos):

def renderNeckMethod(self, visibility, offset, neck, alpha = False): #blazingamer: New neck rendering method

v = visibility
v = visibility

glEnable(GL_TEXTURE_2D)

Expand Down Expand Up @@ -482,9 +481,9 @@ def renderNeck(self, visibility, song, pos):
if not song.readyToGo:
return

v = visibility
v = visibility

offset = (pos - self.lastBpmChange) / self.currentPeriod + self.baseBeat
offset = (pos - self.lastBpmChange) / self.currentPeriod + self.baseBeat

#myfingershurt: every theme can have oNeck:

Expand Down Expand Up @@ -610,8 +609,8 @@ def drawSideBars(self, visibility, song, pos):

color = (1,1,1)

v = visibility
w = self.boardWidth + 0.15
v = visibility
w = self.boardWidth + 0.15

if self.failcount == v:
board_col = self.board_col_flash
Expand Down Expand Up @@ -645,7 +644,7 @@ def drawBPM(self, visibility, song, pos):
if not song.readyToGo:
return

w = self.boardWidth
w = self.boardWidth

track = song.track[self.player]

Expand Down Expand Up @@ -677,7 +676,7 @@ def drawBPM(self, visibility, song, pos):

def render(self, visibility, song, pos):

l = self.boardLength
l = self.boardLength

self.currentPeriod = self.instrument.neckSpeed

Expand Down

0 comments on commit 3b2955f

Please sign in to comment.