24 #ifndef AGS_SHARED_SCRIPT_CC_COMMON_H 25 #define AGS_SHARED_SCRIPT_CC_COMMON_H 27 #include "ags/shared/util/string.h" 31 #define SCOPT_EXPORTALL 1 // export all functions automatically 32 #define SCOPT_SHOWWARNINGS 2 // printf warnings to console 33 #define SCOPT_LINENUMBERS 4 // include line numbers in compiled code 34 #define SCOPT_AUTOIMPORT 8 // when creating instance, export funcs to other scripts 35 #define SCOPT_DEBUGRUN 0x10 // write instructions as they are procssed to log file 36 #define SCOPT_NOIMPORTOVERRIDE 0x20 // do not allow an import to be re-declared 37 #define SCOPT_LEFTTORIGHT 0x40 // left-to-right operator precedance 38 #define SCOPT_OLDSTRINGS 0x80 // allow old-style strings 39 #define SCOPT_UTF8 0x100 // UTF-8 text mode 41 extern void ccSetOption(
int,
int);
42 extern int ccGetOption(
int);
47 bool HasError =
false;
48 bool IsUserError =
false;
54 void cc_clear_error();
60 void cc_error(
const char *, ...);
Definition: cc_common.h:46
Definition: geometry.h:118