Dries Harnie
3f9f34cd3f
Merge pull request #770 from somaen/fixPS2intro
...
EMI: Fix the intro at cs_dock getting stuck in the PS2-version.
2013-11-30 08:46:09 -08:00
Joel Teichroeb
58b0bed9ad
EMI: Make attached objects use their parents sort order
2013-11-29 16:05:08 -08:00
Einar Johan Trøan Sømåen
52cdd432b0
EMI: Fix the intro at cs_dock getting stuck in the PS2-version.
...
IsActorChoring takes different parameters in EMI than it does in Grim,
the original code was prudent enough about checking it’s parameters that
it actually ran fine, however the problem was that the argument that
said whether we should ignore looping chores was moved. This lets the
intro play the cut scene on the docks.
2013-11-29 22:16:59 +01:00
Christian Krause
56605c02aa
EMI: Fix turn_rate of voodoo chair
...
The turn rate for the chair of the voodoo lady is set to 1 in the lua
code which makes the turn animation very slow (> 30s).
Since the rate value of 1 is not used otherwise in EMI, adjust the
turnrate in this case.
2013-11-26 21:04:55 +01:00
Dries Harnie
875cfe12a2
EMI: Restore wear chore upon entering a new set
2013-08-19 21:10:42 +02:00
Dries Harnie
649bc89d59
EMI: Remove old GetActorPos call from GetActorWorldPos
2013-08-04 14:27:30 +02:00
Dries Harnie
a5038cd57f
EMI: Remember last wear chore, restore it upon entering overworld
2013-07-29 22:02:03 +02:00
Joel Teichroeb
7e87286cb8
EMI: Sort actors seperatly from invalidating the active actors list
2013-07-14 10:16:27 -07:00
Einar Johan Trøan Sømåen
ec697300b3
EMI: Stub more Lua_V2-functions, and read most parameters.
...
CompleteChore
GetSoundVolume
SetSoundVolume
UpdateSoundPosition
ImStateHasLooped
GetCameraPitch
PitchCamera
RollCamera
YawCamera
NukeAllScriptLocks
FRUTEY_Begin
FRUTEY_End
2013-07-12 17:34:37 +02: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
Dries Harnie
25ceb7ac50
EMI: Implement Lua_V2::AdvanceChore
2013-07-06 13:04:03 +02:00
Dries Harnie
59d192bcc3
EMI: Stub for EnableActorPuck
2013-05-22 20:58:48 +02:00
Dries Harnie
3de75fe71e
EMI: UnloadActor: Free actor after removing it
...
Fixes Coverity issue #1009869
2013-05-21 23:30:59 +02:00
Giulio Camuffo
2ee2d0e937
EMI: Fix PlayActorChore() regression.
2013-01-13 12:01:36 +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
Dries Harnie
f1dc8ba3b0
EMI: Stub PlayChore and PauseChore
2012-11-13 21:44:24 +01:00
Dries Harnie
66f7a4e1f7
EMI: Stub LockChoreSet and UnlockChoreSet
2012-11-13 21:44:24 +01:00
Dries Harnie
494839062f
EMI: Implement Lua_V2::ActorActivateShadow
2012-09-01 17:23:55 +02:00
Joel Teichroeb
1bfbc0c64b
EMI: Stub some functions that are needed in the scumm bar
2012-08-19 12:16:28 -07:00
Dries Harnie
1551775b63
EMI: Fix VisibleActors crash with free'd actor
2012-08-12 12:19:45 +02:00
Dries Harnie
5b70612477
EMI: Update depth buffer for invisible objects
2012-07-12 23:16:46 +02:00
Dries Harnie
13023e89e1
EMI: Implement Actor::{Get,Set}SortOrder
2012-07-12 23:16:45 +02:00
Dries Harnie
381ae8e95c
EMI: Implement missing SetChoreLooping opcode
2012-07-12 23:15:11 +02:00
Dries Harnie
b9fc80b5ee
EMI: Support looping chores
2012-07-12 19:58:55 +02:00
Joel Teichroeb
a96ba9590e
EMI: Invalidate the active actors list when unloading actors
2012-05-06 10:00:48 -07:00
Joel Teichroeb
77f4978a42
GRIM: Remove unneeded forbidden symbol exceptions
2012-05-05 22:19:45 -07:00
Joel Teichroeb
3e2cb21d30
EMI: Partially implement AdvanceChore
2012-04-28 11:47:24 -07:00
Joel Teichroeb
62fe2e68ae
EMI: Made chore playing correctly push costumes intead of just setting the costume
2012-04-24 17:07:46 -07:00
Dries Harnie
c27894e85e
EMI: implement SetActorGlobalAlpha
2012-04-13 20:02:03 +02:00
Paweł Kołodziejski
640889b805
ALL: disabled compiler warnings
2012-04-12 02:54:10 +02:00
Joel Teichroeb
e60a898bc2
Merge pull request #575 from klusark/overworld
...
EMI: Implement adding actors to the overworld
2012-04-01 10:42:08 -07:00
Joel Teichroeb
6ddc8346e0
EMI: Implement UnloadActor
2012-03-25 16:54:00 -07:00
Joel Teichroeb
29f390961c
EMI: Implement adding actors to the overworld
2012-03-25 16:47:22 -07:00
Dries Harnie
80ac02a229
EMI: Implement GetActorWorldPos
2012-03-11 16:00:14 +01:00
Dries Harnie
34a0a1a82c
EMI: Add attaching functionality to actors
2012-03-11 15:24:52 +01:00
Dries Harnie
155b7027ce
EMI: Stub out AttachActor and DetachActor
2012-03-11 14:47:34 +01:00
Dries Harnie
f21f2867fb
EMI: Support strings as walk/rest/mumble/turn chores
2012-03-04 22:52:49 +01:00
Joel Teichroeb
fcf9ad2a4e
EMI: Only change the costume if the new costume is different
2012-02-25 15:15:08 -08:00
Joel Teichroeb
7888d361ba
Merge pull request #537 from Botje/vector-cleanup
...
Use the correct sector normal in EMI
2012-02-19 10:15:25 -08:00
Joel Teichroeb
5d99091f25
EMI: Implement and stub various opcodes
2012-02-18 14:13:28 -08:00
Dries Harnie
c01c2561e6
EMI: Implement opcode GetActorPuckVector
2012-02-18 22:33:06 +01:00
Joel Teichroeb
d00ac2d91d
EMI: Implement some more actor opcodes
2012-02-17 15:20:52 -08:00
Joel Teichroeb
6a0f6c73e6
EMI: Switch to using lua userdata for tag instead of storing it as a number
2012-02-17 14:54:38 -08:00
Joel Teichroeb
187488bd1e
EMI: Stub FreeSound and UnlockChore
2012-02-17 12:23:44 -08:00
Joel Teichroeb
7e6ff05cf3
EMI: Split sound and actor functions out of lua_v2
2012-02-15 19:03:30 -08:00