From 0aa11dcae7d551b87822af58fdeca83d89f770d0 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Thu, 22 Jul 2004 12:48:12 +0000 Subject: [PATCH] Forgot to remove this. --- dlls/ns/ns/CCallList.h | 48 ------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100755 dlls/ns/ns/CCallList.h diff --git a/dlls/ns/ns/CCallList.h b/dlls/ns/ns/CCallList.h deleted file mode 100755 index ff9aa3c6..00000000 --- a/dlls/ns/ns/CCallList.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef CCALLLIST_H -#define CCALLLIST_H - -/* - Very basic call list. - */ - -class CCallList -{ -public: - struct CallList { - int iFunctionIdx; - int iCheckInt; - CallList* next; - CallList(int i, int check,CallList* n): iFunctionIdx(i), iCheckInt(check), next(n) {} - } *head; - - int execute(int check,int id) { - int ret = 0; - CallList *a = head; - while (a) - { - if (check == a->iCheckInt) - { - int temp = MF_ExecuteForward(a->iFunctionIdx,id); - if (temp > ret) - ret = temp; - } - a = a->next; - } - LOG_CONSOLE(PLID,"[IMPULSE] Returning: %i",ret); - return ret; - }; - void create(int function,int check) { - head = new CallList(function, check , head ); - }; - void clear() { - while (head) - { - CallList* a = head->next; - delete head; - head = a; - } - }; - -}; - -#endif \ No newline at end of file