5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#ifndef TT_INCLUDE__THREADCLASS_H
13#define TT_INCLUDE__THREADCLASS_H
14
15
16
17class SCRIPTS_API ThreadClass
18{
19
20public:
21bool running; //4
22char name[67]; //5
23int threadid; //48
24 LONG (WINAPI *exceptionhandler)(int, LPEXCEPTION_POINTERS); //4C
25 HANDLE handle; //50
26int thread_priority; //54
27 ThreadClass(charconst *Name, LONG (WINAPI *ExceptionHandler)(int, LPEXCEPTION_POINTERS));