| Line | |
|---|
| 1 | #ifndef SCRIPT_H |
|---|
| 2 | #define SCRIPT_H |
|---|
| 3 | |
|---|
| 4 | //------------------------------------------------------------------- |
|---|
| 5 | #define SCRIPT_DEFAULT_FILENAME "A/SCRIPT.BAS" |
|---|
| 6 | #define SCRIPT_NUM_PARAMS 26 |
|---|
| 7 | #define SCRIPT_DATA_PATH "A/CHDK/DATA/" |
|---|
| 8 | |
|---|
| 9 | //------------------------------------------------------------------- |
|---|
| 10 | extern const char *script_source_str; |
|---|
| 11 | |
|---|
| 12 | extern char script_title[36]; |
|---|
| 13 | extern char script_params[SCRIPT_NUM_PARAMS][28]; |
|---|
| 14 | extern int script_param_order[SCRIPT_NUM_PARAMS]; |
|---|
| 15 | |
|---|
| 16 | //------------------------------------------------------------------- |
|---|
| 17 | extern void script_load(const char *fn, int saved_params); |
|---|
| 18 | extern void script_console_add_line(const char *str); |
|---|
| 19 | extern void script_print_screen_init(); |
|---|
| 20 | extern void script_print_screen_end(); |
|---|
| 21 | extern void script_print_screen_statement(int val); |
|---|
| 22 | extern int load_params_values(const char *fn, int update_vars, int read_param_set); |
|---|
| 23 | extern void save_params_values(int unconditional); |
|---|
| 24 | //------------------------------------------------------------------- |
|---|
| 25 | |
|---|
| 26 | extern long script_start_ptp(char *script, int keep_result); |
|---|
| 27 | extern void *lua_get_result(); |
|---|
| 28 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.