projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19981010-1
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index 53ce1d9ed3cee0a7f654f7b01486526006670071..267dd58dcee849948b96a9f58df68c2a960ba17e 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-48,7
+48,7
@@
void TapeStopRecording()
return;
for(i=0; i<MAX_PLAYERS; i++)
return;
for(i=0; i<MAX_PLAYERS; i++)
- tape.pos[tape.counter].
joystickdata
[i] = 0;
+ tape.pos[tape.counter].
action
[i] = 0;
tape.counter++;
tape.length = tape.counter;
tape.counter++;
tape.length = tape.counter;
@@
-58,7
+58,7
@@
void TapeStopRecording()
DrawVideoDisplay(VIDEO_STATE_REC_OFF,0);
}
DrawVideoDisplay(VIDEO_STATE_REC_OFF,0);
}
-void TapeRecordAction(
int
joy[MAX_PLAYERS])
+void TapeRecordAction(
byte
joy[MAX_PLAYERS])
{
int i;
{
int i;
@@
-72,7
+72,7
@@
void TapeRecordAction(int joy[MAX_PLAYERS])
}
for(i=0; i<MAX_PLAYERS; i++)
}
for(i=0; i<MAX_PLAYERS; i++)
- tape.pos[tape.counter].
joystickdata
[i] = joy[i];
+ tape.pos[tape.counter].
action
[i] = joy[i];
tape.counter++;
tape.pos[tape.counter].delay = 0;
tape.counter++;
tape.pos[tape.counter].delay = 0;
@@
-96,7
+96,7
@@
void TapeRecordDelay()
if (tape.pos[tape.counter].delay >= 255)
{
for(i=0; i<MAX_PLAYERS; i++)
if (tape.pos[tape.counter].delay >= 255)
{
for(i=0; i<MAX_PLAYERS; i++)
- tape.pos[tape.counter].
joystickdata
[i] = 0;
+ tape.pos[tape.counter].
action
[i] = 0;
tape.counter++;
tape.pos[tape.counter].delay = 0;
tape.counter++;
tape.pos[tape.counter].delay = 0;
@@
-168,7
+168,7
@@
int *TapePlayAction()
tape.counter++;
for(i=0; i<MAX_PLAYERS; i++)
tape.counter++;
for(i=0; i<MAX_PLAYERS; i++)
- joy[i] = tape.pos[tape.counter-1].
joystickdata
[i];
+ joy[i] = tape.pos[tape.counter-1].
action
[i];
return(joy);
}
return(joy);
}