19 Commits

Author SHA1 Message Date
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
18fb7e72d8
GRIM: Implemented Lua V1 'GetCameraLookVector' opcode 2022-06-05 22:16:42 +02:00
Paweł Kołodziejski
74e5684257
GRIM: Added Lua V1 'GetCameraPosition' opcode 2022-06-05 22:14:43 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Joel Teichroeb
d4f6d70522 Merge pull request #883 from JoseJX/FixPPH
EMI: Fix sector names that are substrings - Fixes #873
2014-06-16 10:54:48 -07:00
Joseph Jezak
ea6fdc03e3 EMI: Make sector name comparisons match GRIM and EMI. Fixes #873 and #895. 2014-06-12 11:15:41 -04:00
Joel Teichroeb
8f7ce221dc GRIM: Refactor SetAmbientLight 2014-06-09 14:27:41 -07:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Christian Krause
928f41c914 EMI/GRIM: Allow integer arguments for MakeSectorActive
The first argument of MakeSectorActive can be either a string or a
number. If a number is used by the lua call lua_isstring will also return
true (see engines/grim/lua/lapi.cpp) and so the correct code which
handles the integer case is never called.

This patch reverses the order of the tests via lua_isstring and
lua_isnumber.

In EMI this fixes the following:
- big monkey head on Monkey Island stays open even after set or setup
  change
- the lights in the bank on lucre island stay off until Guybrush turns
  them on
- shadow of Pegnose's nose is visible in close-up camera view
2014-01-12 01:34:38 +01:00
Dries Harnie
efecaee0b4 EMI: Use WorldPos in Lua_V1::GetActorSector
In mot.set, Guybrush is attached to a raft at position (0,0,0).
This commit solves one instance of the camera going back to the first
screen.
2013-11-25 19:11:16 +01:00
Einar Johan Trøan Sømåen
fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Giulio Camuffo
ffe8b5d503 GRIM: Fix looping of setups. 2013-01-08 22:20:39 +01:00
Giulio Camuffo
d8d701c6dd GRIM: Implement Lua_V1::NextSetup and Lua_V1::PreviousSetup. 2013-01-08 22:10:41 +01:00
Giulio Camuffo
c167a27315 GRIM: Make Sector::getName() return a Common::String. 2012-12-28 21:17:11 +01:00
Giulio Camuffo
3b496abcb6 GRIM: Find the sector with the exact name in MakeSectorActive(). 2012-12-28 18:50:53 +01:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Joel Teichroeb
20b20e0afd GRIM: Move set related lua opcodes to thier own file 2012-05-05 22:48:50 -07:00