Einar Johan T. Sømåen
3b87c4f66b
GRIM/EMI: Add drawing of meshes
...
This only adds in drawing of meshes, textures are still not
done, and skeletal animation is fully missing, however, this
commit marks the first one where anything 3D is visible
in EMI.
2011-12-30 12:53:49 +01:00
Einar Johan T. Sømåen
85b99d5c64
GRIM/EMI: Add meshb-loading-support for EMI
...
Also adds an emimesh-component, to allow loading from costume
data.
2011-12-30 12:39:45 +01:00
Einar Johan T. Sømåen
6da0bcb681
MATH: Add Vector4D
2011-12-30 12:18:30 +01:00
Einar Johan Trøan Sømåen
4f6c717ab5
Merge pull request #442 from klusark/expiretext
...
GRIM: Fix some issues with text objects. Fixes #440 , #441
2011-12-21 12:56:37 -08:00
Joel Teichroeb
9e792f7ff4
GRIM: Fix some issues with text objects. Fixes #440 , #441
2011-12-21 12:16:11 -08:00
Einar Johan T. Sømåen
d1b0675f90
COMMON: Remove unneeded audio-plugins that to my knowledge aren't used in any 3D-adventures
2011-12-21 16:16:45 +01:00
Giulio Camuffo
e126618cd2
GRIM: Force the redraw of the menu every frame for now.
2011-12-18 22:25:47 +01:00
Giulio Camuffo
e271b8772e
GRIM/MOVIE: Actually draw the last frame of a looping smush movie.
...
This won't work on Bink movies as is. If it will be needed on those too
a different implementation will have to be found.
2011-12-18 17:45:09 +01:00
Giulio Camuffo
684b052e75
Merge pull request #438 from klusark/cleandeps
...
GRIM: Cleaned some dependancies between files
2011-12-18 07:18:34 -08:00
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
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