Am Do, den 22.01.2004 schrieb Ricardo Cruz um 20:40:
> Hey there,
>
> I have done a few changes in the leveleditor:
> - added grid support (F9) - (added a fillrect func in screen.c, in OpenGL
> mode, it allways shows a black color, don't see what's the problem with my
> code...);
Your code isn't ready for the current CVS here, since the current CVS
can be compiled completly without OpenGL support.
> - when, you put the cursor in a brick, you'll see what's inside (if anything);
> - PGDOWN and PGUP can be used to scroll in the level now.
I'll merge it.
>
> I have also added a keys.c file that would that a setkey and a getkey funcs
> that would handle with keys, so that it would open the way for a dialog to
> let the users change their keys. But when trying to merge, it doesn't work :(
> I will send that later.
That seems to be a inefficient solution. If you have to get the keys
with getkey() everytime in the event-loop, we would have a major
bottleneck. A better solution is to place the keys in a global keymap,
that can be manipulated by a function like setkey().
> Ricardo Cruz
Greetz...
Tobias Gläßer
--
|