mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-17 19:22:32 +00:00
formailize comments
This commit is contained in:
parent
da3d69b5bd
commit
0ff6f767e5
|
|
@ -14,7 +14,7 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LookAtEntityHint(eTutorial_Hint id, Tutorial *tutorial, int descriptionId, int titleId, eINSTANCEOF type);
|
LookAtEntityHint(eTutorial_Hint id, Tutorial *tutorial, int descriptionId, int titleId, eINSTANCEOF type);
|
||||||
//TODO: LEAK LEKAFDSAKFDJ;SALKDJF;ASLKFJ ITS NEVER IMPLEMENTED
|
//TODO: 4jcraft added, this was not implemented
|
||||||
~LookAtEntityHint(){};
|
~LookAtEntityHint(){};
|
||||||
|
|
||||||
virtual bool onLookAtEntity(eINSTANCEOF type);
|
virtual bool onLookAtEntity(eINSTANCEOF type);
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ LookAtTileHint::LookAtTileHint(eTutorial_Hint id, Tutorial *tutorial, int tiles[
|
||||||
{
|
{
|
||||||
m_iTilesCount = tilesLength;
|
m_iTilesCount = tilesLength;
|
||||||
|
|
||||||
//TODO LEAK LEAK LEAK LEAKS EVERY WHERE AAAAAAAAAAAAAAAAH
|
//TODO: 4jcraft: allocating but never freeing mem, leak
|
||||||
m_iTiles= new int [m_iTilesCount];
|
m_iTiles= new int [m_iTilesCount];
|
||||||
for(unsigned int i=0;i<m_iTilesCount;i++)
|
for(unsigned int i=0;i<m_iTilesCount;i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LookAtTileHint(eTutorial_Hint id, Tutorial *tutorial, int tiles[], unsigned int tilesLength, int iconOverride = -1, int iData=-1, int iDataOverride = -1);
|
LookAtTileHint(eTutorial_Hint id, Tutorial *tutorial, int tiles[], unsigned int tilesLength, int iconOverride = -1, int iData=-1, int iDataOverride = -1);
|
||||||
//TODO
|
//TODO: 4jcraft, added, destructor was never implemented
|
||||||
~LookAtTileHint(){};
|
~LookAtTileHint(){};
|
||||||
|
|
||||||
virtual bool onLookAt(int id, int iData=0);
|
virtual bool onLookAt(int id, int iData=0);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TakeItemHint(eTutorial_Hint id, Tutorial *tutorial, int items[], unsigned int itemsLength);
|
TakeItemHint(eTutorial_Hint id, Tutorial *tutorial, int items[], unsigned int itemsLength);
|
||||||
//TODO: LEAK LEAK LEAK DESTRUCTOR WAS NEVER IMPLEMENTED
|
//TODO: 4jcraft, added, it was never implemented
|
||||||
virtual ~TakeItemHint(){};
|
virtual ~TakeItemHint(){};
|
||||||
|
|
||||||
virtual bool onTake( std::shared_ptr<ItemInstance> item );
|
virtual bool onTake( std::shared_ptr<ItemInstance> item );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue