diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-04-06 17:25:52 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-04-06 17:25:52 +0000 |
| commit | 35185452d7546ab56aa0040d7c2d68795c3f813f (patch) | |
| tree | 275025e31e94ed999019a12307dccf4fc6f9fc6a /src/screen_world.c | |
| parent | f3cc2306be924ba521243d38d2cdea8297bdf1eb (diff) | |
- synchronizuju sa aj veci
- preklady obsahuju aj font a velkost pismen
- upravy aby to slo
( po stahnut tejto verzii sa hra musi odinstalovat a znova naonstalovat )
git-svn-id: http://opensvn.csie.org/tuxanci_ng@43 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/screen_world.c')
| -rw-r--r-- | src/screen_world.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/screen_world.c b/src/screen_world.c index 02536de..589161e 100644 --- a/src/screen_world.c +++ b/src/screen_world.c @@ -210,9 +210,27 @@ static void netAction(tux_t *tux, int action) static void control_keyboard_right(tux_t *tux) { +/* + static my_time_t lastTime = 0; + my_time_t currentTime; +*/ Uint8 *mapa; mapa = SDL_GetKeyState(NULL); +/* + if( lastTime == 0 ) + { + lastTime = getMyTime(); + } + + currentTime = getMyTime(); + if( currentTime - lastTime < 45 ) + { + return; + } + + lastTime = getMyTime(); +*/ assert( tux != NULL ); assert( mapa != NULL ); |