Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
22f1e3a1eb Enable OpenGL ES2 mode properly.
Fixed shaders.
2012-05-20 01:12:17 +00:00
Lasse Öörni
9408ec74bd Fixed AngelScript object method call crash on Android. 2012-05-20 00:06:26 +00:00
Lasse Öörni
0debc43fed Further Android fixes. 2012-05-19 22:39:30 +00:00
Lasse Öörni
65378ee15b Fixed Android linking & startup issues. 2012-05-19 22:06:58 +00:00
Lasse Öörni
8af8edd603 Android compile fixes. 2012-05-19 18:43:08 +00:00
Lasse Öörni
354f04e6f2 Added Texture::IsCompressed().
OpenGL ES fixes.
2012-05-19 12:17:58 +00:00
Lasse Öörni
040c724485 Fixed access to missing variables. 2012-05-19 10:33:42 +00:00
Lasse Öörni
e34b505ab1 Fixed missing ambient shader combinations. 2012-05-18 23:32:07 +00:00
Lasse Öörni
a47ee41e12 Fixed SM2 shader compile failure. 2012-05-18 23:05:34 +00:00
Lasse Öörni
f9be80a4eb Fixed D3D build. 2012-05-18 07:11:37 +00:00
Lasse Öörni
c3f75ee181 Removed alpha test, as it is deprecated in modern graphics API's. Instead implemented in the pixel shader. 2012-05-18 07:06:36 +00:00
Lasse Öörni
4a5ac216f2 Fixed OpenGL build. 2012-05-17 22:07:05 +00:00
Lasse Öörni
866cd89546 Started work for experimental Android support.
Renamed Signal to Condition.
Do not lock vertex/index buffers when loading a model, instead prepare the data on CPU side, then set it to GPU at once.
2012-05-17 22:03:08 +00:00
Lasse Öörni
6613481147 Slight code reordering. 2012-05-17 17:41:36 +00:00
Lasse Öörni
7331120bac Fixed ragdoll bounding box not updating. 2012-05-16 21:13:27 +00:00
Lasse Öörni
f3f724920c Removed unnecessary include from WorkQueue.
Documentation fixes.
2012-05-16 19:26:07 +00:00
Lasse Öörni
5a54a105fe Eliminated redundant rotation matrix calculations from updating shader parameters.
Prefer GetWorldTransform().RotationMatrix() instead of converting into an intermediate quaternion in Camera.
2012-05-16 18:10:37 +00:00
Lasse Öörni
fbffe32fd8 Synchronized Direct3D renderer function signatures with OpenGL. 2012-05-16 10:45:39 +00:00
Lasse Öörni
78039db8b8 Fixed shader parameter group system for OpenGL renderer. 2012-05-16 10:22:42 +00:00
Lasse Öörni
6f55d9c24e Divided shader parameters into groups for less checking of whether individual parameters need update. 2012-05-16 06:59:27 +00:00
Lasse Öörni
eb9bfbbf36 Simplified AngelScript CMakeLists.txt. 2012-05-15 19:32:25 +00:00
Lasse Öörni
ba7d6e73c7 Handle SDL_QUIT. 2012-05-15 06:22:53 +00:00
Lasse Öörni
5900e3a944 Track the changed SDL window ID properly after screen mode change. 2012-05-14 21:56:26 +00:00
Lasse Öörni
d3e302f197 Added possibility to remove subsystems in explicit order.
Call SDL_Init() & SDL_Quit() from the Graphics subsystem.
Direct SDL events to the proper Input instance based on the window ID.
2012-05-14 19:52:14 +00:00
Lasse Öörni
588c6373ea Applied Piotr's SDL patch. 2012-05-14 16:30:23 +00:00
Lasse Öörni
627d2c94d7 Switched from GLFW & PortAudio back to (modified) SDL 2.0.
Do not draw debug geometry for bones that do not contribute to skinning.
Activate input immediately after title bar drag (Windows) or when the cursor is moved into the client area after title bar drag (Mac & Linux).
2012-05-13 22:28:06 +00:00
Lasse Öörni
5001c19663 Documentation fixes & additions. 2012-05-09 22:29:25 +00:00
Lasse Öörni
d05a89c0a4 Cleanup comments. 2012-05-09 07:22:29 +00:00
Lasse Öörni
d9f9505ae4 Fixed possibility of mistaken procedural event handling if attempted from a script object that does not belong to a ScriptInstance. 2012-05-09 07:21:04 +00:00
Lasse Öörni
8a5d1b5322 Removed the object & module maps from the Script subsystem. Use instead AngelScript userdata to map from script constructs to C++ objects.
Customized asCScriptObject to contain userdata.
2012-05-08 22:40:10 +00:00
Lasse Öörni
e92e3fd138 Tidied up the example scripts to use the KeyDown event instead of polling keypresses. 2012-05-08 20:23:09 +00:00
Lasse Öörni
88b91e129a Do not return negative refcount from an expired weak pointer, but clamp to 0. 2012-05-08 07:17:59 +00:00
Lasse Öörni
6ad8b7dd7e Comments formatting. 2012-05-07 22:34:52 +00:00
Lasse Öörni
f6ca98e0c9 Update rigid body's inertia tensor whenever its transform is forcibly changed, or when it is re-added to the world. 2012-05-07 22:16:25 +00:00
Lasse Öörni
63054db172 Fixed undefined behavior if rigid body was removed as response to the collision event. 2012-05-07 20:38:31 +00:00
Lasse Öörni
958c489be7 Fixed GCC build. 2012-05-07 19:55:48 +00:00
Lasse Öörni
1bfcc7e65c Use const references in value parameters. 2012-05-07 19:50:12 +00:00
Lasse Öörni
0ca75a4d2d Updated documentation. 2012-05-07 19:46:00 +00:00
Lasse Öörni
4666520d0b Improved ragdoll stability in TestScene.
Create ragdolls when hit by the boxes (both TestScene & TestSceneOld.)
Fixed component ID clash when creating ragdolls in networked TestScene.
Constraints can specify rotation frame directly. Specifying the axis is still provided for convenience, but does not give exact control over the orientation.
Constraint adjusts static world position automatically when the own body position is edited.
Optimized away redundant Constraint recreation when deserializing attributes.
Added RemoveComponent by component type to Node.
Show also write-only properties in the generated scripting API documentation.
2012-05-07 19:44:43 +00:00
Lasse Öörni
ceb111c609 Ragdoll tweaks. 2012-05-07 16:05:57 +00:00
Lasse Öörni
2488c6772a Improved ragdoll creation. 2012-05-07 12:38:31 +00:00
Lasse Öörni
70c58f43d9 Added SetWorldPosition() to Constraint.
Initial ragdoll test in TestScene.
2012-05-07 07:30:40 +00:00
Lasse Öörni
9f331e56db Changed Constraint API to specify the other body position / axis explicitly, and to specify limits as Vector2.
Fixed bugs in assigning parented RigidBody transforms after simulation step.
Optimized Constraint SetPosition() / SetAxis() to not recreate the constraint.
2012-05-07 00:15:20 +00:00
Lasse Öörni
b01fc7b60b Added rigid body queries to PhysicsWorld. 2012-05-06 20:29:03 +00:00
Lasse Öörni
c554abccb8 Fixed crash related to incorrect constraint reference tracking. 2012-05-06 17:50:26 +00:00
Lasse Öörni
b636b3a211 Keep track of constraints to release them properly before deleting the rigid body. 2012-05-06 16:20:59 +00:00
Lasse Öörni
5f66411903 Fixed missing calls to MarkNetworkUpdate() in Constraint.
Cleaned up applying constraint limits.
2012-05-06 13:12:27 +00:00
Lasse Öörni
011c8e8e8f Updated version history for impending new release. 2012-05-06 12:38:07 +00:00
Lasse Öörni
0c98c92182 Do not create a new directional light when drawing a fullscreen quad. 2012-05-06 12:33:29 +00:00
Lasse Öörni
8cdc6f69d2 Properly clean up event handlers referring to a deleted object.
Added cone twist constraint.
Added angular motion limits to the slider constraint.
Improved batch group hashing.
2012-05-06 11:59:47 +00:00