Joel Teichroeb
013fb385cb
Implemented some more functionality for EMI.
2011-06-02 15:34:34 -07:00
Joel Teichroeb
2ba03249d1
Changed more const char * to const Common::String &
2011-05-22 16:40:56 -07:00
Joel Teichroeb
733b34febc
Changed const char * to const Common::String &.
2011-05-22 12:56:37 +08:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
Joni Vähämäki
c5cfd652ac
GRIM: Don't add the lipsync file block to the cache if it's cached already.
2011-05-19 01:31:04 +08:00
Giulio Camuffo
667979efb4
GRIM: Shut up.
2011-05-16 19:07:34 +02:00
Giulio Camuffo
3e2fdb6b5f
GRIM: Use lowercase filenames for materials.
2011-05-16 18:28:03 +02:00
Joni Vähämäki
d208590d0d
GRIM: Make resource getters case insensitive. Fixes some resources being loaded multiple times because of case differences.
2011-05-15 02:31:32 +08:00
Pawel Kolodziejski
83de2e6600
refactor movie playback and game detection params
2011-05-14 12:11:53 +02:00
Pawel Kolodziejski
18c3c45ffa
Merge pull request #109 from klusark/stuff
...
Slightly improved the fixFilename function.
2011-05-13 23:01:11 -07:00
Joel Teichroeb
8c7afc742c
Slightly improved the fixFilename function.
2011-05-13 20:25:23 -07:00
Joel Teichroeb
4751516279
Cleaned up dependencies between files.
2011-05-13 17:55:14 -07:00
Pawel Kolodziejski
7cb42a7595
EMI: import costume, model resource loaders from klusark fork with some modifications
2011-05-09 10:00:01 +02:00
Giulio Camuffo
a02740f77d
GRIM: Don't cache the bitmaps in ResourceLoader. Bump savegame version to 12
2011-05-08 18:39:28 +02:00
Joel Teichroeb
ca377e895d
Fix an issue where a list gets corrupted in when deconstructing. Fixes #84 .
2011-05-05 22:04:48 -07:00
Giulio Camuffo
a87b9c6e99
GRIM: Rename ResourceLoader's getters.
2011-05-05 11:48:58 +02:00
Giulio Camuffo
73b607b47c
GRIM: Rename Lab's getters.
2011-05-05 11:47:48 +02:00
Giulio Camuffo
d7008d2514
GRIM: Rename Block's getters.
2011-05-05 11:40:10 +02:00
Giulio Camuffo
91d4cf3739
GRIM: Rename Keyframe's getters
2011-05-05 11:37:11 +02:00
Giulio Camuffo
365b7f7901
GRIM: Renames some Bitmap's getters.
2011-05-05 10:49:53 +02:00
Giulio Camuffo
9b41ba81b7
GRIM: Clear the Blocks cache in the dtor.
2011-05-04 21:23:55 +02:00
Giulio Camuffo
bad3055d20
GRIM: Delete the resources on exit.
2011-05-04 18:51:08 +02:00
Giulio Camuffo
1e868dd359
GRIM: Store ids instead of the pointers as lua's userdata objects.
...
Removed ObjectManager as it became useless.
2011-05-01 18:54:29 +02:00
Pawel Kolodziejski
74796a5de7
strcasecmp->scumm_stricmp
2011-05-01 18:39:28 +02:00
Pawel Kolodziejski
b18b857558
cleanup headers - grim part
2011-04-16 14:12:44 +02:00
Giulio Camuffo
8c66b2e7a6
Do not cache the Costume instances.
...
Each Actor needs to own an instance of all its costumes. This was
also causing the NULL costume issues.
2011-03-27 22:26:14 +02:00
Matthew Hoops
1554e1ab2f
ALL: Silence a ton of warnings
2011-03-25 07:42:03 +08:00
Matthew Hoops
c375cc30ae
GRIM: Add detection for Monkey4 PS2
2011-03-25 07:15:11 +08:00
Matthew Hoops
d00bbceb34
GRIM: Add support for parsing MI4 lab files
2011-03-25 07:14:56 +08:00
Matthew Hoops
4e2781c41e
GRIM: Cleanup Lab file parsing
...
Common::String's are used directly now (instead of changing back to c-strings half the time) and a hashmap now holds the data.
2011-03-25 07:14:44 +08:00
Matthew Hoops
5f2056068f
GRIM: Add detection for the MI4 demo
2011-03-25 07:14:31 +08:00
Giulio Camuffo
59dcece9ae
Working savegame support.
...
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00
Joost Peters
7ff3dec4f0
bail out early in getEntryFromCache() when the cache is empty, this avoids calling bsearch() with nmemb=0 (which some implementations don't cope well with)
2010-05-17 20:46:57 +00:00
Torbjorn Andersson
20a5e580b7
Silenced a bunch of mostly harmless cppcheck warnings.
2010-02-04 19:43:50 +00:00
Pawel Kolodziejski
a05ef9df8c
cache block files not classes
2009-06-27 06:47:18 +00:00
Pawel Kolodziejski
771f1f4438
adding counting memory size of cache
2009-06-27 06:08:44 +00:00
Pawel Kolodziejski
d8b20db3ce
cleanup
2009-06-26 19:00:28 +00:00
Pawel Kolodziejski
6e489b1c2d
get rid Resource and ResPtr
2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
c035f6b6fd
* added save Primitives
...
* modified detection of GF demo
* correction to GF game patch
2009-06-23 07:14:53 +00:00
Pawel Kolodziejski
f364f9a535
update headers
2009-05-26 14:13:08 +00:00
Pawel Kolodziejski
a4467bd1d0
convert residual into multi engine support (not all things done yet, WIP)
2009-05-25 19:21:58 +00:00
Pawel Kolodziejski
8b8e7e07d2
added namespace Grim
2009-05-25 06:49:57 +00:00
Pawel Kolodziejski
a34d883844
update path includes for recent directory changes
2009-05-24 19:13:58 +00:00
Pawel Kolodziejski
f58c073a0a
move/rename engine into engines/grim
2009-05-24 18:55:19 +00:00