Commit Graph
132 Commits
Author SHA1 Message Date
Dries Harnie 6f2bee7409 L10N: Translate patch warnings in Grim 2015-09-09 13:44:37 +02:00
Einar Johan Trøan Sømåen a39a6240d5 GRIM: Add detection for Grim demo with intro video, and add gdemo001.lab to resource.cpp, this demo still doesn't work 2015-01-18 15:49:42 +01: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
Christian Krause 243519b276 EMI: Delete _localArchive in destructor
- fixes a memleak
2014-12-31 15:47:36 +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
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +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
Joel Teichroeb 0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07: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 9ef39a6f2a GRIM: Add the error on Missing materials back in 2013-12-08 11:37:59 -08:00
Joel Teichroeb a3ce54703f GRIM: Clean up font constructors 2013-10-26 13:27:29 -07:00
Andrea Corna 6b30e35f4a EMI: Add support for PatchR from bundled container 2013-09-10 00:00:18 +02:00
Andrea Corna ec0babc733 GRIM/EMI: Unify the update loader code and force it on EMI 2013-08-29 18:41:31 +02:00
Andrea Corna cc137e0ef6 EMI: Load i9n.m4b before patch.m4b for better efficency when loaded from update 2013-08-29 10:58:09 +02:00
Einar Johan Trøan Sømåen fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02: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
Dries Harnie d6fb41e77a EMI: Support for datausr.m4b, with gui option 2013-06-29 12:18:29 +02:00
Giulio Camuffo a72832fac0 GRIM: Add a md5 check on the game data files 2013-02-06 14:52:50 +01:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Dries Harnie 60900c2e4a EMI: Move sprite loading into Sprite::loadBinary 2012-11-28 00:28:48 +01:00
Dries Harnie 89d0874580 EMI: Only substitute missing materials in demo 2012-09-09 16:44:44 +02:00
Dries Harnie d7988b8534 EMI: Hack around missing textures in demo 2012-09-01 17:32:55 +02:00
Einar Johan Trøan Sømåen 047b67f2f3 Merge pull request #645 from Botje/bugfixes
EMI: Fix crashes after UnloadActor() and case-fold filenames inside .SUR files
2012-08-12 09:04:46 -07:00
Dries Harnie 1f8b89ffa0 EMI: Move fixFilename into Grim::ResourceLoader namespace 2012-08-12 18:00:23 +02:00
Einar Johan Trøan Sømåen 56b59d1514 Merge pull request #643 from YakBizzarro/force-gfupd
GRIM: Make gfupd101.exe mandatory
2012-08-12 08:46:05 -07:00
Dries Harnie e31fbe6182 EMI: Fix filenames inside .SUR files 2012-08-12 12:19:45 +02:00
Andrea Corna 3e23271f2b GRIM: Fix a typo in a error message 2012-08-08 22:31:09 +02:00
Andrea Corna a53700263b EMI: Fix a possible bug in the detection of the demo 2012-08-08 18:27:44 +02:00
Andrea Corna d6703e0545 GRIM: Make gfupd101.exe mandatory 2012-08-08 18:20:51 +02:00
Andrea Corna 8d9345112c GRIM: Fix the load of datausr.lab 2012-08-01 16:30:15 +02:00
Einar Johan Trøan Sømåen abc1082297 EMI: Make sure the subfolder .m4b-s are also added to files. 2012-07-22 19:16:16 +02:00
Andrea Corna bb174b6fa2 GRIM: Rewrite Patchr
This new version of patchr is based on bsdiff format (although it doesn't
share code with it, since it has been written from scratch)
All patches written for the old version have been ported to this one.
2012-05-03 10:30:12 +02:00
Joel Teichroeb 228187b214 GRIM: Clean up model slightly 2012-04-24 17:21:18 -07:00
Paweł Kołodziejski 2a9b36cd5a Merge pull request #598 from YakBizzarro/res
GRIM: Little modifications in ResourceLoader
2012-04-12 22:29:27 -07:00
Andrea Corna 1b6696ffaf GRIM: Adds a gui option to choose whether to load datausr.lab 2012-04-11 23:34:16 +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 f212d48f88 GRIM: Remove a recursive call in ResourceLoader 2012-04-11 14:18:45 +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 44efbccff4 GRIM: Fix casting away const 2012-04-03 16:58:04 -07:00
Joel Teichroeb 63938ba499 GRIM: Clean up unneeded includes and fix some trailing whitespace 2012-03-26 20:12:00 -07:00
Andrea Corna 89e1f36c35 GRIM: Don't use wildcards when searching data???.lab 2012-03-19 10:35:13 +01:00
Andrea Corna 00fb437d99 EMI: Load correctly the official update 2012-02-27 12:17:09 +01: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 1226e45ac3 EMI: Initial work on getting costumes to draw animations.
Also, an initial split-off for EMI from the costume-class,
now uses it as a base class. (somaen)
2012-02-02 22:01:09 +01:00