Commit Graph
189 Commits
Author SHA1 Message Date
Giulio Camuffo bff2caeb25 GRIM: Reduce code duplication in save and restore of chores. 2011-10-02 18:52:28 +02:00
Giulio Camuffo 0685fce70d GRIM: Implemented the lua opcode L1_ActorPuckOrient(). 2011-10-02 18:41:52 +02:00
Giulio Camuffo 51f7c98b4b GRIM: Use a Chore class to reduce duplication. 2011-10-02 18:31:45 +02:00
Giulio Camuffo 43f32b7fe8 GRIM: Stop the walk chore only if the actor walked. Fix #359 2011-10-02 16:35:31 +02:00
Giulio Camuffo 3e08fb915b GRIM: Fix angles handling in keyframe animations. 2011-09-30 17:43:20 +02:00
Giulio Camuffo f500ed19b7 GRIM: Fix check of start node, without relying on comparinson of floats. Fix #369 2011-09-28 12:08:41 +02:00
Giulio Camuffo 259f35835b GRIM: Optimization in Actor's interface. 2011-09-27 15:01:08 +02:00
Giulio Camuffo 91481a36c3 GRIM: Other angle fixes. 2011-09-27 14:53:20 +02:00
Giulio Camuffo 6e3728b7c7 GRIM: Fix wrong calculation of the angle between two actors. 2011-09-27 14:32:07 +02:00
Giulio Camuffo 26ae6d9dbb GRIM: Fix backward walking. 2011-09-25 18:28:41 +02:00
Giulio Camuffo 43b0b5485e GRIM: Limit the movement in walkForward(). Fix #374 2011-09-25 18:23:27 +02:00
Giulio Camuffo 73684f1fbc GRIM: Rename Scene to Set, and scene.{h,cpp} to set.{h, cpp}. 2011-09-19 16:53:08 +02:00
Giulio Camuffo 3299ee448a GRIM: Adapt to the function names changes in math. 2011-09-18 19:15:06 +02:00
Giulio Camuffo d036ca27dc GRIM: Use the new Math::Angle class. 2011-09-18 16:24:08 +02:00
Giulio Camuffo a900a5ab10 MATH: Further work on the Matrix class.
The vectors are now matrices.
2011-09-14 23:06:14 +02:00
Giulio Camuffo 0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00
George Macon f435e25e7c Include specializations to fix compile on Mac OS 10.7. 2011-09-12 20:37:48 +08: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
Giulio Camuffo cdb12116f7 GRIM: Set the collision mode when walking forward. 2011-09-04 15:27:46 +02:00
Giulio Camuffo 9e260c58a4 GRIM: Implemented the collision handler callback function. 2011-09-04 15:16:07 +02:00
Giulio Camuffo 9b8f540ccd GRIM: Properly implemented the costume marker callback function. 2011-09-03 18:27:53 +02:00
Giulio Camuffo 594d9cf38d GRIM: Added Vector2d's getters and setters for its data. 2011-08-31 14:27:38 +02:00
Giulio Camuffo 41d597c879 GRIM: Keep the z value of the vector. 2011-08-31 14:07:29 +02:00
Giulio Camuffo 7b890e2b7b GRIM: Calculate the best position when colliding with an actor. 2011-08-30 18:46:19 +02:00
Giulio Camuffo e40734303b GRIM: Removed the g_currentUpdatedActor hack. 2011-08-24 16:51:44 +02:00
Giulio Camuffo ec053cd9f5 GRIM: Improve calculation of bounding box. 2011-08-02 19:17:32 +02:00
Giulio Camuffo b065107263 GRIM: Partially implemented collisions between actors in walkForward(). 2011-08-01 22:16:15 +02:00
Giulio Camuffo f0bd13f006 GRIM: Stubbed L1_SetActorCollisionMode and L1_SetActorCollisionScale. 2011-08-01 15:12:57 +02:00
Giulio Camuffo a15bad1979 GRIM: Fix check of empty string. Fix #315 2011-07-30 23:15:56 +02:00
Giulio Camuffo 356d95a475 GRIM: Play the mumble chore if the talk chores are not set. Fix #311 2011-07-30 22:20:59 +02:00
Giulio Camuffo 6a07ec6331 GRIM: Don't put the start position in the path calculated by walkTo. Fix #302 2011-07-29 21:35:40 +02:00
Giulio Camuffo 5826d46265 GRIM: Some fixes with the lipsync and talk chores. 2011-07-29 16:14:19 +02:00
Giulio Camuffo 32a1815ff9 GRIM: Document some Actor's methods. 2011-07-29 11:08:05 +02:00
Giulio Camuffo abfa56a336 GRIM: Don't stop the talk chores, but set them at the last frame. Fix #305 2011-07-28 15:52:38 +02:00
Giulio Camuffo 7a8354d429 GRIM: Don't run the stop_talk chore looping. Fix #295 2011-07-28 14:46:51 +02:00
Giulio Camuffo 33ead92fe6 GRIM: Fix lipsync loading. 2011-07-27 12:09:23 +02:00
Giulio Camuffo 580f8f3881 Revert "GRIM: Compose the fadings on the keyframe animations."
Turned out original doesn't compose the fadings, so it's better
not to do that.
This reverts commit 9c90270ff2.
2011-07-27 12:04:36 +02:00
Giulio Camuffo 9c90270ff2 GRIM: Compose the fadings on the keyframe animations. 2011-07-27 11:25:06 +02:00
Giulio Camuffo 78df81f282 GRIM: Don't try to stop the rest chore when it's already stopped. Fix #289 2011-07-26 19:00:35 +02:00
Giulio Camuffo 48fb1532db Revert "GRIM: The rest chore must always play. Fix #291"
This reverts commit 131f441549.
2011-07-26 17:36:00 +02:00
Giulio Camuffo 131f441549 GRIM: The rest chore must always play. Fix #291 2011-07-26 17:21:09 +02:00
Giulio Camuffo ceb9ddb199 GRIM: Draw the subtitles even if "background" is true. 2011-07-26 16:33:36 +02:00
Giulio Camuffo 5d0a6ea56b GRIM: Don't wait for the bounding box if the actor is not in the set. 2011-07-26 00:16:55 +02:00
Giulio Camuffo 02d9907657 GRIM: Don't crash if the text object was deleted in the meantime. 2011-07-26 00:07:44 +02:00
Giulio Camuffo 54e1478e85 GRIM: Calculate the bounding box of the meshes only if necessary. 2011-07-25 23:42:07 +02:00
Giulio Camuffo 5f59fff5b3 GRIM: Move the debug levels enum in a separate header. 2011-07-23 15:37:14 +02:00
Giulio Camuffo 16c19523b9 GRIM: Play looping the stop chore only once. Fix 275 2011-07-22 23:50:58 +02:00
Giulio Camuffo 692ce7685f GRIM: Some header cleanups. 2011-07-22 22:40:49 +02:00
Giulio Camuffo 39c6553e61 GRIM: Store the message id in TextObject::_textID, not the message itself.
Fix #274
2011-07-22 16:00:14 +02:00
Joni Vähämäki 811c494859 GRIM: Stop rest/walk/turn chores when transitioning to another chore. 2011-07-20 22:32:12 +03:00