Commit Graph
451 Commits
Author SHA1 Message Date
Joni Vähämäki 6a40b43f16 GRIM: Apply animations in priority order. 2011-05-24 19:47:39 +03:00
Giulio Camuffo d1d0dfe909 GRIM: Expire the TextObjects only when the speech mode is TextOnly or a movie is playing. 2011-05-23 19:26:46 +02:00
Giulio Camuffo d203ddd229 GRIM: Clean up a piece of code. 2011-05-23 18:29:00 +02:00
Giulio Camuffo 22cc00d907 GRIM: Play the voice only if wanted. 2011-05-23 17:58:40 +02:00
Giulio Camuffo a1ee1b5c01 GRIM: Do not create the textobject if the options say voice only. 2011-05-23 17:09:37 +02:00
Joel Teichroeb 2ba03249d1 Changed more const char * to const Common::String & 2011-05-22 16:40:56 -07:00
Giulio Camuffo 94885408fc GRIM: Implement duration of text objects. 2011-05-22 19:46:59 +02:00
Joel Teichroeb 733b34febc Changed const char * to const Common::String &. 2011-05-22 12:56:37 +08:00
Giulio Camuffo 56463a5b7b GRIM: Do not use the setup for the destination just after starting walking. 2011-05-19 19:31:22 +02:00
Giulio Camuffo 65b074987e GRIM: Better implementation of IsMessageGoing() when no actor is passed. 2011-05-19 17:56:32 +02:00
Pawel Kolodziejski 356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Giulio Camuffo 572a382cd9 GRIM: Walk only on Walk and Hot sectors. Fixes #122 2011-05-18 19:11:39 +02:00
Joni Vähämäki e789cb0c7f GRIM: Recalculate the path node position in the case where the sector is already in the open list. Fixes #116 2011-05-18 19:22:26 +03:00
Joel Teichroeb 3fd4945f6f Reducded duplicate code dealing with textobjects. 2011-05-18 16:47:16 +08:00
Pawel Kolodziejski 83de2e6600 refactor movie playback and game detection params 2011-05-14 12:11:53 +02:00
Joel Teichroeb 4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Giulio Camuffo 7b63575238 GRIM: Stop the rest chore when walking or turning instead of lowering the priority. 2011-05-13 15:11:08 +02:00
Giulio Camuffo 95ffd34ff7 GRIM: Fix save/restore of fading chores. Bumped savegame version to 13. 2011-05-13 14:53:37 +02:00
Joni Vähämäki 5f545d7c53 GRIM: Use the closest point on a bridge for the path. 2011-05-13 13:32:06 +08:00
Joni Vähämäki 4af8ffadd6 GRIM: Better sector adjacency checking that also works with overlapping sectors. 2011-05-13 13:32:06 +08:00
Einar Johan T. Sømåen 467d185b65 GFX: Split SMUSH into a subclass of Video, to ease implementation of MPEG2 and Bink, also added skeleton-classes for MPEG and Bink 2011-05-12 02:06:51 +08:00
Giulio Camuffo e7931157e6 GRIM: Other leak fixes. 2011-05-09 22:14:23 +02:00
Joel Teichroeb 0c67b7c8c2 Cancel walkto when actor tries to move. 2011-05-09 13:38:10 +08:00
Pawel Kolodziejski eda857bee7 fixed compilation under linux 2011-05-08 17:40:31 +02:00
Pawel Kolodziejski 0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Giulio Camuffo 268d97c680 GRIM: Rename Sector's getters. 2011-05-05 12:04:09 +02:00
Giulio Camuffo 7e3e63dbbd GRIM: Rename GrimEngine's getters. 2011-05-05 11:25:08 +02:00
Giulio Camuffo f2b5a2838f GRIM: Rename Costume's getters. 2011-05-05 11:08:05 +02:00
Vincent Pelletier a2c1733bf2 Remove and comment-out some unused variables.
Found by gcc 3.6 -Wunused-but-set-variable
2011-05-05 05:08:35 +08:00
Giulio Camuffo 4aab44d54e GRIM: Close the game in the right and clean way. 2011-05-04 19:22:49 +02:00
Giulio Camuffo 767a77c442 GRIM: Delete its costumes in ~Actor(). 2011-05-04 18:55:24 +02:00
Giulio Camuffo 5f0bc77d8d GRIM: Don't accept negative values for the lookAt rate. Fixes #37 2011-05-03 21:49:35 +02:00
Giulio Camuffo 465c3d64ec GRIM: Renamed some Actor's getters to getFoo() or isFoo(). 2011-05-03 17:14:24 +02:00
Giulio Camuffo ce716e4580 GRIM: Store USERDATAs with a new struct { int32 id; int32 tag }.
This way we don't have to deal with casts between integers and void*
anymore.
2011-05-03 16:51:30 +02:00
Giulio Camuffo 32ffd586da GRIM: Make the actors have a default color. 2011-05-03 15:42:42 +02:00
Matthew Hoops 938800e170 GRIM: Silence a ton of warnings 2011-05-02 03:56:42 +08:00
Giulio Camuffo 1e868dd359 GRIM: Store ids instead of the pointers as lua's userdata objects.
Removed ObjectManager as it became useless.
2011-05-01 18:54:29 +02:00
Pawel Kolodziejski 74796a5de7 strcasecmp->scumm_stricmp 2011-05-01 18:39:28 +02:00
Matthew Hoops 8a5b19dc41 GRIM: Silence shadowed variable warning 2011-04-30 23:06:10 +08:00
Giulio Camuffo 4b6a454b74 GRIM: Don't turn when walking if the angle is little. 2011-04-29 12:30:48 +02:00
Giulio Camuffo fd8035ac24 GRIM: Implemented SetActorScale() 2011-04-28 22:07:36 +02:00
Giulio Camuffo 616cd8014c GRIM: Make sure to walk inside the sectors calculated for the path. Fixes #18 2011-04-28 21:48:36 +02:00
Giulio Camuffo 1b9261984b GRIM: Limit the movement caused by walkForward(). Fixes #40 for real. 2011-04-27 15:43:53 +02:00
Giulio Camuffo 1e56e01913 GRIM: Do not try to save shadow planes without a scene. Fixes #32 2011-04-26 17:59:43 +02:00
Giulio Camuffo e097925f91 GRIM: walkTo the walkable point nearest to the destination. Fixes #20 Fixes #19 2011-04-24 22:45:47 +02:00
Giulio Camuffo 924852e037 GRIM: Be more strict and follow all the points in the calculated path. Fixes #26 2011-04-24 22:32:03 +02:00
Giulio Camuffo c82daf1437 GRIM: Removed broken code. 2011-04-24 22:21:30 +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 eb90d99210 GRIM: Save and restore the path the actor is walking through. 2011-04-24 15:43:45 +02:00