📄 gameicondictionary.cc
字号:
//gameIconDictionary.cc
/*/////////////////////////////////////////////////////////////////
李亦
2006-7-7
/*/////////////////////////////////////////////////////////////////
#include "rpg/ui/gameIconDictionary.h"
//#include "core/dataChunker.h"
#include "console/console.h"
namespace RPG
{
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
//GameIconDictionary::Entry *GameIconDictionary::ms_pFreeList = NULL;
//static Chunker<GameIconDictionary::Entry> gs_gameIconChunker;
//GameIconDictionary::Entry *GameIconDictionary::AllocEntry()
//{
// return m_iconDict.AllocEntry();
//if(ms_pFreeList)
//{
// Entry *ret = ms_pFreeList;
// ms_pFreeList = ret->pHashNext;
// return ret;
//}
//else
// return gs_gameIconChunker.alloc();
//}
//void GameIconDictionary::FreeEntry(GameIconDictionary::Entry *ent)
//{
// ent->pHashNext = ms_pFreeList;
// ms_pFreeList = ent;
//}
GameIconDictionary::GameIconDictionary()
:m_iconDict(HashTableSize)
{
}
GameIconDictionary::~GameIconDictionary()
{
}
//
//
//void GameIconDictionary::SetGameIcon(StringTableEntry slotName, U32 uCmd, U32 uIcon)
//{
// Entry *field = m_iconDict.Insert(slotName);// *walk;
// field->uCmd = uCmd;
// field->uIcon = uIcon;
//}
//
//
//
//
//bool GameIconDictionary::GetGameIcon(StringTableEntry slotName, U32& uCmd, U32& uIcon)
//{
// Entry *field = m_iconDict.Get(slotName);// *walk;
//
// if(field)
// {
// uCmd = field->uCmd;
// uIcon = field->uIcon;
// return true;
// }
// return false;
//}
//
};//namespace RPG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -