Commit Graph
221 Commits
Author SHA1 Message Date
Giulio Camuffo fd8035ac24 GRIM: Implemented SetActorScale() 2011-04-28 22:07:36 +02:00
Giulio Camuffo a3aca9d05a GRIM: Implemented support for fading chores. Might still need adjusting. 2011-04-25 22:08:32 +02:00
Giulio Camuffo 5ba0641a0d GRIM: Fixed unexpected behaviour of last commit. 2011-04-24 18:53:45 +02:00
Giulio Camuffo a9dd875f56 GRIM: Use destination pos in GetActorSector, if walking. Fixes #27 2011-04-24 18:14:38 +02:00
Giulio Camuffo 08252bd67b GRIM: Fixed RotateVector(). Fixes #13 2011-04-21 22:15:00 +02:00
Giulio Camuffo 1a5089a8dd GRIM: Implemented SetLightPosition. 2011-04-21 18:42:32 +02:00
Giulio Camuffo f9f256e27e GRIM: Implemented GetAngleBetweenVectors. Fixes #12 2011-04-21 18:09:34 +02:00
Giulio Camuffo daf98cb7eb GRIM: Implemented SetLightIntensity. 2011-04-21 17:12:17 +02:00
Giulio Camuffo 306444e982 GRIM: The min and max volumes set by SetSoundPosition() must be temporary. 2011-04-20 17:04:33 +02:00
Giulio Camuffo e7b7045961 GRIM: Implemented IsPointInSector. 2011-04-20 16:36:13 +02:00
Giulio Camuffo af25655e44 GRIM: Implemented footsteps sfx when walking. 2011-04-20 16:29:31 +02:00
Giulio Camuffo b1454fe84b GRIM: Still adjustments to GetAngleBetweenActors. 2011-04-19 18:43:20 +02:00
Giulio Camuffo aeb2a16112 GRIM: Fixed GetAngleBetweenActors. Using the puck vector instead of the lookAt one. 2011-04-19 17:57:12 +02:00
Pawel Kolodziejski b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Giulio Camuffo 251d332674 Partial implementation of FadeOutChore function. 2011-04-16 12:08:27 +02:00
Giulio Camuffo 09449b6d3d Changed an assert with a warning.
It was blocking the game when trying to use the ticket printer.
2011-04-15 22:07:52 +02:00
Giulio Camuffo 5550b5e703 Implemented KillPrimitive lua opcode. 2011-04-15 22:04:49 +02:00
Pawel Kolodziejski 0640dcf2c7 synced with scummvm to 2011-Apr-13 2011-04-14 12:41:26 +02:00
Giulio Camuffo f0a4299aef GetPointSector should default the sectorType to WalkType, and not CameraType. 2011-04-13 11:49:03 +02:00
Matthew Hoops 00ee0554be GRIM: Remove global constructor usage and silence warnings 2011-04-12 20:51:55 +08:00
Matthew Hoops 37cd4d1ad4 GRIM: Remove iostream usage 2011-04-12 20:51:55 +08:00
Pawel Kolodziejski e3a475ff7b synced with scummvm rev svn 49000 2011-04-10 21:59:04 +02:00
Pawel Kolodziejski 55415ee174 fix compilation using msvc 2011-04-10 11:24:03 +02:00
Giulio Camuffo b16e2e4aa3 Fix GetAngleBetweenActors.
This allows the daemon beavers puzzle to be completed.
BUG: 3276493
2011-04-08 18:01:05 +02:00
Giulio Camuffo 3460c63580 New enum to describe the sector types, instead of the raw values. 2011-04-05 12:37:20 +02:00
Giulio Camuffo d8c22c478c Fix ActorPutAtInterest.
Don't put the actor in a HOT sector.
2011-04-05 01:45:03 +02:00
Giulio Camuffo ce356f9d4b Fixed the return value of TurnActorTo.
It must return true if the target yaw is different from the actual yaw of
the actor, and false otherwise.
2011-03-31 18:56:20 +02:00
Giulio Camuffo c39f8ac580 Implemented a stub of ActorToClean.
Also, added a workaround for the bug that caused manny to be unable
to go outside the sets where ActorToClean is called. A real fix would
be needed, though.
2011-03-30 20:15:29 +02:00
Giulio Camuffo 2939da9c6c Save and restore smush state 2011-03-27 17:37:28 +02:00
Giulio Camuffo 00dd8a915a Compile fix. 2011-03-26 18:02:36 +01:00
Giulio Camuffo d150888c09 Fully working lookAt implementation. 2011-03-26 17:53:19 +01:00
Matthew Hoops 1554e1ab2f ALL: Silence a ton of warnings 2011-03-25 07:42:03 +08:00
Giulio Camuffo d9e7c5a44c Set the lookAtRate even in the look at pos case. 2011-03-23 17:33:41 +01:00
Giulio Camuffo 42ff414a25 Workaround the wrong head movements in some cases, like when speaking to glottis.
This is not less wrong, it just shows less. A fix needs to be found.
2011-03-23 17:17:54 +01:00
Giulio Camuffo e89ca555ef ObjectManager uses a new T::restoreObject(SaveGame*) function to restore saved objects.
This function replaces newObject() and allows more flexibility.
2011-03-21 06:46:35 +08:00
Giulio Camuffo 59dcece9ae Working savegame support.
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00
Torbjorn Andersson 20a5e580b7 Silenced a bunch of mostly harmless cppcheck warnings. 2010-02-04 19:43:50 +00:00
Pawel Kolodziejski edadbb35be synced code with scummvm trunk 2010-01-21 19:25:03 +00:00
Pawel Kolodziejski d375e093b3 fix warnings 2009-10-17 13:25:12 +00:00
Pawel Kolodziejski 788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski 26f97ed5a3 * initial works on GUI, launcher works, not external themes yet
* cleanup header files
2009-10-04 10:58:28 +00:00
Torbjorn Andersson 2c39758136 Fixed cppcheck memory leak warnings. 2009-10-02 18:48:59 +00:00
Pawel Kolodziejski e019fdc323 implemented some math in GetAngleBetweenActors based on disassembly 2009-07-02 06:20:36 +00:00
Pawel Kolodziejski ee396943fd added initial PrintLine opcode 2009-06-28 10:28:28 +00:00
Pawel Kolodziejski 5f88aa78a8 moved back smush into timer callback for gf demo 2009-06-28 07:34:12 +00:00
Pawel Kolodziejski 4293bd59a6 * disable imuse for now in gf demo
* initial smush support for gf demo
2009-06-27 19:37:57 +00:00
Pawel Kolodziejski 8937180d00 fixed warning 2009-06-27 11:28:30 +00:00
Pawel Kolodziejski 2a0c621b84 fixed warnings 2009-06-27 11:23:46 +00:00
Pawel Kolodziejski 6d51c5afa3 fixed gf demo startup 2009-06-27 09:52:37 +00:00
Pawel Kolodziejski 79ce647827 small change from gf demo 2009-06-27 09:47:18 +00:00