|
|
@ -129,9 +129,6 @@ void DFHack::Job::deleteJobStruct(df::job *job, bool keptEverything)
|
|
|
|
|
|
|
|
|
|
|
|
bool DFHack::operator== (const df::job_item &a, const df::job_item &b)
|
|
|
|
bool DFHack::operator== (const df::job_item &a, const df::job_item &b)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CHECK_NULL_POINTER(&a);
|
|
|
|
|
|
|
|
CHECK_NULL_POINTER(&b);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!(CMP(item_type) && CMP(item_subtype) &&
|
|
|
|
if (!(CMP(item_type) && CMP(item_subtype) &&
|
|
|
|
CMP(mat_type) && CMP(mat_index) &&
|
|
|
|
CMP(mat_type) && CMP(mat_index) &&
|
|
|
|
CMP(flags1.whole) && CMP(quantity) && CMP(vector_id) &&
|
|
|
|
CMP(flags1.whole) && CMP(quantity) && CMP(vector_id) &&
|
|
|
@ -152,9 +149,6 @@ bool DFHack::operator== (const df::job_item &a, const df::job_item &b)
|
|
|
|
|
|
|
|
|
|
|
|
bool DFHack::operator== (const df::job &a, const df::job &b)
|
|
|
|
bool DFHack::operator== (const df::job &a, const df::job &b)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CHECK_NULL_POINTER(&a);
|
|
|
|
|
|
|
|
CHECK_NULL_POINTER(&b);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!(CMP(job_type) && CMP(job_subtype) &&
|
|
|
|
if (!(CMP(job_type) && CMP(job_subtype) &&
|
|
|
|
CMP(mat_type) && CMP(mat_index) &&
|
|
|
|
CMP(mat_type) && CMP(mat_index) &&
|
|
|
|
CMP(item_subtype) && CMP(item_category.whole) &&
|
|
|
|
CMP(item_subtype) && CMP(item_category.whole) &&
|
|
|
|