Commit Graph
76 Commits
Author SHA1 Message Date
Nipun Garg 1ee37266b1 HDB: Add Lua functions for Inventory 2019-09-03 17:17:06 +02:00
Nipun Garg e441680fbf HDB: Add Lua function for spawn() 2019-09-03 17:17:06 +02:00
Nipun Garg 50d297637f HDB: Add Lua function for animation() 2019-09-03 17:17:06 +02:00
Nipun Garg a5ba855dd2 HDB: Add lua function for clearForeground() 2019-09-03 17:17:06 +02:00
Nipun Garg a07cbc0dd1 HDB: Add Lua functions for Entities + entityFace() 2019-09-03 17:17:06 +02:00
Nipun Garg e895a0929b HDB: Add Lua function for setEntDir() 2019-09-03 17:17:06 +02:00
Nipun Garg c4dbb09675 HDB: Add Lua functions for Deliveries 2019-09-03 17:17:06 +02:00
Nipun Garg 6b5fd8a95f HDB: Add lua functions for dialog and getEntityXY 2019-09-03 17:17:06 +02:00
Nipun Garg 428af6c972 HDB: Add patches for deprecated Lua 4.0 calls 2019-09-03 17:17:06 +02:00
Nipun Garg 9bd1d58b82 HDB: Add Lua cineTextOut() and cineCenterTextOut() 2019-09-03 17:17:03 +02:00
Nipun Garg a98e246347 HDB: Add remaining luaGlobalStrings\Values 2019-09-03 17:17:02 +02:00
Nipun Garg 00e6ce2680 HDB: Add invokeLuaFunction() 2019-09-03 17:17:02 +02:00
Nipun Garg 459921b046 HDB: Remove error message stub 2019-09-03 17:17:02 +02:00
Nipun Garg 368e80c75f HDB: Add lua_push functions and call() 2019-09-03 17:17:01 +02:00
Eugene Sandulenko 3f01af23cf HDB: Added several Lua global values 2019-09-03 17:17:01 +02:00
Eugene Sandulenko 7858f01170 HDB: Fix parameters in cineSetAnimFrame() 2019-09-03 17:17:01 +02:00
Nipun Garg a070e60617 HDB: Fix Lua stack indices 2019-09-03 17:17:00 +02:00
Nipun Garg 5048f1b3ae HDB: Add cineSetAnimFrame() Lua function 2019-09-03 17:16:59 +02:00
Nipun Garg 6eab766f99 HDB: Add cineAnimEntity() Lua function 2019-09-03 17:16:58 +02:00
Nipun Garg d7cc3ab225 HDB: Add cineStop() Lua function 2019-09-03 17:16:58 +02:00
Nipun Garg a2af042430 HDB: Add cineMoveMaskedPic() Lua function 2019-09-03 17:16:58 +02:00
Nipun Garg 0dcf1568ee HDB: Add setInfobarDark() Lua function 2019-09-03 17:16:58 +02:00
Nipun Garg 538efcad6b HDB: Add cineDialog() Lua function 2019-09-03 17:16:57 +02:00
Eugene Sandulenko 86cc1df32d HDB: Fix crash when executing Lua with debug options 2019-09-03 17:16:56 +02:00
Nipun Garg 223d024e30 HDB: Unstub cine functions for fore/background 2019-09-03 17:16:53 +02:00
Nipun Garg 13c614bd3a HDB: Unstub setBackground() and setForeground() 2019-09-03 17:16:53 +02:00
Eugene Sandulenko 630c6b44f8 HDB: Clean up Lua stack after script execution 2019-09-03 17:16:52 +02:00
Nipun Garg 511ec64e0c HDB: Remove animEntity stub 2019-09-03 17:16:52 +02:00
Nipun Garg 28e8f3d789 HDB: Remove cineEntityFace stub 2019-09-03 17:16:52 +02:00
Nipun Garg 0aee0d4ebc HDB: Remove cineMoveEntity stub 2019-09-03 17:16:52 +02:00
Nipun Garg b2d1bbf5f5 HDB: Remove cineLockPlayer + cineUnlockPlayer stub 2019-09-03 17:16:52 +02:00
Eugene Sandulenko e7c72d0580 HDB: Fixed nu,ber of parameters when calling Lua functions 2019-09-03 17:16:51 +02:00
Eugene Sandulenko 641c2a9179 HDB: Added Lua print stack utility function 2019-09-03 17:16:51 +02:00
Nipun Garg a9a2ee0479 HDB: Add getStringOffStack() 2019-09-03 17:16:50 +02:00
Nipun Garg 76d2426613 HDB: Complete cineUse stub in lua-script.cpp 2019-09-03 17:16:50 +02:00
Nipun Garg b176af31e2 HDB: Call locateEntity to complete stubs 2019-09-03 17:16:49 +02:00
Nipun Garg 3437261133 HDB: Set the Entity Spawn names in Lua 2019-09-03 17:16:49 +02:00
Nipun Garg bbf32c1870 HDB: Add init code for all AI Entities 2019-09-03 17:16:49 +02:00
Nipun Garg 4a76522283 HDB: Complete cineSetEntity and setEntity stubs 2019-09-03 17:16:49 +02:00
Nipun Garg 59625b49c6 HDB: Change the type of _cineAbortFunc 2019-09-03 17:16:48 +02:00
Nipun Garg 337f057fd4 HDB: Fix type cast formatting errors 2019-09-03 17:16:48 +02:00
Nipun Garg c1511959d7 HDB: Fix argument type in checkParameters 2019-09-03 17:16:48 +02:00
Nipun Garg c4ac26f341 HDB: Complete the fade stubs in lua-script.cpp 2019-09-03 17:16:48 +02:00
Nipun Garg 6a7d3a05d5 HDB: Complete stubs: cineWait + cineWaitUntilDone 2019-09-03 17:16:47 +02:00
Nipun Garg 35b2c26032 HDB: Complete the cineMoveCamera stub 2019-09-03 17:16:47 +02:00
Nipun Garg c322f7e3d6 HDB: Complete the cineResetCamera stub 2019-09-03 17:16:47 +02:00
Nipun Garg d67b047306 HDB: Complete the SetCamera stub in lua-script.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg 21af74993a HDB: Fill out the cineStart stub in lua-script.cpp 2019-09-03 17:16:47 +02:00
Nipun Garg dafe1b6a16 HDB: Add checkParameters() to LuaScript 2019-09-03 17:16:47 +02:00
Nipun Garg 2c55d072d3 HDB: Add support to call Lua functions
This allows us to easily to call functions
defined in the Lua scripts.
2019-09-03 17:16:47 +02:00