[Super-tux-devel] music patch
Brought to you by:
wkendrick
From: Duong-Khang N. <neo...@us...> - 2004-01-26 19:43:29
|
Hi there, Just a tiny patch. I feel sooo tired hunting bugs so I gave up for today :-( adds: some docs for "timer.h". Try to comment a little bit your code guys ;-) fixes: normal level song is not played when the coffee effect goes away fixes: uncorrect use of TIME_WARNING in player.c changes: sound buffer is now 2048, it's better bugs: MAX_JUMP_TIME 1000 is too big for my laptop (P IV 2,4Ghz; ATI Radeon 9000M; DRI activated with AGP 4x). I had to define it as 250 in order to play correctly... However, tux doesn't move quickly to the left while jumping, it's a bit hard to jump over a money bag. The money bag now does a tiny jump, about 3 squares high. It's a little bit weird. bug fix hint: DEBUG_MSG("FIXME - UNDER certain circumstances I'm hanging in a loop here!"); //the circumstances are: //issolid() is true and base.ym == 0 //possible cause: use of floating point varibles for base stuff introduce arithmetic problems while "shape" casts them to "int" -- Never say if I could turn back the time, life is going on ! |