Jeff Hutchinson
dee89e25b8
Changes profiler to use the high precision timer built into windows.
...
Also removes the legacy GetTickCount() fallback as that is no longer necessary in modern versions of windows (Windows XP and greater support QueryPerformanceCounter)
2020-12-28 18:14:21 -05:00
Lukas Aldershaab
197a62f6ea
Convert dStrcmp to String::compare for more cases
2020-10-04 00:00:01 +02:00
Lukas Aldershaab
c999baf7ed
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
2020-10-03 14:37:55 +02:00
OTHGMars
186efd5c87
Fix gamepad binds on non-windows.
...
Removes unneeded #ifdef that was preventing gamepad binds from being found in non-windows builds.
2020-08-05 02:50:04 -04:00
Jeff Hutchinson
7880c71d9a
fixed cpu detection on 64bit windows (and removing nasty assembly for win32).
...
Note that this still works for 32bit windows.
2020-07-07 01:05:08 -04:00
AzaezelX
bd8a72005e
uninitialized variables-platform
...
(cherry picked from commit 36fd324de7a29a8f4bb84b7622ae925acb1d3760)
2020-05-11 15:15:01 -05:00
Areloch
1ec048f41d
Merge pull request #2220 from irei1as/development
...
Changes for SFXSound::setPosition(time)
2019-03-30 18:42:19 -05:00
Areloch
6ae3076ab7
Moves the path return from fileDialog through the returnBuffer so it doesn't get mangled or corrupted in memory inadvertently.
2019-02-23 18:11:54 -06:00
suncaller
8a7c09c8fe
Clean up redundant variables
2019-02-06 15:03:06 -05:00
OTHGMars
0ae675839e
Adds event codes for 2 POV hat masks, 2 trackballs and the guide button.
2019-01-10 20:06:54 -05:00
Areloch
644f4071ed
Merge pull request #2246 from lukaspj/update-cinterface
...
Update CInterface
2018-12-09 15:24:29 -06:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Lukas Joergensen
13eb392c98
Add a method to set the 'MainDotCsDir' when no main.cs is available
2018-04-21 09:29:57 +02:00
Lukas Joergensen
2bbc716db6
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Azaezel
cbce2ee805
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
...
# Conflicts:
# Engine/source/console/consoleFunctions.cpp
2018-03-28 15:42:34 -05:00
Azaezel
50482de41e
duplicate var+assignment
2018-03-14 13:15:14 -05:00
irei1as
c3fb349bf2
Update asyncPacketStream.h
2018-03-11 17:23:59 +01:00
Glenn Smith
34b2d91e89
Speaking of badly sized mac things
2018-03-08 00:45:43 -05:00
Glenn Smith
d9a723d533
More cats and cpys in files that xcode doesn't see
2018-03-07 01:13:56 -05:00
Glenn Smith
dce7f5f6b3
Engine was also using raw strcat/strcpy
2018-03-07 00:49:46 -05:00
Glenn Smith
79c34c68db
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
7769da9434
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
Areloch
490c05ffd4
Adds the ability to force the path returned by the file dialog to be relative.
2018-01-29 22:16:42 -06:00
Areloch
c23c99dbea
Merge pull request #2118 from Areloch/MenuAndPopups
...
Refactors the Popup menus and GuiMenuBars
2018-01-27 18:41:00 -06:00
Areloch
f657f774ce
Updates Native File Dialogs lib to enable browsing and selecting of folders, instead of just files.
2017-12-06 14:09:27 -06:00
Areloch
2ca6af8e48
Refactors the Popup menus and GuiMenuBars to remove unneeded duplication and platform-specific/deprecated code.
2017-11-11 01:21:48 -06:00
Brian Smith
b8959e2bbb
Fixed a typo where the value of outBytesWritten was being clamped incorrectly.
2017-10-23 17:00:16 -04:00
Areloch
afdf86f220
Merge pull request #2070 from Azaezel/OVRoops
...
fix for overdark VR scene rendering
2017-08-24 00:06:35 -05:00
OTHGMars
b5cc06cc8b
Fixed ovr compiling with srgb and DX9 removed.
2017-08-20 06:06:40 -04:00
Azaezel
0c35874068
fix for overdark VR scene rendering
2017-08-18 15:42:30 -05:00
Azaezel
0b9dd9bb7e
forgot one
2017-07-09 15:41:54 -05:00
Azaezel
5fcb90cafd
kills off the last vestiges of xenon support
2017-07-09 15:05:56 -05:00
Areloch
124ecb2fe0
Merge pull request #1984 from FooBarbarians/fix-1912
...
Reordering initialization methods #1912
2017-04-26 01:11:51 -05:00
Masquara
15f67015d3
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Areloch
dba8b5b327
Merge branch 'development' into Xenon_Removal
2017-04-18 20:47:43 -05:00
Areloch
5be2497b69
Merge branch 'development' into Fix_Issue_#1951_TCPObject_is_broken_3.10
2017-04-17 20:19:20 -05:00
Chris Millsap
f421a50e5a
Comment formatting
...
Removed incorrect comments to be more inline with windows and linux. Put
comment on line 812 on top of code.
2017-04-12 18:54:59 -04:00
Chris Millsap
c0906e1c41
Possible fix to issue #1951
...
(Code formated to be submitted for pull request) -- Indentation was off.
SAME FIX AS BEFORE
When two instances of Torque3D are running on the same network, one as a
hosted server and the other as a client, the client is unable to connect
to the server. The program now can open a socket. This was obviously a
typo. To find the error I just searched for keywords containing socket,
open, open socket, and opensocket till I found the correct file. The
other error was in how the program processed “non fatal” errors. I just
outputed the error to the main console and devised that the socket
should not be closed for a WSAEWOULDBLOCK error 10035 "It is normal for
WSAEWOULDBLOCK to be reported as the result from calling connect on a
nonblocking SOCK_STREAM socket, since some time must elapse for the
connection to be established."
Read about the WouldBlock error:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx
Use of dbgSetParameters ( port , password ):
http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_2.html#dbgSetParameters_.28_port_.2C_password_.29
2017-04-11 14:51:29 -04:00
Areloch
214aae7277
Removed the unneeded PPC And Altivec elements, and removed the LOCBUILD flag
2017-04-09 23:26:35 -05:00
Areloch
bf229a9c0b
Missed a bit. Readded an accidental removal, and cleaned up an extraneous endif
2017-04-08 21:06:47 -05:00
Areloch
ed14b6fced
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
2017-04-08 20:30:57 -05:00
Thomas "elfprince13" Dickerson
849a1c1eb1
merged numerous changes from upstream
2017-03-03 21:17:07 -05:00
Francisco Montañés García
49130dbd71
Proposed fix for Issue #1951 . Checked with IP4. IP6 should work as wel but not checked yet.
2017-02-22 19:27:08 +01:00
Areloch
73752ff061
Hotfix to re-add the prior static function fix for these functions that was accidentally removed.
2017-01-31 19:16:34 -06:00
Areloch
8f420893eb
Merge branch 'development' into osxDedeprecation
2017-01-31 09:44:52 -06:00
Areloch
a8f2fc567b
Fixes up the handling of accelerator keybinds for SDL - specifically compound ones with several modifier keys, ie ctrl-alt-shift-up.
2017-01-29 03:22:25 -06:00
Thomas "elfprince13" Dickerson
27e2871b01
Replaced StringTable->insert("") with StringTable->EmptyString()
2017-01-11 23:36:04 -05:00
Thomas "elfprince13" Dickerson
bcc5459818
whitespace
2017-01-11 23:34:46 -05:00
Thomas "elfprince13" Dickerson
332c06ae82
Replaced StringTable->insert("") with StringTable->EmptyString()
2017-01-11 23:21:29 -05:00
Thomas "elfprince13" Dickerson
a7cb22b877
something went squiffy in the last set of merges
2017-01-06 18:41:47 -05:00
Thomas "elfprince13" Dickerson
878fbdb609
merged into master
2017-01-06 18:27:56 -05:00
Thomas "elfprince13" Dickerson
9773f18a88
tabs to spaces
2017-01-06 18:06:36 -05:00
Thomas "elfprince13" Dickerson
45ae5e71cb
fixed lots of tabs and space
2017-01-06 18:04:28 -05:00
Thomas "elfprince13" Dickerson
0adab54678
one more go-round
2017-01-06 17:54:19 -05:00
Thomas "elfprince13" Dickerson
e554fc7f93
undo spurious changes used to trigger dirty for tabs and spaces
2017-01-06 17:45:38 -05:00
Thomas "elfprince13" Dickerson
9c69cd32e8
Attempting to fix tabs and space (again)
2017-01-06 17:45:09 -05:00
Thomas "elfprince13" Dickerson
b31e0ad2da
Attempting to fix tabs and space
2017-01-06 17:36:29 -05:00
Thomas "elfprince13" Dickerson
710a2a9b7b
Revert "Net tests were failing to compile because 'static members' weren't actually being declared as members..."
...
This reverts commit 32f726dcc6 .
2017-01-05 17:23:48 -05:00
Thomas "elfprince13" Dickerson
0e30426def
Eliminated a handful of deprecation warnings, as well as inconsistent handling of FS operations in OS X
2017-01-05 17:19:19 -05:00
Thomas "elfprince13" Dickerson
32f726dcc6
Net tests were failing to compile because 'static members' weren't actually being declared as members...
2017-01-05 13:35:07 -05:00
Azaezel
0831472ca4
looks like getsockname needs a slightly different signature on the crossplatform end
2016-12-26 14:19:53 -06:00
James Urquhart
46edd46634
Use correct address in multicast print
2016-12-20 23:52:31 +00:00
James Urquhart
41085f9298
Fix setting the default client port. Also fix fallback multicast address define.
2016-12-17 23:08:43 +00:00
James Urquhart
fba471d27e
Fix console spam when OS socket send buffer is full
2016-11-27 18:02:19 +00:00
James Urquhart
1f69a708fb
Fix ret assignment
2016-11-27 17:58:34 +00:00
James Urquhart
2ed4978cb9
Fix connecting on OSX
2016-10-28 19:34:01 +01:00
James Urquhart
5b1bb6547a
Fix lookup issue on TCPObject. Also sync with working code.
2016-10-28 18:31:47 +01:00
James Urquhart
458bc27ea4
Add missing include
2016-10-28 11:33:43 +01:00
James Urquhart
704577e051
Preliminary IPV6 Support
2016-10-25 19:09:02 +01:00
Areloch
121d65215e
Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang.
2016-10-17 01:00:12 -05:00
Azaezel
a8f9249f77
clang catch: pragma note. (no longer needed)
2016-10-14 17:04:17 -05:00
RexTimmy
dd64004eaf
MacOS platform support.
2016-09-28 11:09:48 +10:00
James Urquhart
212ac36cc1
Tidy up indentation in openvr changes
2016-09-11 22:51:00 +01:00
James Urquhart
e6159a590a
Add basic support for showing openvr controllers and tracked objects
2016-09-11 22:42:42 +01:00
James Urquhart
660bd8d347
Allow gamepad to rotate openvr view. Also Fix issue with movemanager openvr rotation not being set correctly.
2016-09-11 22:42:42 +01:00
James Urquhart
e6c89b1f24
Add basic rotation offset code
2016-09-11 22:42:42 +01:00
James Urquhart
2da474c484
Always use the latest eye pose data from the HMD
2016-09-11 22:42:42 +01:00
James Urquhart
734688ff7e
Implement basic keyboard & mouse support for openvr overlays
2016-09-11 22:42:42 +01:00
James Urquhart
f91aa639d6
Remove projection offset, add the hmd head matrix. Also tidy up a few things.
2016-09-11 22:42:42 +01:00
James Urquhart
da6bcbeb2b
Improvements to openvr code
...
- Overlays are implemented (sans input for the moment)
- Fixed a problem where the movemanager was using the wrong values for hmd rotation & position
2016-09-11 22:42:42 +01:00
James Urquhart
9f49a7844e
Use correct multiplication order for eye transform. Also fix displayDevice not set bug.
2016-09-11 22:42:42 +01:00
James Urquhart
9e5eda9a08
More progress
...
- Fixed normal stereo rendering
- Beginnings of vr overlay code
2016-09-11 22:42:42 +01:00
James Urquhart
b15be28f38
Temp add the convertRotation handler so we dont need the oculus files
2016-09-11 22:42:42 +01:00
James Urquhart
b2faecc82d
Fix openvr typos
2016-09-11 22:42:42 +01:00
James Urquhart
126828131d
Improve openvr, also add a module for it.
2016-09-11 22:42:42 +01:00
James Urquhart
ba91478fad
Baseline working openvr code
2016-09-11 22:42:42 +01:00
James Urquhart
e239d106f5
Use correct bgra format
2016-09-11 22:42:42 +01:00
James Urquhart
64b751a7c8
Basic port of code
2016-09-11 22:42:42 +01:00
Areloch
7372c89dc7
Corrections suggested by timmy for both consistency, and making sure to catch all potential types.
2016-07-08 22:48:24 -05:00
Areloch
911b2735d7
Flipa the i386 preprocessor flag to use __i386__, which is appraently more standard.
2016-07-08 21:33:30 -05:00
Areloch
9d47830a8b
Merge branch 'development' of https://github.com/GarageGames/Torque3D into development
2016-05-24 20:09:53 -05:00
Areloch
c0a96c908f
Adds handling for if the user cancels out of the file dialog, and adds support for proper multi-filters.
2016-05-17 12:46:39 -05:00
Areloch
95ae0b9863
Removes the old component code and moves the IProcessInput interface file into platform/input/ directory.
2016-05-12 23:31:15 -05:00
Azaezel
5958e86e9a
corrects native file dialogue return values
2016-05-09 06:43:47 -05:00
Areloch
ec6f9c05a6
Integrates the nativeFileDialog library to enable native file dialogs on the major platforms. It is activated with SDL.
2016-04-30 15:48:33 -05:00
Anis A. Hireche
10cb6ab9c4
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153
2016-02-26 14:39:38 +01:00
Anis
443cd2d607
Merge pull request #1231 from J0linar/platformNet_PR
...
+proper buffer size for udp socket
2016-02-25 18:38:47 +01:00
Anis
8f4295879d
Merge pull request #1413 from Azaezel/LittleLeakLost
...
partial reversion for #1333
2016-02-25 18:29:50 +01:00
Anis
7418fbfbbd
fixed memory leak in proper way
2016-02-25 18:26:15 +01:00