112 Commits

Author SHA1 Message Date
Giulio Camuffo
81427724b9 GRIM: Check _restChore before trying to start it. Fix #100 2011-05-29 19:11:08 +02:00
Joel Teichroeb
934a90d05c Cleaned up actor a bit. 2011-05-27 14:55:08 -07:00
Joni Vähämäki
70b3ef2f0b GRIM: Fixed certain combinations of walking/turning having jerky transitions. 2011-05-27 19:15:25 +03:00
Joni Vähämäki
9b560ce629 GRIM: Stop the walk chore first before fading it in so the animation will always start from the first frame. 2011-05-26 21:13:05 +03:00
Joni Vähämäki
b4c4d5459f GRIM: Smoothly transition between rest, walk and turn animations. 2011-05-25 23:36:10 +03:00
Pawel Kolodziejski
34264d755d Merge pull request #175 from klusark/master
Only get speach position when speach is enabled.
2011-05-24 21:34:59 -07:00
Pawel Kolodziejski
365cbbd229 Merge pull request #172 from klusark/work
Add support for lua sending text to the background.
2011-05-24 21:31:00 -07:00
Joel Teichroeb
414372292f Only get speach position when speach is enabled. 2011-05-24 21:07:55 -07:00
Joel Teichroeb
915fc302bd Add support for lua sending text to the background. 2011-05-24 12:55:22 -07:00
Giulio Camuffo
86014e7f65 Merge pull request #171 from Akz-/animation
GRIM: Apply animations in priority order.
2011-05-24 12:21:09 -07:00
JenniBee
7e63184810 fixing compilation on mingw32 2011-05-24 13:03:59 -04:00
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