Commit Graph

1280 Commits

Author SHA1 Message Date
lindaandersson 6e9423670f Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-02-04 08:56:32 +01:00
Dander7BD d4bd72bb4a Friction fix
special case; no movement
special case; movement directly into surface
.. dealt with
2014-02-04 08:55:57 +01:00
Pontus Fransson 50d28a5784 Misc - Still having problems with template with eventhandler. 2014-02-04 08:46:20 +01:00
lindaandersson 1f28c05983 GL - added jump 2014-02-03 16:30:47 +01:00
lindaandersson 03385f486b Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-02-03 16:22:11 +01:00
lindaandersson cf73524e3b Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-02-03 16:21:57 +01:00
lindaandersson e21cfe4cd4 GL - merge with Erik 2014-02-03 16:21:48 +01:00
Erik Persson 2c3b1e5038 GL - using real dmg algorithm 2014-02-03 16:20:50 +01:00
Dander7BD 358cddfd9a SnapAngularAxis fix
floating point error there acos param could be slightly higher than 1.
Caused it to return undefined.
A clamp ought to fix it.
2014-02-03 16:20:16 +01:00
lindaandersson ab962eea99 GL - added error check 2014-02-03 16:20:05 +01:00
Erik Persson 7f29b62c6f GL - YOU CAN NOW SHOOT STUFF YAAAAY 2014-02-03 16:19:24 +01:00
lindaandersson c08c3d2b53 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-02-03 15:52:15 +01:00
lindaandersson a3886c4f1f GL - added models and started to fix camera movement 2014-02-03 15:52:00 +01:00
Dander7BD 8b0e1b2426 Big patch! New feature :)
Objects will now rebound back when colliding.
2014-02-03 15:48:55 +01:00
Erik Persson d77b3d92d8 GL - using movetolimbo in massdriver pickup functionallity 2014-02-03 15:45:48 +01:00
Erik Persson f1f56fc769 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-02-03 15:38:36 +01:00
Erik Persson 99b041f165 GL - first implementation of weapons forcepull with pickup functionallity 2014-02-03 15:32:58 +01:00
Pontus Fransson dc5b408196 Network - Updated network api with comment. 2014-02-03 15:32:20 +01:00
Robin Engman f527d329a2 Added limbo functionality 2014-02-03 15:15:47 +01:00
Pontus Fransson e7fee8b2e7 GL - Updated LevelLoader. Added lights.
Added lights.

Changed the return type to vector<SmartPointer<ObjectTypeHeader>>

Hid the LevelParser from the outside.
2014-02-03 14:50:27 +01:00
lanariel 34f58d4140 Anim Testing 2014-02-03 12:09:11 +01:00
Robin Engman b8e6b83148 Momentum "fall-off" added
Temporary till real fluid drag is implemented.
2014-02-03 11:10:04 +01:00
Erik Persson 8f234611d2 GL - mergeissues fixed 2014-02-03 10:48:12 +01:00
Robin Engman 50d895d37c Applied friction
Needs to be tested.
2014-02-03 10:45:25 +01:00
Erik Persson ef71b365ab asd 2014-02-03 10:42:40 +01:00
Pontus Fransson 9671eb8ee9 Misc - Having problems with template with events. 2014-02-03 10:41:54 +01:00
Dennis Andersen a673e64694 GameServer - Pre-merge with graphic 2014-01-31 22:52:52 +01:00
Dennis Andersen 5aede62af6 Gameserver - Merge with gamelogic 2014-01-31 22:36:43 +01:00
lindaandersson 83ca3c2ff2 GL - remove buttons from GL branch 2014-01-31 16:43:18 +01:00
lindaandersson 5b263caccd GL - merge with GL 2014-01-31 16:42:25 +01:00
lindaandersson 89a538e887 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 16:33:32 +01:00
lindaandersson e327f64702 GL - can play with two characters 2014-01-31 16:33:16 +01:00
lanariel 069acee8cc Anim Error 2014-01-31 16:29:50 +01:00
Dander7BD fabf471e76 Removed malign obsolete hack fix 2014-01-31 15:58:02 +01:00
Pontus Fransson 6f264f5e7b Misc - EventHandler fixed all errors. 2014-01-31 15:38:12 +01:00
lindaandersson 0ae551f2d8 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 15:31:03 +01:00
Dander7BD 8f576c9a75 Removed malign obsolete hack fix 2014-01-31 15:30:23 +01:00
lindaandersson e82e61374a Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 15:18:19 +01:00
lindaandersson 7b503bcb52 GL - working with snap 2014-01-31 15:17:09 +01:00
Dander7BD b3656a0527 Gravity fix 2014-01-31 15:15:08 +01:00
Pontus Fransson e7d592e71a Merge branch 'GameLogic-MessageHandler' of https://github.com/dean11/Danbias into GameLogic-MessageHandler
Conflicts:
	Code/Misc/EventHandler/EventButton.h
2014-01-31 15:07:55 +01:00
Pontus Fransson dbe8b4706b Misc - Changed to no template/template 2014-01-31 15:06:30 +01:00
Sam Mario Svensson e76dfc73f2 Misc - EventButton changed to inheritance 2014-01-31 15:06:25 +01:00
lindaandersson c318223bcf Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 14:41:24 +01:00
Dander7BD 2a816469d5 SnapAngularAxis fix 2014-01-31 14:40:09 +01:00
Pontus Fransson d5f285c089 Misc - Test 2014-01-31 14:31:27 +01:00
lindaandersson 26fed11910 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 14:30:53 +01:00
Sam Mario Svensson 8f83dcd413 GL- Eventbutton implemented 2014-01-31 14:29:49 +01:00
Dander7BD 22d0722dfa SnapAngularFix
compilation fix
forgot to remove a copy pasted comma
2014-01-31 14:29:49 +01:00
Dander7BD 79872a45ee SnapAngularAxis fix + added overload
compilation error fix
+ Float3 version
2014-01-31 14:27:33 +01:00
Pontus Fransson a864ad81e7 Misc - EventHandler, EventCollection updated. 2014-01-31 14:16:58 +01:00
Erik Persson 16f535bfa3 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
Conflicts:
	Code/Game/GameLogic/AttatchmentMassDriver.cpp
	Code/Game/GameLogic/Game_PlayerData.cpp
	Code/Game/GameLogic/Level.cpp
2014-01-31 14:16:32 +01:00
Erik Persson b753387649 asd 2014-01-31 14:14:20 +01:00
Erik Persson 16a342da49 GL - adjusting in GL, added forcepushData struct for passing args when shooting. connect changes in network 2014-01-31 14:05:52 +01:00
lindaandersson 57c230d458 GL - will merge with physics 2014-01-31 13:56:22 +01:00
Dander7BD 7a62121fa0 SnapAngularAxis fix
accidently used asin instead of acos
2014-01-31 13:49:09 +01:00
Dander7BD ac635ccaef SnapAngularAxis fix 2014-01-31 13:47:40 +01:00
Dander7BD 190f7e2882 SnapAngularAxis introduced 2014-01-31 13:42:55 +01:00
Robin Engman c7bc7281d8 Prefix for "sinking" objects 2014-01-31 13:41:06 +01:00
Pontus Fransson d6769ac62f Misc - EventHandler, EventCollection 2014-01-31 13:06:11 +01:00
Pontus Fransson 8ee8374169 Misc - EventHandler 2014-01-31 11:28:01 +01:00
Pontus Fransson e3376eba7c Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 11:11:48 +01:00
Pontus Fransson da9b615994 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
Conflicts:
	Code/Game/DanBiasGame/DanBiasGame_Impl.cpp
2014-01-31 11:10:35 +01:00
Dennis Andersen 21cb7731b7 Merge with GL 2014-01-31 11:03:45 +01:00
Dennis Andersen cac38decca MISC - Fixed a bug in ResourceLoader 2014-01-31 11:00:04 +01:00
lindaandersson fa7f400c71 GL - test this robin 2014-01-31 10:58:03 +01:00
Dennis Andersen c9c562fda6 GameServer - Added some functionality in windowshell 2014-01-31 10:50:38 +01:00
Pontus Fransson e718048f7f GL - Lan State 2014-01-31 10:49:52 +01:00
lindaandersson 4df6b849a6 GL - working with new models and server 2014-01-31 09:39:44 +01:00
Dennis Andersen 34b6b29fc4 GameLogic - Merged with GL 2014-01-31 09:24:16 +01:00
Erik Persson 31feccf284 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
Conflicts:
	Code/Game/DanBiasGame/GameClientState/GameState.cpp
	Code/Game/GameLogic/Game.cpp
2014-01-31 09:17:54 +01:00
lindaandersson a6ff6eba42 GL - merge with server 2014-01-31 09:14:55 +01:00
Erik Persson c30db71e94 GL - more testing and changes to the level and using the physics API 2014-01-31 09:12:15 +01:00
Dennis Andersen 40f0fe61f0 GameServer - Fixed Protocols not recieveing properly and fixed the resource loader. 2014-01-31 08:41:08 +01:00
Pontus Fransson cec022b381 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-30 23:24:16 +01:00
Pontus Fransson 3c1eed0f3f GL - Added LanMenuState 2014-01-30 23:23:37 +01:00
Pontus Fransson 3b8a8e9c09 Network - Fixed receiving parts of packages. 2014-01-30 23:22:46 +01:00
lindaandersson bb8e92ec36 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-30 15:20:44 +01:00
lindaandersson 0aa39275e3 GL - only client with server update server. Update recieverfunction 2014-01-30 15:20:35 +01:00
Erik Persson ae6a570a12 GL - trying to make walking nice 2014-01-30 15:12:53 +01:00
Sam Mario Svensson 4167b6a93b GL- merge fix 2014-01-30 15:02:35 +01:00
lindaandersson 2bb2d0cd56 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2014-01-30 14:58:30 +01:00
Dander7BD 0a04c1c9f1 Added document 2014-01-30 14:52:40 +01:00
lindaandersson 713dc269d1 Merge branch 'GameServer' of https://github.com/dean11/Danbias into GameLogic 2014-01-30 14:18:00 +01:00
lindaandersson 05e24d0514 GL - uppdate server 2014-01-30 14:17:50 +01:00
Dennis Andersen 09f39ec26d GameServer - Added acces directly to clients in network session 2014-01-30 14:15:25 +01:00
Sam Mario Svensson 261421af21 Merge remote-tracking branch 'origin/GameLogic-LevelFormat' into GameLogic 2014-01-30 13:44:18 +01:00
Sam Mario Svensson c78bbba3eb GL- Removed commentet unnecessary code 2014-01-30 13:33:59 +01:00
lindaandersson 2a69af5c9f GL - merge 2014-01-30 12:01:48 +01:00
lindaandersson 1ccf98e3eb GL - added loginstate 2014-01-30 11:58:44 +01:00
lindaandersson d41ddca45d Merge branch 'GameServer' of https://github.com/dean11/Danbias into GameLogic 2014-01-30 11:13:42 +01:00
Erik Persson 323b7322fa GL - testing 2014-01-30 11:11:45 +01:00
Dennis Andersen 05740665da GameServer - Fixed a small error regarding not reaching some data 2014-01-30 11:11:04 +01:00
lindaandersson a249e7ede9 GL - merge with new serverAPI 2014-01-30 10:57:44 +01:00
lindaandersson 09693c7f35 GL - merge 2014-01-30 09:40:58 +01:00
lindaandersson 7d9d8e4615 GL - added jump 2014-01-30 09:07:56 +01:00
Dennis Andersen fa29cd7307 GameServer - Merged with GameLogic 2014-01-30 00:19:00 +01:00
lindaandersson c593fd2225 Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-29 16:02:11 +01:00
lindaandersson 44ba45bcc2 GL - added setCollisionfunc to object 2014-01-29 16:01:56 +01:00
Dennis Andersen 1e89bb4e30 Fixed protocol messaging. Known crash when recieveing protocol on server after a while... 2014-01-29 15:01:14 +01:00
Dander7BD 88e67ff876 Inertia big patch
It's ali-..WORKS! It works!
2014-01-29 14:57:39 +01:00
lindaandersson 446bdd412b GL - updated constructors to set before and after collision response functions 2014-01-29 14:33:21 +01:00
lindaandersson 3a9c47722a Merge remote-tracking branch 'origin/Physics' into GameLogic 2014-01-29 13:18:25 +01:00
lindaandersson 16334ea2db GL - collision working, going to merge with physics 2014-01-29 13:18:17 +01:00
Robin Engman aa99742894 Added epsilon value for testing 2014-01-29 12:22:18 +01:00
Robin Engman 1d3b073e7f Added functionallity to stop collision responses 2014-01-29 11:22:04 +01:00
Robin Engman 4ccf11b5d6 Fixed vector issue 2014-01-29 10:54:59 +01:00
Dennis Andersen 36f057d2cc Broekn branch not broekn more 2014-01-29 10:18:01 +01:00
Dander7BD 60062feb07 Documentation update
Math treatises
2014-01-28 17:51:02 +01:00
Sam Mario Svensson f968adebeb GL - LevelLoader = done and done 2014-01-28 16:15:10 +01:00
lindaandersson 3b552d5361 GL - change gamelogic to use the new physics 2014-01-28 15:44:32 +01:00
lindaandersson 9ccfebd9fd GL - merge with physics 2014-01-28 15:43:32 +01:00
lindaandersson a56fcbcb9b GL - can send object position from level objects, gravity and frustrum problems. 2014-01-28 15:04:25 +01:00
lanariel 99a605a25b Iterpolated Animations 2014-01-28 13:48:15 +01:00
Robin Engman 15ae3675b4 Updated UML with functions 2014-01-28 13:39:15 +01:00
Sam Mario Svensson 2b63563a9b Merge branch 'GameLogic-LevelFormat' of https://github.com/dean11/Danbias into GameLogic-LevelFormat 2014-01-28 11:30:59 +01:00
Sam Mario Svensson d2ebad7445 GL - Fixed ParseFunction so now we only have 1 + specialcases functions instead of 1 function for every case 2014-01-28 11:29:35 +01:00
Pontus Fransson 4de1c1aafd GL - More Object structs, LevelLoader api comments.
Changed the LevelParser to use the new functions from ParserFunctions.
Might need to cast something to (void*).
2014-01-28 11:27:29 +01:00
Robin Engman eb27a4edfb Added ExtractForward to frustum. 2014-01-28 10:38:58 +01:00
Robin Engman 6148783fe4 Added args to ApplyEffect 2014-01-28 10:18:26 +01:00
Robin Engman f96c5a9f7e Changed float4 to float3 2014-01-28 09:52:58 +01:00
Robin Engman 018d6e3c5a Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2014-01-28 09:25:07 +01:00
Robin Engman 5d1e05cc4e Added new function to set orientation. 2014-01-28 09:24:51 +01:00
Dander7BD 6be72da03a OysterPhysics3D updated
* changed Float4 in header API to Float3
* removed all Set...( Float4x4 ) methods
2014-01-28 09:24:09 +01:00
Robin Engman a07e2911de Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2014-01-28 09:01:50 +01:00
Robin Engman 5bf92757a5 State struct fixed since last inactivation. 2014-01-28 09:01:35 +01:00
Dander7BD 201095eb41 Merge remote-tracking branch 'origin/Moment-of-Inertia' into Physics 2014-01-28 09:00:47 +01:00
Dennis Andersen 91e825dbfb Broekn stuff to tobias 2014-01-28 09:00:02 +01:00
Dander7BD 4d6cfaf046 ... part 3 -_- 2014-01-28 08:57:14 +01:00
Dander7BD 4e4aaf881a Inactivated code part 2
Matrix to angularAxis conversions in OysterMath
2014-01-28 08:56:29 +01:00
Dander7BD cbdce81b20 Inactivated code
Matrix to Angular Axis
2014-01-28 08:54:20 +01:00
lanariel 9cf82dd3b1 Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
Conflicts:
	Code/DanBias.sln
	Code/OysterGraphics/Model/Model.h
	Code/OysterGraphics/Shader/HLSL/Deffered Shaders/PostPass.hlsl
	Code/Tester/Tester.vcxproj
2014-01-27 15:38:09 +01:00
Dander7BD 87793b3926 Added documentation
Timestep Impulse fix treatise / proposition
2014-01-27 15:04:48 +01:00
Sam Mario Svensson dd2b214122 GL- la in memcpy för parsing i parseFunctions 2014-01-27 14:57:18 +01:00
Erik Persson e11dc6551c GL - ? 2014-01-27 14:45:19 +01:00
lindaandersson a8dbf2a4c9 GL - added test box to level 2014-01-27 14:43:39 +01:00
lanariel 15625ac5d2 Basic Animation (NOT STABLE) 2014-01-27 14:24:13 +01:00
lindaandersson 3896514bae GL - mergecommit 2014-01-27 14:02:37 +01:00
Sam Mario Svensson 99fbef8a64 Merge branch 'GameLogic-LevelFormat' of https://github.com/dean11/Danbias into GameLogic-LevelFormat 2014-01-27 13:57:42 +01:00
Sam Mario Svensson 91bf6ce901 GL- LevelFormat fix 2014-01-27 13:57:18 +01:00
lindaandersson 4085a5f5e2 GL - added shot protocol 2014-01-27 13:56:31 +01:00
Erik Persson 1ed1bab751 Created test box that should now be shot at by the player 2014-01-27 13:55:09 +01:00
Pontus Fransson 51a1b3ecff GL - Resource get size 2014-01-27 13:55:05 +01:00
lindaandersson 5b984db9ba GL - gameState merge 2014-01-27 13:25:09 +01:00
Sam Mario Svensson d6432b2c73 Merge branch 'GameLogic-LevelFormat' of https://github.com/dean11/Danbias into GameLogic-LevelFormat 2014-01-27 10:16:25 +01:00
Sam Mario Svensson 1748fe323a GL - Added Parsing functions for levelLoader and moved Packing classes to misc 2014-01-27 10:15:39 +01:00
Pontus Fransson e188794aa3 GL - Load level in LevelParser 2014-01-27 10:14:02 +01:00
Erik Persson 74ac5e2d31 Updated creation of objects 2014-01-27 08:54:25 +01:00
Dander7BD 30054a8c23 Slerp compile fix 2014-01-24 17:48:49 +01:00
Dander7BD b4eb3eb25d Slerp
Quaternion Slerp
2014-01-24 17:39:09 +01:00
Dander7BD 2da3dd29fc InterpolateOrientation_UsingNonRigidNlerp 2014-01-24 16:32:54 +01:00
Dander7BD 8f63bf637e Physics UMLET diagram
Current state under sprint 3
2014-01-24 15:03:03 +01:00
Sam Mario Svensson 3c1d66e3f8 Merge branch 'GameLogic-LevelFormat' of https://github.com/dean11/Danbias into GameLogic-LevelFormat
Conflicts:
	Code/Dokumentation/LevelLoader.uxf
	Code/Game/GameLogic/GameLogic.vcxproj
2014-01-24 10:42:19 +01:00
Sam Mario Svensson c84ed645f0 GameLogic - implementation of LevelLoader 2014-01-24 10:22:18 +01:00
Pontus Fransson aaf3bf30f9 GL - LevelParser half way implemented. 2014-01-24 10:01:58 +01:00
Pontus Fransson 0f5517398d GL - Update uml, LevelParser.h.cpp ObjectDefines.h 2014-01-24 09:00:59 +01:00
Dander7BD ff936133fc Physics engine now using struct MomentOfInertia
Some API impact for the other modules.
* Desc. structs
* State struct
2014-01-23 19:13:02 +01:00
Dander7BD c3ed5e78ac struct ::Oyster::Physics3D::MomentOfInertia 2014-01-23 18:45:33 +01:00
Dander7BD ee5392c60d Vector::PiecewiseMultiplicationAdd
and a few other minor changes in the math lib
2014-01-23 18:34:48 +01:00
Dander7BD 163481ce4f Documentation edit
Were missing a final step about the ang. momentum toang. velocity
conversion documentation.
2014-01-23 18:33:48 +01:00
Dander7BD ff1fbdffa1 Vector::PiecewiseMultiplication 2014-01-23 17:13:50 +01:00
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
Dander7BD c13ed71cca post merge removed excess created files
Gravity struct commit brought excess junk files
2014-01-09 11:44:37 +01:00
Dander7BD 938447879f post merge + minor edits
derepetifified code in struct Gravity
and some cosmetic consistency edits.
2014-01-09 11:36:55 +01:00
Dander7BD c39e2fe791 Merge remote-tracking branch 'origin/PhysicsStructs' into Verifying-Gravity-struct
Conflicts:
	Bin/Content/Shaders/LightPass.cso
	Code/GamePhysics/PhysicsStructs-Impl.h
2014-01-09 11:03:25 +01:00
Dander7BD 687ffa4f99 struct State::GetView() overload
Can now provide an offset vector as argument
2014-01-09 10:42:22 +01:00
lanariel 0a3d68a407 Small bug fix and include new SSAO shader 2014-01-09 01:08:49 +01:00
Dennis Andersen 42de421904 Master - Modified igore 2014-01-08 13:07:55 +01:00
Dennis Andersen 73302bf171 Added UML-documents 2014-01-08 12:45:48 +01:00
lanariel 7c567ec360 SSAO and frame counter 2014-01-08 07:01:59 +01:00
Dennis Andersen ed202a15a2 Worked over the holidays 2014-01-07 10:26:09 +01:00
Dennis Andersen 0065779205 Added comments where the physic generated errors due to big patch 2013-12-21 17:37:30 +01:00
Dander7BD fba52398c3 Merge remote-tracking branch 'origin/Physics' into Sprint2 2013-12-20 12:18:30 +01:00
Dander7BD 4d3032dc81 postmerge compile error fix 2013-12-20 12:13:12 +01:00
Dander7BD ca90b3ae3b OnPossibleCollision updated 2013-12-20 12:08:33 +01:00
Robin Engman a440cffb0e Added function to get delta time
Now in local physics API
2013-12-20 12:08:32 +01:00
Robin Engman 66e93fbdae SimpleRigid functions mirrored in SphericalRigid
The functions added to SimpleRigidBody has been added to
SphericalRigidBody too.
2013-12-20 12:08:31 +01:00
Dander7BD ec0f0e0d14 SimpleRigidBody::Predict(..) added 2013-12-20 12:08:30 +01:00
Dander7BD d163b7d8cf Partial SimpleRigidBody update end 2013-12-20 12:08:30 +01:00
Dander7BD 9a67e7ef3d RigidBody::Move(..) added 2013-12-20 12:08:29 +01:00
Dander7BD 604a17056c Partial SimpleRigid update 2013-12-20 12:08:28 +01:00
Dander7BD c4bbc09a97 CustomBodyState::ApplyForwarding(..) added 2013-12-20 12:08:28 +01:00
Dander7BD 9aa584acc7 RigidBody::Predict_Leapfrog(..) added
needed for collision response rewinding/forwarding
2013-12-20 12:08:27 +01:00
Dander7BD ec9f2379c7 Minor bug fixes in math librrary 2013-12-20 12:08:26 +01:00
Dander7BD bbc489eac9 RigidBody improved and Gimbal lock proofed 2013-12-20 12:08:25 +01:00
Dander7BD ff52977dcf Bug fixes
including a hack
2013-12-20 12:08:24 +01:00
Dander7BD 461fecd1d2 Bug fixing
SimpleRigidBody::GetNormal returned wrong results.
Second bounce impulse in OnPossibleCollision, should be subtracted
instead of added.
2013-12-20 12:08:24 +01:00
Dander7BD 9b9e549a5e bug fix in bool Intersect( const Box &box, const Sphere &sphere, Float4 &worldPointOfContact ) 2013-12-20 12:08:22 +01:00
Dander7BD 840f000ec9 Bug fix in API_Impl OnPossibleCollision(...) 2013-12-20 12:08:22 +01:00
Dander7BD 4ebb8cd9b8 Minor edit in CustomBodyState 2013-12-20 12:08:21 +01:00
Dander7BD 4e21e2b0c0 Renamed Formula::CollisionResponse::Impulse to..
.. Formula::CollisionResponse::Bounce
2013-12-20 12:08:20 +01:00
Dander7BD 24418603ad ICustomBody::GetNormal returns Float4::null if..
.. no normal can be decided.
2013-12-20 12:08:20 +01:00
Dander7BD 76c83add3d Added sanity check to SphericalRigidBody::GetNormalAt 2013-12-20 12:08:19 +01:00
Dander7BD 42418257cb CustomBodies now aware of it's scene
+ other minor changes
2013-12-20 12:08:18 +01:00
Robin Engman 59d5a3dc1e Created function for friction 2013-12-20 12:08:17 +01:00
Dander7BD 9cee69edd6 Extended friction content of the ICustomBody::State struct 2013-12-20 12:08:17 +01:00
Robin Engman 56dec6cf5d Added "alpha" friction
Alpha means that the friction is not tested and most likely needs
tweaking.
2013-12-20 12:08:16 +01:00
Dander7BD 09e55ddc30 SimpleRigidBody::GetNormalAt Done
implemented by using RayVsPlane tests
2013-12-20 12:07:46 +01:00
Dander7BD 5051a9e767 Major StateStruct and API update 2013-12-20 12:07:45 +01:00
Dander7BD 96bf20e5ae compile errors fixed 2013-12-20 12:07:43 +01:00
Dander7BD dbb0c38432 Big patch
Loads of collision response related implementations/edits
2013-12-20 12:07:43 +01:00
Robin Engman 9cdbe2c861 Added algorithms for collision stubs 2013-12-20 12:01:08 +01:00
Dander7BD e8952dc739 CollideAble implementations updated 2013-12-20 12:01:07 +01:00
Dander7BD 632570f66b Updated the BoxVsBox collision alghorithm
and added overloaded
2013-12-20 12:01:06 +01:00
Dander7BD a03568e19e Updated formula for BoxVsBox point of contact
good enough approximation. Tested
2013-12-20 12:01:05 +01:00
Dander7BD ec6cd72f3c SeperatingAxisTest_AxisAlignedVsTransformedBox overloaded 2013-12-20 12:01:05 +01:00
Dander7BD 4858f573e6 Added more collision subs 2013-12-20 12:01:04 +01:00
Robin Engman d8b323e230 Extractable collision point for SphereVSSphere 2013-12-20 12:01:03 +01:00
Dander7BD a3ced24fea Some compile error fixes 2013-12-20 12:01:02 +01:00
Robin Engman 61e1d20748 Fixed const problem 2013-12-20 12:01:02 +01:00
Robin Engman 5f305b7086 Oops 2013-12-20 11:59:38 +01:00
Robin Engman 283633c6c6 Added stub functions
More funcitonallity for intersect functions.
2013-12-20 11:59:37 +01:00
Dander7BD de0078265c Stub response to new ICollideAble method
Stubbed: Box, BoxAxisAligned, Frustrum
Fully implemented: Line & Universe
2013-12-20 11:59:36 +01:00
Dander7BD da996a5deb Added cirtual function to ICollideAble
Overload of Intersects(...)
2013-12-20 11:59:35 +01:00
Dander7BD c854b1af58 Stuff 2013-12-20 11:59:35 +01:00
Linda Andersson 15dc962709 Merge branch 'Graphics' of https://github.com/dean11/Danbias into GameLogic 2013-12-20 11:40:07 +01:00
Erik Persson d3721fcada last updates
random stuff
2013-12-20 11:10:36 +01:00
Dennis Andersen be39365a27 Gamelogic - Merged with existing stuff 2013-12-20 09:47:24 +01:00
Dennis Andersen 15d6ac8cf9 GameLogic - Final sprint2 merge 2013-12-20 09:42:02 +01:00
Linda Andersson ea5fc78817 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-20 09:04:30 +01:00
Linda Andersson 606cb10f8b GL - removed server include from gameLancher 2013-12-20 09:04:18 +01:00
Erik Persson f4232ca0b4 gamplay code in gamesession 2013-12-20 08:59:59 +01:00
Dennis Andersen 694d5576d7 GameLogic - Pre-merge with physics 2013-12-19 15:35:49 +01:00
Linda Andersson ecf1c5fc36 GL - delete timer 2013-12-19 14:32:52 +01:00
Tobias Grundel 855860d454 Gravity struct
Unions are the devil's work, but now there's GravityWell, Directed and
DirectedField structs implemented in PhysicsStructs
2013-12-19 14:30:16 +01:00
Linda Andersson ea59c25119 GL - mergeing error 2013-12-19 13:49:46 +01:00
Linda Andersson bb61b83392 GL - merge 2013-12-19 13:46:01 +01:00
Dennis Andersen d68fd63b25 Added server launcher 2013-12-19 13:35:56 +01:00
Dennis Andersen 0570d76e24 Modified part of some player states 2013-12-19 12:41:37 +01:00
Dennis Andersen 934aa6e45a Merge 2013-12-19 12:34:59 +01:00
Dennis Andersen beb116e964 Fixed some threafing and stuff 2013-12-19 12:32:23 +01:00
Linda Andersson 27aad0d86f Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-19 11:58:54 +01:00
Linda Andersson ba6f7114b5 GL - added id in object, vector 2013-12-19 11:58:42 +01:00
Erik Persson e68001da0e testing updated
message to client about object creation, message to client about player
movement
2013-12-19 11:46:11 +01:00
Linda Andersson 057dce0aca GL - merge errors 2013-12-19 10:31:59 +01:00
Linda Andersson 13430f31fc GL - merge and some more protocols 2013-12-19 10:22:32 +01:00
Erik Persson 0ea08fbd54 gamesession testing 2013-12-19 10:21:03 +01:00
lanariel 341e33ee78 Rebased Lights to Use World Coordinates 2013-12-18 20:36:41 +01:00
lanariel 3139585e7b Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
Conflicts:
	Code/OysterGraphics/DllInterfaces/GFXAPI.cpp
	Code/OysterGraphics/Shader/HLSL/Deffered Shaders/LightPass.hlsl
	Code/OysterGraphics/Shader/HLSL/Deffered Shaders/VertexGatherData.hlsl
	Code/Tester/MainTest.cpp
2013-12-18 20:29:24 +01:00
lanariel 718b1ade2b Proper Lighting, supports Multiple Lights 2013-12-18 20:28:06 +01:00
Linda Andersson a4907c8e2e GL - control protocol added 2013-12-18 15:28:47 +01:00
Dennis Andersen 92b3525587 GameLogic - Cleanup after erik ;) 2013-12-18 13:12:11 +01:00
Dennis Andersen 33d045de1a GameLogic - Merge with Erik 2013-12-18 13:10:47 +01:00
Dennis Andersen 8721224d7c GameLogic - Added alot of functionality to Game related parts 2013-12-18 13:07:10 +01:00
Erik Persson f5490bf111 using a global id in object 2013-12-18 13:01:25 +01:00
Linda Andersson 0c98e2847d GL - added some protocols 2013-12-18 12:18:01 +01:00
Linda Andersson e16c939285 GL - using window manager, fixed consistent linking in danBiasGame 2013-12-18 10:47:30 +01:00
Dennis Andersen e9c5a49778 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-18 08:44:18 +01:00
Dennis Andersen 347b546566 GameLogic - some minor fixes 2013-12-18 08:44:10 +01:00
Erik Persson 2daf93987a team fix 2013-12-18 08:41:31 +01:00
Dennis Andersen 1eceb6095f Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-18 08:37:55 +01:00
Dennis Andersen bf5cc69ff7 GameLogic - Added Postbox system to netsession 2013-12-18 08:37:45 +01:00
Erik Persson 4d7be753c5 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-18 08:32:20 +01:00
Erik Persson 8173f3818d gamelogic update and added some level design elements
teammanager, team,
2013-12-18 08:30:58 +01:00
Pontus Fransson d4e92d4bbe Network - Fixed clear string in Translator. 2013-12-18 00:21:00 +01:00
Pontus Fransson 745268eeed Network - Removed line so it doesn't causes error. 2013-12-18 00:15:21 +01:00
Pontus Fransson 623267ad1b Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-18 00:10:47 +01:00
Pontus Fransson fc8dba6610 Network - Fixed Unpackb.
Changed Unpackb to "*buffer" instead of "buffer".
2013-12-18 00:08:50 +01:00
Pontus Fransson e1d0150ef1 Network - OysterByte += should now work correctly. 2013-12-18 00:07:24 +01:00
Pontus Fransson 4df33b759c Network - char[] unpacking.
Fixed correct unpacking on char[].
Fixed not clearing string in translator unpack function.
2013-12-18 00:04:25 +01:00
Dennis 6f48e6a13a Deffered Render Update 2013-12-17 14:49:45 +01:00
Dennis Andersen 8700824d12 Gamlogic - Merge with Linda 2013-12-17 14:32:57 +01:00
Dennis Andersen 097fa1da34 GameLogic - Pre merge with Linda 2013-12-17 14:15:20 +01:00
Linda Andersson 9d722bced3 GL - recieve messages from server 2013-12-17 13:39:10 +01:00
Dennis Andersen 682a28513b Gamelogic - Merge with network 2013-12-17 11:35:34 +01:00
Pontus Fransson 7c029a5242 Network - Fixed bugs 2013-12-17 10:58:07 +01:00
dean11 8667e14afb Merged with Linda after merge conflicts 2013-12-17 10:28:44 +01:00
dean11 4650615a61 Gamelogic - Pre merge with Linda 2013-12-17 10:25:34 +01:00
Linda Andersson 5d1d64bebb GL - trying to send move protocol 2013-12-17 10:07:46 +01:00
Pontus Fransson cbf3c7db8f asd 2013-12-17 09:05:49 +01:00
Pontus Fransson f31da90830 Network - Connection set blocking to true while connecting. 2013-12-17 09:05:32 +01:00
Pontus Fransson 23a05bf431 Network - OysterByte += operator 2013-12-17 08:45:47 +01:00
dean11 abc94e9acb Nothing important done 2013-12-17 00:51:42 +01:00
Pontus Fransson e4e0e1c189 Network - Fixed delay loading dll. 2013-12-16 19:58:31 +01:00
Linda Andersson 3ee25f0112 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-16 11:08:22 +01:00
Linda Andersson dc3221ee11 GL - set pos function for C_models 2013-12-16 11:08:10 +01:00
dean11 ec3c5f1290 Gamelogic - Added threading functionality to NetworkClient 2013-12-16 11:05:24 +01:00
Sam Mario Svensson 1c8f9c7801 Fixed link errors with dll files 2013-12-16 11:04:21 +01:00
dean11 b351a7bac4 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-16 10:02:41 +01:00
dean11 6bfe7711ab Gamelogic - Modified gameprotocol id:s 2013-12-16 10:02:30 +01:00
Linda Andersson b60166a6e8 GL - connect to server, need right IP 2013-12-16 09:55:51 +01:00
dean11 0d5b84a7dd Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-16 09:54:05 +01:00
dean11 7cda07507a GameLogic - Pre merge with Netowkr 2013-12-16 09:50:23 +01:00
Pontus Fransson 8a8cfcc5d6 Network - Forgot to use Initiateclient(). 2013-12-16 09:48:41 +01:00
Linda Andersson fa1473455f GL - added C_obj files, client obj in game state to send input 2013-12-16 09:45:12 +01:00
Pontus Fransson 0c6badb749 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into Network 2013-12-16 09:11:18 +01:00
dean11 34d79d1207 Gamelogic - Forgot some stuff 2013-12-16 09:09:54 +01:00
Pontus Fransson 3a752f6b95 Network - Merge with gamelogic 2013-12-16 09:09:48 +01:00
dean11 9eb8fcba40 Gamelogic - Publication to others... 2013-12-16 09:00:11 +01:00
Pontus Fransson 7acb3a3613 Network - 2013-12-16 08:59:38 +01:00
dean11 17aa38d865 GameLogic - Merge with network, resolved 2 merging errors 2013-12-14 22:54:24 +01:00
dean11 f29f50f830 Merged with Gamelogic branch and fixed errors and added features 2013-12-14 22:04:42 +01:00
dean11 8b1c2b91e8 Fixed some craches and stuff 2013-12-13 23:47:16 +01:00
Linda Andersson c41f5dda3f Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-13 12:03:04 +01:00
Linda Andersson 7c1d19946d GL - Connection to network in clinet 2013-12-13 12:02:49 +01:00
Erik Persson f1f9f4d20a added include string in level.h 2013-12-13 11:11:51 +01:00
Erik Persson 7817003db8 updated h.files
description, started with level concept
2013-12-13 11:09:09 +01:00
Pontus Fransson 94ccd91828 Network - Added comments 2013-12-13 08:23:54 +01:00
Pontus Fransson 2ddb984a2b Network - Fixed bugg, and small fixed
Using sizeof in MessageHeader class.
Fixed bugg in Translator.
2013-12-13 08:17:05 +01:00
dean11 4617523f8b Gamelogic - Commit because branch switch 2013-12-12 20:32:54 +01:00
Pontus Fransson 092f83a084 Network - Id on client and == operator. 2013-12-12 15:33:11 +01:00
dean11 a3e4262c08 Merge with Other part of gamelogic(DanbiasGame) 2013-12-12 14:44:06 +01:00
dean11 71d31db884 GAMELOGIC - Fixed a minor major huge issue with no problems 2013-12-12 14:37:35 +01:00
dean11 42fa756866 GameLogic - Merge with util fixed 2013-12-12 14:29:56 +01:00
Pontus Fransson 94651ec77a Network - Added stop in listener destructor. 2013-12-12 14:14:48 +01:00
dean11 693b9df928 Some wierd stuff is going on here 2013-12-12 12:54:08 +01:00
dean11 d0bd60c856 Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-12 12:23:55 +01:00
Pontus Fransson c661d26d2a Network - Not deleting smart pointers anymore. 2013-12-12 12:23:35 +01:00
Erik Persson c63e9f1c08 Some comments on the massdriver and player 2013-12-12 12:21:19 +01:00
dean11 a5ee468795 Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-12 12:17:52 +01:00
dean11 9b9a92556a Pre-merge with network, (again) 2013-12-12 12:17:39 +01:00
Erik Persson 8f36f64c4f updated AttatchmentMassDriver and CollisionManager
weapon attatchments now have a owner(player) to facillitate the weapon
manipulating the player using it.

CollisionManager now works with a tag void* in the rigidbody to link
with a game object instead of the RefManager component
2013-12-12 12:16:13 +01:00
Pontus Fransson e9b41f8cb8 Network - Fixed copy construct 2013-12-12 12:14:53 +01:00
dean11 2ea252919a Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-12 10:37:40 +01:00
dean11 af7f0e01a8 Pre-network merge, (again) 2013-12-12 10:36:55 +01:00
Pontus Fransson 49cfbbebd5 Network - Changed to CustomProtocolObject on send. 2013-12-12 10:32:43 +01:00
Erik Persson c801ab829a Merge remote-tracking branch 'origin/Physics' into GameLogic
Conflicts:
	Bin/Content/Shaders/TextureDebug.cso
2013-12-12 10:10:52 +01:00
Robin Engman c740bd5935 Added some data to PhysicsAPI
GetRigidLinearVelocity() and void* as reference to game object.
2013-12-12 10:02:35 +01:00
Erik Persson 2424b51c3e Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
Conflicts:
	Bin/Content/Shaders/DebugVertex.cso
2013-12-12 09:39:27 +01:00
dean11 0adb831f7a Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic 2013-12-12 09:36:30 +01:00
Erik Persson e11d7d94f7 updated the weapon system, collisionManager and redid the "object" heirarki 2013-12-12 09:36:14 +01:00
dean11 fd3776a53b GameLogic - Pre-network merge 2013-12-12 09:33:59 +01:00
Pontus Fransson 04436258a5 Network - Non-blocking 2013-12-12 09:24:57 +01:00
Pontus Fransson bbe59836da Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-12-11 21:45:51 +01:00
Pontus Fransson 5a3188d5f6 Network - NetworkServer, NetworkClient, Translator
First version of the NetworkAPI. It should work.
2013-12-11 21:45:43 +01:00
Linda Andersson 22665bc44b GL - started using network and protocols for sending/recieveing 2013-12-11 12:14:00 +01:00
Linda Andersson bb789faa67 GL - merge with network - fixed dependencies in launcher project 2013-12-11 09:00:36 +01:00
dean11 d95d771c43 Network - Merged with Gamelogic 2013-12-10 14:00:20 +01:00
dean11 eb0b5ec0ee Network - Removing old gamelogic stuff before replacing them with new stuff 2013-12-10 13:38:25 +01:00
Linda Andersson 465ea1bd19 GL - soleved merge errors in project files 2013-12-10 11:50:35 +01:00
Linda Andersson 78f20e04a1 GL - moved object files to Obj 2013-12-10 11:27:20 +01:00
Linda Andersson f0181ad9f4 GL - fixed defines in headers - more structure for states 2013-12-10 11:26:18 +01:00
Erik Persson 4b9f2671bf updated weapon 2013-12-10 11:17:25 +01:00
Erik Persson 58c3371edd Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-10 09:57:13 +01:00
Erik Persson 97e0b1298a added functionallity to player and weapon, started on the weapon design. 2013-12-10 09:57:05 +01:00
Pontus Fransson e06ee31754 Network - First basic API. 2013-12-10 08:32:08 +01:00
dean11 226bbcc8af MISC - Added a release feature in smartpointers 2013-12-09 22:55:22 +01:00
Pontus Fransson d27dcbe5b6 Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-12-09 22:22:40 +01:00
Pontus Fransson 2cb8bbd8a9 Network - IServer running on separate thread.
IServer accepting clients.
2013-12-09 22:22:05 +01:00
dean11 9d264b0d89 Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-12-09 14:24:12 +01:00
dean11 5473c5160f NETWORK - Modified the protocol creation structure 2013-12-09 14:23:30 +01:00
Linda Andersson 1f172b422a Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-09 12:05:30 +01:00
Linda Andersson ea593743ad GL - added UI object 2013-12-09 12:01:36 +01:00
dean11 a45ffb2e40 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-09 11:58:44 +01:00
dean11 fbd95a7109 GAMELOGIC - Added a protocol api 2013-12-09 11:57:34 +01:00
Linda Andersson 4134836405 GL - added client objects
-  no memory leaks in client
2013-12-09 11:05:47 +01:00
Pontus Fransson b72fb21b07 Network - Fixed all thread related crashes.
The crashes was caused by OysterMutex, so i changed all OysterMutex to
std::mutex instead.
2013-12-09 10:48:43 +01:00
Linda Andersson 5416df6d86 Merge remote-tracking branch 'origin/GameLogic' into GameLogic 2013-12-09 09:24:01 +01:00
Linda Andersson 38a1602d3f GL - merge with graphics api. Lobby and game state. 2013-12-09 09:23:39 +01:00
Pontus Fransson a79dc61159 Network - Stuff 2013-12-08 23:56:17 +01:00
dean11 597891acfe Misc - Added more fetures to Smart pointers 2013-12-06 11:46:47 +01:00
Pontus Fransson bbb79a4ba9 Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-12-06 10:46:05 +01:00
Pontus Fransson 5465ccf51a Network - Started implementing Server,client,session. 2013-12-06 10:45:53 +01:00
Linda Andersson b331ce1a1f GL - started working with client application 2013-12-06 10:38:43 +01:00
dean11 cb8fee9227 NETWORK - Added network custom protocol 2013-12-06 10:00:58 +01:00
Dander7BD 5835a72acc Setstruct introduction done
Can be found as:
Physics::Struct::CustomBodyState
Physics::ICustomBody::State
Is all inline thus no expensive API calls, as intended.
Will be expanded to move API call methods from Physics::ICustomBody to
it.
2013-12-06 09:46:30 +01:00
lanariel fb51881fab Fixed Mem leaks on gpu and start on deffered pipeline 2013-12-05 14:56:34 +01:00
Erik Persson 63addde51e made "interfaces" of most classes 2013-12-05 11:50:39 +01:00
dean11 1cb880a66e GameLogic - Fixed the window class 2013-12-04 15:59:44 +01:00
Sam Mario Svensson cc793851af Network- set blocking mode 2013-12-04 14:59:00 +01:00
Pontus Fransson df1594a43b Network - Fixed small errors 2013-12-04 14:58:15 +01:00
Dander7BD d0936f9133 InverseRotationMatrix fixed
Compiler overstepping its bound, doing whatever it wants.
2013-12-04 14:22:25 +01:00
Dander7BD 7ad60969fc Sphere Vs Box collision detect fix
second ed. ... Works now! :3
2013-12-04 14:12:06 +01:00
Dander7BD e0adc0ae93 Sphere Vs Box collision detect fix 2013-12-04 13:52:07 +01:00
Pontus Fransson e81062b875 Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-12-04 12:41:37 +01:00
Pontus Fransson f0dff0b728 Network - Starting to implement correct shutdown connection. 2013-12-04 12:41:25 +01:00
Sam Mario Svensson 79cf9df111 Network - changed from & to smartpoints 2013-12-04 12:40:49 +01:00
Dander7BD 202ee23b25 Octtree::leafData Container should be kept updated now 2013-12-04 11:49:33 +01:00
Dander7BD 080bbf68fd Collideables fixed
Missing returns
2013-12-04 11:42:11 +01:00
dean11 b35ffdecfd GameLogic - Merged with DanbiasGame project 2013-12-04 11:40:22 +01:00
dean11 64a8089e54 GameLogic - Worked on server 2013-12-04 11:37:26 +01:00
Linda Andersson e658071643 GL- open a red window from lancher project 2013-12-04 11:32:43 +01:00
Dander7BD 1d94ed0ddc Fixed MomentOfInertia methods 2013-12-04 11:30:56 +01:00
Dander7BD f10f3b0bef Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2013-12-04 10:05:02 +01:00
Dander7BD 87e9d137ea Merge remote-tracking branch 'origin/Graphics' into Physics 2013-12-04 09:58:11 +01:00
lanariel 47aa2c89a2 Quick Error fix and using .png 2013-12-04 09:56:03 +01:00
Robin Engman f2548c43ce Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2013-12-04 09:52:03 +01:00
Robin Engman b03e9af027 Fixed octree and API
Rewrote AddObject function in octree and OnPossibleCollision in
PhysocsAPI_Impl
2013-12-04 09:51:48 +01:00
lanariel d03f1eaf44 Merge to sprint2 2013-12-04 09:42:52 +01:00
lanariel f29af8b8bd Release Now Stable 2013-12-04 09:36:43 +01:00
Pontus Fransson df1470eb2c Network - Send/Recv both ways.
Impl: SetBlockingMode() : Connection.
Impl: Resize() : OysterByte.
Remade Clear() : OysterByte.
Added bool return if FetchMessage() succeded or failed : PostBox.
Fixed a few errors with mutex on ThreadedClient.
Added missing mutex unlock in ThreadSafeQueue.
2013-12-03 23:12:48 +01:00
Dander7BD e4476f7757 Added function for ICustomBody
void ICustomBody::SetMomentum( const ::Oyster::Math::Float3 &worldG )
- Added and implemented
2013-12-03 15:11:24 +01:00
Pontus Fransson e837b80e43 Network - Fixed warning, made functions private.
Fixed warnings.
Made functions regarding the thread private in listener.
2013-12-03 13:20:50 +01:00
Sam Mario Svensson 1466c0db31 Network - projectfile fix 2013-12-03 13:16:44 +01:00
Sam Mario Svensson aa19002cbe Merge branch 'Network' of https://github.com/dean11/Danbias into Network
Conflicts:
	Code/Network/NetworkDependencies/NetworkDependencies.vcxproj.filters
2013-12-03 13:12:17 +01:00
Sam Mario Svensson 10c1dc57f3 merge fix 2013-12-03 13:08:04 +01:00
Sam Mario Svensson aa4cf634d3 Client interface and class for both server and client. now using postbox system 2013-12-03 13:04:53 +01:00
dean11 3d973c16a2 Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic 2013-12-03 12:09:22 +01:00
dean11 a852e8eab4 Created the game modules 2013-12-03 12:07:37 +01:00
Linda Andersson 804c5df7a9 GL uppdate game test progam for physics 2013-12-03 11:47:04 +01:00
Pontus Fransson d78b48319d Network - Added MessagePlayerPos
Added MessagePlayerPos
Fixed bugg with adding float array.
2013-12-03 11:46:46 +01:00
dean11 f0b766e37c Something done in misc 2013-12-02 14:43:57 +01:00
dean11 c0807442a4 Fixed some minor errors with project linking 2013-11-29 11:04:52 +01:00
lanariel 07a616b252 Correct VertexShader 2013-11-29 10:44:04 +01:00
lanariel 469ccaab6c Merge branch 'Sprint1' of https://github.com/dean11/Danbias into Graphics
Conflicts:
	Bin/DLL/DebugCameraVertex.cso
	Bin/DLL/DebugPixel.cso
	Bin/DLL/GamePhysics_x86D.dll
	Bin/DLL/GamePhysics_x86D.exp
	Bin/DLL/GamePhysics_x86D.ilk
	Bin/DLL/GamePhysics_x86D.pdb
	Bin/DLL/OysterGraphics_x86D.dll
	Bin/DLL/OysterGraphics_x86D.exp
	Bin/DLL/OysterGraphics_x86D.ilk
	Bin/DLL/OysterGraphics_x86D.pdb
	Bin/DLL/TextureDebug.cso
	Bin/DLL/VertexGatherData.cso
	Code/OysterGraphics/FileLoader/ObjReader.cpp
	Code/OysterGraphics/FileLoader/TextureLoader.cpp
	Code/OysterGraphics/FileLoader/TextureLoader.h
	Code/OysterGraphics/OysterGraphics.vcxproj
	Code/OysterGraphics/OysterGraphics.vcxproj.filters
	Code/OysterGraphics/Render/Resources/Resources.cpp
	Code/OysterGraphics/Shader/HLSL/SimpleDebug/Debug.hlsl
	Code/OysterGraphics/Shader/HLSL/SimpleDebug/DebugCameraVertex.hlsl
	Code/OysterGraphics/Shader/HLSL/SimpleDebug/DebugPixel.hlsl
	Code/OysterGraphics/Shader/HLSL/SimpleDebug/TextureDebug.hlsl
	Code/Tester/MainTest.cpp
2013-11-29 10:31:19 +01:00
lanariel ca20a5af9e Stable Resource Management with 4 unidentified Memory Leaks 2013-11-29 10:25:27 +01:00
Linda Andersson 2ca3cdd705 merge with sprint branch - working 2013-11-29 10:13:18 +01:00
Linda Andersson 4cb82e6396 Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch 2013-11-29 10:04:59 +01:00
Linda Andersson 7a663b2e16 GL - camera movement working 2013-11-29 10:04:44 +01:00
Erik Persson f31bf1db5f some fixing 2013-11-29 10:03:32 +01:00
Dander7BD 026b427deb Implemented a temporary collision test update
Will only call the subscribed CollisioEventAction whenevera collision is
detected.
2013-11-29 10:00:07 +01:00