1249 Commits

Author SHA1 Message Date
Joel Teichroeb
ee81d2bbb3 GRIM: Cleaned some dependancies between files 2011-12-17 21:48:17 -08:00
jj
ffebf9212c Fixed Win32 build on Visual Studio. 2011-12-18 07:27:28 +08:00
Giulio Camuffo
1fd4b5268a GRIM/MOVIE: Keep an always running callback timer, avoiding risks of deadlock.
Should fix probably #430
2011-12-18 00:14:53 +01:00
Giulio Camuffo
6a3cb32522 GRIM: Remove file added by mistake. 2011-12-17 12:10:29 +01:00
Giulio Camuffo
b5772783b2 GRIM: Flip the buffer in Draw mode, but don't draw the fps. Fix #159 2011-12-17 12:05:26 +01:00
Giulio Camuffo
091714941b Revert "GRIM: Flip the buffer if the window needs a redraw. Fix #159"
This reverts commit 3508fca4de0b50802b1533fdfa047141a880a753.
2011-12-16 19:07:59 +01:00
Giulio Camuffo
879fbd6855 GRIM/MOVIE: Draw also the last frame.
_curFrame represents the frame that is being displayed, not the
frame that is to be processed.
2011-12-16 18:05:23 +01:00
Giulio Camuffo
c55abd8980 GRIM: Pass around the frame time as a uint, not a float. 2011-12-16 15:22:02 +01:00
Giulio Camuffo
3adbfc2898 GRIM: Be a bit more verbose. 2011-12-16 15:21:35 +01:00
Giulio Camuffo
f2d7d127fc GRIM: Make ResourceLoader able to open non-lab files. Fix credits.
The credits are read from the file credits/ingame.txt. Fix #228
2011-12-16 14:48:42 +01:00
Giulio Camuffo
3508fca4de GRIM: Flip the buffer if the window needs a redraw. Fix #159 2011-12-16 11:01:40 +01:00
Giulio Camuffo
e078a2d18c GRIM: Fix dangling pointer. Fix #436 2011-12-14 17:50:33 +01:00
Giulio Camuffo
eb3eb1170a GRIM: Deactivate the animations of an AnimManager when deleting it. 2011-12-14 17:49:58 +01:00
Giulio Camuffo
98716036cd GRIM: Fix compilation. 2011-12-14 17:03:57 +01:00
Joel Teichroeb
5fa7a5e990 GRIM: Made head a pointer so costume.h does not need to include head.h 2011-12-13 11:45:57 -08:00
Joel Teichroeb
a45b112fea GRIM: Removed dependancy from costume.h on chore.h 2011-12-13 11:35:27 -08:00
Joel Teichroeb
3713ed00c9 GRIM: Forgot some files 2011-12-13 09:06:27 -08:00
Joel Teichroeb
80d1f8fc32 GRIM: Split classes out of costume. 2011-12-13 09:05:31 -08:00
Joel Teichroeb
2577ff58c8 GRIM: Add endian.h back into costume.cpp 2011-12-12 14:35:32 -08:00
Joel Teichroeb
fdbc302681 GRIM: Reorganized costume.cpp 2011-12-12 14:08:08 -08:00
Joel Teichroeb
423b308c20 GRIM: Fixed a memory leak where savegame images were not being deallocated. 2011-12-12 12:20:27 -08:00
Joel Teichroeb
7a7082d564 GRIM: Fixed a small leak with not properly clearing the shadow planes on Actor restore 2011-12-12 12:18:20 -08:00
Joel Teichroeb
c855a703a8 GIRM: Fixed a small memory leak 2011-12-12 12:15:23 -08:00
Giulio Camuffo
4c030baf74 GRIM: No need to make a copy of the nodes hierarchy. 2011-12-12 19:18:33 +01:00
Giulio Camuffo
e6ccad7657 GRIM: Better handling of the bounding boxes for the actors' text objects. 2011-12-12 18:57:17 +01:00
Giulio Camuffo
54e3b584fa GRIM/MOVIE: Process the first frame of the movie immediately. 2011-12-12 17:12:26 +01:00
Giulio Camuffo
6cbd5e9f51 GRIM: Make sure to draw the shadows behind the actors with the OpenGL renderer.
It fixes bug #297 when playing with the GL renderer.
2011-12-12 12:30:21 +01:00
Einar Johan Trøan Sømåen
4e30c14c3a Merge pull request #432 from klusark/saveleak
GRIM: Fix a leak when loading savegames
2011-12-11 15:22:55 -08:00
Joel Teichroeb
5b1a5b2e48 GRIM: Fix a leak when loading savegames 2011-12-11 14:43:43 -08:00
Joel Teichroeb
dac25b0fa8 GRIM: Fix a memory leak with dealocating materials 2011-12-11 14:28:22 -08:00
Giulio Camuffo
8e174ee18e GRIM: Fix handling of saves with id > 99 from the gui. Fix #404 2011-12-09 18:36:56 +01:00
Giulio Camuffo
35fade48b6 GRIM/MOVIE: Fix movie playback on AmigaOS. Fix #382 2011-12-07 18:34:56 +01:00
Giulio Camuffo
78892c00ef GRIM: Reset a fade out when starting a keyframe animation. 2011-12-01 22:12:55 +01:00
Giulio Camuffo
1a559986c1 GRIM/MOVIE: Don't try to restore a movie when there isn't any to restore. 2011-12-01 18:59:14 +01:00
Giulio Camuffo
353c42effe GRIM: Use the new foreach macro.
Modify a bit PoolObject::Pool to allow it to be used with foreach.
2011-11-21 22:07:12 +01:00
Giulio Camuffo
a98c561668 GRIM: Do not create a new ObjectState if it exists already.
This way commit 075c1cae is practically reverted without reintroducing #296
and fixing #423. Fix #423
2011-11-19 19:31:32 +01:00
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