Commit Graph
451 Commits
Author SHA1 Message Date
Giulio Camuffo c62424bfcb GRIM: Moved the head functions inside the head class. Fix #413
The lookAtRate is per costume, not per actor.
2011-11-04 16:41:09 +01:00
Giulio Camuffo 04959f244c GRIM: Use the Sphere mode only temporarily when walking forward. 2011-10-19 17:02:46 +02:00
Giulio Camuffo 46a8d461e0 GRIM: Fix bounding box calculation. Fix #391 2011-10-18 17:43:35 +02:00
Giulio Camuffo cbeccc9fa6 GRIM: Move some lua related code into LuaBase. 2011-10-13 20:25:50 +02:00
Giulio Camuffo 5ca9cae83c GRIM: Incapsulate the lua opcodes in a class hierarchy. 2011-10-12 17:57:31 +02:00
Giulio Camuffo da552f96f8 GRIM: Don't check collisions if the collision scale is 0. 2011-10-11 18:00:10 +02:00
Giulio Camuffo d9091ce70a GRIM: Default Actor::_collisionScale to 0. 2011-10-11 17:50:39 +02:00
Giulio Camuffo 65da6fece5 GRIM: Fix saving of Actor::_collisionScale. 2011-10-11 17:50:05 +02:00
Giulio Camuffo 7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo d6941173df GRIM: Use an enum for the engine modes instead of the #defines. 2011-10-04 22:01:24 +02:00
Giulio Camuffo 6cdaeca42c GRIM: Handle collisions with other actors when walking to a position. Fix #79 2011-10-04 21:36:07 +02:00
Giulio Camuffo a288749240 GRIM: Save Actor::_puckOrient, _collisionMode and _collisionScale. 2011-10-02 19:05:24 +02:00
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