1063 Commits

Author SHA1 Message Date
Einar Johan T. Sømåen
5d01e5696d GRIM: Add a dialogue to tell the user he has a DATAUSR.lab patch
This also gives the user a chance to avoid loading the patch,
by clicking Cancel in the dialogue that pops up. Only minor
changes were done to InputDialog for this.
2011-11-19 17:30:43 +01:00
Einar Johan T. Sømåen
b708973ecf GRIM: Add support for datausr.lab as user-provided patch-file. 2011-11-11 01:13:51 +01:00
Einar Johan T. Sømåen
b433989e18 EMI: Added stub-hack to playActorChore, to fix movie-playback for demo.
This is no lasting solution, but atleast allows for testing for any
regressions with the movie-stuff, which is the only thing that works
for now anyway.

I also moved the warnings for unimplemented costume-components inside
debug::Costume, to make the log a bit easier on the eyes.
2011-11-11 01:05:20 +01:00
Giulio Camuffo
c62424bfcb GRIM: Moved the head functions inside the head class. Fix #413
The lookAtRate is per costume, not per actor.
2011-11-04 16:41:09 +01:00
Giulio Camuffo
0d7f17a6f1 GRIM: Create the material the first time it is selected. Faster load times. 2011-11-02 17:28:08 +01:00
jj
f35e93b30e Fix a problem with the depth rendering ARB fragment shader where it tried to output a 4-vector to result.depth, which is a scalar. Intel drivers silently wrote z=0 to the result.depth output. Now instead do an explicit texture read of the first component. Fixes #330. 2011-11-01 06:23:41 +08:00
jj
abfd5bf24c Fall back to not using the depth shader if its compilation fails. Related to issue #330, but does not fix it. 2011-11-01 06:23:41 +08:00
Einar Johan T. Sømåen
bbf3b763df GRIM: Make NullPlayer work properly with new MoviePlayer-superclass fixes #395 2011-10-30 18:44:34 +01:00
Giulio Camuffo
386fa37b32 GRIM: The axis x and y were swapped by 46a8d46, so swap pitch and roll here. Fix #400 2011-10-29 16:21:06 +02:00
Giulio Camuffo
3193fec1e6 GRIM: Use a smart pointer to store objects that can be deleted behind our back. Fix #398 2011-10-29 15:13:39 +02:00
Giulio Camuffo
576dc6459f GRIM: Make sure to return a value. Fix build on MSVC. 2011-10-27 20:47:51 +02:00
Giulio Camuffo
52fdf0565a GRIM: Fix the values of the volume groups. Fix #384 2011-10-20 17:07:53 +02:00
Giulio Camuffo
04959f244c GRIM: Use the Sphere mode only temporarily when walking forward. 2011-10-19 17:02:46 +02:00
Giulio Camuffo
6a3dc3e9c8 GRIM: Turn off the lights of a set when changing it. 2011-10-18 18:01:52 +02:00
Giulio Camuffo
46a8d461e0 GRIM: Fix bounding box calculation. Fix #391 2011-10-18 17:43:35 +02:00
Giulio Camuffo
857caccfe5 GRIM: Some style fixes and a bit of documentation added. 2011-10-13 20:42:09 +02:00
Giulio Camuffo
cbeccc9fa6 GRIM: Move some lua related code into LuaBase. 2011-10-13 20:25:50 +02:00
Giulio Camuffo
782bfdecf7 GRIM: Lua_L1 -> Lua_V1 and Lua_L2 -> Lua_V2. 2011-10-13 15:41:22 +02:00
Giulio Camuffo
5ca9cae83c GRIM: Incapsulate the lua opcodes in a class hierarchy. 2011-10-12 17:57:31 +02:00
Giulio Camuffo
da552f96f8 GRIM: Don't check collisions if the collision scale is 0. 2011-10-11 18:00:10 +02:00
Giulio Camuffo
d9091ce70a GRIM: Default Actor::_collisionScale to 0. 2011-10-11 17:50:39 +02:00
Giulio Camuffo
65da6fece5 GRIM: Fix saving of Actor::_collisionScale. 2011-10-11 17:50:05 +02:00
Giulio Camuffo
f914e198b3 GRIM: Use bit shifts for setting the value of the debug flags. 2011-10-10 18:22:06 +02:00
Giulio Camuffo
4b90c2890e Merge pull request #383 from giucam/debug
GRIM: Reboost of the debug system, using debug channels.
2011-10-10 09:18:52 -07:00
Giulio Camuffo
7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo
fdafbda3e2 GRIM: Reset the fade mode when starting a chore. 2011-10-10 17:28:03 +02:00
Giulio Camuffo
8f451e1f11 GRIM/Movie: Copy the surface when requested only. 2011-10-07 22:37:12 +02:00
Giulio Camuffo
150dadadd8 GRIM/Smush: Don't try to seek the movie if it isn't running on restore. 2011-10-07 12:41:31 +02:00
Giulio Camuffo
03cba02547 GRIM/Smush: Frames start from 0 now. Reset the frame when at end if looping. 2011-10-05 19:06:18 +02:00
Giulio Camuffo
51d4f14d33 GRIM: With the previous commit no more need for this. 2011-10-05 19:04:05 +02:00
Giulio Camuffo
735263f5ef GRIM: Fix fadeOut() on looping chores. 2011-10-05 18:42:58 +02:00
Giulio Camuffo
316a686296 GRIM: Stop the chore in FadeOutChore(). Fix #356 2011-10-05 17:37:43 +02:00
Giulio Camuffo
d6941173df GRIM: Use an enum for the engine modes instead of the #defines. 2011-10-04 22:01:24 +02:00
Giulio Camuffo
6cdaeca42c GRIM: Handle collisions with other actors when walking to a position. Fix #79 2011-10-04 21:36:07 +02:00
Einar Johan T. Sømåen
e6903d05b9 GRIM: Remove printf from iMuse 2011-10-04 19:03:57 +02:00
Einar Johan T. Sømåen
e05c2df8a1 GRIM: Remove grim.h-dependency in iMuse 2011-10-04 18:47:03 +02:00
Giulio Camuffo
51e07afd97 GRIM/iMuse: Don't change region if hookId is 128 and jump -1. Fix #345 2011-10-03 19:18:00 +02:00
somaen
4bddcfadac Merge pull request #376 from somaen/smush_decoder
Refactor the SMUSH-decoder into a subclass of VideoDecoder
2011-10-03 08:46:33 -07:00
Giulio Camuffo
f109cc03a2 Merge pull request #378 from usineur/master
EMI: Fix .\\saves\\efmi.cfg in ~/.residual
2011-10-03 07:15:31 -07:00
Einar Johan T. Sømåen
007f404c5c GRIM: Actually remember to add vima.h this time around 2011-10-03 15:29:46 +02:00
somaen
8ab58c1485 Merge pull request #379 from somaen/grim_controls
GRIM: Move Keycode-mapping from grim.cpp to grim_controls.cpp
2011-10-03 04:09:08 -07:00
Einar Johan T. Sømåen
8e8a2f92ca GRIM: Add vima.h to avoid having to include grim.h, and to possibly isolate imuse/movie from the rest of the code 2011-10-03 01:54:01 +02:00
Einar Johan T. Sømåen
f0ac5976ac GRIM: Move Keycode-mapping from grim.cpp to grim_controls.cpp 2011-10-03 01:29:38 +02:00
Giulio Camuffo
841c2253f6 GRIM: Bump savegame version to 20. 2011-10-02 19:16:43 +02:00
Giulio Camuffo
0cbe1077ca GRIM: Save GrimEngine::_mode and _previousMode. 2011-10-02 19:15:29 +02:00
Giulio Camuffo
e71598a36a GRIM: Save GfxBase::_renderBitmaps and _renderZBitmaps. 2011-10-02 19:07:16 +02:00
Giulio Camuffo
9fc70eeb4c GRIM: Save Iris::_x2 and _y2. 2011-10-02 19:06:30 +02:00
Giulio Camuffo
a288749240 GRIM: Save Actor::_puckOrient, _collisionMode and _collisionScale. 2011-10-02 19:05:24 +02:00
Matthieu Milan
3a87cd3f33 EMI: Fix .\saves\efmi.cfg in ~/.residual 2011-10-02 18:56:09 +02:00
Giulio Camuffo
bff2caeb25 GRIM: Reduce code duplication in save and restore of chores. 2011-10-02 18:52:28 +02:00