Commit graph

65 commits

Author SHA1 Message Date
Martin Gerhardy
f2c9137979 COMMON: removed foreach.h
now that we are using c++11 we don't need this wrapper anymore
2023-01-07 02:40:44 +02:00
Paweł Kołodziejski
598ebde1b9
GRIM: Added comments to LUA opcodes: 'SetActorClipPlane' and 'SetActorClipActive' 2022-06-19 15:46:35 +02:00
Paweł Kołodziejski
8c1a2e7742
GRIM: Added comments to LUA opcode SetActorFrustrumCull 2022-06-19 13:43:04 +02:00
Paweł Kołodziejski
bad56df94a
GRIM: Disable not used code in WalkActorTo opcode 2022-06-08 07:23:07 +02:00
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
58e2ca1481
GRIM: Implemented opcode SetActorRoll 2022-06-07 23:01:06 +02:00
Paweł Kołodziejski
414e1a9b0c
GRIM: partially implemented opcode SetActorInvClipNode and added some comments. 2022-06-07 22:59:16 +02:00
Paweł Kołodziejski
71119aafe2
GRIM: Make Lua_V1::DriveActorTo() stub 2022-01-16 22:12:14 +01:00
Paweł Kołodziejski
526a08263a
GRIM: Added lua function stubs used by game 2022-01-16 12:51:32 +01: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
Joseph Jezak
99fa91053c MATH: Rename XYZ Rotation Functions to Euler to better describe the function. 2014-09-11 13:38:28 -04:00
Joni Vähämäki
090e9e266c EMI: Use getWorldPos instead of getPos in TurnActorTo. Fixes #986 2014-08-03 20:07:30 +03:00
Joseph Jezak
5c148743e8 EMI: Add the alpha channel to the color encoding. 2014-07-23 10:36:19 -04:00
Joseph Jezak
76d36f676b MATH: Add a selectable Euler Order to Rotation3D. 2014-06-23 09:04:25 -04:00
Joni Vähämäki
de3c68d89c GRIM: If ActorLookAt is called with an actor as the target, look towards the actor's head instead of their origin. Fixes #887 2014-05-31 15:59:55 +03: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
Ingo van Lil
bf1e83deaa EMI/GRIM: Nothing should be visible if actor is not in current set
When fiddling with the controls in the Palace of Prosthetics Guybrush is
temporarily put into set "nil". No items should be visible to him in this
situation.
2013-12-22 02:05:16 +01:00
Christian Krause
4eaa840613 EMI: fix attached actor handling in swamp
Time paradox is now playable.

- local _pos and _yaw values seem to be relative
to the actor where the current actor is attached to

- to accomodate this, Lua_V1::GetVisibleThings,
Actor::getYawTo and Actor::getSimplePuckVector should use
world coordinates
2013-12-02 22:30:51 +01:00
Joel Teichroeb
7219e5814f GRIM: Reduce calls to getPos 2013-10-24 19:18:57 -07:00
Joel Teichroeb
aab084c989 GRIM: Make Actor only use one constructor and initialize all members 2013-10-24 18:59:50 -07:00
Giulio Camuffo
5268dbb473 GRIM: Cleanup PointActorAt(). 2013-01-16 12:22:09 +01:00
Giulio Camuffo
36297d3dc9 GRIM: Make TurnActorTo() more compliant to the original 2013-01-16 12:02:52 +01:00
Giulio Camuffo
bb3b706ad5 GRIM: Rename Actor::_constrain to Actor::_followBoxes. 2013-01-15 14:54:15 +01:00
Giulio Camuffo
4b6ee8499e GRIM: Fix the behaviour of Lua_V1::SetActorRot(). 2013-01-13 15:39:40 +01:00
Giulio Camuffo
eb5c89a880 GRIM: Use the right turn rate, and increase it only when necessary. 2013-01-13 11:27:56 +01:00
Giulio Camuffo
3b9a59dc93 GRIM: Make an actor orient its pitch and roll too if requested. Fix #368 2013-01-13 10:54:36 +01:00
Giulio Camuffo
80109ca3fe GRIM: Fix ActorToClean behaviour. Bump save version to 22.4. Fix #701.
The clean buffer code needs two layers. Every actor needs its buffer,
but we also need a global one. The actors' buffers blit to the global buffer
which then gets blitted to screen.
2013-01-11 12:44:30 +01:00
Giulio Camuffo
ea5646c0c1 GRIMDEMO: Fix setting of mumble and talk chores. 2013-01-09 12:18:38 +01:00
Giulio Camuffo
273522a600 GRIM: If setting a walk chore with no costume use the old chore costume. Fix #28 2012-12-28 20:40:02 +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
Joni Vähämäki
4fb4e0c320 GRIM: Only compute the world transform matrices for the joint node and its parents, not for every node of the character. 2012-04-08 12:54:42 +03:00
Joel Teichroeb
0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
Joel Teichroeb
b478e120ae GRIM: Properly move the light from Chepito's lantern 2012-04-03 11:28:06 -07:00
Joel Teichroeb
63938ba499 GRIM: Clean up unneeded includes and fix some trailing whitespace 2012-03-26 20:12:00 -07:00
Giulio Camuffo
e398ad1ef3 GRIM: Cache the actors that are in the current set. 2012-02-24 17:11:55 +01:00
Giulio Camuffo
5c7db7a77d GRIM: Properly implement the lua opcode ActorToClean(). Fix #406 2012-02-13 18:01:03 +01:00
Joel Teichroeb
aa814e3334 GRIM: Enhance the way that colors are given to lua. 2012-01-27 11:47:28 -08:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Giulio Camuffo
353c42effe GRIM: Use the new foreach macro.
Modify a bit PoolObject::Pool to allow it to be used with foreach.
2011-11-21 22:07:12 +01:00
Giulio Camuffo
782bfdecf7 GRIM: Lua_L1 -> Lua_V1 and Lua_L2 -> Lua_V2. 2011-10-13 15:41:22 +02:00
Giulio Camuffo
5ca9cae83c GRIM: Incapsulate the lua opcodes in a class hierarchy. 2011-10-12 17:57:31 +02:00
Giulio Camuffo
51d4f14d33 GRIM: With the previous commit no more need for this. 2011-10-05 19:04:05 +02:00
Giulio Camuffo
316a686296 GRIM: Stop the chore in FadeOutChore(). Fix #356 2011-10-05 17:37:43 +02:00
Giulio Camuffo
0685fce70d GRIM: Implemented the lua opcode L1_ActorPuckOrient(). 2011-10-02 18:41:52 +02:00
Giulio Camuffo
259f35835b GRIM: Optimization in Actor's interface. 2011-09-27 15:01:08 +02:00
Giulio Camuffo
91481a36c3 GRIM: Other angle fixes. 2011-09-27 14:53:20 +02:00
Giulio Camuffo
73684f1fbc GRIM: Rename Scene to Set, and scene.{h,cpp} to set.{h, cpp}. 2011-09-19 16:53:08 +02:00
Giulio Camuffo
d036ca27dc GRIM: Use the new Math::Angle class. 2011-09-18 16:24:08 +02:00