66 Commits

Author SHA1 Message Date
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Andrea Corna
3032005aad GRIM: Make Model load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Andrea Corna
49071ee661 GRIM: Make Costume and TextSplitter load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Joel Teichroeb
ee81d2bbb3 GRIM: Cleaned some dependancies between files 2011-12-17 21:48:17 -08:00
Giulio Camuffo
4c030baf74 GRIM: No need to make a copy of the nodes hierarchy. 2011-12-12 19:18:33 +01:00
Giulio Camuffo
e6ccad7657 GRIM: Better handling of the bounding boxes for the actors' text objects. 2011-12-12 18:57:17 +01:00
Joel Teichroeb
dac25b0fa8 GRIM: Fix a memory leak with dealocating materials 2011-12-11 14:28:22 -08:00
Giulio Camuffo
46a8d461e0 GRIM: Fix bounding box calculation. Fix #391 2011-10-18 17:43:35 +02:00
Giulio Camuffo
7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17: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
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
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
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
cc4fcd3ffc GRIM: Reload the shared materials with the new colormap. Fix #299 2011-07-27 18:07:35 +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
39c622eadb GRIM: Don't delete a material to reload the same one immediately later. 2011-07-24 17:40:50 +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
38e208c00c GRIM: #includes cleanup. 2011-07-23 12:14:33 +02:00
Giulio Camuffo
f79d0996c6 GRIM: Move arount the functions in model.cpp. 2011-07-22 22:20:48 +02:00
Giulio Camuffo
784f9ce5b9 GRIM: Move Model::HierNode, Mesh and Face outside of Model. 2011-07-22 22:09:49 +02:00
Giulio Camuffo
62befd06f3 GRIM: Share the materials between models in the same hierarchy. 2011-07-18 23:43:01 +02:00
Giulio Camuffo
be59ba1e70 GRIM: Fix the last commit. 2011-07-18 22:23:18 +02:00
Giulio Camuffo
2730eb4a99 GRIM: Remove dead code. 2011-07-18 22:20:16 +02:00
Giulio Camuffo
cabd0d583f GRIM: Make Material implicitly shared. Cleaned up Model a lot. 2011-07-18 22:16:40 +02:00
Joni Vähämäki
2fe7ccb08e GRIM: Disable lighting for models that have lightingMode set to 0. 2011-07-13 14:09:32 +03:00
Joel Teichroeb
013fb385cb Implemented some more functionality for EMI. 2011-06-02 15:34:34 -07:00
Giulio Camuffo
056a5ad1d9 GRIM: Only update the children of the node. Fix #196 2011-06-01 19:08:04 +02:00
Joni Vähämäki
892fa3d995 GRIM: A better fix for removeSprite. 2011-05-25 23:01:25 +03:00
Joni Vähämäki
08e1f09f25 GRIM: Fixed removeSprite not removing the first sprite in the linked list. 2011-05-25 22:51:12 +03:00
Giulio Camuffo
86014e7f65 Merge pull request #171 from Akz-/animation
GRIM: Apply animations in priority order.
2011-05-24 12:21:09 -07:00
Joel Teichroeb
c357c1a45f Tell all the children that their parent is gone. 2011-05-25 01:32:24 +08:00
Joni Vähämäki
6a40b43f16 GRIM: Apply animations in priority order. 2011-05-24 19:47:39 +03: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
Giulio Camuffo
bd9db863a1 GRIM: Initialize HierNode::_sprite when loading from text. 2011-05-15 22:57:45 +02:00
Joni Vähämäki
9f1e7b7601 Remove unnecessary newlines from last commit. 2011-05-15 16:53:28 +03:00
Joni Vähämäki
68c3ce9d90 GRIM: Implemented SpriteComponent. 2011-05-15 16:47:09 +03:00
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Giulio Camuffo
d641e8607d GRIM: Fix some memory leaks. 2011-05-09 21:53:41 +02:00
Pawel Kolodziejski
7cb42a7595 EMI: import costume, model resource loaders from klusark fork with some modifications 2011-05-09 10:00:01 +02:00
Joni Vhmki
ce0cfccc73 Update node's siblings as well in HierNode::update(). 2011-05-08 02:04:23 +08:00
Giulio Camuffo
1b1d0e0b58 GRIM: Rename TextSplitter's getters. 2011-05-05 11:56:36 +02:00
Joni Vhmki
d7a821ebe0 GRIM: Fixed fading so that it works correctly in the case where a chore is faded out and another is faded in simultaneously. 2011-05-02 23:01:43 +08:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
0640dcf2c7 synced with scummvm to 2011-Apr-13 2011-04-14 12:41:26 +02:00
Giulio Camuffo
8323ad6f3a When deleting a Model::HierNode reset the _parent of the _child.
Fixes some memory corruption when deleting costumes.
2011-04-10 18:14:52 +02:00
Pawel Kolodziejski
55415ee174 fix compilation using msvc 2011-04-10 11:24:03 +02:00