Files @ r7282:dbdf3045e315
Branch filter:

Location: cpp/openttd-patchpack/source/src/thread.h

belugas
(svn r10621) -Codechange: install a struct holding the user's selection from _fund_gui.
-Codechange: merge WE_TIMEOUT and WE_ABORT_PLACE_OBJ, as they both do the same thing.
-Feature: Any time you place an industry, even if it fails, the button will reset and the cursor will return to normal.
/* $Id$ */

/** @file thread.h */

#ifndef THREAD_H
#define THREAD_H

struct OTTDThread;

typedef void* (*OTTDThreadFunc)(void*);

OTTDThread* OTTDCreateThread(OTTDThreadFunc, void*);
void*       OTTDJoinThread(OTTDThread*);
void        OTTDExitThread();

#endif /* THREAD_H */