Joel Teichroeb
2649620a9b
GRIM: Fix some small memory leaks
2012-01-25 20:35:58 -08:00
Einar Johan T. Sømåen
cd58c8c9f1
EMI: Start work on implementing a sound-engine for EMI
...
This adds both a splitting-class for choosing between iMuse and EMISound,
as well as EMISound, which handles the sound-channels for EMI, and
SoundTrack, which has a test-implementation in VimaTrack, that allows for
playing back the voice-tracks in the demo.
2012-01-14 08:18:43 +01:00
Joel Teichroeb
ca90fd30bd
GRIM: Remove the disabled paramiter from textobject as it is not needed
2012-01-12 15:19:17 -08:00
Paweł Kołodziejski
e350c7f777
renames
2012-01-06 23:29:45 +01:00
Joel Teichroeb
9e792f7ff4
GRIM: Fix some issues with text objects. Fixes #440 , #441
2011-12-21 12:16:11 -08:00
Giulio Camuffo
c55abd8980
GRIM: Pass around the frame time as a uint, not a float.
2011-12-16 15:22:02 +01:00
Joel Teichroeb
7a7082d564
GRIM: Fixed a small leak with not properly clearing the shadow planes on Actor restore
2011-12-12 12:18:20 -08:00
Giulio Camuffo
e6ccad7657
GRIM: Better handling of the bounding boxes for the actors' text objects.
2011-12-12 18:57:17 +01:00
Giulio Camuffo
6cbd5e9f51
GRIM: Make sure to draw the shadows behind the actors with the OpenGL renderer.
...
It fixes bug #297 when playing with the GL renderer.
2011-12-12 12:30:21 +01:00
Giulio Camuffo
353c42effe
GRIM: Use the new foreach macro.
...
Modify a bit PoolObject::Pool to allow it to be used with foreach.
2011-11-21 22:07:12 +01:00
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