Initial Import of Win32 Classic Blades of Exile and associated Scenario Editor codes.

Chokboyz

git-svn-id: http://openexile.googlecode.com/svn/trunk@70 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2009-05-24 23:32:16 +00:00
parent 11422170c5
commit 8cad7865f3
117 changed files with 65343 additions and 0 deletions

37
Blades of Exile/ITEM.CPP Normal file
View File

@@ -0,0 +1,37 @@
#include "item.h"
bool item_record_type::isIdent() const
{
if (item_properties & ITEM_PROP_IDENTIFIED) return true;
else return false;
}
bool item_record_type::isMagic() const
{
if (item_properties & ITEM_PROP_MAGIC) return true;
else return false;
}
bool item_record_type::isContained() const
{
if (item_properties & ITEM_PROP_CONTAINED) return true;
else return false;
}
bool item_record_type::isCursed() const
{
if (item_properties & ITEM_PROP_CURSED) return true;
else return false;
}
bool item_record_type::isProperty() const
{
if (item_properties & ITEM_PROP_PROPERTY) return true;
else return false;
}
bool item_record_type::isConcealed() const
{
if (item_properties & ITEM_PROP_CONCEALED) return true;
else return false;
}