2504 Commits

Author SHA1 Message Date
Giulio Camuffo
0547cceee7 GRIM: Others explicit casts. 2011-07-21 11:58:51 +02:00
Giulio Camuffo
16d313cdc8 GRIM: use dimScreen() to dim the entire screen. 2011-07-21 11:57:06 +02:00
Giulio Camuffo
c0cc4ce60a GRIM: EXplicitly cast from float to int. 2011-07-21 11:56:11 +02:00
Giulio Camuffo
0c849c43e1 GRIM: Fix a warning. 2011-07-21 11:18:31 +02:00
Giulio Camuffo
d7160401ac GRIM: Make LState::paused a bool. 2011-07-20 22:50:54 +02:00
Giulio Camuffo
5012ebfbc9 GRIM: New, cleaner, lua_runtasks(). 2011-07-20 22:27:41 +02:00
Giulio Camuffo
c89e3d6f2e Merge pull request #272 from Akz-/fading
Fix up animation fading to work more like the original.
2011-07-20 13:00:25 -07:00
Joni Vähämäki
811c494859 GRIM: Stop rest/walk/turn chores when transitioning to another chore. 2011-07-20 22:32:12 +03:00
Joni Vähämäki
9f98fccdd9 GRIM: Handle animation fading in KeyframeComponent instead of in Chore. Allows fades to continue even if the chore is stopped, like in the original game. 2011-07-20 22:32:10 +03:00
Giulio Camuffo
2d09b985c7 GRIM: Don't pass 0 as frame time when mode is ENGINE_MODE_PAUSE.
Fix a regression with the menu.
2011-07-20 19:13:37 +02:00
Giulio Camuffo
c1a1314824 GRIM: Make pause_scripts() actually pause the scripts. 2011-07-20 19:12:25 +02:00
Einar Johan T. Sømåen
2a277aa9d0 EMI: Add support for Bink from Video::BinkDecoder 2011-07-20 18:49:05 +02:00
Giulio Camuffo
588b59e671 GRIM: Fix opening of menu during movies. 2011-07-20 17:59:47 +02:00
Giulio Camuffo
ccc2a38b5a GRIM: A little cleanup. 2011-07-20 11:06:54 +02:00
Pawel Kolodziejski
8dd0f82574 sync with scummvm 2011-07-20 08:02:02 +02:00
Pawel Kolodziejski
5bf4f9316b sync with scummvm dated 03 july 2011 2011-07-20 06:58:19 +02:00
Pawel Kolodziejski
60611723ff Merge branch 'master' of git://github.com/residual/residual 2011-07-20 06:28:17 +02:00
Giulio Camuffo
c56cfd19e2 Merge pull request #270 from vpelletier/master
Trivial fix in glx_opengl
2011-07-19 09:45:56 -07:00
Giulio Camuffo
b96f6de526 GRIM: Call resetColormap() on all the children of a component whose cmap was set.
Fix #268 Fix #269
2011-07-19 18:38:27 +02:00
Vincent Pelletier
9476b90785 Fix glDisable parameter.
Found by apitrace.
2011-07-19 09:08:46 +02:00
Giulio Camuffo
73085d5e30 GRIM: Default a model component visible only if it hasn't a parent. 2011-07-18 23:45:28 +02:00
Giulio Camuffo
62befd06f3 GRIM: Share the materials between models in the same hierarchy. 2011-07-18 23:43:01 +02:00
Giulio Camuffo
be59ba1e70 GRIM: Fix the last commit. 2011-07-18 22:23:18 +02:00
Giulio Camuffo
2730eb4a99 GRIM: Remove dead code. 2011-07-18 22:20:16 +02:00
Giulio Camuffo
1dee44f643 GRIM: Don't share the models between costumes. Fix #190 2011-07-18 22:17:21 +02:00
Giulio Camuffo
cabd0d583f GRIM: Make Material implicitly shared. Cleaned up Model a lot. 2011-07-18 22:16:40 +02:00
Giulio Camuffo
111d0454fd GRIM: Reset a chore on update() if its fade is 0. 2011-07-18 18:41:38 +02:00
Giulio Camuffo
75fca9efa4 GRIM: Set the sound position for the voice only if it really started. 2011-07-18 17:53:06 +02:00
Giulio Camuffo
39dc721a6f GRIM: Silence a warning. 2011-07-18 17:51:58 +02:00
Giulio Camuffo
7bbe41e498 GRIM: SayLine() is used for the voice in smush movies too. Fix #248 2011-07-18 17:48:35 +02:00
Giulio Camuffo
5817168e55 GRIM: Show an error dialog if the save failed. 2011-07-18 16:33:52 +02:00
Giulio Camuffo
9e4d774779 GRIM: Saving should set the next frame a short frame. 2011-07-18 15:07:37 +02:00
Giulio Camuffo
0f3944c4a5 GRIM: Clear the event queue after a save or a restore. Fix #235 2011-07-18 15:05:33 +02:00
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