Commit graph

7587 commits

Author SHA1 Message Date
marauder2k7 8795a4f330 Revert "Update torqueConfig.h.in"
This reverts commit f624a85ce4c4bb89d9281ddf4f65f5318eab4c01.
2025-05-12 11:50:48 +01:00
marauder2k7 8fc91bbc1e Revert "Update console.h"
This reverts commit ffac34b2d3eb24ec6a460f2cf77e172543c15772.
2025-05-12 11:50:47 +01:00
marauder2k7 0df6e99a75 Revert "Update console.h"
This reverts commit f10080489995570036e2e5ba762357559a0abd34.
2025-05-12 11:50:46 +01:00
marauder2k7 2b14e5448e Revert "update"
This reverts commit 7ac9c55bf1efa23db674dba4f2c7ada7ca344d7d.
2025-05-12 11:50:45 +01:00
marauder2k7 5cc2abc9ae update
revert console.h to best working version
wrap includes around the TORQUE_DISABLE_MEMORY_MANAGER macro
in torqueConfig.h.in add check for whether we are in release and make sure TORQUE_DISABLE_MEMORY_MANAGER is defined.
2025-05-12 11:50:44 +01:00
marauder2k7 cb7dab4052 Update console.h 2025-05-12 11:50:42 +01:00
marauder2k7 656a8ac0bd Update console.h 2025-05-12 11:50:41 +01:00
marauder2k7 a993b72881 Update torqueConfig.h.in 2025-05-12 11:50:39 +01:00
marauder2k7 0ba8d6102d Update torqueConfig.h.in 2025-05-12 11:50:38 +01:00
marauder2k7 0690ad912a Update ScriptTest.cpp 2025-05-12 11:50:36 +01:00
marauder2k7 338eaea786 Update console.h
az: stringtable insert for stentry
2025-05-12 11:50:35 +01:00
marauder2k7 dc16c50e4e Update console.h 2025-05-12 11:50:33 +01:00
marauder2k7 8176145aaa remove more std::move
std::move needs to be used with pointers, we werent doing that and so a temp var was being copied onto the heap when it should of stayed on the stack. This caused memory leaks
2025-05-12 11:50:32 +01:00
marauder2k7 5fc9da789b changes from az
leak damn near fixed with these changes
2025-05-12 11:50:30 +01:00
marauder2k7 ee0cf872a0 moar leak plug attempts 2025-05-12 11:50:29 +01:00
marauder2k7 ea39c83afd Update console.h
might not fix the leak we were having around callbacks, but it really slows down the upcreep of memory
2025-05-12 11:50:28 +01:00
marauder2k7 bab75a3a46 clang-tidy complained about std::moves 2025-05-12 11:50:26 +01:00
marauder2k7 6237703140 Update platformMemory.cpp
stop memleaker from leaking...... yes i see the irony
free was being blocked from running when unitialized
in shutdown reset our allocList allocCount and currentAllocId so the array can be written to again
2025-05-12 11:50:25 +01:00
marauder2k7 d93f094cf5 Update console.cpp
move shutdown function to after PathExpandos is defined and clear it to remove it from memlog
2025-05-12 11:50:24 +01:00
marauder2k7 d8315267e8 clear utf16 cache
this stops the unicode global cache from showing in the memleak output
2025-05-12 11:50:22 +01:00
marauder2k7 8926d1c32b Update assetManager.cpp
purgeAssets correctly on tear down of the asset manager
2025-05-12 11:50:21 +01:00
marauder2k7 e2c4f88faf plugging moar leaks
Namespace Leaks: these leaks would have been freed on app kill but they were still contaminating the log so free em.
Con::shutdown: gGlobablVars again another leak that would of been freed on app kill
AssetManager onRemove should be clearing its lists
Scripting language needs a free for its strings these destructors free after the rule is executed so the data is cached internally and then freed. This may be needed for other types in the union (should not be used on nodes just raw data)
2025-05-12 11:50:20 +01:00
marauder2k7 b0eb3875c9 changes from az
Output now collates issues together into 1 entry for each leak point
tDictionary leak
2025-05-12 11:50:18 +01:00
marauder2k7 1050cad372 Update platformMemory.cpp
add date and time to output logfile
2025-05-12 11:50:17 +01:00
marauder2k7 15ff382469 plugging found leaks
LEAK from G:\GameDev\GithubRepo\Torque3D\Engine\source\console/consoleObject.h:686
- leak around props remaining after the const_cast free it up

LEAK around sound asset
- assetEnumNameConcat was creating a leak.
2025-05-12 11:50:16 +01:00
marauder2k7 8f856dd7cd build fixes missed by copy over 2025-05-12 11:50:14 +01:00
marauder2k7 8c812cb448 initial commit
This change makes the memory manager work again for detecting leaks, the built in one kept coming into de-ref and other bugs so this is the start of a refactor to get it working.
2025-05-12 11:50:13 +01:00
Brian Roberts 13bf126418
Merge pull request #1445 from Azaezel/aiSubsystem
Ai subsystem
2025-05-07 19:09:55 -05:00
AzaezelX 4ba93dafc3 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into aiSubsystem 2025-05-03 15:25:36 -05:00
Brian Roberts b095134df8
Merge pull request #1451 from Azaezel/alpha41/cleanerCleanups
isobject and obj.delete safties
2025-04-29 20:25:39 -05:00
AzaezelX 62aadf9114 isobject and obj.delete safties
isobject isn't actually one if it's yet to be properlyAdded, or already marked with isRemoved
likewise don't try and delete a deleted thing
2025-04-29 16:45:25 -05:00
Brian Roberts db57f67839
Merge pull request #1450 from Azaezel/alpha41/popUpGoPop
fix PopupMenu::checkItem filter
2025-04-29 15:45:54 -05:00
AzaezelX c04eaa5862 fix PopupMenu::checkItem filter
reminder size is the total element count of the vector
2025-04-29 15:45:39 -05:00
Brian Roberts 798936ebd2
Merge pull request #1325 from Areloch/Standardized_AB_AssetManagement
Updates most of the handling of asset types to follow a more standardized type-registration system.
2025-04-29 13:19:50 -05:00
AzaezelX e489e0cd18 go ahead and allow follow without needing a navmesh 2025-04-28 16:01:24 -05:00
AzaezelX a05ff4f351 kill dupe controlmap tracking var define 2025-04-28 14:38:51 -05:00
AzaezelX 9e2666ed09 nav editor compliance 2025-04-28 14:35:26 -05:00
AzaezelX f278150185 TORQUE_NAVIGATION_ENABLED filtering 2025-04-28 14:31:27 -05:00
AzaezelX 618ddbc9ba Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into aiSubsystem
# Conflicts:
#	Engine/source/T3D/player.cpp
2025-04-28 14:28:54 -05:00
AzaezelX c6f19e5cae fix nav editor stop comand 2025-04-28 12:49:48 -05:00
Brian Roberts 53cb313561
Merge pull request #1438 from Azaezel/alpha41/DamageModel
Generic Damagemodel
2025-04-28 10:54:21 -05:00
AzaezelX be35c27411 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/DamageModel
# Conflicts:
#	Engine/source/T3D/vehicles/vehicle.cpp
2025-04-28 10:53:53 -05:00
Brian Roberts 2ac15f74f2
Merge pull request #1443 from Azaezel/alpha41/controlModel
add a controlmap entry
2025-04-28 10:50:02 -05:00
Brian Roberts 06058cb6e2
Merge pull request #1448 from Azaezel/alpha41/dbReload
add reload status to onNewDataBlock callback
2025-04-28 10:49:24 -05:00
AzaezelX 7ed3f11c8e might as well go ahead and allow substitution statement support 2025-04-28 00:26:45 -05:00
AzaezelX 2ae10c7ce1 add reload status to onNewDataBlock callback
and skip calling onremove/onadd if we're not reloading
2025-04-27 19:49:13 -05:00
AzaezelX b643aa41a2 take flight floor and ceiling into account for yaw too
ditch roll compensation as it was causing more problems than it was solving
2025-04-26 21:04:06 -05:00
AzaezelX 8fa132707d fix stop button 2025-04-26 10:37:42 -05:00
AzaezelX 20976b485c Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into aiSubsystem 2025-04-26 10:11:13 -05:00
AzaezelX b2021caa6d skip sidestepping off a cliff raycast if we're not sidestepping
take current velocity into account for vehicles since some degree of momentum will be maintained
2025-04-25 20:36:22 -05:00