Commit Graph

330 Commits

Author SHA1 Message Date
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
Robin Engman 1a06c7c7e6 Changed from pointer to reference
Did it in sample and visit functions
2013-11-29 10:00:06 +01:00
Robin Engman c31ea9730b Added overloads for visitor and sample functions
They now have an overload for accepting ICollideable
2013-11-29 10:00:05 +01:00
Dander7BD 5d5f684ad6 minor compilation error fix
Forgot that UniquePointer had a special operator for checking if it is
not NULL >.<
2013-11-29 10:00:04 +01:00
Dander7BD ec7185f463 Bunch of implementations 2013-11-29 10:00:03 +01:00
Pontus Fransson 10f8df45a8 Merge branch 'Sprint1' of https://github.com/dean11/Danbias into Network 2013-11-29 09:36:31 +01:00
Erik Persson f9a1aaf43c Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch 2013-11-29 09:26:16 +01:00
Erik Persson b28a558732 fix transpose 2013-11-29 09:24:41 +01:00
Linda Andersson 04e48ec550 Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch 2013-11-29 09:23:42 +01:00
dean11 de01d23d1d Fixed some structure issues and commented 2013-11-29 09:23:08 +01:00
Linda Andersson eb026cb9c7 GL more comments 2013-11-29 09:23:00 +01:00
Erik Persson 32c529feb6 converted camera class 2013-11-29 09:20:37 +01:00
Sam Mario Svensson 3c681352da Documentation of the code done by Sam 2013-11-29 09:19:14 +01:00
Pontus Fransson 407f3c5c9a Added documentation and removed unecessesary code. 2013-11-29 09:11:30 +01:00
Linda Andersson d9fcec0c1c Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch 2013-11-29 09:05:12 +01:00
Linda Andersson 017efd55e5 GL starting commenting 2013-11-29 09:05:01 +01:00
Erik Persson 8138afb6b5 object update 2013-11-29 09:00:12 +01:00
Sam Mario Svensson 1cbdb0bcfa cleanup commented section in ClientMain 2013-11-29 08:59:36 +01:00
dean11 a3ae340a30 Merge after pull from misc branch 2013-11-28 23:22:50 +01:00
dean11 f5aa5d03db Modified project file to include Thread in misc 2013-11-28 23:18:48 +01:00
Pontus Fransson 8dab865cb6 Changed to our own Queue 2013-11-28 16:20:50 +01:00
Dander7BD 9d92b292d9 Improved documentation of UniquePointer and UniqueArray 2013-11-28 16:18:20 +01:00
Pontus Fransson 1453d81a9d Merge branch 'Network' of https://github.com/dean11/Danbias into Network 2013-11-28 16:15:41 +01:00
Pontus Fransson 1617606145 PostBox
Created PostBox and IPostBox.
Listener post new clients to PostBox.
2013-11-28 16:15:28 +01:00
Sam Mario Svensson 23fa090296 Threadsafe Queue implemented with IQueue interface
threadsafe by using mutex lock in the Queue
2013-11-28 16:14:59 +01:00
Dander7BD 036519f3f6 Fixed potential ambiguity bug
Ambiguity in assignment operator with UniquePointer and UniqueArray
2013-11-28 16:06:01 +01:00
Dander7BD 045cfe28fe Renamed Utilities-InlineImpl.h to Utilities-Impl.h
Implied that only Inlines were implemented there.
Contains template implementations as well.
2013-11-28 15:45:09 +01:00
dean11 0785e54dfd Removed .orig files after merge 2013-11-28 15:19:52 +01:00
dean11 6e71b6ac54 Fixed merging errors 2013-11-28 15:17:25 +01:00
dean11 cc4835a97b Merge with Physics branch 2013-11-28 15:09:09 +01:00
Dander7BD d241298308 merging MiscBranch into Physics with conflict fixes 2013-11-28 14:52:13 +01:00
lanariel 9bf84cdc65 Stable Graphics, hard coded texture read in ObjReader.ToModel 2013-11-28 14:34:52 +01:00
Robin Engman 4672984b51 Merge remote-tracking branch 'origin/Octree' into Physics 2013-11-28 14:19:11 +01:00
Robin Engman 632d412f9c Fixed sample and added visit. 2013-11-28 14:18:44 +01:00
Robin Engman 35f66da760 Merge branch 'Physics' of https://github.com/dean11/Danbias into Physics 2013-11-28 13:43:38 +01:00
dean11 d08644e8e1 Added a force reload feture in resource loading 2013-11-28 13:43:11 +01:00
Dander7BD f379ed49e5 inertiaTensor removed from API::SphericalBodyDescription
was redundant. struct already have everything that the factory needs to
generate one.
2013-11-28 12:18:06 +01:00
Dander7BD 2928e08252 SphericalRigidBody factory done
not tested though
2013-11-28 12:13:14 +01:00
Dander7BD 89fd71fb02 SimpleRigidBody factory done
not tested though
2013-11-28 12:08:41 +01:00
Dander7BD 3a3d6fb151 Added comparison operators to UniquePointer and UniqueArray
operator ==
operator !=
2013-11-28 12:08:40 +01:00
Dander7BD b06a03a543 Improved Collision Event Subscription
From now on, will each ICustomBody instance have it's own
collisionAction function.
2013-11-28 12:08:40 +01:00
Dander7BD 39c54f4816 Moved Octree.h into the Implementation Filter 2013-11-28 12:08:39 +01:00
Dander7BD 64565b50de Merge remote-tracking branch 'origin/GameLogicBranch' into Physics 2013-11-28 11:59:15 +01:00
Dander7BD 3a6cb98b08 SimpleRigidBody factory done
not tested though
2013-11-28 11:58:46 +01:00
Linda Andersson 5ab1c39e3a GL stable - running from DanBiasGame 2013-11-28 11:46:20 +01:00
Linda Andersson ac37ff90de Merge branch 'GameLogicBranch' of https://github.com/dean11/Danbias into GameLogicBranch 2013-11-28 11:27:02 +01:00
Erik Persson 42948a1412 collision and refrence managers updated 2013-11-28 11:23:11 +01:00
Linda Andersson bb7c635223 unstageing graphics 2013-11-28 11:20:46 +01:00
Robin Engman 6d12045df9 Merge remote-tracking branch 'origin/Physics' into Octree 2013-11-28 11:20:33 +01:00
Robin Engman 28dc57cf38 Added basic functionality for container 2013-11-28 11:18:07 +01:00
Dander7BD 23d3af21c6 Added comparison operators to UniquePointer and UniqueArray
operator ==
operator !=
2013-11-28 11:15:25 +01:00