Done!

I'm off to drink a few cans.

I could mess with it more, but it isn't going to get any better and I might break something.

(log in to comment)

Comments

It's broken for me
monkeh@tux:~/Desktop/vracers-0.6.20$ python run_game.py 
Traceback (most recent call last):
  File "run_game.py", line 15, in 
    main.main()
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/main.py", line 54, in main
    choice = gamescreens.run_title_screen()
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/gamescreens.py", line 827, in run_title_screen
    mainloop.until_expired(t)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/mainloop.py", line 60, in until_expired
    condition=the_part.expired)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/mainloop.py", line 34, in until_condition
    the_part.draw("OPAQUE")  # View to be redrawn
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/part.py", line 103, in draw
    self.render(mode)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/part.py", line 174, in render
    p.draw(mode)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/part.py", line 103, in draw
    self.render(mode)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/part.py", line 174, in render
    p.draw(mode)
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/tdlib/part.py", line 104, in draw
    if mode != "PICK":  self.setdown_style()
  File "/home/monkeh/Desktop/vracers-0.6.20/lib/sky.py", line 50, in setdown_style
    glPopAttrib(GL_LIGHTING_BIT)
TypeError: glPopAttrib() takes exactly 0 arguments (1 given)

Using Ubuntu 7.04, python 2.5.1, PyGame 1.7.1, PyOpengl 2.0.1.09.dfsg.1.-0.3
OK. See my next diary entry. And thanks. I think on reflection it's a PyOpenGL 3.0 thing that (because it uses ctypes) doesn't check for every function call that you aren't passing stupid parameters.

Fixed in my "really final" upload.