Commit Graph

845 Commits

Author SHA1 Message Date
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
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
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
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
lindaandersson 26fed11910 Merge branch 'Physics' of https://github.com/dean11/Danbias into GameLogic 2014-01-31 14:30:53 +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
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 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
lindaandersson fa7f400c71 GL - test this robin 2014-01-31 10:58:03 +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
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