Added remaining builtins

The ones from TSpcTypedInterp<TLiveActor> aren't there, because ssc is
based on TSpcTypedInterp<TEventWatcher>.
This commit is contained in:
arookas 2016-02-19 14:14:50 -05:00
parent b225dabb3d
commit 40891d00d7
2 changed files with 17 additions and 1 deletions

View file

@ -16,7 +16,7 @@ builtin getNPCType(npc);
builtin setTransScale(name, tx, ty, tz, sx, sy, sz);
// cubes
builtin isInsideCube(a);
builtin isInsideCube(cube);
builtin isInsideFastCube(a, b);
// appear
@ -69,6 +69,18 @@ builtin npcDanceOn(npc);
builtin isNpcSinkBottom(npc);
// mario
builtin setMarioWaiting();
builtin startMarioTalking();
builtin warpMario(x, y, z, d);
builtin warpFrontToMario(a);
builtin onNeutralMarioKey();
// piantissimo
builtin startMonteman(a);
builtin monteManReachFlag();
// shadow mario
builtin startEMarioDisappear(emario);
builtin startEMarioGateDrawing(emario);
@ -82,3 +94,5 @@ builtin isWaterMelonIsReached(melon);
builtin killMushroom1up(handle);
builtin checkMonteClear(a);
builtin raiseBuilding(a);
builtin startOpenModelGate(a);
builtin maniCoinDown();

View file

@ -22,6 +22,8 @@ builtin setTalkMsgID(msgID, flags);
builtin getTalkNPC();
builtin getTalkNPCName();
builtin setValue2TalkVariable(variable, value); // stub
// functions
function waitTalkStart(name) {
while (true) {