98 Commits

Author SHA1 Message Date
Joel Teichroeb
cf44a26ff9 GRIM: Instead of using a assignment operator, just steal the data
This avoids potential memory leaks.
2014-03-30 15:33:27 -07:00
Joel Teichroeb
a010e06bec GRIM: Make data in MeshFace private 2014-03-30 14:38:52 -07:00
Joel Teichroeb
2b90b75f87 GRIM: Make copyMeshFace an assignment operator 2014-03-30 14:20:47 -07:00
Joel Teichroeb
06546bd96d GRIM: Clean up the MeshFace code 2014-03-30 14:02:32 -07:00
Joel Teichroeb
4af2b19577 GRIM: Initialize _userData in BitmapData and Mesh 2014-01-15 09:16:02 -08:00
Einar Johan Trøan Sømåen
d489dd937d GRIM: Set _filename by initializer-list in Model.cpp 2014-01-07 12:27:18 +01:00
Dries Harnie
1ce121eee9 GRIM: Sort model faces by material 2013-11-05 07:29:54 -08:00
Dries Harnie
4f099eb42d GRIM: Move Mesh::draw to GfxBase::drawMesh 2013-11-05 07:29:47 -08:00
Dries Harnie
d97ff82dea GRAPHICS: CreateModel in GfxBase 2013-11-05 07:29:40 -08:00
Dries Harnie
43fcfa765f GRAPHICS: Pass Mesh* to GfxBase::drawModelFace 2013-11-05 07:29:30 -08:00
Joel Teichroeb
c0cb2f1f9c GRIM: Use a consitent style for constructor initializers 2013-10-26 13:57:55 -07:00
Joel Teichroeb
92c48e6637 GRIM: const more paramiters 2013-10-25 07:48:27 -07:00
Joel Teichroeb
bff22e4237 GRIM: Initialize all members of ModelNode 2013-10-24 18:59:49 -07:00
Einar Johan Trøan Sømåen
fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Joel Teichroeb
21afde3846 GRIM: Move Sprite into it's own file 2013-07-07 17:25:35 -07:00
Joel Teichroeb
23f1f4612d GRIM: Initialize Mesh::_faces 2013-07-07 14:37:02 -07:00
Einar Johan Trøan Sømåen
2861f76bca GRIM: Fix build (problem in Model.cpp) 2013-04-21 16:05:32 +02:00
Einar Johan Trøan Sømåen
8bada3d4dd GRIM: Initialize all members of Mesh. 2013-04-21 15:39:39 +02:00
Giulio Camuffo
920875909d GRIM: Make TextSplitter tell the file name on error 2013-02-04 21:36:38 +01:00
Giulio Camuffo
c31551c6f3 GRIM: Set ModelNode::_initialized to true on node loading. 2013-01-19 18:35:36 +01:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Dries Harnie
02a30675a3 EMI: Support for composite sprites 2012-11-28 23:53:24 +01:00
Dries Harnie
60900c2e4a EMI: Move sprite loading into Sprite::loadBinary 2012-11-28 00:28:48 +01:00
Joel Teichroeb
2b48f5c15d GRIM: Reverted some of the changes I made to model as they were just wrong 2012-04-25 17:32:45 -07:00
Joel Teichroeb
4b5321b3cf EMI: Remove old model code 2012-04-24 17:22:16 -07:00
Joel Teichroeb
228187b214 GRIM: Clean up model slightly 2012-04-24 17:21:18 -07:00
Paweł Kołodziejski
1ffa2ed874 Merge pull request #593 from Akz-/joints
GRIM: Animate all three of the head joints
2012-04-08 08:49:25 -07:00
Joni Vähämäki
db74fcf1b1 GRIM: Disable lighting for faces that have _light == 0. Fixes #579 2012-04-08 17:53:03 +03:00
Joni Vähämäki
4fb4e0c320 GRIM: Only compute the world transform matrices for the joint node and its parents, not for every node of the character. 2012-04-08 12:54:42 +03:00
Giulio Camuffo
33e7e9ba7f GRIM: New parser for TextSplitter, locale agnostic. 2012-02-21 19:12:59 +01:00
Joel Teichroeb
7ff91c5817 GRIM: Various cleanups to code 2012-02-04 18:07:24 -08:00
Joel Teichroeb
af7f68db76 GRIM: Fix some memory leaks related to not always freeing streams 2012-01-20 12:06:01 -08:00
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