24 Commits

Author SHA1 Message Date
Giulio Camuffo
3193fec1e6 GRIM: Use a smart pointer to store objects that can be deleted behind our back. Fix #398 2011-10-29 15:13:39 +02:00
Giulio Camuffo
bcf08a706a GRIM: More descriptive names for some methods. 2011-09-18 18:46:20 +02: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
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
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Giulio Camuffo
232588a95f GRIM: Rename ObjectState's getters. 2011-05-05 11:45:09 +02:00
Giulio Camuffo
365b7f7901 GRIM: Renames some Bitmap's getters. 2011-05-05 10:49:53 +02:00
Giulio Camuffo
54e9a77700 GRIM: Fix restore of ObjectState's bitmaps. Savegame version to 11. 2011-05-04 22:44:18 +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
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02: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
788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski
6e489b1c2d get rid Resource and ResPtr 2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
b907c98cd4 revert 2009-06-24 18:33:02 +00:00
Pawel Kolodziejski
1e7b58818f added more code related with savegame 2009-06-24 17:30:34 +00:00
Pawel Kolodziejski
5f5023ec0e implement visibility object state 2009-06-08 12:05:54 +00:00
Pawel Kolodziejski
02c4f2aeb3 there is no object state 6 2009-06-07 20:24:42 +00:00
Pawel Kolodziejski
f364f9a535 update headers 2009-05-26 14:13:08 +00:00
Pawel Kolodziejski
b6af258b75 update defines for include files 2009-05-26 09:39:42 +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