2674 Commits

Author SHA1 Message Date
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
3c4999dbc6 COMMON: Include scummsys.h, to have uint. 2011-12-14 17:46:29 +01:00
Giulio Camuffo
98716036cd GRIM: Fix compilation. 2011-12-14 17:03:57 +01:00
Giulio Camuffo
75bb52c0ea Merge pull request #435 from klusark/costumeclean
GRIM: Reorganized costume.cpp
2011-12-14 16:38:31 +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
Giulio Camuffo
56e109d631 Merge pull request #434 from klusark/leak3
Fixed three memory leaks.
2011-12-12 13:15:17 -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
Einar Johan Trøan Sømåen
f93b42a8ea Merge pull request #431 from klusark/leak
GRIM: Fix a memory leak with dealocating materials
2011-12-11 15:21:46 -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
a00b544d00 Merge pull request #426 from DarthJDG/antialiasing
SDL: Fixed antialiasing fallback for less tolerant OpenGL drivers. Fix #407
2011-12-01 01:12:19 -08:00
Robert Biro
121428a329 SDL: Fixed antialiasing fallback for less tolerant OpenGL drivers. Fix #407 2011-11-30 18:05:31 +00:00
Einar Johan T. Sømåen
522f385c99 BUILD: Fix win32dist-target, patch from Kirben 2011-11-22 04:17:12 +01:00
Giulio Camuffo
ba3cac994e Enable more warnings with GCC 2011-11-21 22:32:34 +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
1d0e147d6b COMMON: New foreach macro to loop through lists. 2011-11-21 21:59:17 +01:00
Giulio Camuffo
062cf9292f MATH: Use a one-dimensional array for the matrix data. Should fix #414 2011-11-20 15:17:41 +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
Einar Johan T. Sømåen
f56a340193 MATH: Fix Matrix-compile on clang 2011-11-11 00:18:25 +01:00
Giulio Camuffo
e982124e05 MATH: Fix build on certain compilers. 2011-11-04 21:07:07 +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
1e86d51b1e MATH: Minor Matrix optimisations. 2011-11-04 15:25:22 +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