2521 Commits

Author SHA1 Message Date
Giulio Camuffo
9b11f73bc0 GRIM: New static functions to create a SaveGame object that deal with failures. 2011-07-18 14:35:16 +02:00
Giulio Camuffo
ba723db930 GRIM: Make sure to stop any talk chore before playing the stop_talk one. 2011-07-18 12:30:05 +02:00
Giulio Camuffo
932da9b271 GRIM: Make sure to call the stop_talk chore if the lipsync doesn't have any valid anim value. Fix #266 2011-07-18 00:08:32 +02:00
Giulio Camuffo
fd4c14ed48 GRIM: The last commit made this hack not necessary anymore. 2011-07-17 21:56:38 +02:00
Giulio Camuffo
e013b3b87a GRIM: Set 0 as frame time after time expensive processes, like restoring a save. 2011-07-17 21:54:42 +02:00
Giulio Camuffo
1da3fe3b91 GRIM: Increase save version to 18. 2011-07-17 21:50:27 +02:00
Giulio Camuffo
bad20f7289 GRIM: Save the iris state. 2011-07-17 21:21:06 +02:00
Giulio Camuffo
3441aa4ced GRIM: The timers in the scripts should ignore the time passed with the F1 menu open. 2011-07-17 19:26:41 +02:00
Giulio Camuffo
6fa334dd3c GRIM: Silence. 2011-07-17 18:47:08 +02:00
Giulio Camuffo
68427fdad4 GRIM: Implemented iris animation. 2011-07-17 18:17:07 +02:00
Giulio Camuffo
f6d30ca6dd GRIM: Cleanup. Remove Costume::cleanupChore(). 2011-07-17 16:19:48 +02:00
Joni Vähämäki
8a9fad5859 GRIM: Don't draw a shadow if the actor is behind the shadow plane. 2011-07-15 21:47:17 +08:00
Joni Vähämäki
2519700f0c GRIM: Don't draw to the depth buffer when creating the stencil mask for shadows. 2011-07-15 21:47:16 +08:00
Giulio Camuffo
244e273050 GRIM: Force the fps of the keyframe anims to 15. Fix #51 2011-07-14 22:12:04 +02:00
Giulio Camuffo
1b99188682 GRIM: Shouldn't never reset the components of the talking chores.
Fix the disappearing Manny's head and finish what was started with 1db7e0d.
2011-07-14 22:01:44 +02:00
Giulio Camuffo
0387710033 Merge pull request #234 from klusark/localize
Improve localize to only use one memory allocation.
2011-07-14 07:50:05 -07:00
Giulio Camuffo
564ae5d112 GRIM: Get immediately a frame to draw, thus avoiding flickering. 2011-07-14 16:41:21 +02:00
Giulio Camuffo
e70b6fc415 GRIM: Reset the image number of an ObjectState when it is moved to the front. Fix #24 2011-07-14 16:24:46 +02:00
Giulio Camuffo
93001ecf1b GRIM: Make the ObjectState handling more straightforward and similar to original. 2011-07-14 16:11:14 +02:00
Giulio Camuffo
4e41869b54 GRIM: Let the actors turn and update also when the mode is ENGINE_MODE_SMUSH. Fix #249 2011-07-13 14:44:45 +02:00
Giulio Camuffo
02c8645f5a Merge pull request #264 from Akz-/master
GRIM: Disable lighting for models that have lightingMode set to 0.
2011-07-13 05:13:03 -07:00
Joni Vähämäki
2fe7ccb08e GRIM: Disable lighting for models that have lightingMode set to 0. 2011-07-13 14:09:32 +03:00
Giulio Camuffo
319aa974f5 GRIM: Don't make the mesh components visible when stopping their chores.
This needs to be tested, so if you see a regression this may be the cause.
2011-07-12 15:29:53 +02:00
Giulio Camuffo
d6436fbee8 GRIM: Fix the in-word wrapping of subtitles. Fix #244 2011-07-12 12:20:53 +02:00
Giulio Camuffo
e5cde576b9 GRIM: Load the requested scene if it was not in GetCurrentSetup(). Fix #261 2011-07-10 12:23:23 +02:00
Giulio Camuffo
f3ecfce5c9 Revert "GRIM: Hide the MainModel when resetting it. Fix #229"
This doesn't reintroduce #229, since it was fixed by 1db7e0d.
This reverts commit b73f136ad106895dd0698bb37da1164e59105627.
2011-07-10 11:45:56 +02:00
Pawel Kolodziejski
daf3dc5063 Merge pull request #263 from somaen/seanyoung
GRIM: Apply seanyoung's patch from #195 as a Pull Request.
2011-07-09 23:57:35 -07:00
Einar Johan T. Sømåen
7345832509 GRIM: Forgot one line from seanyoung's patch. 2011-07-10 08:54:46 +02:00
Einar Johan T. Sømåen
742eb6ee6c GRIM: Minor actor.cpp-cleanup from seanyoung's patch in #195 2011-07-10 08:50:45 +02:00
Giulio Camuffo
1db7e0de31 GRIM: Don't reset all the components when stopping the talking chore. Fix #253 2011-07-08 17:41:13 +02:00
Giulio Camuffo
b73f136ad1 GRIM: Hide the MainModel when resetting it. Fix #229 2011-07-08 16:46:31 +02:00
Giulio Camuffo
994c2ef52f GRIM: Shut up a warning. 2011-07-04 12:13:48 +02:00
Giulio Camuffo
73bd50a96f GRIM: Init TextObject::_lines to NULL in TextObject(). 2011-07-04 12:09:44 +02:00
Pawel Kolodziejski
cd8d8cb84e EMI: Stub more lua functions and fix some text stuff (pull request #232) 2011-07-03 10:53:57 +02:00
Pawel Kolodziejski
75d222d1e9 GRIM: make few L2_* static 2011-07-03 10:22:27 +02:00
Giulio Camuffo
e585759a32 GRIM: Don't set a TextObject's _disabled to true if the text is none. Fix #227 2011-06-24 15:22:31 +02:00
Giulio Camuffo
1f3ce4a319 Merge pull request #251 from klusark/fixscene
Fix crash when trying to change to the current scene. Fixes #245
2011-06-24 05:42:05 -07:00
Joel Teichroeb
64f9ffa032 Fix crash when trying to change to the current scene. Fixes #245 2011-06-17 17:11:08 -07:00
Giulio Camuffo
119c340a32 Merge pull request #241 from klusark/fixtext
Destroy the old textobject graphics data when text is changed. Fixes #240
2011-06-12 02:52:56 -07:00
Joel Teichroeb
7e453c1bbc Destroy the old textobject graphics data when text is changed. Fixes #240 2011-06-11 22:33:55 -07:00
Giulio Camuffo
9be1343d91 Merge pull request #238 from Akz-/master
GRIM: Allow SayLine messages of zero length. Fixes #199
2011-06-11 08:51:08 -07:00
Joni Vähämäki
5ea33b4f7f GRIM: Allow SayLine messages of zero length. Fixes #199 2011-06-11 18:25:25 +03:00
Giulio Camuffo
e730ab19e3 Merge pull request #236 from klusark/textsplit
Use the correct type of delete.
2011-06-11 02:42:50 -07:00
Joel Teichroeb
8de63f2c1a Use the correct type of delete. 2011-06-10 15:33:42 -07:00
Giulio Camuffo
27ec9c2920 GRIM: Bumped savegame version to 17. 2011-06-10 19:04:05 +02:00
Giulio Camuffo
5e9dd7a425 GRIM: Save the new sectors shrinking. 2011-06-10 19:03:31 +02:00
Giulio Camuffo
860c20a9e1 GRIM: Don't crash if it coulnd't find the requested scene. Fix #230 2011-06-10 19:03:24 +02:00
Giulio Camuffo
482117df72 GRIM: Save Actor::_timeScale. 2011-06-10 19:03:16 +02:00
Giulio Camuffo
1c6e03f08d GRIM: Don't save TextObject::_created. 2011-06-10 19:03:08 +02:00
Giulio Camuffo
8552902429 GRIM: Save Scene::Light::_enabled. 2011-06-10 19:02:44 +02:00