Erik Ogenvik
695d435774
Upgrade to C++11.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
371a3bb271
Fixed possible deadlock.
...
Now that we're not using shared_ptr anymore.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
222edd8817
Use correct right angle brackets templates.
...
This is mainly just becuase it looks better. And we can do it now with
C++11.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
5af75cdc9c
Use unordered_map where suitable.
...
This should result in some performance improvements.
Also removed some uses of NULL in favour of nullptr.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
6f2fbf1c93
Disable copying of some base classes.
...
This should be expanded to most classes.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
231cb56517
Replace boost::thread with std::thread.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
4b70b24967
Remove check for boost::thread.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
c3d7b29be5
Replace boost::shared_ptr with std::shared_ptr.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
b949a5e6a4
Replace auto_ptr with unique_ptr.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
2e23cb6237
Update to C++11.
2012-06-16 21:52:32 +02:00
Erik Ogenvik
539505a88b
Added checks for C++11.
...
These are specific to gcc though (as far as I know).
2012-06-16 21:52:32 +02:00
Peter Szücs
12a2a26680
Fix WebEmber.
...
The quit() was moved from Application to MainLoopController,
but it was not updated in WebEmber.
2012-06-16 21:51:44 +02:00
Erik Ogenvik
746ef76e8a
Auto delete should only happen in factory.
...
Else we'll get segfaults when shutting down.
2012-06-10 23:51:34 +02:00
Erik Ogenvik
5d4c1ebbdf
Removed EntityMapping from EmberEntity.
...
This way EmberEntity can be moved to the Ember::Domain namespace.
2012-06-05 22:06:14 +02:00
Erik Ogenvik
d54472126d
Removed the need mapping accessor in EmberEntity.
2012-06-03 20:16:30 +02:00
Erik Ogenvik
7ad70b521c
Clarify use through reference.
2012-06-03 18:12:08 +02:00
Erik Ogenvik
82291b8ebf
Added extra null check.
2012-06-03 18:04:27 +02:00
Erik Ogenvik
dfa02f72eb
Moved initialization of mapping to factory.
2012-06-03 18:02:42 +02:00
Erik Ogenvik
85cc1e5784
Removed obsolete library reference.
2012-06-03 17:19:35 +02:00
Erik Ogenvik
6cd42b66ca
Clean up.
2012-06-03 16:41:23 +02:00
Erik Ogenvik
b00d01815e
Fixed bug with text parsing.
...
Make sure that only one value is returned; else there will be problems
when trying to call C++ methods.
2012-06-03 16:40:34 +02:00
Erik Ogenvik
c0a41c0dc7
Make the ocean bob a little.
2012-06-03 16:16:55 +02:00
Erik Ogenvik
79cab9adf9
Clean up and use copies of materials.
2012-06-02 22:45:13 +02:00
Erik Ogenvik
a456372362
Fix bug with compass upon re-login.
...
The issue was that existing CEGUI imagesets weren't updated. This fixes
an issue where the compass would stop working when logging out and then
in again to a world.
2012-06-02 22:44:15 +02:00
Erik Ogenvik
7ed3d5a4f1
Fixed issue with multiple animations.
...
Make sure that only one animation is running.
2012-05-31 22:05:00 +02:00
Erik Ogenvik
6012f6da7c
Differentiate pushing integer and floats.
...
Since Lua only handles float values the overloading isn't that clear.
2012-05-31 21:18:06 +02:00
Erik Ogenvik
df9933bfb5
Fixed incorrect query flag.
...
The authoring visualizations should act as entities when picked.
2012-05-31 21:17:36 +02:00
Erik Ogenvik
597aead25c
Reorder to prefer double to int.
...
This overload mechanism is brittle and can give rise to strange bugs. We
should probably rename the methods instead.
2012-05-30 23:01:31 +02:00
Erik Ogenvik
89afc7ef6d
Removed some lingering weight attributes.
2012-05-29 20:37:51 +02:00
Erik Ogenvik
a2c7e0d494
Removed debug logging.
2012-05-29 19:34:20 +02:00
Erik Ogenvik
9446d528aa
Removed animation part weight from schema too.
2012-05-28 22:27:34 +02:00
Erik Ogenvik
0cf2f6eb1d
Removed animation part weights.
...
We now use bone ref weights instead.
2012-05-26 17:05:18 +02:00
Erik Ogenvik
6683a947ad
Fixed strange Lua error with creation.
...
For some reason the new() method will return both an instance and a
string.
2012-05-26 16:43:06 +02:00
Erik Ogenvik
3842d4e9b6
Reset all animations when doing reset().
2012-05-26 16:16:11 +02:00
Erik Ogenvik
a3f1cb539d
Fixed incorrect animation stop function.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
9bfbc2de19
Allow weights to be specified per bone group.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
65b7a33bb0
Added ability to show the skeleton.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
45954f7932
Slightly optimize value passing.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
11ac50f1f7
Added ability to switch positioning mode.
...
This makes it easier to inspect some meshes.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
b09dd57cf3
Update render when changing positioning mode.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
fcfe556eb3
Allow editing of speed and iterations.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
b07cd30878
Expanded with more methods for authoring.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
d78869f75e
Removed unused files.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
75e2b18641
Update animation button text when used.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
da38e7e574
Initial work on action previews.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
6d578b1c2a
Added more Lua bindings.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
9de818396e
Simplify event bindings.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
020deecf7c
Use a more functional approach.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
ed14e66a9a
Display models actions.
2012-05-26 16:16:11 +02:00
Erik Ogenvik
1f467d58c5
Provide more Lua bindings.
2012-05-26 16:16:11 +02:00