aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/kernel.h')
-rw-r--r--engines/sci/include/kernel.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/engines/sci/include/kernel.h b/engines/sci/include/kernel.h
index 332e12fd9f..d28fe62250 100644
--- a/engines/sci/include/kernel.h
+++ b/engines/sci/include/kernel.h
@@ -86,14 +86,11 @@ typedef struct {
reg_t read_selector(EngineState *s, reg_t object, selector_t selector_id, const char *fname, int line);
-void write_selector(EngineState *s, reg_t object, selector_t selector_id, reg_t value,
- const char *fname, int line);
+void write_selector(EngineState *s, reg_t object, selector_t selector_id, reg_t value, const char *fname, int line);
int invoke_selector(EngineState *s, reg_t object, int selector_id, int noinvalid, int kfunct,
stack_ptr_t k_argp, int k_argc, const char *fname, int line, int argc, ...);
-
-
/******************** Text functionality ********************/
char *kernel_lookup_text(EngineState *s, reg_t address, int index);
/* Looks up text referenced by scripts
@@ -108,7 +105,6 @@ char *kernel_lookup_text(EngineState *s, reg_t address, int index);
*/
-
/******************** Debug functionality ********************/
#define KERNEL_OOPS(reason) kernel_oops(s, __FILE__, __LINE__, reason)
@@ -138,8 +134,6 @@ bool is_object(EngineState *s, reg_t obj);
** Returns : (int) 1 if it is an object, 0 otherwise
*/
-
-
/******************** Kernel function parameter macros ********************/
/* Returns the parameter value or (alt) if not enough parameters were supplied */
@@ -176,10 +170,6 @@ byte *kernel_dereference_bulk_pointer(EngineState *s, reg_t pointer, int entries
#define RESOURCE_NUMBER(resid) ((resid) & 0x7ff)
#define RESOURCE_TYPE(resid) ((resid) >> 11)
-
-
-
-
int kernel_oops(EngineState *s, const char *file, int line, const char *reason);
/* Halts script execution and informs the user about an internal kernel error or failed assertion
** Paramters: (EngineState *) s: The state to use
@@ -188,9 +178,6 @@ int kernel_oops(EngineState *s, const char *file, int line, const char *reason);
** (const char *) reason: Reason for the kernel oops
*/
-
-
-
/******************** Priority macros/functions ********************/
extern int sci01_priority_table_flags; /* 1: delete, 2: print */
@@ -282,7 +269,6 @@ list_t *lookup_list(EngineState *s, reg_t addr, const char *file, int line);
*/
-
/******************** Constants ********************/
/* Maximum length of a savegame name (including terminator character) */