[Super-tux-devel] Keys handling patch
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2004-01-26 21:25:32
|
Hey there, As I said before, I've made a keys.c file that would allow the change of the keys in the run-time. Since Tobias didn't seem to like that way, I've now putted that in the player's type. Unfortanely, we have to go back for the use of the ifs, instead of switches. The other patch fixes a bug when an upgrade is killed; its size was not being in account. It also changes the -g parameter to -gl . It is noticable that the gameplay in OpenGL is different than in the SDL backend one. This is surely a timer issue and this should get priority, since it may affect gameplay in different computers with different fps. i haven't yet really looked at the timer code, but it seems that player has its own timer, right? If yes, I think a global timer implemention would be much better. Ricardo Cruz -- Boston State House is the hub of the Solar System. You couldn't pry that out of a Boston man if you had the tire of all creation straightened out for a crowbar. -- Oliver Wendell Holmes |