Commit Graph
200 Commits
Author SHA1 Message Date
Pawel Kolodziejski e3a475ff7b synced with scummvm rev svn 49000 2011-04-10 21:59:04 +02:00
Pawel Kolodziejski 55415ee174 fix compilation using msvc 2011-04-10 11:24:03 +02:00
Giulio Camuffo b16e2e4aa3 Fix GetAngleBetweenActors.
This allows the daemon beavers puzzle to be completed.
BUG: 3276493
2011-04-08 18:01:05 +02:00
Giulio Camuffo 3460c63580 New enum to describe the sector types, instead of the raw values. 2011-04-05 12:37:20 +02:00
Giulio Camuffo d8c22c478c Fix ActorPutAtInterest.
Don't put the actor in a HOT sector.
2011-04-05 01:45:03 +02:00
Giulio Camuffo ce356f9d4b Fixed the return value of TurnActorTo.
It must return true if the target yaw is different from the actual yaw of
the actor, and false otherwise.
2011-03-31 18:56:20 +02:00
Giulio Camuffo c39f8ac580 Implemented a stub of ActorToClean.
Also, added a workaround for the bug that caused manny to be unable
to go outside the sets where ActorToClean is called. A real fix would
be needed, though.
2011-03-30 20:15:29 +02:00
Giulio Camuffo 2939da9c6c Save and restore smush state 2011-03-27 17:37:28 +02:00
Giulio Camuffo 00dd8a915a Compile fix. 2011-03-26 18:02:36 +01:00
Giulio Camuffo d150888c09 Fully working lookAt implementation. 2011-03-26 17:53:19 +01:00
Matthew Hoops 1554e1ab2f ALL: Silence a ton of warnings 2011-03-25 07:42:03 +08:00
Giulio Camuffo d9e7c5a44c Set the lookAtRate even in the look at pos case. 2011-03-23 17:33:41 +01:00
Giulio Camuffo 42ff414a25 Workaround the wrong head movements in some cases, like when speaking to glottis.
This is not less wrong, it just shows less. A fix needs to be found.
2011-03-23 17:17:54 +01:00
Giulio Camuffo e89ca555ef ObjectManager uses a new T::restoreObject(SaveGame*) function to restore saved objects.
This function replaces newObject() and allows more flexibility.
2011-03-21 06:46:35 +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
Torbjorn Andersson 20a5e580b7 Silenced a bunch of mostly harmless cppcheck warnings. 2010-02-04 19:43:50 +00:00
Pawel Kolodziejski edadbb35be synced code with scummvm trunk 2010-01-21 19:25:03 +00:00
Pawel Kolodziejski d375e093b3 fix warnings 2009-10-17 13:25:12 +00:00
Pawel Kolodziejski 788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski 26f97ed5a3 * initial works on GUI, launcher works, not external themes yet
* cleanup header files
2009-10-04 10:58:28 +00:00
Torbjorn Andersson 2c39758136 Fixed cppcheck memory leak warnings. 2009-10-02 18:48:59 +00:00
Pawel Kolodziejski e019fdc323 implemented some math in GetAngleBetweenActors based on disassembly 2009-07-02 06:20:36 +00:00
Pawel Kolodziejski ee396943fd added initial PrintLine opcode 2009-06-28 10:28:28 +00:00
Pawel Kolodziejski 5f88aa78a8 moved back smush into timer callback for gf demo 2009-06-28 07:34:12 +00:00
Pawel Kolodziejski 4293bd59a6 * disable imuse for now in gf demo
* initial smush support for gf demo
2009-06-27 19:37:57 +00:00
Pawel Kolodziejski 8937180d00 fixed warning 2009-06-27 11:28:30 +00:00
Pawel Kolodziejski 2a0c621b84 fixed warnings 2009-06-27 11:23:46 +00:00
Pawel Kolodziejski 6d51c5afa3 fixed gf demo startup 2009-06-27 09:52:37 +00:00
Pawel Kolodziejski 79ce647827 small change from gf demo 2009-06-27 09:47:18 +00:00
Pawel Kolodziejski 6e489b1c2d get rid Resource and ResPtr 2009-06-26 16:13:11 +00:00
Pawel Kolodziejski 00c183cf8a store fonts on the list in engine 2009-06-22 21:06:46 +00:00
Pawel Kolodziejski a93763eeb7 fixed warnings 2009-06-21 08:12:49 +00:00
Pawel Kolodziejski 5f30bd242f cleanup with warnings 2009-06-18 13:57:17 +00:00
Pawel Kolodziejski 353c9ebe7c fixed regression in 1402 revision 2009-06-16 22:49:46 +00:00
Pawel Kolodziejski 807fffbbfa remove L macro 2009-06-11 07:01:01 +00:00
Pawel Kolodziejski 963c0e0f79 fixed regression in GetShrinkPos opcode 2009-06-10 00:33:22 +00:00
Pawel Kolodziejski 628c20b8d7 * moved camera handler code
* implement handle smush looping from lua param
2009-06-09 15:34:59 +00:00
Pawel Kolodziejski a2d774524b cleanup 2009-06-09 07:59:28 +00:00
Pawel Kolodziejski 22aba28458 attach transparency param 2009-06-08 22:30:50 +00:00
Pawel Kolodziejski 149b315427 cleanup 2009-06-08 22:29:44 +00:00
Pawel Kolodziejski 7d04a75c90 fixed regressions
moved camera callback funcs
split MakeCurrentSetup opcode
2009-06-08 22:25:14 +00:00
Pawel Kolodziejski d8c9a5ddcc disable setting visibility by wrong interpret 5 lua param of func NewObjectState 2009-06-07 20:28:06 +00:00
Pawel Kolodziejski 9acbacd3f6 shut up valgrind 2009-06-06 07:33:34 +00:00
Pawel Kolodziejski 05c4e4f5d3 fix warnings 2009-06-06 07:03:41 +00:00
Pawel Kolodziejski 0d3fbee180 shut up warnings 2009-06-01 19:09:09 +00:00
Pawel Kolodziejski 795a6ac4d9 verified last callbacks 2009-05-31 16:21:49 +00:00
Pawel Kolodziejski fd18e50e8c verified callbacks 2009-05-31 16:09:21 +00:00
Pawel Kolodziejski 0187c3ade2 split monkey lua opcodes 2009-05-31 08:08:39 +00:00
Torbjorn Andersson e90ad4af30 warning() and error() add a ! to the string automatically. 2009-05-31 07:33:18 +00:00
Pawel Kolodziejski d5f7717110 rename lua.cpp -> lua_v1.cpp 2009-05-31 07:14:09 +00:00