=20
Hey there, =20
=20
These are some hack that I was working on... I've merged them and =20
here they go. =20
=20
icon-xpm.patch (and icon.xpm) =20
Currently SuperTux uses the png format for the icon. PNG is a =20
non-native X11 format and so needs a mask to be made. XPM is much =20
more flexible for artists, allowing transparencies to be easily made =20
without having to make a mask. Use the icon, I appended or just =20
convert the current one to xpm. =20
This also makes seticon() to be called before the text load that =20
takes awhile. =20
=20
lettersloadspeedup.patch =20
Each character is currently kept in a array, which makes it to be =20
pretty slow to be load during the startup (15 seconds in my laptop). =20
This keeps the fonts in a texture and then just blits a part of it. =20
(takes 2 seconds to load). =20
Tobias, this doesn't break your work with the spliting of numerical =20
fonts with the others. =20
It also fixes the erase_text functions, that were making letters to =20
be badly removed in the intro, and moves them to text.c. =20
=20
(Tobias, what about putting all gfx related files in a directory =20
together?) =20
=20
leveleditor-changes.patch (and highlight.png) =20
This fixes level editor scrolling. There is a little issue, when =20
pressing a key, the mouse motion value gets equal to the ascii value =20
of the key pressed. It's surely a SDL issue, my version is 1.2.5... =20
Does this happens in yours? (an hack can be made to work around =20
this). =20
Now, user has to press to select a tile and selection of multiple =20
tiles is possible. This will be usefull when the interface is ready. =20
=20
videomodechange.patch =20
This makes an option to change from OpenGL and SDL frontends in the=20
menu by restarting the apps and returning to the main menu. =20
This option should be disabled during the game (I can't run the =20
game, so...). It also should display a 'are you sure' dialog, saying=20
that opengl could be damn slow in non-accel cards.=20
It also removes unecessary (highscore drawing duplicated) code from =20
title.c =20
=20
Cheers, =20
Ricardo Cruz =20
_________________________________________________________
Vem experimentar jogos gr=E1tis: http://freegames.online.pt
|