This commit is contained in:
Charles 2001-04-27 19:20:49 +00:00
parent 2c476ab03f
commit d246c732a3
2 changed files with 80 additions and 0 deletions

View File

@ -31,6 +31,30 @@
#include "utils\utils.h"
#endif
#ifndef __FRIEND_FBBOY_H__
#include "friend\fbboy.h"
#endif
#ifndef __FRIEND_FGARY_H__
#include "friend\fgary.h"
#endif
#ifndef __FRIEND_FKRUSTY_H__
#include "friend\fkrusty.h"
#endif
#ifndef __FRIEND_FMMAN_H__
#include "friend\fmman.h"
#endif
#ifndef __FRIEND_FPATRICK_H__
#include "friend\fpatrick.h"
#endif
#ifndef __FRIEND_FSANDY_H__
#include "friend\fsandy.h"
#endif
#ifndef __FRIEND_FSQUID_H__
#include "friend\fsquid.h"
#endif
@ -47,6 +71,42 @@ CNpcFriend *CNpcFriend::Create(sThingActor *ThisActor)
switch( friendType )
{
case CNpcFriend::NPC_FRIEND_BARNACLE_BOY:
{
friendNpc = new ("barnacle boy") CNpcBarnacleBoyFriend;
break;
}
case CNpcFriend::NPC_FRIEND_GARY:
{
friendNpc = new ("gary") CNpcGaryFriend;
break;
}
case CNpcFriend::NPC_FRIEND_KRUSTY:
{
friendNpc = new ("krusty") CNpcKrustyFriend;
break;
}
case CNpcFriend::NPC_FRIEND_MERMAID_MAN:
{
friendNpc = new ("mermaid man") CNpcMermaidManFriend;
break;
}
case CNpcFriend::NPC_FRIEND_PATRICK:
{
friendNpc = new ("patrick") CNpcPatrickFriend;
break;
}
case CNpcFriend::NPC_FRIEND_SANDY_CHEEKS:
{
friendNpc = new ("sandy cheeks") CNpcSandyFriend;
break;
}
case CNpcFriend::NPC_FRIEND_SQUIDWARD:
{
friendNpc = new ("squidward") CNpcSquidwardFriend;

View File

@ -1545,6 +1545,10 @@ SOURCE=..\..\..\source\map\map.h
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\..\source\friend\fbboy.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fdata.cpp
# End Source File
# Begin Source File
@ -1557,6 +1561,18 @@ SOURCE=..\..\..\source\friend\fgary.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fkrusty.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fmman.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fpatrick.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\friend.cpp
# End Source File
# Begin Source File
@ -1565,6 +1581,10 @@ SOURCE=..\..\..\source\friend\friend.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fsandy.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\friend\fsquid.h
# End Source File
# End Group