remove garbage

This commit is contained in:
Henrique 2011-08-26 12:48:23 -03:00
parent 8f27ff60ac
commit b58a1aa7d4
2 changed files with 2 additions and 6 deletions

View File

@ -42,6 +42,7 @@ void Creature::draw(int x, int y)
// TODO 1: FIX RENDER STEP 2 // TODO 1: FIX RENDER STEP 2
// TODO 2: FIX SHAKY EFFECT // TODO 2: FIX SHAKY EFFECT
// TODO 3: ADD ANIMATION // TODO 3: ADD ANIMATION
// TODO 4: ADD DIAGONAL WALKING
const ThingAttributes& attributes = getAttributes(); const ThingAttributes& attributes = getAttributes();

View File

@ -17,14 +17,9 @@ bool DatManager::load(const std::string& file)
int numShots = fw::getu16(fin); int numShots = fw::getu16(fin);
m_itemsAttributes.resize(numItems); m_itemsAttributes.resize(numItems);
for(int id = 100; id < numItems; ++id) { for(int id = 100; id < numItems; ++id)
parseThingAttributes(fin, m_itemsAttributes[id - 100]); parseThingAttributes(fin, m_itemsAttributes[id - 100]);
if(id == 436 || id == 870 || id == 4522) {
dump << id << (int)m_itemsAttributes[id-100].speed;
}
}
m_creaturesAttributes.resize(numItems); m_creaturesAttributes.resize(numItems);
for(int id = 0; id < numCreatures; ++id) for(int id = 0; id < numCreatures; ++id)
parseThingAttributes(fin, m_creaturesAttributes[id]); parseThingAttributes(fin, m_creaturesAttributes[id]);