summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-27 16:46:09 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-27 16:46:09 +0000
commita0f73cf7421e55e84b61065b4eb7ed13b05ce055 (patch)
treedbbc9e1d9250d85ce2e596841b0aea9cd477c016 /src/tux.c
parente528950ac7a2d23512be2a06378525b00be74185 (diff)
- šetřit možnosti podvádění – rychlost pohybu
- delObjectFromSpace ma casovu narocnost log(2,n) pri odstraneni objetu zo zonamu objektov ( btw. z hladiska programovania su veci pre 0.20 hotove ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@75 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/tux.c b/src/tux.c
index 7b41798..ea083de 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -471,23 +471,6 @@ void eventConflictTuxWithShot(arena_t *arena)
}
}
-static void interval()
-{
- static my_time_t lastEvent = 0;
- my_time_t curentTime;
-
- if( lastEvent == 0 )
- {
- lastEvent = getMyTime();
- }
-
- curentTime = getMyTime();
-
- printf("time = %d\n", curentTime - lastEvent);
-
- lastEvent = getMyTime();
-}
-
void moveTux(tux_t *tux, int n)
{
int px, py;