mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-10 00:20:27 -04:00
game folder "just" compiles (not link)
This commit is contained in:
parent
13d3908273
commit
1b0f7fe0c2
135 changed files with 2161 additions and 2336 deletions
32
platform/FCS_Tasker.h
Normal file
32
platform/FCS_Tasker.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef _FCS_TASKER_H_
|
||||
#define _FCS_TASKER_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef void (*TaskerFunctionName)(va_list);
|
||||
|
||||
void tasker(EVENT_MSG *msg,void **data);
|
||||
int create_task();
|
||||
int add_task(int stack,TaskerFunctionName fcname,...);
|
||||
void term_task(int id_num);
|
||||
char is_running(int id_num);
|
||||
void suspend_task(int id_num,int msg);
|
||||
void shut_down_task(int id_num);
|
||||
void unsuspend_task(EVENT_MSG *msg);
|
||||
void *task_sleep(void *data);
|
||||
void *task_wait_event(long event_number);
|
||||
int q_any_task();
|
||||
char task_quitmsg();
|
||||
char task_quitmsg_by_id(int id);
|
||||
char q_is_mastertask();
|
||||
int q_current_task();
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue