Implement '.' sentence skipping, and other shutUpActor use

This commit is contained in:
James Brown 2003-08-21 06:51:02 +00:00
parent 5b1490c130
commit cb02f26732
5 changed files with 29 additions and 2 deletions

10
lua.cpp
View file

@ -467,6 +467,12 @@ static void IsMessageGoing() {
}
}
static void ShutUpActor() {
Actor *act = check_actor(1);
if (act)
act->shutUp();
}
// Sector functions
static void GetActorSector(void) {
Actor *act = check_actor(1);
@ -854,7 +860,6 @@ static char *stubFuncs[] = {
"GetPointSector",
"IsPointInSector",
"SetActorFrustrumCull",
"ShutUpActor",
"SetActorFollowBoxes",
"SetActorHead",
"GetCameraActor",
@ -1122,7 +1127,8 @@ struct luaL_reg builtins[] = {
{ "InputDialog", InputDialog },
{ "ChangeTextObject", ChangeTextObject },
{ "GetTextObjectDimensions", GetTextObjectDimensions },
{ "MakeTextObject", MakeTextObject }
{ "MakeTextObject", MakeTextObject },
{ "ShutUpActor", ShutUpActor }
};
void register_lua() {