Commit graph

3132 commits

Author SHA1 Message Date
Thomas Fischer
6d8e0d7e25 refactored platform precompiler variable: TORQUE_OS_WIN{32,64,} 2014-03-15 15:10:14 +01:00
Thomas Fischer
47a2cc165a moved header file to have a more meaningful naming 2014-03-15 14:05:30 +01:00
Thomas Fischer
e37ecb0567 fixed WIN64 precompiler flags up - basics 2014-03-15 13:43:48 +01:00
Thomas Fischer
b1c52f8bb1 Added identify the CPU x64. 2014-03-15 13:23:49 +01:00
Thomas Fischer
8c25dc8b18 reverted fileno change, MSVS specific API changes follow in another PR 2014-03-15 12:57:47 +01:00
Thomas Fischer
489106ae5e replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :) 2014-03-15 12:50:38 +01:00
Thomas Fischer
004f04660b refactored the constructor to not use a default reference to a static member 2014-03-15 12:26:51 +01:00
Thomas Fischer
2844ab6912 more VS2012 L4 warning fixes 2014-03-15 11:51:36 +01:00
Thomas Fischer
502e346eb6 visual studio 2012 Level 4 warning fixes 2014-03-15 11:38:53 +01:00
Thomas Fischer
835649aa2f Merge pull request #547 from asmaloney/fix_potential_crashes
Fix potential crashes
2014-03-15 10:57:21 +01:00
Daniel Buckmaster
9921786b9c Merge pull request #563 from signmotion/smallestVisiblePixelSize-work
Fixed issue #256: "$pref::TS::smallestVisiblePixelSize doesn't work".
2014-03-15 20:00:14 +11:00
Thomas Fischer
e906865a56 Merge pull request #570 from eightyeight/box3f-overlap
Fixed Box3F::overlap
2014-03-15 09:15:12 +01:00
Thomas Fischer
317a2cb73d Merge pull request #556 from camporter/mfield_null_check
When setting the field on a GuiInspectorField, check if the field is null before setting the docs
2014-03-14 20:52:12 +01:00
Thomas Fischer
39b893f1ca Merge pull request #465 from skaughtx0r/Fix-HTTPObject
Fix bug in HTTPObject (Fixed)
2014-03-14 19:32:54 +01:00
Thomas Fischer
d782ad0af1 main working on unicode systems 2014-03-14 17:02:27 +01:00
Thomas Fischer
7437874596 Revert "fixed main method not working on unicode systems. 3 spaces -> 4 spaces"
This reverts commit f1bb8a0a73.
2014-03-14 16:36:43 +01:00
Thomas Fischer
acc6bbfe96 Revert "trimmed trailing spaces"
This reverts commit 692965d552.
2014-03-14 16:35:43 +01:00
Thomas Fischer
692965d552 trimmed trailing spaces 2014-03-11 10:58:38 +01:00
Thomas Fischer
f1bb8a0a73 fixed main method not working on unicode systems. 3 spaces -> 4 spaces 2014-03-11 10:57:39 +01:00
David Wyand
7589f859e0 Merge pull request #574 from DavidWyand-GG/Updates
Update version reporting to 3.5.1
2014-03-03 17:24:07 -05:00
DavidWyand-GG
d49093cea6 Update version reporting to 3.5.1 2014-03-03 17:22:06 -05:00
rextimmy
d4b189e175 PhysX3 basic plugin. 2014-02-28 12:11:26 +10:00
David Wyand
d218b007a3 Merge pull request #573 from DavidWyand-GG/TriggerFix
Revert trigger polyhedron change
2014-02-14 00:31:26 -05:00
DavidWyand-GG
5f6d189d4e Revert trigger polyhedron change
Reverts the change made in
https://github.com/GarageGames/Torque3D/pull/511.  See
http://www.garagegames.com/community/forums/viewthread/136033 for the
discussion.
2014-02-14 00:27:29 -05:00
DavidWyand-GG
cff2ab046a Bullet physics applyImpulse() fix
Bullet physics requires a local origin be passed into it's
applyImpulse() rather than a world origin.
2014-02-09 18:10:53 -05:00
Daniel Buckmaster
535f6b6bd7 Fixed Box3F::overlap 2014-02-08 23:49:20 +11:00
Andrey Syrokomsky
e47402246d Fixed a chaotic crash when indices or vertices of decals exceeds the fixed limits. Have an attempt work with the many (kilo)meters of decals. 2014-01-23 12:59:47 +02:00
Andrey Syrokomsky
939061ef59 Fixed issue #256: "$pref::TS::smallestVisiblePixelSize doesn't work". 2014-01-21 18:45:02 +02:00
Andrey Syrokomsky
e718420226 - Corrected docs for scripts in the group FileSystem: fileBase() and fileName(). 2013-12-26 09:24:17 +02:00
Cameron Porter
91c058ca8a When setting the field on a GuiInspectorField, check if the field is null before setting the docs. 2013-12-10 23:42:07 -06:00
Andrey Syrokomsky
dea6f0a24d - Added method Vector::reverse(). 2013-12-08 14:34:00 +02:00
Klaus Silveira
55cb5a6752 Removed redundant check 2013-12-08 01:23:24 -02:00
Klaus Silveira
0d610b7aac Fixed missing check for highlighted font color on GUI icon button 2013-12-08 01:19:42 -02:00
Andy Maloney
d63b820e35 More fixes
- check for an empty shapName, not just a NULL one twice
 - fix "&s" in printf
 - fix potential memory leak
 - GFXCopyPixels wasn't checking the height properly which could result in some meory corruption unpleasantness
2013-12-04 16:56:26 -05:00
Andy Maloney
0db6e1bc57 Fix potential crashes
- some compilers have problems with using locally redeclared loop vars after an internal loop
 - fix ordering of conditional checks
2013-12-04 16:50:23 -05:00
Andy Maloney
396a7064dc Minor cleanups
- remove redundant conditional
 - remove unused vars
 - remove extra ags to printf
 - reduce scope of decl
2013-12-04 16:45:09 -05:00
Andrey Syrokomsky
e18fbcfb89 - Added a default keyboard layout for launching the game. It's fixed crash when a game running with the extend unicode keyboard (cyrillic, for example). 2013-12-03 15:19:38 +02:00
DavidWyand-GG
ba81917392 Fix for ballistic projectiles not bouncing
Ballistic projectiles are no longer bouncing when they collide, assuming
they have the correct properties set.  These changes move the point that
a projectile's velocity is zeroed during a collision to fix this.
2013-11-15 18:35:39 -05:00
Azaezel
ecbcf5eb3a Simply early-outing from denominators near zero was causing tangeants to be filled with garbage data. This alters the functionality to set a floor distance so the rest get's filled out properly. 2013-11-13 20:40:20 -06:00
DavidWyand-GG
ca57db1e23 Fix for Bullet frustum reference
Update to Bullet physics to account for latest SceneRenderState frustum
changes.
2013-11-13 11:41:22 -05:00
DavidWyand-GG
9d136e8dd8 Update version reporting to 3.5 2013-11-13 02:32:22 -05:00
DavidWyand-GG
e954906533 Fix for simulated Oculus Rift
The chromatic aberration correction for the simulated Oculus Rift was
wrong, producing a black screen.
2013-11-12 18:49:21 -05:00
DavidWyand-GG
d100bd918e Support graphic cards with 2GB+ VRAM
- Fix for issue https://github.com/GarageGames/Torque3D/issues/226
- Also extended the card profile reporting to the console to include the
graphic card's VRAM.
2013-11-12 01:02:15 -05:00
DavidWyand-GG
4717f22916 Fix for ArrayObject sorting
- This is a fix for issue
https://github.com/GarageGames/Torque3D/issues/228
- This fixes sortna() and sortnd() as outlined in the issue.
- This also fixes sortnka() and sortnkd(), as well as the sorting method
that take a console function as a parameter.
2013-11-11 18:51:53 -05:00
David Wyand
ef118b883b Merge pull request #531 from eightyeight/navpath-findnearestpoly-check
Check whether findNearestPoly actually did find a poly
2013-11-11 14:15:50 -08:00
DavidWyand-GG
3be3cc6589 Fix GroundCover banking with camera
Fix for issue https://github.com/GarageGames/Torque3D/issues/527
2013-11-11 15:03:45 -05:00
Daniel Buckmaster
7556f29c09 Check whether findNearestPoly actually did find a poly. 2013-11-09 12:14:30 +11:00
DavidWyand-GG
7d6df96d65 ITickable supports object deletion
This is a reworking of https://github.com/GarageGames/Torque3D/pull/436
to support object deletion of processTick() and advanceTime().
2013-11-08 17:31:52 -05:00
DavidWyand-GG
91e542b8ec SceneCullingState with culling and camera frustum
- Fix for issue https://github.com/GarageGames/Torque3D/issues/525  This
fix takes into account the skewed view into the world when you have a
projection offset and the ability to see further into the scene at the
edges opposite to the offset.
- SceneCullingState now has two frustum rather than one: a culling
frustum and camera frustum.
- The camera frustum should be referenced when you need the projection
matrix or don't want a skewed frustum.
- The culling frustum should be referenced during any scene culling or
when determining what dynamic geometry to render.  It currently skews
itself to take into account any projection offset (automatically
calculated in SceneCullingState constructor).
- When there is no projection offset, the camera frustum and culling
frustum are the same.  This usually means any time when not using the
Oculus Rift.
2013-11-07 15:07:16 -05:00
DavidWyand-GG
fc51f9767a Fix for RectF::intersectTriangle()
Reported in this issue:
https://github.com/GarageGames/Torque3D/issues/512
2013-11-06 14:17:44 -05:00