I have vacation this week, that’s just what I needed. I spent the first weekend partying, then I went home Sunday to Tuesday where I did virtually nothing except watching football Sunday afternoon, AaB was soo close to beating Brøndby but striker Zelinsky failed to score on a 99% percents chance :(. Other than that, I wrote last time that I was looking forward to Denmarks last group match in the preliminaries to the World Cup against Iceland. That match was incredible! We won six to nothing and downtown Ã…rhus exploded in football songs, soo fun :).
I’ve finally started coding my own quake2 level loader, I’ve been wanting to do that for quite some time now. The screenshot shows the progress so far. As you can see I’ve only extracted the vertex and edge data so far, but as soon as I finish the rest of the crucial parts (textures and such) I’ll upload the program with source as usual.
I had some huge difficulties with the code to start with, the data I loaded in made no sense, I spent several hours debugging without finding the solution, then I looked further op the file and saw this line which loads the .bsp file:
in.open(filename, ios::binary | ios::in | | ios::nocreate);
The error had completely missed my attention since it was as simple as a single pipe, after changing that line to:
in.open(filename, ios::binary | ios::in | ios::nocreate);
Everything worked like it should. Dammit, that was a stupid bug, I have to stop programming so late at night, those bugs will kill me someday.
Well, my parents are visiting tonight so I’m taking them out for dinner, see ya.