diff options
author | Filippos Karapetis | 2010-06-09 10:45:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-09 10:45:54 +0000 |
commit | 2c629a04dd502ff130127072e69724b2eec29c68 (patch) | |
tree | 9a8987da94afbc203cfd42dcf53c953f6519eec1 /engines/sci/engine/kernel.h | |
parent | 536b2614e8bd7c3c6e47e686a90596460c5448d1 (diff) | |
download | scummvm-rg350-2c629a04dd502ff130127072e69724b2eec29c68.tar.gz scummvm-rg350-2c629a04dd502ff130127072e69724b2eec29c68.tar.bz2 scummvm-rg350-2c629a04dd502ff130127072e69724b2eec29c68.zip |
Merged script_init_engine() and game_init() and cleaned up SciEngine::run() a bit
svn-id: r49537
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r-- | engines/sci/engine/kernel.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h index 8f8f34f74e..b79ba8caaa 100644 --- a/engines/sci/engine/kernel.h +++ b/engines/sci/engine/kernel.h @@ -156,17 +156,6 @@ public: const Common::String &getKernelName(uint number) const; /** - * Loads the kernel function names. - * - * This function reads the kernel function name table from resource_map, - * and fills the _kernelNames array with them. - * The resulting list has the same format regardless of the format of the - * name table of the resource (the format changed between version 0 and 1). - * @return true on success, false on failure - */ - bool loadKernelNames(Common::String gameId); - - /** * Determines the selector ID of a selector by its name * @param selectorName Name of the selector to look up * @return The appropriate selector ID, or -1 on error @@ -220,9 +209,19 @@ public: private: /** + * Loads the kernel function names. + * + * This function reads the kernel function name table from resource_map, + * and fills the _kernelNames array with them. + * The resulting list has the same format regardless of the format of the + * name table of the resource (the format changed between version 0 and 1). + */ + void loadKernelNames(); + + /** * Sets the default kernel function names, based on the SCI version used */ - void setDefaultKernelNames(Common::String gameId); + void setDefaultKernelNames(); #ifdef ENABLE_SCI32 /** |