Greetins fellows!
You haven't seen me in a while. The simple reason is that I've been at the army and my free time is very limited. The army is ending at the beginning of July so I'm hoping to be active again after that.
Anyway, I wanted to keep my fingers warm while at the army so I've been doing these little projects just to remind me how to code. I've done this little tetris game (which is not ready yet though) in co-op with my brother. I was chatting with Darkpallys earlier and told him about this project and he asked if I can post this project to here. So there you go!
It's programmed with c++ and uses SDL and OpenGL libraries. Libraries you'll need at the moment are SDL, SDL_ttf (not used at the moment though but I was too lazy rip off the code that uses it), GL and GLU. I've coded this in Ubuntu and I've no idea if this works in Windows, probably with some small modifications. In ubuntu the easiest way to get those libraries is apt-get:
Code:
apt-get install libsdl1.2-dev libsdl-ttf2.0-dev mesa-common-dev
I haven't provided any makefile for the project since I'm using eclipse as my IDE and can't figure out how to extract a make file from there. Anyway it shouldn't be hard to compile it.
Any feedback about the proggy or especially about the code is highly welcome!
I've included the sources here as well as few screen shots: