Commit Graph

719 Commits

Author SHA1 Message Date
Dander7BD 76e4b23f19 Added documentation
Mathematical exercise on how to convert angular momentum to angular
velocity
2014-01-23 14:54:53 +01:00
lindaandersson fb2cf714c6 GL - sending dir to server, forward and backward walking works 2014-01-23 14:28:53 +01:00
lindaandersson 07e5519850 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-23 09:25:02 +01:00
lindaandersson 8c297d1e9b GL - starting to send lookdir to server 2014-01-23 09:24:55 +01:00
Erik Persson bd739f8acb GL - Creation of objects kinda sorted 2014-01-23 09:14:04 +01:00
Erik Persson 121fd51c45 GL collision with level should worm 2014-01-23 08:57:46 +01:00
lindaandersson 3f144289ec GL - merge with gameserver, crash on collision in gameLogic 2014-01-23 08:30:26 +01:00
lindaandersson a591903d8f Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-23 08:25:10 +01:00
lindaandersson f657a58a4f GL - adding a camera on the client 2014-01-23 08:24:35 +01:00
lanariel 6b1dd34a72 Working SSAO + Read Animated .dan 2014-01-22 16:31:33 +01:00
Erik Persson 6a888cb154 GL - adjusting collisionManager 2014-01-22 15:47:44 +01:00
Robin Engman 9c18ba14b9 Fixed kinetic calculation 2014-01-22 15:29:50 +01:00
Dennis Andersen 22a5db97f8 Added final protocols, and a bit of support for them on server side 2014-01-22 15:22:52 +01:00
Erik Persson 467cf1eb68 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-22 14:41:53 +01:00
Erik Persson ce80e8155c GL - formatting mistake 2014-01-22 14:39:10 +01:00
Erik Persson 43eac4cbe3 moved ForcePushAction for massdriver to collisionManager 2014-01-22 14:26:45 +01:00
Robin Engman bcbe67b620 Made default value of onCollisionResponse null 2014-01-22 14:09:53 +01:00
Robin Engman 53961f0e88 Added new onCollisionResponse handle 2014-01-22 13:50:54 +01:00
Erik Persson 80204ecbe3 GL - Massdriver usage of applyeffect 2014-01-22 13:02:13 +01:00
Robin Engman 0cae6261e9 ApplyEffect is now easier to handle for the user
Only needs a function with a pointer to an ICustomBody now.
2014-01-22 12:36:12 +01:00
Sam Mario Svensson 0443e753e8 GameLogic, Uml for levelLoader updated 2014-01-22 11:32:11 +01:00
Erik Persson c178ec34fd Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-22 10:51:24 +01:00
Erik Persson db593f65a2 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-22 10:51:13 +01:00
Sam Mario Svensson 1b86500ab0 GameLogic - Uml for LevelLoader 2014-01-22 10:39:16 +01:00
Erik Persson 954de26b43 GL - mergeproblems 2014-01-21 16:11:02 +01:00
Erik Persson 0aae9de92b blah 2014-01-21 16:10:07 +01:00
Erik Persson ebaa668382 Major updates to Collision handling with the class CollitionManager. changes started on the massdriver 2014-01-21 16:09:39 +01:00
lindaandersson 6cf5ed3a22 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-21 14:58:08 +01:00
Robin Engman 5c85580ffd Added gravity normal to state struct 2014-01-21 14:56:34 +01:00
lindaandersson 8792aab992 GL - merge with gameServer 2014-01-21 14:36:46 +01:00
Dennis Andersen 50c09547f3 GameServer - Added protocols and stuff 2014-01-21 14:32:42 +01:00
lindaandersson 561418c427 GL - gravity working 2014-01-21 14:28:27 +01:00
Robin Engman 39e4f7881b Added typedef for collision response 2014-01-21 14:24:45 +01:00
Robin Engman b0227ab513 Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2014-01-21 14:11:17 +01:00
Robin Engman 090d44b518 Added visit function to API
Called with collideable and hit action
2014-01-21 14:10:31 +01:00
Dander7BD 65db1bf90d lerp fix 3 2014-01-21 12:11:30 +01:00
Dander7BD 0d39240fc2 lerp fix 2 2014-01-21 12:08:31 +01:00
Dander7BD b422d2d509 lerp fix 2014-01-21 12:01:12 +01:00
Robin Engman 94f1c20817 Added more data to rigid body description.
Friction and restitution coeffs
2014-01-21 11:48:04 +01:00
Dander7BD ea647c185c Merge branch 'LERP' into Physics 2014-01-21 11:23:32 +01:00
Dander7BD 9a2d2b9490 Interpolation methods referred in ::Oyster::Math & Math3D 2014-01-21 11:23:03 +01:00
Dander7BD 408d51e46b SnapAxisYToNormal_UsingNlerp implemented 2014-01-21 11:15:33 +01:00
lindaandersson c7b3c1ec30 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-21 10:38:03 +01:00
lindaandersson 06d468299a GL - linking problem fix 2014-01-21 10:37:45 +01:00
Dander7BD 43e5561995 Gravity fix 3 2014-01-21 10:34:22 +01:00
Dander7BD 7087421bb9 InterpolateAxisYToAxis_Nlerp implemented 2014-01-21 10:32:44 +01:00
lindaandersson a1d98b9357 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-21 10:05:03 +01:00
lindaandersson 44929f005d Merge remote-tracking branch 'origin/GameServer' into GameLogic 2014-01-21 10:03:51 +01:00
Dander7BD 76723cf2d8 Gravity fix 2 2014-01-21 09:58:33 +01:00
Dennis Andersen f7f59e8ac8 GameServer - Added more protocols and modified old ones a bit. Also added a new project that starts both server and client 2014-01-21 09:52:48 +01:00
Dander7BD 98563b6c33 Gravity fix 2014-01-21 09:27:52 +01:00
Dander7BD 748023bf9e Vector Nlerp fix 2014-01-21 08:57:18 +01:00
Dander7BD 2ec8662a83 Utility::Value::Clamp 2014-01-20 18:46:08 +01:00
Dander7BD 28fbcebf98 general lerp & vector nlerp 2014-01-20 18:45:34 +01:00
Dander7BD 24a6e7478e Merge remote-tracking branch 'origin/Physics' into Sprint3 2014-01-20 17:08:52 +01:00
Dennis Andersen 0a41d20099 GameLogic - Merged with graphics 2014-01-20 16:36:25 +01:00
Dennis Andersen 386b27e2f7 GameLogic - Merge with sprint2.5 2014-01-20 16:17:01 +01:00
Dennis Andersen 7cdfa726ea GameLogic - Merged with Sprint2.5, fixed physics errors 2014-01-20 16:09:58 +01:00
Dennis Andersen 1a3c63cda9 GameLogic - fixed some minor merging errors 2014-01-20 16:02:26 +01:00
Dennis Andersen ab2a3a3892 GameLogic - fixed some minor merging errors 2014-01-20 16:01:54 +01:00
Dennis Andersen 6c3c234be1 GameLogic - pree-sprint merge 2014-01-20 15:47:52 +01:00
Dander7BD 0107745c7e Disable rotation
disabled at:
* RigidBody::Update_LeapFrog
* SimpleRigidBody::SetState
* SphericalRigidBody::SetState
2014-01-20 15:31:19 +01:00
Dander7BD 82d1a03450 ICustomBody :: Custom Tag added 2014-01-20 13:44:12 +01:00
lindaandersson a1128986d5 Merge with Gamle Logic 2014-01-20 11:59:43 +01:00
Dander7BD 0b8ecd740a Added ICustombody event subscription
ICustomBody::EventAction_Move
if an object have moved, an event can now be subscribed.

External Impact:
ICustomBody
SimpleBodyDescription
SphericalBodyDescription
2014-01-20 11:29:43 +01:00
Dander7BD a8c87273e2 Gravity normal fix
Forgot to update that value. Done
2014-01-20 11:29:42 +01:00
Dander7BD 80c835be58 BoxVsBox pointOfContact fix
it was not translated
2014-01-20 11:29:42 +01:00
Dander7BD ff4a39cdac Gravity implemented 2014-01-20 11:29:41 +01:00
Dander7BD 337c92a5b8 Added Equal operators to Gravity struct
== & !=
2014-01-20 11:29:40 +01:00
Dander7BD 0f3c92cd52 Obsolete code removed
More commentated out than deleted actually
2014-01-20 11:29:39 +01:00
Robin Engman acb344ca44 Added missing mass and inertia 2014-01-20 11:29:39 +01:00
Dander7BD 2dfe312e04 AngularVelocity fix 2014-01-20 11:29:38 +01:00
Dander7BD a41d53b911 Revert "Inertia tensor fix"
This reverts commit 23dab9dea6.
2014-01-20 11:29:37 +01:00
Dander7BD 461d153036 Inertia tensor fix
should produce radian anglevelocities
2014-01-20 11:29:37 +01:00
Dander7BD 34dc27655b Tangiential formula fixes 2014-01-20 11:29:36 +01:00
Dander7BD f2c6cc5306 Revert "Work asssignment split line"
This reverts commit 8ecd263318.
2014-01-20 11:29:35 +01:00
Dander7BD 2314935f48 linear coll. resp. fix add
fix didn't cover all cases. Now it do
2014-01-20 11:29:35 +01:00
Dander7BD ee5e5ff8ce linear collision response fix
moved improved version of Robin's implementation
2014-01-20 11:29:34 +01:00
Dander7BD 727b2acb82 angular collision response fix
Incorrect formula found and corrected
2014-01-20 11:29:33 +01:00
Dander7BD 502513d4f8 Work asssignment split line 2014-01-20 11:29:33 +01:00
Dander7BD 7834264e5f Physics proj .. show all files should be set to false
That is how we in Physics rolls
2014-01-20 11:29:32 +01:00
Erik Persson ce4c57bab3 GL - player inherits dynamicobject instead of object 2014-01-20 08:40:41 +01:00
Dennis Andersen b85439bd5e Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-18 18:01:23 +01:00
Dander7BD f660a5c64e Added ICustombody event subscription
ICustomBody::EventAction_Move
if an object have moved, an event can now be subscribed.

External Impact:
ICustomBody
SimpleBodyDescription
SphericalBodyDescription
2014-01-17 16:07:25 +01:00
Dander7BD 7c448792dd Gravity normal fix
Forgot to update that value. Done
2014-01-17 13:30:07 +01:00
lanariel 893934dcf4 Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
Conflicts:
	Code/Tester/MainTest.cpp
2014-01-17 09:07:42 +01:00
lanariel ab0b9a925a /Graphics Fixed stable pipeline with no warnings 2014-01-17 09:05:18 +01:00
bladdidoo 61b8baed1b Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
Conflicts:
	Code/OysterGraphics/Shader/HLSL/Deffered Shaders/GBufferHeader.hlsli
	Code/Tester/MainTest.cpp
2014-01-17 08:58:49 +01:00
Erik Persson eaf0ae1479 GL - can now compile 2014-01-17 08:52:34 +01:00
bladdidoo c48f640cdf Loading .Dan geometry and material 2014-01-17 08:51:12 +01:00
lindaandersson 7b2be02113 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-16 12:26:33 +01:00
lindaandersson a168328a44 GL - movement with physics working!! 2014-01-16 12:26:14 +01:00
Erik Persson d08e999f07 Create level and initiate it with a rigidbody etc 2014-01-16 12:08:24 +01:00
Erik Persson df7801336a Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-16 11:40:58 +01:00
Erik Persson 225d8912da GL - make rigidbody level 2014-01-16 11:40:29 +01:00
Dander7BD 36a8372072 Merge branch 'Gravity' into Physics 2014-01-16 11:36:31 +01:00
Dander7BD 2e32ac02fa Merge remote-tracking branch 'origin/CollisionResponse' into Physics 2014-01-16 11:36:18 +01:00
Dander7BD 27b6affd6a BoxVsBox pointOfContact fix
it was not translated
2014-01-16 11:28:07 +01:00
Erik Persson 0080a9f6f2 small name changes 2014-01-16 11:17:19 +01:00
Erik Persson 8f3befecf4 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-16 11:16:26 +01:00
Erik Persson 567fa229eb small name changes 2014-01-16 11:07:45 +01:00
lindaandersson a070e4d459 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-16 09:30:30 +01:00
lindaandersson aac92bc20e GL- send new player pos to client 2014-01-16 09:30:16 +01:00
lanariel 483236801f Fixed compile warnings and crash on non existing models 2014-01-16 09:30:01 +01:00
lindaandersson 0c8783ba84 GL - merge done 2014-01-15 12:02:52 +01:00
lindaandersson 8557559b9b GL - going to merge 2014-01-15 11:57:36 +01:00
Dennis Andersen 5f00aa7af7 GL - Merge with origin/Gamelogic 2014-01-15 11:45:34 +01:00
Erik Persson 208482b0ce GL merge error 2014-01-15 11:25:59 +01:00
Dennis Andersen ceac5ce31d Modified namespace around Threadsafe queue and IQueue. Added TCP_NODELAY to sockets. Implemented some functionality to gamelogic 2014-01-15 11:03:25 +01:00
Dander7BD 44e071fba9 Gravity implemented 2014-01-15 10:44:31 +01:00
Dander7BD 7a48e058da Added Equal operators to Gravity struct
== & !=
2014-01-15 10:44:20 +01:00
Dander7BD e9ad87507f Obsolete code removed
More commentated out than deleted actually
2014-01-15 09:06:57 +01:00
lindaandersson 9a32c44e49 GL - Merge branch 'GameLogic' 2014-01-15 08:19:35 +01:00
lindaandersson 0ffe26c134 GL - Merge client with gameserver 2014-01-15 08:18:06 +01:00
Robin Engman 8c7a17ff8f Added missing mass and inertia 2014-01-14 11:58:53 +01:00
Dander7BD 8f630125b4 AngularVelocity fix 2014-01-14 11:42:54 +01:00
Dander7BD 89ef3b830a Revert "Inertia tensor fix"
This reverts commit 23dab9dea6.
2014-01-14 11:40:47 +01:00
Dander7BD 23dab9dea6 Inertia tensor fix
should produce radian anglevelocities
2014-01-14 11:32:02 +01:00
Dennis Andersen 54babfc7c7 Gameserver - Merged with Gamelogic 2014-01-14 10:38:35 +01:00
Dander7BD 01e7614a5c Tangiential formula fixes 2014-01-14 10:34:22 +01:00
Erik Persson 4c1be4d807 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
Conflicts:
	Code/Game/GameLogic/Game.cpp
2014-01-14 10:33:08 +01:00
Dennis Andersen 87b8c0c7bb Gameserver - Merged with Gamelogic 2014-01-14 10:29:39 +01:00
Erik Persson 54240b217c GameLogic - game interface updated(not finnished)
förlåt dennis
2014-01-14 10:28:12 +01:00
lindaandersson 32e64c0dbb GL - moved reciever struct to a separate file 2014-01-14 10:25:49 +01:00
Dennis Andersen 82de85d1ac Fixed minor server network bug, modified shader to get visual 2014-01-14 10:15:50 +01:00
Dennis Andersen 844aa37906 Merge branch 'Graphics' of https://github.com/dean11/Danbias into GameServer 2014-01-14 09:25:39 +01:00
Dennis Andersen 97cba4248d GameServer - Added more protocols. Divided the code in gamesession into several .cpp files 2014-01-14 09:25:22 +01:00
lindaandersson eb6ed13cce Merge remote-tracking branch 'origin/Graphics' into GameLogic 2014-01-14 09:25:16 +01:00
lindaandersson 04c5898f4e GL - sending string and createOBJ working 2014-01-14 09:24:55 +01:00
Dander7BD 8aa5ad7723 Revert "Work asssignment split line"
This reverts commit 8ecd263318.
2014-01-14 09:16:54 +01:00
Dander7BD cc68088298 linear coll. resp. fix add
fix didn't cover all cases. Now it do
2014-01-14 09:14:17 +01:00
Dander7BD 50b5b2dbf9 linear collision response fix
moved improved version of Robin's implementation
2014-01-14 09:12:37 +01:00
Dander7BD c1c3b5e6af angular collision response fix
Incorrect formula found and corrected
2014-01-14 09:02:46 +01:00
Dennis Andersen eb9360377d GameServer - Merged with other half of GameLogic 2014-01-13 12:50:27 +01:00
Dennis Andersen ce89e6bc98 GameServer - Fixed some minor bugs, one that made server crash on exit. Also integrated some of GameLogics new API functions 2014-01-13 12:44:33 +01:00
lindaandersson 792f78c34a GL- adding client UML, trying AddObj protocol with down-button. Problem with sending char* 2014-01-13 12:11:45 +01:00
Dander7BD 8ecd263318 Work asssignment split line 2014-01-13 10:25:20 +01:00
Dennis Andersen 2b5a5b2fbd GameServer - Merge with gamelogic 2014-01-10 23:36:03 +01:00
Erik Persson 059b3dd5e4 GameLogic - Basic game interface made (functions not yet implemented) 2014-01-10 12:33:15 +01:00
lindaandersson f6ba81cd44 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-10 10:48:29 +01:00
lindaandersson c541d032e7 GL - can move a obj on the client via the server 2014-01-10 10:47:54 +01:00
Erik Persson 586031aa94 GameLogic - making sure GameLogic uses the new physics api 2014-01-10 10:08:42 +01:00
Dennis Andersen 40892bfee5 Merge branch 'Network' of https://github.com/dean11/Danbias into GameServer 2014-01-10 09:28:32 +01:00
Dander7BD e575fff610 Physics proj .. show all files should be set to false
That is how we in Physics rolls
2014-01-10 08:53:20 +01:00
Dennis Andersen 7262535454 Added some more UML-stuff 2014-01-09 14:19:12 +01:00
Dennis Andersen a02a32c029 Network now closes listener gracefully, meaning threads dont crash anymore, also fixed a minor bug in Game folder 2014-01-09 14:18:01 +01:00
Erik Persson 52ba5602d5 GameLogic - player now using some of the new phys api 2014-01-09 13:06:18 +01:00
Erik Persson 48b9189a03 Revert "state"
This reverts commit 4a07586076.
2014-01-09 12:51:17 +01:00
Erik Persson 4a07586076 state 2014-01-09 12:43:32 +01:00
Dander7BD 8b85d1f539 Bug fixing 2014-01-09 11:48:21 +01:00