예제 #1
0
파일: renderlib.cpp 프로젝트: paud/d2x-xl
void FreeExtraImages (void)
{
FreeCorona ();
FreeGlare ();
FreeHalo ();
FreeThruster ();
FreeShield ();
FreeExplBlast ();
FreeSparks ();
FreeDeadzone ();
FreeScope ();
FreeJoyMouse ();
}
예제 #2
0
void TRI_FreeScopesAql (TRI_aql_context_t* const context) {
  size_t i, n;

  assert(context);

  n = context->_memory._scopes._length;
  for (i = 0; i < n; ++i) {
    TRI_aql_scope_t* scope = (TRI_aql_scope_t*) TRI_AtVectorPointer(&context->_memory._scopes, i);

    FreeScope(scope);
  }

  TRI_DestroyVectorPointer(&context->_memory._scopes);
  TRI_DestroyVectorPointer(&context->_currentScopes);
}