Dries Harnie
3196c0a0fb
EMI: Draw to depth buffer if sortorder >= 100
2013-07-02 00:22:58 +02:00
Dries Harnie
1fd6ca43e6
JANITORIAL: Factor out alpha calculation in Actor::draw
2013-07-02 00:22:58 +02:00
Giulio Camuffo
4aa1296098
GRIM: Don't overshoot walk nodes. Fix #699
2013-02-11 15:47:32 +01:00
Giulio Camuffo
4c356771b3
GRIM: Fix the collision with the rocks in lb and bv
2013-01-27 22:02:17 +01:00
Giulio Camuffo
941813522b
GRIM: Fix background talking behaviour with Toto and Naranja in set si.
2013-01-24 16:16:54 +01:00
Giulio Camuffo
1d46a8190c
GRIM: Move back the call to set the head lookat after animating the model.
...
That broke Glottis when he sings the tusty anchor.
2013-01-18 16:56:17 +01:00
Giulio Camuffo
3faeb22088
GRIM: Save and restore some forgotten Actor's turn related fields. Bump to 22.7
2013-01-17 21:32:09 +01:00
Giulio Camuffo
19a6d600a7
GRIM: Don't check for collisions with actors without a costume. Fix #453
2013-01-17 21:14:02 +01:00
Giulio Camuffo
4f2aa54f48
GRIM: Avoid/reduce flicker when changing costume
2013-01-16 15:59:43 +01: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
7563242bf6
GRIM: Clear the Actor's path nodes on restore.
2013-01-15 21:33:11 +01:00
Giulio Camuffo
bb3b706ad5
GRIM: Rename Actor::_constrain to Actor::_followBoxes.
2013-01-15 14:54:15 +01:00
Giulio Camuffo
991ef751ba
GRIM: Fix the subtitles of background talking actors. Fix #685
2013-01-15 11:49:53 +01:00
Giulio Camuffo
d10960a6e0
GRIM: First set the head orientation, then animate the model. Fix #573
2013-01-13 16:18:54 +01:00
Giulio Camuffo
c487788229
GRIM: Check collisions with invisible actors too. Fix #578 .
2013-01-13 12:55:32 +01:00
Giulio Camuffo
6c5e610681
GRIM: Discard the distance on the z axis when checking collisions.
2013-01-13 12:55:32 +01:00
Giulio Camuffo
d3169d8a6a
GRIM: Minor optimization.
2013-01-13 12:12:04 +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
71b528d933
GRIM: Fix actors roll.
2013-01-12 16:32:18 +01:00
Giulio Camuffo
0fe1735578
GRIM: Initialize Actor::_backgroundTalk.
2013-01-12 12:13:37 +01:00
Giulio Camuffo
3dc7fc4e94
GRIM: Don't push a costume if the actor has it already in the stack. Fix #483
2013-01-11 18:31:30 +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
8efa734d88
GRIM: Fix the behaviour of mumble and talk chores in some cases.
...
Prevents Glottis' head from disappearing sometimes when singine the rusty anchor.
2013-01-07 17:18:32 +01:00
Joni Vähämäki
6be9af8f46
GRIM: Fixed transition from right turn to left turn.
2013-01-02 19:04:29 +02:00
Joni Vähämäki
36ec851154
GRIM: Do not change the current turn direction if dyaw is 0.
2013-01-02 18:58:35 +02: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
Giulio Camuffo
3b496abcb6
GRIM: Find the sector with the exact name in MakeSectorActive().
2012-12-28 18:50:53 +01:00
Giulio Camuffo
51cdd44075
GRIM: Always try to stop the mumble chore in shutUp(). Fix #633
2012-12-26 12:13:53 +01:00
Giulio Camuffo
7592dd374d
GRIM: The lip syncs use 16 ms ticks, not 60 Hz.
2012-12-20 17:35:09 +01:00
Giulio Camuffo
d0b120b745
GRIM: Don't set a talk delay when the actor has no costume.
...
It is probably a smush character, and we don't want to go out of sync
with it.
2012-12-20 16:31:31 +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
Giulio Camuffo
d0d1f685ca
GRIM: Remove an actor from the activa and talking list on deletion. Fix #674
2012-12-18 18:49:45 +01:00
Giulio Camuffo
1fdce5408a
GRIM: Fix walking forward on the crane stairs in set cv. Fix #686
2012-12-17 22:35:25 +01:00
Giulio Camuffo
ba349d5821
GRIM: Fix actors rotation.
2012-12-17 22:15:07 +01:00
Joel Teichroeb
233566c615
GRIM: Fix a few small type warnings
2012-11-18 12:14:51 -08:00
Dries Harnie
6b22d939ca
EMI: Save and load EMI-specific actor fields
...
_alphaMode, _globalAlpha
_inOverworld, _sortOrder, _shadowActive
_attachedActor, _attachedJoint
2012-11-14 00:08:06 +01:00
Dries Harnie
acc2472c31
EMI: Use an actor ID for Actor::_attachedActor
2012-11-14 00:08:06 +01:00
Dries Harnie
1185734dd8
EMI: Rotate attached objects along with their actor
2012-11-13 21:51:41 +01:00
Dries Harnie
6334cc0290
EMI: Gfx::startActorDraw() accepts a quaternion
2012-11-13 21:51:11 +01:00
Dries Harnie
932b64fda8
EMI: Always push fx/dumbshadow.cos to bottom of costume stack
2012-11-13 21:51:07 +01:00
Dries Harnie
0d02be54b2
EMI: Actors can be attached to actors without costumes
2012-11-13 21:50:42 +01:00
Dries Harnie
6300c2d20a
EMI: Don't reset position/rotation after AttachActor.
2012-11-13 21:44:24 +01:00
Einar Johan Trøan Sømåen
ce13ba83a7
Merge pull request #654 from Botje/wip
...
RFC: Lots of small fixes to make demo completable
2012-09-09 14:29:06 -07:00
Dries Harnie
bb68fff2b5
EMI: Reset actor position after Attach/Detach
2012-09-01 17:32:47 +02:00
Dries Harnie
494839062f
EMI: Implement Lua_V2::ActorActivateShadow
2012-09-01 17:23:55 +02:00
Dries Harnie
d2078fafb9
EMI: Don't draw shadow actors if they are attached
2012-09-01 17:23:55 +02:00
Joni Vähämäki
67f561ec14
EMI: Use the correct up vector.
2012-08-28 22:17:29 +03:00
Joni Vähämäki
2485aadbb5
GRIM: Cleanup.
2012-08-28 20:48:43 +03:00