mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
HDB: Change the type of _cineAbortFunc
This commit is contained in:
parent
337f057fd4
commit
59625b49c6
@ -127,7 +127,7 @@ void AI::processCines() {
|
||||
}
|
||||
}
|
||||
|
||||
void AI::cineStart(bool abortable, char *abortFunc) {
|
||||
void AI::cineStart(bool abortable, const char *abortFunc) {
|
||||
_cineAbortable = abortable;
|
||||
_cineAborted = false;
|
||||
_cineAbortFunc = abortFunc;
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
|
||||
// Cinematic Functions
|
||||
void processCines();
|
||||
void cineStart(bool abortable, char *abortFunc);
|
||||
void cineStart(bool abortable, const char *abortFunc);
|
||||
void cineSetCamera(int x, int y);
|
||||
void cineResetCamera();
|
||||
void cineMoveCamera(int x, int y, int speed);
|
||||
@ -104,7 +104,7 @@ private:
|
||||
// Cinematics Variables
|
||||
bool _cineAbortable;
|
||||
bool _cineAborted;
|
||||
char *_cineAbortFunc;
|
||||
const char *_cineAbortFunc;
|
||||
bool _cineActive;
|
||||
bool _playerLock;
|
||||
bool _cameraLock;
|
||||
|
@ -70,7 +70,7 @@ bool LuaScript::init() {
|
||||
|
||||
static int cineStart(lua_State *L) {
|
||||
double abortable = lua_tonumber(L, 1);
|
||||
char *abortFunc = (char *)lua_tostring(L, 2);
|
||||
const char *abortFunc = lua_tostring(L, 2);
|
||||
|
||||
g_hdb->_lua->checkParameters("cineStart", 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user