projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060226-1-src
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 3f2d68b0cda9df7b4cbd371d81c9321602ae5508..0d4f895c34c050bd381c1df74a63ad641975b1f2 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-4769,6
+4769,7
@@
void SaveTape(int nr)
void DumpTape(struct TapeInfo *tape)
{
void DumpTape(struct TapeInfo *tape)
{
+ int tape_frame_counter;
int i, j;
if (tape->no_valid_file)
int i, j;
if (tape->no_valid_file)
@@
-4786,12
+4787,14
@@
void DumpTape(struct TapeInfo *tape)
printf("Level series identifier: '%s'\n", tape->level_identifier);
printf_line("-", 79);
printf("Level series identifier: '%s'\n", tape->level_identifier);
printf_line("-", 79);
+ tape_frame_counter = 0;
+
for (i = 0; i < tape->length; i++)
{
if (i >= MAX_TAPE_LEN)
break;
for (i = 0; i < tape->length; i++)
{
if (i >= MAX_TAPE_LEN)
break;
- printf("%0
3
d: ", i);
+ printf("%0
4
d: ", i);
for (j = 0; j < MAX_PLAYERS; j++)
{
for (j = 0; j < MAX_PLAYERS; j++)
{
@@
-4810,7
+4813,10
@@
void DumpTape(struct TapeInfo *tape)
}
}
}
}
- printf("(%03d)\n", tape->pos[i].delay);
+ printf("(%03d) ", tape->pos[i].delay);
+ printf("[%05d]\n", tape_frame_counter);
+
+ tape_frame_counter += tape->pos[i].delay;
}
printf_line("-", 79);
}
printf_line("-", 79);