Commit 14a495e5 authored by Gerhard Stein's avatar Gerhard Stein

Added Wormmouth class and fixed some foe IDs

parent b94b4ab6
......@@ -39,6 +39,7 @@
#include "engine/galaxy/ai/ep4/CSchoolFish.h"
#include "engine/galaxy/ai/ep4/CLick.h"
#include "engine/galaxy/ai/ep4/CLindsey.h"
#include "engine/galaxy/ai/ep4/CWormmouth.h"
#include "engine/galaxy/ai/ep4/CSkypest.h"
#include "engine/galaxy/ai/ep4/CMimrock.h"
#include "engine/galaxy/ai/ep4/CEgg.h"
......@@ -422,6 +423,17 @@ CGalaxySpriteObject* CMapLoaderGalaxy::addFoe(CMap &Map, word foe, size_t x, siz
p_newfoe = new galaxy::CLindsey(&Map, foe, x, y-750);
break;
case 7:
// This is a wormmouth.
p_newfoe = new galaxy::CWormmouth(&Map, foe, x, y);
break;
case 8:
// This is Skypest.
p_newfoe = new galaxy::CSkypest(&Map, foe, x, y);
break;
case 9:
//This is the Thunder Cloud
p_newfoe = new galaxy::CThunderCloud(&Map, foe, x, y);
......@@ -471,10 +483,10 @@ CGalaxySpriteObject* CMapLoaderGalaxy::addFoe(CMap &Map, word foe, size_t x, siz
p_newfoe = new galaxy::CSchoolFish(&Map, foe, x, y);
break;
case 25:
/*case 25:
// This is Skypest.
p_newfoe = new galaxy::CSkypest(&Map, foe, x, y);
break;
break;*/
case PLATFORM_VERT: case PLATFORM_VERT_ALT:
......
/*
* CWormmouth.cpp
*
* Created on: 16.07.2012
* Author: gerstong
*/
#include "CWormmouth.h"
namespace galaxy {
CWormmouth::CWormmouth(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y) :
CStunnable(pmap, foeID, x, y)
{
// TODO Auto-generated constructor stub
}
} /* namespace galaxy */
/*
* CWormmouth.h
*
* Created on: 16.07.2012
* Author: gerstong
*/
#ifndef CWORMMOUTH_H_
#define CWORMMOUTH_H_
#include "engine/galaxy/ai/CStunnable.h"
namespace galaxy {
class CWormmouth : public CStunnable
{
public:
CWormmouth(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y);
};
} /* namespace galaxy */
#endif /* CWORMMOUTH_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment