Commit graph

245 commits

Author SHA1 Message Date
Robert MacGregor
35b348f93c * Adjustment: Change Platform::makeFullPathName to use "game:/" as cwd if none is specified. 2022-06-16 19:04:43 -04:00
Robert MacGregor
3dafdef5da * BugFix: Mount home:/ to refer to Torque's original Documents/<APPNAME> output for eg. prefs while leaving data:/ as an option for those that may want it. 2022-06-13 10:53:01 -04:00
Robert MacGregor
59cf242a7a * BugFix: Fix the data:/ VFS not being mounted if the root directory didn't already exist. 2022-06-13 10:32:39 -04:00
Robert MacGregor
161ffc62fe Merge branch 'Preview4_0' into feature-vfs-security 2022-06-13 08:05:26 -04:00
Robert MacGregor
2368f1d97c * Feature: Reimplement POSIX CPU information.
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
2022-05-24 20:58:28 -04:00
Robert MacGregor
c687c0d23a * BugFix: Remove unused 3DNow! extensions and broken SSE extensions. 2022-05-24 20:39:34 -04:00
Jeff Hutchinson
27fd15de83 Merge remote-tracking branch 't3d/Preview4_0' into cpuinfo 2022-05-24 17:16:57 -04:00
Robert MacGregor
0e93373824 * BugFix: When querying against root with Torque::FS::DumpDirectories, correctly return directories with their path.
* Adjustment: Add commenting to some of the new programming.
* Adjustment: Tweak fileCreatedTime and fileModifiedTime functions to use the VFS.
2021-12-20 19:26:32 -05:00
Robert MacGregor
7665076b19 * Cleanup: Minor cleanup of test code and an unused include. 2021-12-19 00:54:11 -05:00
Robert MacGregor
277cdf67b0 * Feature: Initial secure VFS implementation with asset import capability. 2021-12-17 21:16:42 -05:00
Robert MacGregor
2311d7d683 * BugFix: Correct an ASAN reported memory error caused by incorrect usage of __sync_fetch_and_add. 2021-11-02 18:11:42 -04:00
Robert MacGregor
aba091a97a Merge remote-tracking branch 'main/Preview4_0' into bugfix-msvc-compiler-warnings 2021-10-11 19:36:52 -04:00
Robert MacGregor
cf9d15a9d4 * BugFix: Correct a Windows compilation error in the endian swap code due to a missing include. 2021-10-08 17:23:16 -04:00
Robert MacGregor
15b946fb35 * Adjustment: Utilize native compiler intrinsics for endian swapping when available. 2021-10-07 09:59:03 -04:00
Robert MacGregor
5d26dba7da * BugFix: Clear some MSVC compiler warnings. 2021-10-07 00:27:39 -04:00
Robert MacGregor
1b6b803a20 * BugFix: Clear a lot of warnings and correct a few actual programming errors along the way. 2021-10-04 20:04:21 -04:00
Jeff Hutchinson
24e5db942b flush out windows cpu detection. 2021-09-26 23:43:06 -04:00
Jeff Hutchinson
eb92a8927e M1 Support for cpu detection 2021-09-26 19:36:12 -04:00
Jeff Hutchinson
960ea2aa5a Add support for Neon. 2021-09-25 22:53:34 -04:00
Jeff Hutchinson
7cb306b65a macos platform fixes for intel macs 2021-09-25 22:39:40 -04:00
Jeff Hutchinson
433d32f237 Implement better CPU Detection 2021-09-15 00:19:56 -04:00
Jeff Hutchinson
17231ca9fb Merge remote-tracking branch 'devhead/Preview4_0' into tsneo
# Conflicts:
#	Engine/source/platform/types.visualc.h
#	Templates/BaseGame/game/tools/assetBrowser/scripts/assetBrowser.tscript
#	Templates/BaseGame/game/tools/assetBrowser/scripts/assetTypes/terrain.tscript
#	Templates/BaseGame/game/tools/gui/editorSettingsWindow.ed.tscript
#	Templates/BaseGame/game/tools/gui/scriptEditorDlg.ed.gui
2021-09-01 22:26:23 -04:00
Robert MacGregor
1b55dce613 * Workaround: Implement noinline attributes for problematic functions in str.cpp due to what appears to be GCC compiler bugs. 2021-09-01 21:12:12 -04:00
Jeff Hutchinson
633bc040d0 Update thread ids for 64bit support. 2021-08-29 20:34:57 -04:00
Robert MacGregor
6ad2876504 * BugFix: Correct 3 missing defines in the GCC types include file.
* BugFix: Move several compiledEval declarations around to resolve ordering issues.
* BugFix: Experimentally remove the reference on an engineAPI template function to allow parameter types to match.
2021-07-09 21:05:55 -04:00
Jeff Hutchinson
acde0c3f0b Merge branch 'Preview4_0_DevHead' into tsneo
# Conflicts:
#	Engine/source/console/consoleInternal.cpp
2021-06-18 21:13:49 -04:00
Jeff Hutchinson
e981fd2cc3 Add support for aarch64 / apple silicon 2021-05-10 15:55:56 -04:00
Jeff Hutchinson
ab4c0f0361 Add fast math optimization 2021-05-01 02:07:54 -04:00
Jeff Hutchinson
5e81c021f5 start cleaning up ConsoleValueRef's 2021-03-30 23:58:07 -04:00
Lukas Aldershaab
099dd4f1f3 Parametrize script extension, default to 'tscript' 2021-01-19 21:32:31 +01:00
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