Commit Graph

56 Commits

Author SHA1 Message Date
Giulio Camuffo
0f3944c4a5 GRIM: Clear the event queue after a save or a restore. Fix #235 2011-07-18 15:05:33 +02:00
Giulio Camuffo
e013b3b87a GRIM: Set 0 as frame time after time expensive processes, like restoring a save. 2011-07-17 21:54:42 +02:00
Giulio Camuffo
68427fdad4 GRIM: Implemented iris animation. 2011-07-17 18:17:07 +02:00
Giulio Camuffo
e5cde576b9 GRIM: Load the requested scene if it was not in GetCurrentSetup(). Fix #261 2011-07-10 12:23:23 +02:00
Joel Teichroeb
159a44e30c More accurate frames per second. 2011-06-09 18:36:57 -07:00
Pawel Kolodziejski
3691563fab GRIM: cleanup: ENGINE_MODE_IDLE mode was never used 2011-06-06 12:23:37 +02:00
Joel Teichroeb
dee8a211ca Reduced code even more. 2011-05-29 11:42:37 +02:00
Giulio Camuffo
7c952ff420 GRIM: Clean up some code. 2011-05-28 14:46:36 +02:00
Giulio Camuffo
3ec45e19ad GRIM: Clean up a bit some save/restore code. 2011-05-28 11:31:12 +02:00
Joel Teichroeb
0f3f852c31 Reduced duplicated code in loading and saving. 2011-05-26 09:23:43 -07:00
Giulio Camuffo
18c38f3a09 GRIM: New GrimEngine::SpeechMode enum. 2011-05-23 17:06:16 +02:00
Joel Teichroeb
2ba03249d1 Changed more const char * to const Common::String & 2011-05-22 16:40:56 -07:00
Giulio Camuffo
94885408fc GRIM: Implement duration of text objects. 2011-05-22 19:46:59 +02:00
Joel Teichroeb
733b34febc Changed const char * to const Common::String &. 2011-05-22 12:56:37 +08:00
Giulio Camuffo
65b074987e GRIM: Better implementation of IsMessageGoing() when no actor is passed. 2011-05-19 17:56:32 +02:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Joel Teichroeb
dad8eee553 GRIM: Added support for loading savegames from the launcher. 2011-05-17 20:48:58 -07:00
Pawel Kolodziejski
9c91f5f3b0 EMI: reuse and implement partially more opcodes 2011-05-14 23:15:43 +02:00
Pawel Kolodziejski
83de2e6600 refactor movie playback and game detection params 2011-05-14 12:11:53 +02:00
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Pawel Kolodziejski
d9d5acd417 GRIM: add PS2 keycodes 2011-05-08 07:36:38 +02:00
Pawel Kolodziejski
f97670b055 make grim and monkey opcodes separate 2011-05-08 07:28:46 +02:00
Giulio Camuffo
232cab4f64 GRIM: Remame Scene's getters. 2011-05-05 11:51:40 +02:00
Giulio Camuffo
962babe068 GRIM: Clean up a bit grim.h 2011-05-05 11:32:11 +02:00
Giulio Camuffo
7e3e63dbbd GRIM: Rename GrimEngine's getters. 2011-05-05 11:25:08 +02:00
Giulio Camuffo
465ea8951a GRIM: Moved g_files back into liolib.cpp and made it stay on the heap. 2011-05-02 18:29:24 +02:00
Joel Teichroeb
a668006d21 EMI: Made it so the EMI demo was not flagged as the GRIM demo.
Removed a define that I'm not sure why it was there.
2011-05-02 13:00:54 +08:00
Matthew Hoops
938800e170 GRIM: Silence a ton of warnings 2011-05-02 03:56:42 +08: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
Joel Teichroeb
18874a7c91 GRIM: added support for 32 bit bitmaps 2011-05-01 03:57:01 +08:00
Pawel Kolodziejski
60cce59c53 added more keys from emi based on klusark fork and emi exe 2011-04-30 21:20:39 +02:00
Giulio Camuffo
1b9261984b GRIM: Limit the movement caused by walkForward(). Fixes #40 for real. 2011-04-27 15:43:53 +02:00
Giulio Camuffo
3497817f31 GRIM: Make perSecond() return 0 for the first two loops. Fixes #40 2011-04-26 21:55:55 +02:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Matthew Hoops
00ee0554be GRIM: Remove global constructor usage and silence warnings 2011-04-12 20:51:55 +08:00
Matthew Hoops
1554e1ab2f ALL: Silence a ton of warnings 2011-03-25 07:42:03 +08:00
Matthew Hoops
ac88c250c1 GRIM: Restructure detection a bit
Only use one gameid for full/demo versions of Grim. Using the game type in the detection fields now too.
2011-03-25 07:14:12 +08:00
Giulio Camuffo
cff70f9fad Cleanings. Mostly indent fixes. 2011-03-21 17:18:04 +01: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
6e489b1c2d get rid Resource and ResPtr 2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
1e7b58818f added more code related with savegame 2009-06-24 17:30:34 +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
d6dcf90eb6 added save font, textobject 2009-06-23 05:15:20 +00:00
Pawel Kolodziejski
ef19543d5f a bit more with saving 2009-06-22 21:20:12 +00:00
Pawel Kolodziejski
00c183cf8a store fonts on the list in engine 2009-06-22 21:06:46 +00:00
Pawel Kolodziejski
27467101d9 added actor save stub 2009-06-22 14:11:40 +00:00
Pawel Kolodziejski
abaa548181 synced with scummvm 2009-06-18 11:52:26 +00:00
Pawel Kolodziejski
7d04a75c90 fixed regressions
moved camera callback funcs
split MakeCurrentSetup opcode
2009-06-08 22:25:14 +00:00
Pawel Kolodziejski
fd18e50e8c verified callbacks 2009-05-31 16:09:21 +00:00
Jordi Vilalta Prat
f7b93b6e2e Remove unused and unnecessary code 2009-05-30 11:44:09 +00:00