Pontus Fransson
407f3c5c9a
Added documentation and removed unecessesary code.
2013-11-29 09:11:30 +01:00
Sam Mario Svensson
1cbdb0bcfa
cleanup commented section in ClientMain
2013-11-29 08:59:36 +01:00
Pontus Fransson
8dab865cb6
Changed to our own Queue
2013-11-28 16:20:50 +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
Pontus Fransson
0c40ca1be5
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-11-28 08:52:22 +01:00
Pontus Fransson
00e02b6909
Removed OysterMath from OysterNetworkClient
2013-11-28 08:52:11 +01:00
Sam Mario Svensson
a59cd54688
enum type naming fixed continued.
2013-11-28 08:51:21 +01:00
Pontus Fransson
0feb4dff7e
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-11-28 08:41:24 +01:00
Pontus Fransson
14eee7d2da
Merge branch 'MiscBranch' of https://github.com/dean11/Danbias into Network
2013-11-28 08:40:40 +01:00
Sam Mario Svensson
d29046652e
enum type naming fixed
2013-11-28 08:40:38 +01:00
dean11
5eec570768
Added an atomic<int> to the reference counter for thread saftey
2013-11-27 22:39:49 +01:00
dean11
fe7fd6b0b3
Fixed bugs in the threading wrapper
2013-11-27 21:47:32 +01:00
dean11
972cfa0d39
Fixed bugs with custom loading
2013-11-27 21:12:37 +01:00
Pontus Fransson
6e24acea2b
Listener's Accept() is now threaded.
...
Added function private to Connection SetBlockingMode(bool blocking); But
it doesn't do anything yet.
Listener is now accepting clients in a thread.
GetNewClient() returns the socket that has connected. -1 if there is no
new client connected. (Can only connect 1 client at a time.)
The simple chat program is not working anymore because of changes in the
server.
2013-11-27 14:33:08 +01:00
Pontus Fransson
43b111f0d3
Pull MiscBranch
2013-11-27 11:28:11 +01:00
Pontus Fransson
f02a67b9b1
Merge branch 'MiscBranch' of https://github.com/dean11/Danbias into Network
2013-11-27 11:26:54 +01:00
Pontus Fransson
aeddc032d9
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
...
Conflicts:
Code/Network/NetworkDependencies/Connection.cpp
Code/Network/NetworkDependencies/Connection.h
Code/Network/NetworkDependencies/IConnection.h
Code/Network/OysterNetworkClient/Client.cpp
Code/Network/OysterNetworkClient/Client.h
Code/Network/OysterNetworkClient/ClientMain.cpp
Code/Network/OysterNetworkServer/Client.cpp
Code/Network/OysterNetworkServer/Client.h
Code/Network/OysterNetworkServer/ServerMain.cpp
2013-11-27 11:06:03 +01:00
Pontus Fransson
214e29e906
OysterByte
...
Added Byte class instead of handling byte messages manually.
Converted all functions to use OysterByte.
2013-11-27 11:01:22 +01:00
dean11
48c812b033
Forgot to follow coding standard...
2013-11-26 21:51:40 +01:00
dean11
e4904870b3
Added a threading wrapper with basic functionality that needs real testing
2013-11-26 21:08:34 +01:00
Sam Mario Svensson
f6ade9e4fd
ErrorMessages everywhere!
2013-11-26 13:45:03 +01:00
dean11
1f27336b3f
Added filename paramater in custom load function
2013-11-26 12:09:38 +01:00
dean11
e5cef4895e
Added support for custom loading, unloading and reloading
2013-11-26 10:55:51 +01:00
Pontus Fransson
45c145439a
Fixade crash och flyttade initsockets, shutdownsockets.
...
Moved initsocket and shutdownsockets to WinsockFunctions.
2013-11-25 20:27:23 +01:00
Pontus Fransson
6b57815bb8
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
...
Conflicts:
Code/Network/NetworkDependencies/Connection.cpp
2013-11-25 19:05:28 +01:00
Pontus Fransson
caabb6702e
Fixed code standard, Added packing functions
2013-11-25 19:00:33 +01:00
Sam Mario Svensson
ca5e578af5
reconstruction in connection.
2013-11-25 14:03:32 +01:00
Sam Mario Svensson
82b8ef7b05
Fixed connection split up connect function and added initiateClient()
2013-11-25 12:14:01 +01:00
Sam Mario Svensson
640ac2172a
checked the coding standard and changed it accordinly
2013-11-25 11:39:54 +01:00
Pontus Fransson
ad7091e520
Fixed automatic size on Messages
2013-11-22 15:48:49 +01:00
Pontus Fransson
6eff55e763
Fixed possible crash
2013-11-22 14:31:07 +01:00
Pontus Fransson
d33220f8ca
Fixed memory leaks
...
Fixed memory leaks.
2013-11-22 14:23:08 +01:00
dean11
7b0265db1d
Merge branch 'Graphics' of https://github.com/dean11/Danbias into MiscBranch
2013-11-22 12:05:58 +01:00
Pontus Fransson
623cffced6
Added protocols to an enum
...
Now we don't have to type cast
2013-11-22 11:40:55 +01:00
lanariel
3cd4c12172
Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
2013-11-22 10:56:21 +01:00
lanariel
59dcbc9729
Fixed Projection
2013-11-22 10:55:21 +01:00
dean11
15455db1b2
Added a resource handler with basic byte loading
2013-11-22 10:46:25 +01:00
Dander7BD
480a624019
Merge branch 'Graphics' of https://github.com/dean11/Danbias into Graphics
2013-11-22 10:24:08 +01:00
Sam Mario Svensson
9e6593abd1
bug med reference på typecast
2013-11-22 09:49:48 +01:00
Pontus Fransson
c5e432b566
Fixed size
2013-11-22 09:43:24 +01:00
Pontus Fransson
bacb83b084
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
...
Conflicts:
Code/Network/NetworkDependencies/Connection.cpp
Code/Network/NetworkDependencies/Connection.h
Code/Network/OysterNetworkClient/ClientMain.cpp
Code/Network/OysterNetworkServer/ServerMain.cpp
2013-11-22 09:24:44 +01:00
Pontus Fransson
5265fd1af1
Fixed merge errors
2013-11-22 09:17:07 +01:00
Pontus Fransson
954a1ac669
Fixed error
...
Fixed translation
2013-11-22 08:56:00 +01:00
Sam Mario Svensson
4142688f6c
unsigned char instead of char and chat program with protocols
2013-11-22 08:54:26 +01:00
lanariel
5abaef6e86
Fixed render errors
2013-11-21 23:54:12 +01:00
lanariel
ff1695497f
Debug From Home
2013-11-21 18:31:16 +01:00
lanariel
3ef36547a9
Merge branch 'RigidBody' of https://github.com/dean11/Danbias into Graphics
2013-11-21 15:21:03 +01:00
Dander7BD
8af3cde642
Merge remote-tracking branch 'origin/RigidBody' into Graphics
2013-11-21 15:20:19 +01:00