Commit Graph
2570 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 b19088cfab GRIM: Set PauseAtEnd as repeat mode when fading in a not active keyframe.
This fixes the guys in bi, which were not really fixed.
2011-09-30 17:53:00 +02:00
Giulio Camuffo 3e08fb915b GRIM: Fix angles handling in keyframe animations. 2011-09-30 17:43:20 +02:00
Giulio Camuffo ba10e07422 MATH: Normalize the angle only if/when requested. 2011-09-30 17:42:26 +02:00
Giulio Camuffo 846afc03a8 MATH: Adapt the angle to the new range. 2011-09-29 22:14:41 +02:00
Giulio Camuffo b7010c4c1d MATH: Fix wrong angle management when below the lower range boundary. 2011-09-29 22:12:32 +02:00
Giulio Camuffo 85dc64840a GRIM: Improve test of wether a point is in a sector. 2011-09-29 22:05:33 +02:00
Giulio Camuffo c2e10f32bd GRIM: RotateVector() sends the angles roll, yaw, pitch in this order. Fix #375 2011-09-29 15:31:57 +02:00
Giulio Camuffo 7745dcb8a1 MATH: Fix conversion from MatrixBase to Matrix. 2011-09-29 15:31:27 +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 e7789748cc Revert "GRIM: Fading or stopping an animation must not change its paused state."
This reverts commit 9aa04ad7e8.
The bug that was fixed by that (that is, sudden standups of characters in bi)
seems to have been fixed by something else, and in return it broke manny's movement
when he lets the wine leak out of the barrel in hk. So, reverting it.
2011-09-27 12:00:23 +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 cd6832aad7 MATH: Fix crash with mac osx. Fix #363 2011-09-22 21:39:29 +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 afe8ea49a8 GRIM: Remove two FORBIDDEN_SYMBOL_EXCEPTION defines. 2011-09-18 22:06:22 +02:00
Giulio Camuffo 3299ee448a GRIM: Adapt to the function names changes in math. 2011-09-18 19:15:06 +02:00
Giulio Camuffo 1ae91bd8a9 MATH: Make some global functions static function members. 2011-09-18 19:14:25 +02:00
Giulio Camuffo 59d219c955 MATH: Fix two warnings. 2011-09-18 18:52:44 +02:00
Giulio Camuffo bcf08a706a GRIM: More descriptive names for some methods. 2011-09-18 18:46:20 +02:00
Giulio Camuffo 8495fe34a3 GRIM: Set the material texture only when needed, not every frame. Fix #367 2011-09-18 18:28:36 +02:00
Giulio Camuffo ee547b8da1 MATH: Speedup. 2011-09-18 18:28:36 +02:00
Giulio Camuffo 3f4795b0e0 Merge pull request #364 from bgK/for_upstream
Fixes for Bink and the overlay
2011-09-18 08:12:28 -07:00
Giulio Camuffo f480f8ecc8 MATH: Minor fixes. 2011-09-18 17:10:36 +02:00
Giulio Camuffo 8fb5b6e002 GRIM: Some minor fixes. 2011-09-18 17:10:12 +02:00
Giulio Camuffo d036ca27dc GRIM: Use the new Math::Angle class. 2011-09-18 16:24:08 +02:00
Giulio Camuffo 96aaf1ad81 MATH: Use the new Angle class. 2011-09-18 16:23:55 +02:00
Giulio Camuffo 32a669e80b MATH: Add an Angle class. 2011-09-18 16:19:06 +02:00
Bastien Bouclet fc4eb85fff VIDEO: Fix Bink bundle count lenghts to be computed as ffmpeg does.
Fixes several movies in Myst 3.
2011-09-18 09:41:55 +02:00
Bastien Bouclet 6284ccbc3d SDL: Restore OpenGL's previous state after displaying the overlay 2011-09-18 09:41:42 +02:00
Giulio Camuffo 243081610a MATH: Call the base constructor with the template arguments. Fix #362 2011-09-17 21:40:37 +02:00
Giulio Camuffo f2ee09aef1 Merge pull request #349 from giucam/math_work
Overhaul of the matrix and vector classes
2011-09-17 09:58:19 -07:00
Giulio Camuffo 3fecc996c8 MATH: Renamed the static operators functions. 2011-09-17 18:57:12 +02:00
somaen 742516b7e4 Merge pull request #347 from vpelletier/master
Don't crash if no splash screen was used.
2011-09-16 10:17:34 -07:00
Giulio Camuffo d983ec1d8d MATH: Remove redundant license header. 2011-09-15 19:02:47 +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 34a7398293 MATH: Moved Rotation3D to its own file. 2011-09-14 23:06:06 +02:00
Giulio Camuffo fb359369d8 MATH: New utils.h file with common functions. 2011-09-14 23:06:00 +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
Giulio Camuffo e9267cfec5 GRAPHICS: Overhaul of the matrix classes.
New Matrix<rows, cols> and Transform<T> (with T a matrix) classes
to ease the creation of different matrix classes.
2011-09-14 23:05:44 +02:00
Giulio Camuffo 25b3704c68 COMMON: New overloads for char and void* for the stream debug interface. 2011-09-14 22:53:51 +02:00
Giulio Camuffo b89fb79216 Merge pull request #348 from JenniBee/mingw32-compile
Fixed compilation on mingw32.
2011-09-14 05:24:22 -07:00
JenniBee 6024979f32 Fixed compilation on mingw32. 2011-09-14 07:09:42 -04:00
George Macon f435e25e7c Include specializations to fix compile on Mac OS 10.7. 2011-09-12 20:37:48 +08:00