fallout2-ce/src/nevs.h

23 lines
428 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef NEVS_H
#define NEVS_H
#include "interpreter.h"
2022-09-23 05:43:44 -07:00
namespace fallout {
2022-07-06 04:59:54 -07:00
typedef enum NevsType {
NEVS_TYPE_EVENT = 0,
NEVS_TYPE_HANDLER = 1,
} NevsType;
2022-05-19 01:51:26 -07:00
void _nevs_close();
void _nevs_initonce();
2022-07-06 04:59:54 -07:00
int _nevs_addevent(const char* name, Program* program, int proc, int type);
int _nevs_clearevent(const char* name);
int _nevs_signal(const char* name);
2022-05-19 01:51:26 -07:00
void _nevs_update();
2022-09-23 05:43:44 -07:00
} // namespace fallout
2022-05-19 01:51:26 -07:00
#endif /* NEVS_H */