I also figuered out why the GLHidden flag in the goods.txt doesn't, there is simply a line missing in the code:
That was the original version, you notice that the code for the DATABASE_ORDERS has a GLHidden check, well it is hidden in the HIDE macro, but you see there is no GLHidden check DATABASE_RESOURCE, to fix it I suggest to add the according line so that the code looks like the following:
This should add the GLHidden check of course so far it is untested.
-Martin
Code:
case DATABASE_ORDERS: for (index = 0; index < g_theOrderDB->NumRecords(); index++) { if(HIDE(g_theOrderDB, index)) continue; Add_Item_To_Topics_List(g_theStringDB->GetNameStr(g_theOrderDB->GetName( g_theOrderDB->m_alphaToIndex[ index ])), index); } break; case DATABASE_RESOURCE: for (index = 0; index < g_theResourceDB->NumRecords(); index++) { Add_Item_To_Topics_List(g_theStringDB->GetNameStr(g_theResourceDB->GetName( g_theResourceDB->m_alphaToIndex[ index ])), index); } break;
Code:
case DATABASE_RESOURCE: for (index = 0; index < g_theResourceDB->NumRecords(); index++) { //added by Martin Gühmann if(HIDE(g_theResourceDB, index)) continue; Add_Item_To_Topics_List(g_theStringDB->GetNameStr(g_theResourceDB->GetName( g_theResourceDB->m_alphaToIndex[ index ])), index); } break;
-Martin