Commit graph

4081 commits

Author SHA1 Message Date
AzaezelX
e6c2fe78fb generateCachedPreviewImage needs loadShape() 2023-10-21 15:15:27 -05:00
Brian Roberts
a8194fdf3a
Merge pull request #1114 from Azaezel/alpha41/assetAnalysisAugs
asset load flow work
2023-10-21 01:37:38 -05:00
JeffR
92743f6fd8 Adjusts the logic for when creating a simObject from a taml so that array elements(like material slots or sound asset slots) properly can handle prefixed field values, such as referencing loose asset files. 2023-10-20 17:51:49 -05:00
AzaezelX
4fb67ed618 refactor by request 2023-10-15 16:09:49 -05:00
AzaezelX
3bdce1f33e lower engine requirements back to c++17 standards, not c++20. 2023-10-15 16:09:49 -05:00
marauder2k7
e6ead9f268 Update console.cpp 2023-10-15 15:14:58 -05:00
marauder2k7
09b1e9783a Mem fix
-Data chunker was leaking, (my bad) fixed

-Added != operator to scene container for std:c++17 conformance.
2023-10-15 15:14:58 -05:00
AzaezelX
b278802645 cmake cleanups
new global defines: TORQUE_LIB_ROOT_DIRECTORY and TORQUE_LIB_TARG_DIRECTORY for source location and target to build static libs, respectively
reassign location back to torqueConfig.h, torque.rc, and Info.plist to  "${TORQUE_APP_ROOT_DIRECTORY}/source/ aka \My Projects\<apname>\source by request
2023-10-14 23:02:55 -05:00
AzaezelX
a8d640e311 clean up redundant loads, shift first load to getResource methods for sound and shape.
still need to properly sort image
2023-10-09 14:41:14 -05:00
Lukas Aldershaab
a5e75dfd61 Make sure TORQUE_TARGET_PROPERTIES is populated before using it 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
df8041e689 Add support for replacing the main.tscript file with a specified Console Function 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
bcea9bfc3a Support setting target properties and link options from modules 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
87c6884433 Expose SimObjectPtr C-API functions using EngineAPI 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
8748a2cac8 Expose some information in EngineFunction exports for better interop capabilities 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
ee93dc3b57 Ensure that getGlobalScope always returns the same object 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
2c9f6a5350 Remove EngineXMLExport filtering 2023-10-08 17:36:51 -05:00
Lukas Aldershaab
25c1ebcf13 Properly call endGroup instead of addGroup 2023-10-08 17:36:51 -05:00
AzaezelX
b710a309bd asset load flow work
add reloading state to asset tracking,
convert most asset.isnull() checks on over to skipping out unless the errcode is ::Ok, or ::UsingFallback
add more errstriongcodes to hook up
skip load<type> execution if the asset loaded state is ::Ok
2023-10-08 13:19:43 -05:00
Lukas Aldershaab
753cbe32d9 Fix SkipMainCs flag, it was inverted 2023-09-28 08:31:39 -05:00
Lukas Aldershaab
27b6973da0 Reintroduce getFileLine for Console Modules 2023-09-27 14:58:44 -05:00
Lukas Aldershaab
01cfa4a604 Add sensible defaults for Console Module interface 2023-09-27 14:58:44 -05:00
Lukas Aldershaab
569f3a1e41 Allow skipping main.tscript execution 2023-09-27 14:58:44 -05:00
AzaezelX
0f55389712 rigidshape and derivatives cleanups
dragforce for rigidshapes and children defaulted to a value it's own debuggers won't complain about out of the gate
removed duplicate invalidation for flying vehicle sounds causing network instability
removed redundant hovervehicle vars
2023-09-27 14:37:41 -05:00
Lukas Aldershaab
5615cc33d8 Remove CInterface script hooks, superseded by console refactor 2023-09-27 14:11:13 -05:00
Lukas Aldershaab
a4e3a000fb Fix Dynamic Library builds on Windows 2023-09-27 13:53:30 -05:00
Lukas Aldershaab
d05d9b6cf1 Fix minor typo 2023-09-27 13:53:30 -05:00
James Urquhart
6605ddc66a Improve ray intersection tests 2023-09-26 12:03:51 -05:00
James Urquhart
568f889dbc Correctly handle currentT processing between bin checks during castRay 2023-09-26 12:03:51 -05:00
James Urquhart
dad888f862 Fix compile issue with gcc/clang 2023-09-26 12:03:51 -05:00
James Urquhart
175831fd30 Remove dead code comment 2023-09-26 12:03:51 -05:00
James Urquhart
d278aab929 Improve SceneContainer testing code 2023-09-26 12:03:51 -05:00
jamesu@gmail.com
32a5644d2e Add preliminary testing code for SceneContainer util classes 2023-09-26 12:03:51 -05:00
James Urquhart
7e0016e670 Correct zone insertion logic 2023-09-26 12:03:51 -05:00
James Urquhart
d9ff5d3f0e Basic zone code refactor using lists instead of linked lists 2023-09-26 12:03:51 -05:00
James Urquhart
7e5eacc43d Fix SceneContainer ray test 2023-09-26 12:03:51 -05:00
James Urquhart
596d13f9a4 Optimize container bin lookups 2023-09-26 12:03:51 -05:00
Lukas Aldershaab
c6047b24eb Fix foreach over non-existant objects 2023-09-24 14:36:56 -05:00
AzaezelX
0c97732ae9 cleanups for disablemove
downshift the exposure of the entry to rigidshape so it and vehicles all have the button.
fix moving them after they've become atrest failing to apply gravity untill collided with or applyimpulse is called on them
de-duplicate vehicle networking in reguards to rigid body instance variable transmission
2023-09-22 19:02:26 -05:00
Areloch
7819ca4037 Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic 2023-09-17 19:14:42 -05:00
Lukas Aldershaab
09befb1e3b Cleanup includes 2023-09-17 00:35:03 +02:00
Lukas Aldershaab
7c46789a9e Add assertions around registerObjects 2023-09-17 00:30:40 +02:00
Lukas Aldershaab
24f8e6ff87 Update InspectorField test name 2023-09-17 00:28:23 +02:00
Lukas Aldershaab
6de2b455c4 Fix evaluatef argument handling and add regression test 2023-09-17 00:22:44 +02:00
Lukas Aldershaab
ff03c43b03 Cleanup after datablock tests 2023-09-16 23:34:48 +02:00
Lukas Aldershaab
e7d17e5453 Fix error in DB substitution logic and add regressiontest 2023-09-16 23:29:13 +02:00
AzaezelX
a746957cd9 Merge branch 'development' into weirdtsbug 2023-09-13 08:46:47 -05:00
Lukas Aldershaab
83ea6cd0df Improvements based on experience from implementing Python runtime 2023-09-13 10:33:28 +02:00
Lukas Aldershaab
e28e24a802 ConsoleValue improvements 2023-09-13 10:33:28 +02:00
Lukas Aldershaab
89b0c7f73b Console Refactor 2023-09-13 10:33:20 +02:00
Jeff Hutchinson
5d842fc79f TScript - Fix Type Bug
The compiler was found to have a bug where the variable type cannot ever change, causing issues.
2023-09-12 22:07:28 -04:00