This commit is contained in:
parent
2c476ab03f
commit
d246c732a3
@ -31,6 +31,30 @@
|
|||||||
#include "utils\utils.h"
|
#include "utils\utils.h"
|
||||||
#endif
|
#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__
|
#ifndef __FRIEND_FSQUID_H__
|
||||||
#include "friend\fsquid.h"
|
#include "friend\fsquid.h"
|
||||||
#endif
|
#endif
|
||||||
@ -47,6 +71,42 @@ CNpcFriend *CNpcFriend::Create(sThingActor *ThisActor)
|
|||||||
|
|
||||||
switch( friendType )
|
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:
|
case CNpcFriend::NPC_FRIEND_SQUIDWARD:
|
||||||
{
|
{
|
||||||
friendNpc = new ("squidward") CNpcSquidwardFriend;
|
friendNpc = new ("squidward") CNpcSquidwardFriend;
|
||||||
|
@ -1545,6 +1545,10 @@ SOURCE=..\..\..\source\map\map.h
|
|||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\source\friend\fbboy.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\source\friend\fdata.cpp
|
SOURCE=..\..\..\source\friend\fdata.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@ -1557,6 +1561,18 @@ SOURCE=..\..\..\source\friend\fgary.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin 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
|
SOURCE=..\..\..\source\friend\friend.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@ -1565,6 +1581,10 @@ SOURCE=..\..\..\source\friend\friend.h
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\..\..\source\friend\fsandy.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\..\..\source\friend\fsquid.h
|
SOURCE=..\..\..\source\friend\fsquid.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
|
Loading…
Reference in New Issue
Block a user