Thanks for clearing that up. It now does exactly what it should do. Thank you.

In case I don't use while(1) to make the engine go through the loops functions all the time I would have to call the loop everytime I want the engine to check if the loop's conditions are true or false, right?


@Cowabanga
Well thats the language barrier right there. To really learn lite-c I write small pieces of code and try until they work (and more important I understand what exactly they do). Of course I ment to say something like "the code does something and I don't understand why it does (or doesn't) what it does".
Sorry if my English isn't that good. Fell free to correct me - I actually appreciate it very much (since its the only way for me to improve).