Nearly working pathfinder

svn-id: r30015
This commit is contained in:
Vincent Hamm 2007-12-27 17:37:38 +00:00
parent 1312d4b3fd
commit c87ad51470
6 changed files with 67 additions and 63 deletions

View file

@ -1468,15 +1468,18 @@ int16 Op_SongExist(void) {
return 0;
}
int16 Op_SetNodeState(void) {
int16 state = popVar();
int16 node = popVar();
return setNodeState(node, state);
}
int16 Op_SetNodeColor(void) {
int16 color;
int16 node;
int16 color = popVar();
int16 node = popVar();
color = popVar();
node = popVar();
printf("Unimplemented \"Op_SetNodeColor\"\n");
return 0;
return setNodeColor(node, color);
}
int16 Op_SetXDial(void) {
@ -1587,7 +1590,7 @@ opcodeFunction opcodeTablePtr[] =
Op_RemoveAnimation,
Op_SetZoom,
Op_SetObjectAtNode,
NULL, // setNodeState, never used ?
Op_SetNodeState,
Op_SetNodeColor,
Op_TrackAnim,
Op_GetNodeX,