Commit graph

2360 commits

Author SHA1 Message Date
Ben Payne
98e79f3aec Fix uninitialized member vars 2014-12-13 16:08:47 -05:00
Ben Payne
50238fb2ac Casts are stronger than necessary 2014-12-13 16:08:46 -05:00
Ben Payne
dd297d4dc0 Fix buffer overflow 2014-12-13 16:08:38 -05:00
Anis
2db9aa52ef missing texture format.
To silence a console error on startup (OpenGL)
2014-12-13 15:11:13 +01:00
Areloch
fd186204a2 Fizes #945 2014-12-13 03:11:11 -06:00
LuisAntonRebollo
fe9c30b5bb Lowercase TSStatic fied names. 2014-12-12 22:41:08 +01:00
LuisAntonRebollo
4e936c2101 Merge pull request #1040 from BeamNG/fix_spaces_in_field
Fix spaces in TSStatic fied names.
2014-12-12 22:37:05 +01:00
LuisAntonRebollo
8f4c0ed95d Fix spaces in TSStatic fied names. 2014-12-12 22:36:08 +01:00
Bruno Gonzalez
046f4e4e2d Fix off-by-one error in cursor hiding/showing function
Incorrect API use according to msdn.

Source: http://msdn.microsoft.com/en-us/library/windows/desktop/ms648396%28v=vs.85%29.aspx
"cursor is displayed only if the display count is greater than or equal to 0"
2014-12-12 16:53:07 +01:00
Anis
1131bdd5ab Black screen fix
black screen wasn't properly fixed in certain situation.
Now it's fixed!
2014-12-12 15:27:49 +01:00
Daniel Buckmaster
763d178704 Merge pull request #1032 from eightyeight/issue-694
Fix a crash when change a material reclect cubemap
2014-12-12 21:49:41 +11:00
Daniel Buckmaster
4210c002bb Merge pull request #991 from Winterleaf/BitAlign-ServerQuery.cpp
Bit  Alignment of variables in serverQuery.cpp
2014-12-12 21:47:40 +11:00
Daniel Buckmaster
9fca02b2f8 Merge pull request #1017 from eightyeight/aiplayer-triggers-fix
AIPlayer trigger fix
2014-12-12 21:45:57 +11:00
Areloch
8518c85e80 PR for issue #748 2014-12-11 22:17:55 -06:00
Ben Payne
a3f4adacc3 Replace obsolete calling convention 2014-12-11 20:08:45 -05:00
Ben Payne
dc780ddcae Fix use-after-delete 2014-12-11 19:09:02 -05:00
Ben Payne
68b5e7b517 Fix more use-after-delete errors 2014-12-11 19:09:01 -05:00
Ben Payne
c50c88d071 Fix use-after-delete errors 2014-12-11 19:09:01 -05:00
Ben Payne
d97d44f66f Fix more misc uninitialized vars 2014-12-11 18:25:29 -05:00
Ben Payne
a10e6e99d4 Fix read past end of array 2014-12-11 18:22:14 -05:00
Ben Payne
d4b4320f45 More uninitialized variables 2014-12-11 18:06:24 -05:00
Ben Payne
2fc1ac4816 Fix uninit vars in gui 2014-12-11 17:25:02 -05:00
Ben Payne
81e7dafb94 Fix delete of malloc'ed memory 2014-12-11 17:24:40 -05:00
Daniel Buckmaster
93fdcdecbe Compare to cosine of angle, not angle. 2014-12-11 12:30:48 +11:00
LuisAntonRebollo
6f975dd14a Fix a crash when change a material reclect cubemap. 2014-12-11 12:29:44 +11:00
LuisAntonRebollo
d000a1e7c5 OpenGL Intel - Workaround for warning spam or even crash with actual framebuffer code, remove when implemented TGL layer. 2014-12-11 01:20:39 +01:00
Anis
de82fbe0f9 Intel graphics bugfix
Explicit calls to hide and show menu bar on editing.
That fix the bug on Intel video card in OpenGL mode.
2014-12-10 15:30:36 +01:00
Daniel Buckmaster
27252b0864 Merge pull request #1019 from eightyeight/image-recoil-fix
Fix weapon image camera shake
2014-12-10 22:52:26 +11:00
James Urquhart
bfca94da5c Initialize mResetLocked too 2014-12-10 11:37:50 +00:00
Daniel Buckmaster
7004ec627e Use find instead of [] and call StringTable->insert less. 2014-12-10 14:04:26 +11:00
James Urquhart
82fd1794e6 Fix issue where console stack values were getting overwritten inside a C++ function 2014-12-10 00:42:06 +00:00
LuisAntonRebollo
d87994ec37 Merge pull request #1011 from BeamNG/fix_opengl_circular_buffer
Fix GLCircularVolatileBuffer incorrect binding.
2014-12-10 00:09:00 +01:00
LuisAntonRebollo
5e4a0fbaa1 Merge pull request #1005 from BeamNG/revert_terrain_opengl
Revert terrain opengl
2014-12-10 00:08:35 +01:00
LuisAntonRebollo
d97bccb798 Fix AMD render problem with missed meshes. 2014-12-09 17:34:16 -05:00
LuisAntonRebollo
190f68b998 Fix SkatterSky flare occlusion. 2014-12-09 23:34:21 +11:00
Daniel Buckmaster
116276a105 Tweaks so I'm happy with it.
* Change #define usage
 * Fix tabs
2014-12-08 10:20:38 +11:00
Daniel Buckmaster
9622f93d05 Fix weapon image camera shake. 2014-12-07 20:59:17 +11:00
Daniel Buckmaster
a928d142f7 Made some tweaks so I'm happy with it.
* Removed #defines
 * Fall back to using visible distance if ghost distance is not used
 * Removed ghost distance from level files as it will default
 * Renamed mConnectionVisibleDistance for consistency
2014-12-07 19:14:06 +11:00
Daniel Buckmaster
e0436efc21 Merge pull request #910 from Winterleaf/StaticShapeAlphaLod
Added distance fading to TSStatic objects.
2014-12-07 18:15:13 +11:00
Daniel Buckmaster
04df62ebe5 AIPlayer trigger fix as in #1007. 2014-12-07 17:14:37 +11:00
Daniel Buckmaster
ca287f3308 Merge pull request #997 from Winterleaf/Fix-PostEffects
This just adds some console spam if the PostEffect Texture isn't found. ...
2014-12-07 17:10:31 +11:00
Anis
7455f12343 check extension before use it 2014-12-06 20:55:43 +01:00
Anis
1a76341049 Update gfxGLDevice.cpp 2014-12-06 20:46:27 +01:00
Anis
2165266ff4 revert vsync on reset changes 2014-12-06 20:44:47 +01:00
Anis
005f322a94 vsync update on reset settings 2014-12-06 19:41:00 +01:00
Anis
b444cabe4d vSync on opengl 2014-12-06 19:32:38 +01:00
LuisAntonRebollo
3281dc1e06 Merge pull request #1004 from Lopuska/patch-1
Fixed a crash and memory leak on the ribbon code
2014-12-05 22:59:52 +01:00
LuisAntonRebollo
d49018df63 Fix GLCircularVolatileBuffer incorrect binding. 2014-12-05 22:56:22 +01:00
Azaezel
8ac10e42b0 checkInFoV correction
requested:
https://github.com/GarageGames/Torque3D/issues/1009
crosscheck vs 69838bdc8c/Engine/source/T3D/fps/guiShapeNameHud.cpp (L177-L240) upon which that was based.
2014-12-05 05:00:09 -06:00
GuyAllard
bc230be8a2 Added scriptable move triggers for AIPlayers. Fixes an issue where AIPlayers were setting move trigger states from invalid memory. Enables the use of player poses and actions. 2014-12-04 16:21:57 +01:00