您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ Ambient_Sounds_Remove_All_Non_Looping_Sounds函数代码示例

51自学网 2021-06-01 19:46:48
  C++
这篇教程C++ Ambient_Sounds_Remove_All_Non_Looping_Sounds函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中Ambient_Sounds_Remove_All_Non_Looping_Sounds函数的典型用法代码示例。如果您正苦于以下问题:C++ Ambient_Sounds_Remove_All_Non_Looping_Sounds函数的具体用法?C++ Ambient_Sounds_Remove_All_Non_Looping_Sounds怎么用?C++ Ambient_Sounds_Remove_All_Non_Looping_Sounds使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了Ambient_Sounds_Remove_All_Non_Looping_Sounds函数的30个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptUG17::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1000.0f, 67.96f, -1539.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(353);			Set_Enter(87, kSceneUG15);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1013.0f, 67.96f, -1892.0f, 0, 1, false, 0)) {			Actor_Face_Heading(kActorMcCoy, 89, false);			if (Global_Variable_Query(kVariableChapter) == 5) {				Actor_Says(kActorMcCoy, 8522, 14);			} else {				Loop_Actor_Travel_Ladder(kActorMcCoy, 10, 1, 0);				Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Game_Flag_Set(448);				Set_Enter(17, kSceneTB03);			}		}		return true;	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:27,


示例2: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptUG16::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -322.0f, -34.0f, -216.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(355);			Set_Enter(87, kSceneUG15);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -322.0f, -34.0f, -404.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(153);			Set_Enter(87, kSceneUG15);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -316.78f, -34.88f, -533.27f, 0, 1, false, 0)) {			Actor_Face_Heading(kActorMcCoy, 0, false);			Loop_Actor_Travel_Stairs(kActorMcCoy, 13, 1, 0);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(551);			Set_Enter(36, kSceneDR06);		}		return true;	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:32,


示例3: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptUG06::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 23.0f, 0.0f, 321.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG06toUG04);			Set_Enter(kSetUG04, kSceneUG04);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 66.0f, 0.0f, -90.0f, 0, true, false, 0)) {			Actor_Face_Heading(kActorMcCoy, 0, false);			Loop_Actor_Travel_Stairs(kActorMcCoy, 17, 1, kAnimationModeIdle);			Loop_Actor_Walk_To_XYZ(kActorMcCoy, 66.0f, 153.0f, -446.0f, 0, false, false, 0);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG06toNR01);			Set_Enter(kSetNR01, kSceneNR01);		}		return true;	}	return false;}
开发者ID:dreammaster,项目名称:scummvm,代码行数:25,


示例4: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptBB07::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -615.0f, 252.59f, -1018.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(kFlagBB07toBB05);			Set_Enter(kSetBB05, kSceneBB05);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -619.0f, 252.59f, -1136.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(kFlagBB07toBB12);			Set_Enter(kSetBB12, kSceneBB12);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -551.0f, 252.59f, -1004.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(kFlagBB07toBB06);			Set_Enter(kSetBB06_BB07, kSceneBB06);		}		return true;	}	return false;}
开发者ID:athrxx,项目名称:scummvm,代码行数:35,


示例5: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptCT08::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -183.0f, 0.0f, 128.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagCT08toCT09);			Set_Enter(kSetCT09, kSceneCT09);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -11.0f, 0.0f, -156.0f, 0, true, false, 0)) {			Loop_Actor_Walk_To_XYZ(kActorMcCoy, 0.0f, 0.0f, -102.0f, 0, false, false, 0);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagCT08toCT51);			Set_Enter(kSetCT08_CT51_UG12, kSceneCT51);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -143.0f, 0.0f, -92.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagCT08toCT06);			Set_Enter(kSetCT06, kSceneCT06);		}		return true;	}	return false;}
开发者ID:athrxx,项目名称:scummvm,代码行数:33,


示例6: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptBB07::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -615.0f, 252.59f, -1018.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(300);			Set_Enter(22, 6);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -619.0f, 252.59f, -1136.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(364);			Set_Enter(102, 120);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -551.0f, 252.59f, -1004.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Overlay_Remove("BB07OVER");			Game_Flag_Set(362);			Set_Enter(2, 7);		}		return true;	}	return false;}
开发者ID:AReim1982,项目名称:scummvm,代码行数:33,


示例7: Actor_Face_Heading

bool ScriptBB08::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(0, 204.0f, 0.1f, 94.0f, 0, 1, false, 0)) {			Actor_Face_Heading(0, 256, false);			Footstep_Sound_Override_On(2);			Loop_Actor_Travel_Ladder(0, 8, 1, 0);			Footstep_Sound_Override_Off();			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(218);			Set_Enter(24, 10);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(0, 247.0f, 0.1f, 27.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(506);			Set_Enter(102, 120);		}		return true;	}	return false;}
开发者ID:86400,项目名称:scummvm,代码行数:25,


示例8: Player_Loses_Control

bool SceneScriptBB04::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -92.0f, -26.6f, 45.0f, 0,  true, false, false)) {			Player_Loses_Control();			Loop_Actor_Walk_To_XYZ(kActorMcCoy, -15.0f, -25.17f, 45.0f, 0, false, false, false);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagBB04toBB02);			Game_Flag_Set(kFlagBB02ElevatorDown);			Set_Enter(kSetBB02_BB04_BB06_BB51, kSceneBB02);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -107.0f, -26.6f, 397.0f, 0, true, false, false)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagBB04toBB03);			Set_Enter(kSetBB03, kSceneBB03);		}		return true;	}	return false;}
开发者ID:fingolfin,项目名称:scummvm,代码行数:25,


示例9: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool ScriptKP05::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(0, -802.0f, 0.0f, 972.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(420);			Set_Enter(46, 43);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(0, -1142.0f, 0.0f, 932.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(575);			Set_Enter(47, 44);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(0, -868.0f, 0.0f, -68.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(576);			Async_Actor_Walk_To_XYZ(0, -868.0f, 0.0f, -216.0f, 0, false);			Set_Enter(9, 46);		}		return true;	}	return false;}
开发者ID:86400,项目名称:scummvm,代码行数:31,


示例10: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void ScriptMA04::PlayerWalkedOut() {	Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);	Ambient_Sounds_Remove_All_Looping_Sounds(1);	if (Game_Flag_Query(678)) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(1, 0, -1);		Game_Flag_Reset(678);	}}
开发者ID:86400,项目名称:scummvm,代码行数:10,


示例11: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void SceneScriptRC01::PlayerWalkedOut() {	Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);	Ambient_Sounds_Remove_All_Looping_Sounds(1);	if (!Game_Flag_Query(kFlagRC01toRC02)	 && !Game_Flag_Query(kFlagRC01toRC03)	 &&  Global_Variable_Query(kVariableChapter) == 1	) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(kOuttakeAway2, true, -1);	}	//	return 1;}
开发者ID:athrxx,项目名称:scummvm,代码行数:13,


示例12: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool ScriptCT12::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(0, -419.14999f, -6.5f, 696.94f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Game_Flag_Set(88);			Set_Enter(4, 13);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(0, -182.69f, -6.5f, 696.94f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(89);			Set_Enter(5, 15);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(0, -386.13f, -6.5f, 1132.72f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(90);			Set_Enter(28, 17);		}		return true;	}	if (exitId == 3) {		if (!Loop_Actor_Walk_To_XYZ(0, -493.0f, -6.5f, 1174.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(91);			Set_Enter(33, 23);		}		return true;	}	if (exitId == 4) {		if (!Loop_Actor_Walk_To_XYZ(0, -292.0f, -6.5f, 990.0f, 0, 1, false, 0)) {			if (Global_Variable_Query(1) == 4) {				Game_Flag_Set(629);			}			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(433);			Set_Enter(82, 94);		}		return true;	}	return false;}
开发者ID:86400,项目名称:scummvm,代码行数:50,


示例13: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptCT12::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -419.15f, -6.5f, 696.94f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Game_Flag_Set(88);			Set_Enter(4, kSceneCT01);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -182.69f, -6.5f, 696.94f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(89);			Set_Enter(5, kSceneCT03);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -386.13f, -6.5f, 1132.72f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(90);			Set_Enter(28, kSceneCT05);		}		return true;	}	if (exitId == 3) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -493.0f, -6.5f, 1174.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(91);			Set_Enter(33, kSceneCT11);		}		return true;	}	if (exitId == 4) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -292.0f, -6.5f, 990.0f, 0, 1, false, 0)) {			if (Global_Variable_Query(kVariableChapter) == 4) {				Game_Flag_Set(629);			}			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(433);			Set_Enter(82, kSceneUG09);		}		return true;	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:50,


示例14: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void SceneScriptCT01::PlayerWalkedOut() {	Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);	if (Game_Flag_Query(kFlagCT01toCT12)) {		Ambient_Sounds_Remove_Looping_Sound(55, true);		Ambient_Sounds_Remove_Looping_Sound(56, true);	} else {		Ambient_Sounds_Remove_All_Looping_Sounds(1);	}	Music_Stop(5);	if (!Game_Flag_Query(kFlagMcCoyInChinaTown) && Global_Variable_Query(kVariableChapter) == 1) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(kOuttakeTowards3, true, -1);	}}
开发者ID:athrxx,项目名称:scummvm,代码行数:15,


示例15: Actor_Set_Invisible

void SceneScriptAR01::PlayerWalkedOut() {	Actor_Set_Invisible(kActorMcCoy, false);	Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);	Ambient_Sounds_Remove_All_Looping_Sounds(1);	if (!Game_Flag_Query(kFlagMcCoyInHawkersCircle)) {		Music_Stop(2);	}	if (!Game_Flag_Query(kFlagAR01toHC01)	 && !Game_Flag_Query(kFlagAR01toAR02)	) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(kOuttakeTowards3, true, -1);	}}
开发者ID:dreammaster,项目名称:scummvm,代码行数:15,


示例16: Loop_Actor_Walk_To_XYZ

bool SceneScriptBB03::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 176.0f, 60.16f, -64.0f, 0, 1, false, 0)) {			Loop_Actor_Walk_To_XYZ(kActorMcCoy, 176.0f, 60.16f, 0.0f, 0, 0, false, 0);			Game_Flag_Set(283);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Set_Enter(1, kSceneBB04);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 20.0f, 60.16f, 0.0f, 0, 1, false, 0)) {			Game_Flag_Set(281);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Set_Enter(1, kSceneBB02);		}		return true;	}	if (exitId == 2) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 204.0f, 60.16f, -164.0f, 0, 1, false, 0)) {			if (Global_Variable_Query(kVariableChapter) < 4) {				if (Actor_Query_Goal_Number(kActorSebastian) == 200) {					Actor_Says(kActorSebastian, 70, 3);					Actor_Says(kActorMcCoy, 7010, 13);					Actor_Says(kActorSebastian, 80, 3);					Actor_Says(kActorMcCoy, 7015, 12);					Actor_Says(kActorSebastian, 90, 3);					Actor_Says(kActorMcCoy, 7020, 14);					Actor_Says(kActorSebastian, 100, 3);					Actor_Says(kActorMcCoy, 7025, 15);					Actor_Says(kActorSebastian, 110, 3);					Actor_Set_Targetable(kActorBryant, false);					Actor_Set_Targetable(kActorGeneralDoll, false);				}				Game_Flag_Set(285);				Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(22, kSceneBB05);			} else {				Actor_Says(kActorMcCoy, 8522, 3);			}		}		return true;	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:48,


示例17: Actor_Query_Goal_Number

void AIScriptSadik::Retired(int byActorId) {	if ((Actor_Query_Goal_Number(kActorSadik) == 418	  || Actor_Query_Goal_Number(kActorSadik) == 450	 )	 && Actor_Query_Which_Set_In(kActorSadik) != kSetKP07	) {		Scene_Exits_Enable();	}	if (Actor_Query_In_Set(kActorSadik, kSetKP07)) {		Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); // can't Sadik still be human (Rep-sympathiser here? A bug?		Actor_Set_Goal_Number(kActorSadik, kGoalSadikGone);		if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) {			Player_Loses_Control();			Delay(2000);			Player_Set_Combat_Mode(false);			Loop_Actor_Walk_To_XYZ(kActorMcCoy, -12.0f, -41.58f, 72.0f, 0, true, false, false);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagKP07toKP06);			Game_Flag_Reset(kFlagMcCoyIsHelpingReplicants);			Set_Enter(kSetKP05_KP06, kSceneKP06);			return; //true;		}	}	Actor_Set_Goal_Number(kActorSadik, kGoalSadikGone);	return; //false;}
开发者ID:fingolfin,项目名称:scummvm,代码行数:31,


示例18: Setup_Scene_Information

void SceneScriptDR02::InitializeScene() {	if (Game_Flag_Query(kFlagDR03toDR02)) {		Setup_Scene_Information(-1162.0f,  7.18f,  -322.0f, 552);	} else if (Game_Flag_Query(kFlagDR01toDR02)) {		Setup_Scene_Information( -835.0f, -0.04f,  -118.0f, 193);	} else if (Game_Flag_Query(kFlagBB01toDR02)) {		Setup_Scene_Information(-1258.0f,  7.18f,  -314.0f, 400);	} else {		Setup_Scene_Information( 168.78f,  0.16f, -775.72f, 193);	}	Scene_Exit_Add_2D_Exit(0, 605,   0, 639, 479, 1);	Scene_Exit_Add_2D_Exit(1, 222, 176, 279, 314, 0);	if (Game_Flag_Query(kFlagBB01Available)) {		Scene_Exit_Add_2D_Exit(2, 95, 0, 148, 292, 0);	}	Ambient_Sounds_Remove_All_Non_Looping_Sounds(0);	Ambient_Sounds_Remove_All_Looping_Sounds(0);	Ambient_Sounds_Add_Looping_Sound(54, 50, 0, 1);	Ambient_Sounds_Add_Looping_Sound(219, 27, 85, 1);	Ambient_Sounds_Add_Looping_Sound(98, 38, 85, 1);	Ambient_Sounds_Add_Sound(378, 2, 50, 33, 100, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(379, 2, 50, 33, 100, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(380, 2, 50, 33, 100, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound( 67, 5, 100, 16, 25, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound( 66, 5, 100, 16, 25, -100, 100, -101, -101, 0, 0);	if (Game_Flag_Query(kFlagDR01toDR02)) {		Scene_Loop_Start_Special(kSceneLoopModeLoseControl, 0, false);		Scene_Loop_Set_Default(1);	} else {		Scene_Loop_Set_Default(1);	}}
开发者ID:athrxx,项目名称:scummvm,代码行数:35,


示例19: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void ScriptDR01::PlayerWalkedOut() {	if (!Game_Flag_Query(10) && !Game_Flag_Query(224) && !Game_Flag_Query(558)) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(35, 1, -1);	}}
开发者ID:86400,项目名称:scummvm,代码行数:7,


示例20: Police_Maze_Set_Pause_State

void SceneScriptPS10::InitializeScene() {	Police_Maze_Set_Pause_State(true);	if (Game_Flag_Query(15)) {		float x = World_Waypoint_Query_X(4);		float y = World_Waypoint_Query_Y(4);		float z = World_Waypoint_Query_Z(4);		Setup_Scene_Information(x, y, z, 280);	} else {		Setup_Scene_Information(-87.08f, -9.23f, 941.9f, 0);	}	Scene_Exit_Add_2D_Exit(1, 0, 0, 20, 479, 3);	Ambient_Sounds_Remove_All_Non_Looping_Sounds(0);	Ambient_Sounds_Add_Looping_Sound(387, 50, 1, 1);	Ambient_Sounds_Add_Looping_Sound(54, 50, 1, 1);	Ambient_Sounds_Add_Sound( 1,  10,  50, 16, 25, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(389,  5,  50, 16, 25, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(390,  6,  50, 16, 25, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(443,  2, 100, 14, 16, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(444,  2, 100, 14, 16, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(445,  2, 100, 14, 16, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(446,  2, 100, 14, 16, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(303,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(304,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(305,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(306,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(307,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(308,  5, 100, 17, 27, -100, 100, -101, -101, 0, 0);}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:28,


示例21: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void ScriptNR08::PlayerWalkedOut() {	Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);	Ambient_Sounds_Remove_All_Looping_Sounds(1);	if (!Game_Flag_Query(547)) {		Music_Stop(2);	}}
开发者ID:86400,项目名称:scummvm,代码行数:7,


示例22: Actor_Query_Goal_Number

void AIScriptSadik::Retired(int byActorId) {	if ((Actor_Query_Goal_Number(kActorSadik) == 418	  || Actor_Query_Goal_Number(kActorSadik) == 450	 )	 && Actor_Query_Which_Set_In(kActorSadik) != kSetKP07	) {		Scene_Exits_Enable();	}	if (Actor_Query_In_Set(kActorSadik, kSetKP07)) {		Global_Variable_Decrement(kVariableReplicants, 1);		Actor_Set_Goal_Number(kActorSadik, 599);		if (Global_Variable_Query(kVariableReplicants) == 0) {			Player_Loses_Control();			Delay(2000);			Player_Set_Combat_Mode(false);			Loop_Actor_Walk_To_XYZ(kActorMcCoy, -12.0f, -41.58f, 72.0f, 0, true, false, 0);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(579);			Game_Flag_Reset(653);			Set_Enter(kSetKP05_KP06, kSceneKP06);			return; //true;		}	}	Actor_Set_Goal_Number(kActorSadik, 599);	return; //false;}
开发者ID:dreammaster,项目名称:scummvm,代码行数:31,


示例23: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptUG15::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -25.0f, 26.31f, -434.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG15toUG17);			Set_Enter(kSetUG17, kSceneUG17);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -17.0f, 26.31f, -346.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG15toUG16a);			Set_Enter(kSetUG16, kSceneUG16);		}		return true;	}	if (exitId == 2) {		int v1 = Actor_Query_Goal_Number(kActorFreeSlotA);		if (v1 >= 300		 && v1 <= 303		) {			Loop_Actor_Walk_To_XYZ(kActorMcCoy, -137.61f, 48.07f, 147.12f, 0, true, false, 0);		} else if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 18.0f, 52.28f, 46.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG15toUG16b);			Set_Enter(kSetUG16, kSceneUG16);		}		return true;	}	if (exitId == 3) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -238.0f, 52.46f, 222.0f, 0, true, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(kFlagUG15toUG13);			Set_Enter(kSetUG13, kSceneUG13);		}		return true;	}	return false;}
开发者ID:athrxx,项目名称:scummvm,代码行数:47,


示例24: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void ScriptDR05::PlayerWalkedOut() {	Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);	Ambient_Sounds_Remove_All_Looping_Sounds(1);	if (Actor_Query_Goal_Number(35) == 10 || Actor_Query_Goal_Number(35) == 18 || Actor_Query_Goal_Number(35) == 19) {		Actor_Set_Goal_Number(35, 11);		//return true;	}	//return false;}
开发者ID:86400,项目名称:scummvm,代码行数:9,


示例25: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool ScriptKP06::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(0, -868.0f, 8.26f, -68.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(577);			Set_Enter(9, 45);		}		return true;	}	if (exitId == 1) {		if (Actor_Clue_Query(8, 145) || Actor_Query_Goal_Number(8) != 416) {			if (!Loop_Actor_Walk_To_XYZ(0, -731.0f, 8.26f, -657.0f, 0, 1, false, 0)) {				if (Game_Flag_Query(653)) {					if (!Game_Flag_Query(714)) {						Player_Set_Combat_Mode(false);					}				} else if (Actor_Query_Goal_Number(1) == 433) {					Actor_Set_Goal_Number(1, 499);				} else {					Actor_Set_Goal_Number(53, 499);				}				Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Game_Flag_Set(578);				Set_Enter(48, 47);			}		} else if (Actor_Clue_Query(0, 145) ) {			Actor_Says(8, 280, 3);			Actor_Says(8, 290, 3);			Actor_Clue_Acquire(8, 145, 1, 0);			Loop_Actor_Walk_To_XYZ(0, -731.0f, 8.26f, -657.0f, 0, 0, true, 0);			Player_Set_Combat_Mode(false);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(578);			Set_Enter(48, 47);		} else {			Actor_Set_Goal_Number(8, 417);		}		return true;	}	return false;}
开发者ID:86400,项目名称:scummvm,代码行数:44,


示例26: Ambient_Sounds_Remove_All_Non_Looping_Sounds

void SceneScriptCT08::InitializeScene() {	if (Game_Flag_Query(kFlagChapter3Intro)) {		Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);		Ambient_Sounds_Remove_All_Looping_Sounds(1);		Outtake_Play(kOuttakeMovieB1, false, -1);		if (Game_Flag_Query(kFlagLucyIsReplicant)) {			Outtake_Play(kOuttakeMovieB2, false, -1);		} else if (Game_Flag_Query(kFlagDektoraIsReplicant)) {			Outtake_Play(kOuttakeMovieB3, false, -1);		} else {			Outtake_Play(kOuttakeMovieB4, false, -1);		}		Outtake_Play(kOuttakeMovieB5, false, -1);		Game_Flag_Reset(kFlagChapter3Intro);	}	Actor_Force_Stop_Walking(kActorMcCoy);	if (Game_Flag_Query(kFlagCT51toCT08)) {		Setup_Scene_Information( -11.0f, 0.0f, -156.0f, 769);	} else if (Game_Flag_Query(kFlagCT06toCT08)) {		Setup_Scene_Information(-143.0f, 0.0f,  -92.0f, 420);	} else {		Setup_Scene_Information(-183.0f, 0.0f,  128.0f, 205);	}	Scene_Exit_Add_2D_Exit(0,   0,  0,  30, 479, 3);	Scene_Exit_Add_2D_Exit(1, 389,  0, 639, 303, 0);	Scene_Exit_Add_2D_Exit(2, 115, 87, 137, 267, 3);	if (Game_Flag_Query(kFlagMcCoyTiedDown)) {#if BLADERUNNER_ORIGINAL_BUGS		Scene_2D_Region_Add(0, 185, 185, 230, 230);#else		Scene_2D_Region_Add(0, 155, 180, 214, 235);#endif // BLADERUNNER_ORIGINAL_BUGS	}	Ambient_Sounds_Add_Looping_Sound(kSfxRAIN10,   100, 1, 1);	Ambient_Sounds_Add_Looping_Sound(kSfxCTDRONE1,  20, 1, 1);	Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy,  0, 10, 260, 17, 24, -100, 100, -101, -101, 1, 1);	Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 20, 10, 260, 17, 24, -100, 100, -101, -101, 1, 1);	Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 40, 10, 260, 17, 24, -100, 100, -101, -101, 1, 1);	Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 50, 10, 260, 17, 24, -100, 100, -101, -101, 1, 1);	Ambient_Sounds_Add_Sound(kSfxSPIN2A,  80, 180, 16,  25, 0, 0, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(kSfxSPIN2B,  50, 180, 16,  25, 0, 0, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(kSfxTHNDR2,   5, 180, 50, 100, 0, 0, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(kSfxTHNDR3,   5, 180, 50, 100, 0, 0, -101, -101, 0, 0);	Ambient_Sounds_Add_Sound(kSfxTHNDER4,  5, 180, 50, 100, 0, 0, -101, -101, 0, 0);	if (Game_Flag_Query(kFlagCT51toCT08)) {		Scene_Loop_Start_Special(kSceneLoopModeLoseControl, 0, false);		Scene_Loop_Set_Default(1);	} else {		Scene_Loop_Set_Default(1);	}}
开发者ID:fingolfin,项目名称:scummvm,代码行数:56,


示例27: Player_Loses_Control

void SceneScriptPS02::InitializeScene() {	Player_Loses_Control();	Setup_Scene_Information(-13.31f, -40.28f, -48.12f, 30);	Scene_Exit_Add_2D_Exit(0, 0, 0, 240, 479, 3);	Ambient_Sounds_Remove_All_Non_Looping_Sounds(0);	Ambient_Sounds_Add_Looping_Sound(386, 20, 1, 1);	Ambient_Sounds_Add_Looping_Sound(210, 20, 1, 1);	Ambient_Sounds_Add_Sound(0, 3, 20, 12, 16, 0, 0, -101, -101, 0, 0);	Scene_Loop_Start_Special(0, 0, 0);	Scene_Loop_Set_Default(1);}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:11,


示例28: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool SceneScriptPS02::ClickedOn3DObject(const char *objectName, bool a2) {	if (Object_Query_Click("E.DOOR01", objectName) || Object_Query_Click("E.D00R02", objectName)) {		if (Game_Flag_Query(kFlagPS02toPS01)) {			if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -5.0f, -40.0f, -15.0f, 0, true, false, 0)) {				Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(kSetPS01, kScenePS01);				Scene_Loop_Start_Special(1, 3, true);			}		} else if (Game_Flag_Query(kFlagPS02toPS05)) {			if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -5.0f, -40.0f, -15.0f, 0, true, false, 0)) {				Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(kSetPS05, kScenePS05);				Scene_Loop_Start_Special(1, 3, true);			}		} else if (Game_Flag_Query(kFlagPS02toPS07)) {			if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -5.0f, -40.0f, -15.0f, 0, true, false, 0)) {				Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(kSetPS07, kScenePS07);				Scene_Loop_Start_Special(1, 3, true);			}		} else if (Game_Flag_Query(kFlagPS02toPS03)) {			if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -5.0f, -40.0f, -15.0f, 0, true, false, 0)) {				Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(kSetPS03, kScenePS03);				Scene_Loop_Start_Special(1, 3, true);			}		} else if (Game_Flag_Query(kFlagPS02toPS09)) {			if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -5.0f, -40.0f, -15.0f, 0, true, false, 0)) {				Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);				Ambient_Sounds_Remove_All_Looping_Sounds(1);				Set_Enter(kSetPS09, kScenePS09);				Scene_Loop_Start_Special(1, 3, true);			}		}	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:41,


示例29: Ambient_Sounds_Remove_All_Non_Looping_Sounds

bool ScriptKP04::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(0, -905.0f, 94.89f, 1357.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(416);			Set_Enter(44, 41);		}		return true;	}	if (exitId == 1) {		if (!Loop_Actor_Walk_To_XYZ(0, -544.0f, 94.89f, 288.0f, 0, 1, false, 0)) {			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(574);			Set_Enter(9, 45);		}		return true;	}	return false;}
开发者ID:86400,项目名称:scummvm,代码行数:21,


示例30: Loop_Actor_Walk_To_XYZ

bool SceneScriptCT10::ClickedOnExit(int exitId) {	if (exitId == 0) {		if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -93.0f, 0.0f, -38.0f, 0, 1, false, 0)) {			Loop_Actor_Walk_To_XYZ(kActorMcCoy, -121.0f, 0.0f, -78.0f, 0, 0, false, 0);			Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);			Ambient_Sounds_Remove_All_Looping_Sounds(1);			Game_Flag_Set(85);			Set_Enter(31, kSceneCT09);		}	}	return false;}
开发者ID:BenCastricum,项目名称:scummvm,代码行数:12,



注:本文中的Ambient_Sounds_Remove_All_Non_Looping_Sounds函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ Analyze函数代码示例
C++ Ambient_Sounds_Remove_All_Looping_Sounds函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。