aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/ScEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/ScEngine.h')
-rw-r--r--engines/wintermute/Base/scriptables/ScEngine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/Base/scriptables/ScEngine.h b/engines/wintermute/Base/scriptables/ScEngine.h
index c7fb8eb3a8..703034964e 100644
--- a/engines/wintermute/Base/scriptables/ScEngine.h
+++ b/engines/wintermute/Base/scriptables/ScEngine.h
@@ -42,8 +42,8 @@ typedef byte *(*DLL_COMPILE_BUFFER)(byte *Buffer, char *Source, uint32 BufferSi
typedef byte *(*DLL_COMPILE_FILE)(char *Filename, uint32 *CompiledSize);
typedef void (*DLL_RELEASE_BUFFER)(unsigned char *Buffer);
typedef void (*DLL_SET_CALLBACKS)(CALLBACKS *callbacks, void *Data);
-typedef int (*DLL_DEFINE_FUNCTION)(const char *Name); /* Was non-const, changed to silence warnings */
-typedef int (*DLL_DEFINE_VARIABLE)(const char *Name); /* Was non-const, changed to silence warnings */
+typedef int (*DLL_DEFINE_FUNCTION)(const char *name); /* Was non-const, changed to silence warnings */
+typedef int (*DLL_DEFINE_VARIABLE)(const char *name); /* Was non-const, changed to silence warnings */
typedef void (*COMPILE_ERROR_CALLBACK)(int Line, char *Text , void *Data);
typedef void (*PARSE_ELEMENT_CALLBACK)(int Line, int Type, void *ElementData, void *Data);
@@ -99,14 +99,14 @@ public:
HRESULT AddBreakpoint(const char *ScriptFilename, int Line);
HRESULT RemoveBreakpoint(const char *ScriptFilename, int Line);
HRESULT RefreshScriptBreakpoints();
- HRESULT RefreshScriptBreakpoints(CScScript *Script);
+ HRESULT RefreshScriptBreakpoints(CScScript *script);
HRESULT SaveBreakpoints();
HRESULT LoadBreakpoints();
HRESULT ClearGlobals(bool IncludingNatives = false);
HRESULT TickUnbreakable();
HRESULT RemoveFinishedScripts();
- bool IsValidScript(CScScript *Script);
+ bool IsValidScript(CScScript *script);
void SetCompileErrorCallback(COMPILE_ERROR_CALLBACK Callback, void *Data);
void SetParseElementCallback(PARSE_ELEMENT_CALLBACK Callback, void *Data);
@@ -123,7 +123,7 @@ public:
HRESULT PauseAll();
void editorCleanup();
HRESULT ResetObject(CBObject *Object);
- HRESULT ResetScript(CScScript *Script);
+ HRESULT ResetScript(CScScript *script);
HRESULT EmptyScriptCache();
byte *GetCompiledScript(const char *Filename, uint32 *OutSize, bool IgnoreCache = false);
DECLARE_PERSISTENT(CScEngine, CBBase)