I put your code just before the axe code, it compiled nicely (I think), I started quake, tried to go to the start map, but I got this instead:
http://image.noelshack.com/fichiers/201 ... rerror.png
Man, this laser axe stuff is more complicated than it should.