コード例 #1
0
ファイル: mechanical.cpp プロジェクト: jweinberg/scummvm
void Mechanical::runPersistentScripts() {
	opcode_202_run();

	if (_elevatorRotationLeverMoving)
		elevatorRotation_run();

	if (_elevatorGoingMiddle)
		elevatorGoMiddle_run();

	opcode_205_run();
	opcode_206_run();
	opcode_209_run();
}
コード例 #2
0
ファイル: mechanical.cpp プロジェクト: andrew889/scummvm
void Mechanical::runPersistentScripts() {
	if (_birdSinging)
		birdSing_run();

	if (_elevatorRotationLeverMoving)
		elevatorRotation_run();

	if (_elevatorGoingMiddle)
		elevatorGoMiddle_run();

	if (_fortressRotationRunning)
		fortressRotation_run();

	if (_fortressSimulationRunning)
		fortressSimulation_run();
}