2019-08-26 03:59:14 +00:00
|
|
|
|
|
|
|
#ifndef __switch_h__
|
|
|
|
#define __switch_h__
|
|
|
|
|
|
|
|
#define kMaxLinks 1024
|
|
|
|
#define kMaxSwitches 1024
|
|
|
|
|
|
|
|
void InitLink();
|
|
|
|
void InitSwitch();
|
|
|
|
|
|
|
|
void FuncSwReady(int, int, int);
|
|
|
|
void FuncSwPause(int, int, int);
|
|
|
|
void FuncSwStepOn(int, int, int);
|
|
|
|
void FuncSwNotOnPause(int, int, int);
|
|
|
|
void FuncSwPressSector(int, int, int);
|
|
|
|
void FuncSwPressWall(int, int, int);
|
|
|
|
|
|
|
|
int BuildSwPause(int nChannel, int nLink, int ebx);
|
|
|
|
int BuildSwNotOnPause(int nChannel, int nLink, int nSector, int ecx);
|
2019-08-31 10:36:26 +00:00
|
|
|
int BuildLink(int nCount, ...);
|
2019-08-26 03:59:14 +00:00
|
|
|
int BuildSwPressSector(int nChannel, int nLink, int nSector, int ecx);
|
|
|
|
int BuildSwStepOn(int nChannel, int nLink, int nSector);
|
|
|
|
int BuildSwReady(int nChannel, short nLink);
|
|
|
|
|
|
|
|
int BuildSwPressWall(short nChannel, short nLink, short nWall);
|
|
|
|
|
|
|
|
#endif
|