are there any tutorials on how to use this game source? that would be very helpful
I haven't found any, and my advice would be to stay away from the code unless you are already an experienced programmer with a lot of patience and love for this game. The code is a complete mess, not to mention outdated in many ways. The devs rarely wrote any comments explaining the code, so it is hard to tell what does what. I tried writing few comments for the stuff I had to deal with, but I haven't touched most of the code.
There are however some tutorials how to use the built in level editor, if you are into that:
I made some kind of layer based lighting/darkening system. Notice how the light "bleeds" over the walls in front, but it doesn't affect the sky. Of course I can also hand place lamps and stuff over all this, but that will come later.
Using Eclipse I managed to compile and run the game on Ubuntu/Linux inside VirtualBox.
I have little experience using Eclipse, virtual machines and not to mention Linux, but it works more or less:
- I can't load shaders and make FBOs, but that is probably because in VirtualBox I can only get OpenGL 2.1.
- FMOD doesn't work in the game and even the examples provided with the API don't work. It plays a sound for only one frame and turns it off. It could be a problem with the library, the way I installed the library, or the audio drivers in VirtualBox.
- Game crashes randomly.