Jocke
7943fc7ad6
Hot fix: Infinite loop when a player disconnected from the server.
2016-03-03 18:14:33 +01:00
stiffly
a7bff92899
The readBuffer now checks if the whole packet has arrived before attempting to parse it.
2016-03-03 15:16:42 +01:00
Jocke
ae3cab6cd1
Merge remote-tracking branch 'origin/master' into FixNetworkBugs
2016-03-03 13:31:43 +01:00
Jocke
a9b19d9af1
Packet write now only warns when a a packet is huge
2016-03-03 13:29:45 +01:00
Jocke
cb7beae28c
Only do physics and collision calculations on the clients side, and only for their own entity.
2016-03-03 11:39:00 +01:00
Jace
7624c6ee0a
Updated all uses of EntityXMLFile to use the new EntityFile to load entities into a world.
2016-03-02 20:12:59 +01:00
Jace
3ef15dcb81
EntityFile now releases EntityXMLFile after processing.
2016-03-02 20:01:18 +01:00
Jace
069583e09f
Created EntityFile which loads an EntityXMLFile into a temporary world to be merged with another world when you want to create a copy of the entity loaded from disk. This allows us to free EntityXMLFile once it's loaded into an EntityFile.
2016-03-02 19:52:11 +01:00
Jace
44b4a597d4
fixup! Created World::Merge which will merge a world into another one
2016-03-02 19:50:52 +01:00
Jace
618e96da90
"Fixed" this crash in debug. The attachment vector is sometimes empty! @Tleety
2016-03-02 19:49:54 +01:00
Jace
26d6546d79
Renamed EntityFile to EntityXMLFile to be able to separate file parsing from entity creation
2016-03-02 18:53:40 +01:00
Jace
62c8196ad4
Created World::Merge which will merge a world into another one
2016-03-02 18:53:39 +01:00
William Moberg
e6b3bbeb54
Merge remote-tracking branch 'origin/master' into Respawning
...
# Conflicts:
# resources/Schema/Types/Entity.xsd
2016-03-02 17:50:59 +01:00
stiffly
267c007291
Removed unnecessary comments, variables and functions.
2016-03-02 17:39:27 +01:00
William Moberg
53c520123a
Uncommented code.
2016-03-02 17:06:53 +01:00
stiffly
92d5ec70ba
Merge remote-tracking branch 'origin/master' into DashAbiltyEffect
2016-03-02 16:57:07 +01:00
stiffly
a5c086e389
Dash effect now working over network, by sending events. Similar to jump effect.
2016-03-02 16:48:38 +01:00
William Moberg
06d60f9884
Merge branch 'master' into Respawning
2016-03-02 13:47:03 +01:00
William Moberg
629ebb871f
SpectatorCamera shows capturepoint HUD and respawntimer. It no longer requires CapturePointGameMode component to work.
2016-03-02 13:45:49 +01:00
Tobias Dahl
2fb3bb2a39
Merge pull request #153 from teamfisk/RenderSetingsV2
...
Shield and stuff
2016-03-02 13:15:52 +01:00
Teejoon
de9657700b
Fixed draw final pass with shided objects having to many if-statments.
...
Shields is working with transparancy
Player cameras should have nearclip fater away and far clip nearer.
Defaultconfig push
2016-03-02 11:59:48 +01:00
Teejoon
ef66f3ebe5
Transparancy with shild fix
2016-03-01 23:14:23 +01:00
Jocke
aadfdfdd90
AmmoPickups and HealthPickups will only spawn on the server. When a ammo pickup is taken the Server will send an Event to that
...
Client and it will update its ammo.
2016-03-01 17:55:00 +01:00
William Moberg
a9762f44ca
Merge branch 'master' into Respawning
2016-03-01 17:34:23 +01:00
William Moberg
5c6a652316
Fixed so unregistered components are ignored instead of crashing the game.
2016-03-01 15:53:59 +01:00
Jocke
6d68486c05
Merge remote-tracking branch 'origin/master' into FixNetworkBugs
2016-03-01 15:07:06 +01:00
Jace
c60e1ba7e4
Merge pull request #144 from teamfisk/RenderSetingsV2
...
Render settings
2016-03-01 13:49:38 +01:00
Tobias Dahl
63d205f56a
Merge pull request #146 from teamfisk/EditorKeyboardFix
...
Fixed editor keyboard shortcuts getting mixed up with GUI input actions
2016-03-01 13:46:01 +01:00
Jace
36f6ade87a
Fixed editor keyboard shortcuts getting mixed up with GUI input actions
2016-03-01 13:38:51 +01:00
Teejoon
724d7b1586
Merge remote-tracking branch 'origin/master' into RenderSetingsV2
...
Conflicts:
src/Engine/Rendering/DrawFinalPass.cpp
2016-03-01 12:56:00 +01:00
Teejoon
8cda614de4
Added transparent object that disappeared from the merge
2016-03-01 12:54:01 +01:00
Teejoon
77eaa45702
Merge remote-tracking branch 'origin/master' into HEAD
...
Conflicts:
src/Engine/Rendering/CubeMapPass.cpp
src/Engine/Rendering/DrawFinalPass.cpp
2016-03-01 12:11:27 +01:00
Jace
86df8f14f4
Merge pull request #143 from teamfisk/Transparency-fix
...
Transparency fix
2016-03-01 11:26:26 +01:00
Tleety
21bf7f4df3
Glow should now legit be working through transparency.
2016-03-01 11:03:16 +01:00
Joachim Pettersson
d37f8cc350
Merge pull request #141 from teamfisk/BoxModelCollision
...
Collision jittering + disappearing weapon
2016-02-29 17:13:34 +01:00
William Moberg
d47a806c64
Made a easy hack to solve jittering when standing still. Jittering should still be present when moving, but at least it is less prominent when moving.
2016-02-29 15:49:23 +01:00
William Moberg
8e21c5a5e4
Reverts last WIP since it probably added code without improving anything.
...
Revert "WIP, should take shortest resolution even if forced upwards because of slopes, not solving the jittering problem though. + debug code."
This reverts commit db5170c699 .
2016-02-29 15:38:36 +01:00
Teejoon
df7ace6626
We only uses one depth buffer now
2016-02-29 11:44:29 +01:00
Jocke
bef79d116b
Merge remote-tracking branch 'origin/master' into FixNetworkBugs
2016-02-29 10:15:16 +01:00
William Moberg
db5170c699
WIP, should take shortest resolution even if forced upwards because of slopes, not solving the jittering problem though. + debug code.
2016-02-29 09:37:51 +01:00
Jace
bb76c9d248
WIP multi-weapon behaviours
2016-02-29 06:58:57 +01:00
Teejoon
9cbc6f7755
Added GenerateTexture, GenerateMipMapTexture and DeleteTexture to CommonFunctions
2016-02-28 16:16:22 +01:00
Teejoon
d3a245606a
SSAO and Glow is no longe conflicting with each other.
...
Texture should get the id = 0 when they are deleted and not assigned a new texture after. Else they will start to conflict with each other.
2016-02-28 15:02:40 +01:00
Teejoon
b320d8d1e4
WIP
2016-02-26 18:01:38 +01:00
Jocke
afddd276a4
Merge remote-tracking branch 'origin/master' into FixNetworkBugs
2016-02-26 16:54:09 +01:00
Jocke
a48e1b567a
Removed comments
2016-02-26 16:49:25 +01:00
Teejoon
0805375483
Deleted SSAO sliders except Quality
2016-02-26 13:25:19 +01:00
Jace
0c60b637c3
Who's merging without compiling?
2016-02-26 12:52:10 +01:00
William Moberg
d411de894f
Merge pull request #140 from teamfisk/FixNetworkBugs
...
Death explosion should always get triggered now.
2016-02-26 12:01:19 +01:00
Teejoon
f56705d921
You can now change the quality of SSAO by sliding the SSAO Quality
2016-02-26 11:51:20 +01:00