Added ISDKHooks interface with entity listeners (
bug 5602, r=psychonic).
1 #ifndef _INCLUDE_SP_DECOMP_ENGINE_H_
2 #define _INCLUDE_SP_DECOMP_ENGINE_H_
5 #include "file_format.h"
6 #include "code_analyzer.h"
14 void Set(const char *fmt, ...);
15 void Append(const char *fmt, ...);
16 void Prepend(const char *fmt, ...);
20 void Grow(size_t len);
23 size_t printbuf_alloc;
30 sp_opdef_t opdef[OP_TOTAL+1];
33 FunctionInfo *natives;
36 sp_decomp_t *Sp_InitDecomp(const char *file, int *err);
37 void Sp_FreeDecomp(sp_decomp_t *decomp);
39 #endif //_INCLUDE_SP_DECOMP_ENGINE_H_