Commit Graph
56 Commits
Author SHA1 Message Date
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Joel Teichroeb 1afe52dcf9 Add overlays. Colour is currently wrong" 2015-01-28 20:44:27 -08:00
Christian Krause 6b7010598f EMI: Fix caching of local.m4b
- currently, the cache of local.m4b will cause that all contained files
  have the highest priority
- any file from a different archive which should have a higher priority
  (e.g. patch.m4b) is completley ignored
- this patch removes the additional cache of local.m4b so that the
  priority handling of SearchMan works
- additionally the concrete Lab object for local.m4b will now keep
  the file open
2015-01-10 16:54:47 +01:00
Einar Johan Trøan Sømåen 2e7b6a0ec1 EMI: Cache the entire contents of local.m4b to speed up the launch of the Mac version.
I did not remove the adding of local.m4b to SearchMan, as that for some reason blocked a few files from loading.
2014-09-17 22:00:56 +02:00
Joel Teichroeb a539832c78 Merge pull request #910 from JoseJX/FixGLTextureParams
EMI: Clamp sprites, repeat other textures.
2014-06-20 08:30:44 -07:00
Joseph Jezak df3d63fc24 EMI: Add support for clamping sprite textures and repeating other textures. 2014-06-18 22:19:42 -04:00
Joni Vähämäki b5cdd1240f EMI: Only draw models for actors inside the view frustum.
This adds math classes for doing frustum culling in software. These could be used for optimizing performance in many other places as well. For example, if an actor is outside the view frustum, it may not be necessary to do expensive keyframe animation and vertex skinning calculations for that actor.
2014-06-16 15:42:18 +03:00
Joni Vähämäki 47aa1ace87 EMI: Added support for animation priorities and implemented blending. 2014-05-31 02:50:06 +03:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Ingo van Lil 3efbe58ebf EMI: Store materials in costume, not in mesh
When multiple meshes in an EMI costume use the same material each will have
its own Grim::Material instance. If a material used by multiple meshes is
changed by a texi chore the instances will become inconsistent.

With this patch materials are managed by the costume, and there will only
be one instance of each reference material.
2013-12-24 00:50:13 +01:00
Joel Teichroeb 08d30bfb01 EMI: Use a Sprite's costume in order to share materials 2013-07-08 09:23:58 -07:00
Joel Teichroeb 21afde3846 GRIM: Move Sprite into it's own file 2013-07-07 17:25:35 -07:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Joel Teichroeb 004960ab66 GRIM: Properly forward declare Sprite as a struct 2012-11-29 08:00:17 -08:00
Dries Harnie 60900c2e4a EMI: Move sprite loading into Sprite::loadBinary 2012-11-28 00:28:48 +01:00
Dries Harnie 1f8b89ffa0 EMI: Move fixFilename into Grim::ResourceLoader namespace 2012-08-12 18:00:23 +02:00
Dries Harnie e31fbe6182 EMI: Fix filenames inside .SUR files 2012-08-12 12:19:45 +02:00
Andrea Corna b502dbec8e GRIM: Make ResourceLoader::uncache private 2012-04-11 20:41:32 +02:00
Andrea Corna ee71476748 GRIM: Remove ResourceLoader::getFileExist and use SearchMan::hasFile instead 2012-04-11 14:43:53 +02:00
Andrea Corna c163ba3be0 GRIM: Make more members of ResourceLoader constant 2012-04-11 14:23:08 +02:00
Andrea Corna 8fd80976eb GRIM: Use SearchMan in ResourceLoader, instead of a specific SearchSet 2012-04-11 13:59:29 +02:00
Joel Teichroeb 63938ba499 GRIM: Clean up unneeded includes and fix some trailing whitespace 2012-03-26 20:12:00 -07:00
Joel Teichroeb 3a3b6e42a3 GRIM: Improve the way that patchr searches for patches and clean up some code 2012-02-02 14:42:15 -08:00
Joel Teichroeb 505ec14fc3 GRIM: Greatly improved memory usage of bitmaps 2012-02-02 09:38:37 -08:00
Einar Johan T. Sømåen 27d82c192e EMI: Add a component for the animations in emi. 2012-01-30 22:24:09 +01:00
Paweł Kołodziejski e350c7f777 renames 2012-01-06 23:29:45 +01:00
Andrea Corna dd1806afdb GRIM: Add an on-the-fly binary patch engine (patchr) 2012-01-06 23:01:29 +01:00
Andrea Corna 0752b7e284 GRIM: Make use of Common::SearchSet to manage labs 2011-12-30 17:17:08 +01:00
Andrea Corna 37b70f4350 GRIM: Remove Block class. Restore cache for raw files in ResourceLoader 2011-12-30 17:17:08 +01:00
Andrea Corna c05e50feef GRIM: Cleaned Lab access and rebased it on Common::Archive 2011-12-30 17:09:29 +01:00
Einar Johan T. Sømåen 0a38e537f1 GRIM/EMI: Stub the skeleton-component. 2011-12-30 15:10:32 +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
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 1fbbd24aee GRIM: Port Actor, Bitmap, Color, Font, Primitive, ObjectState, Scene, TextObj to PoolObject.
These are the classes that go into Lua, and so are kept in a pool,
indexed with an id.
2011-09-07 23:08:59 +02:00
Einar Johan T. Sømåen 3902a7c230 GRIM: Make SMUSH-decoder use GZipReadStream instead of rolling its own zlib-decoding 2011-08-13 10:17:17 +02:00
Giulio Camuffo 62befd06f3 GRIM: Share the materials between models in the same hierarchy. 2011-07-18 23:43:01 +02:00
Giulio Camuffo cabd0d583f GRIM: Make Material implicitly shared. Cleaned up Model a lot. 2011-07-18 22:16:40 +02:00
Joel Teichroeb 2ba03249d1 Changed more const char * to const Common::String & 2011-05-22 16:40:56 -07:00
Pawel Kolodziejski 356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Joel Teichroeb 4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07: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
Giulio Camuffo a87b9c6e99 GRIM: Rename ResourceLoader's getters. 2011-05-05 11:48:58 +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
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
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 148bbb97fb cleanup 2009-06-26 18:48:13 +00:00
Pawel Kolodziejski 8f992d1755 cleanup 2009-06-26 18:43:13 +00:00