Commit graph

4926 commits

Author SHA1 Message Date
AzaezelX
59e162abe5 void floating point error clipping courtessy higuy and hutch 2021-07-31 17:05:29 -05:00
AzaezelX
33e78fd8a8 init reflection probes 2021-07-31 17:04:31 -05:00
Lukas Aldershaab
9a795e89f3 Update usage of TinyXML to use TinyXML2 2021-07-31 21:54:19 +02:00
Lukas Aldershaab
cd170910b2 Replace TinyXML library with version 9.0.0 of TinyXML2 2021-07-31 21:53:10 +02:00
AzaezelX
b73353a446 we want old direct-file references first, then asset macros, since those plug in the old entries to empty if valid. 2021-07-29 11:12:07 -05:00
AzaezelX
3fad050028 Merge branch 'Preview4_0' into EngineAssetify_Followups 2021-07-28 13:51:44 -05:00
Brian Roberts
8d2e806413
Merge pull request #507 from Azaezel/alpha40/pthreadPunishment
adress #501 - thread oversight.
2021-07-28 13:31:51 -05:00
Brian Roberts
4e05c780a4
Merge pull request #506 from Azaezel/alpha40/stupidTypoTricks
adress #504 - typo leading to broken $origin reference
2021-07-28 13:31:27 -05:00
Brian Roberts
db842e7185
Merge pull request #514 from Azaezel/alpha40/GFXStringUnstrung
adress #510 - missing GFXFormatR11G11B10 macrohook
2021-07-28 13:31:17 -05:00
Brian Roberts
8722d8bfd2
Merge pull request #515 from Azaezel/alpha40/moduleUnmangle
partly address #502
2021-07-28 13:31:10 -05:00
Brian Roberts
afc0d3a1c9
Merge pull request #513 from Azaezel/alpha40/templateReview
template index file review
2021-07-28 13:31:00 -05:00
Brian Roberts
8d122bf3a6
Merge pull request #509 from Azaezel/postfxManagerManglefix
adress #508 - fix postfxmanager default initialization
2021-07-28 13:30:52 -05:00
Areloch
52c83d19e1 Added shapeFile field to TSForestItemData convert setting
Fixed modulePath not setting in some cases for project importer
Fixed not assigning drop and splash textures in precipitation
Fixed stringtable insert for sfxProfile
2021-07-28 12:01:17 -05:00
Areloch
abf5a09bc3 Removed duplicate checkbox image
Added asset import conflict resolution option to prepend folder name
Cleanups of Project Importer and fixed importing of material and terrain materials, specifically, fallbacks in the event they are unnamed to utilize the mapTo and internalName fields, respectively
Fixed typos in guiTerrainMaterialDlg
Added AssetBrowser button to GuiEditor
Improved FileObject's PeekLine function to be able to peek forward further via an optional lineOffset argument
2021-07-28 09:26:13 -05:00
AzaezelX
438e6cbb3c fix for diffuse map mangling in several cases, filter imposters out of real time lighting (for now?) fix the blankskybox via a resave, and filter "badfilereference" and "failed" assets out of variable replacement for the project converter 2021-07-25 17:18:55 -05:00
Areloch
432d201569 Further conversions of missed file fields in core and tools
Assets created for missed objects and files
Improvements to the Project Importer to correct a number of issues, including not parsing ,'s from object names, trimming whitespace, pruning script extensions from exec invokes
2021-07-24 02:08:23 -05:00
AzaezelX
36b31ae19d zip support followup 2021-07-22 21:27:13 -05:00
AzaezelX
b8eaefc21e refactor new IsScriptFile method to be zip-safe 2021-07-22 20:55:46 -05:00
AzaezelX
8976250fdf remove fallback from INIT_SHAPEASSET / INIT_SHAPEASSET_ARRAY as it seems that was causing more harm than good somehow 2021-07-22 12:35:25 -05:00
AzaezelX
4df5baffec alter project importing in the following ways:
A) if the file reference string lacks a "/" or "\" entirely, assume it's truly oldschool relative-to-scriptfile when generating links
B) leverage a combination of getClassHierarchy(%currentObjClass); and a new T3Dpre4ProjectImporter::genProcessor(%classType, %conversionMap) method to list-generate ittertatively applied entry conversions in a typo avoiding manner. (will stil need to ensure the old entries are properly listed. this only really avoids copypasta errors)
2021-07-22 12:25:45 -05:00
AzaezelX
795292bed5 alter nomaterial asset to a) use an imageasset, and b) remove the .cs assumption 2021-07-22 12:21:22 -05:00
AzaezelX
f185bef8a3 leverage isScriptFile
(also initialize  scattersky. mNightCubemapName = StringTable->EmptyString();)
2021-07-22 12:02:23 -05:00
AzaezelX
c41b8e00ff clean up the light.cookie entries 2021-07-22 11:57:41 -05:00
AzaezelX
059fb63487 set initial asset loaded state to not loaded 2021-07-22 11:57:11 -05:00
AzaezelX
38b565e12a new method isScriptfile. operates like isFIle, but also checks variations on extentions 2021-07-22 11:56:35 -05:00
AzaezelX
313466f57c new method from JeffH and Marauder: getClassHierarchy(classname). dumps a list of the class inhericance in reverse ancestor order (so that class first, next parent, *it's* parent, ect 2021-07-22 11:55:34 -05:00
Areloch
3e131f5b8e Added changes missed via merge failures.
Removed some unused files/references that were causing errors, related to issues #502 & #512
2021-07-20 20:05:49 -05:00
AzaezelX
817f01ff92 followup: readd, and rename the module.ScriptFile entries to thier lower case 2021-07-20 12:15:05 -05:00
AzaezelX
2090d85aa3 rename core and tools modules and index files to match the directory
(ornery tool doesn't like case renames, so delete and readd)
2021-07-20 12:13:54 -05:00
AzaezelX
1c0f234d3a adress #510 - missing GFXFormatR11G11B10 macrohook 2021-07-20 11:29:13 -05:00
AzaezelX
c640d8823d template index file review
remove redundant referenes to $TorqueScriptFileExtension. exec and queueExec both handle those internaly.
as pointed out in #511, we were already executing the guimusicpayer.gui in the ut.tscript module via queue. as that case allows folks to bolt a true at the end of the method to override the file-call and replace it with a personalized variant in another module, removed the redundant exec
2021-07-20 11:02:38 -05:00
AzaezelX
29286ed924 adress #508 - fix postfxmanager default initialization 2021-07-19 20:45:53 -05:00
AzaezelX
0c23599023 adress #501 - thread oversight.
as discussed in the followup conversation to #500, seems like there's been a bit of command-drift since the writeup we were referencing to attempt consistentcy, so back to treating mac and nix differently on this front, looks like
2021-07-19 09:58:14 -05:00
AzaezelX
3db777b0a0 adress #504 - typo leading to broken $origin reference 2021-07-19 09:41:31 -05:00
Areloch
5525f8ecdd Converts all game, gui editor, and system classes to utilize assets
Processed core, tools and default modules to utilize assets
Converted all console types that were string based, such as TypeImageFilename to utilize const char*/the string table, which avoids a lot of type swapping shenanigans and avoids string corruption
Removed unneeded MainEditor mockup module
Removed some unused/duplicate image assets from the tools
2021-07-19 01:07:08 -05:00
Areloch
83b0432283
Merge pull request #489 from Azaezel/alpha40/zipPassPunt
expose a zip file password cmake config option
2021-07-17 11:03:26 -05:00
Areloch
4d40e3cab5
Merge pull request #449 from OTHGMars/Zip_Test2
Loading from zipped game directories.
2021-07-17 11:03:19 -05:00
Lukas Joergensen
91c985e518
Merge pull request #497 from Azaezel/alpha40/particleBounds
particle emitter bounds box fix
2021-07-14 14:46:01 +02:00
Lukas Joergensen
2c87c69dfc
Merge pull request #500 from Azaezel/alpha40/ScreenResFix
typofix in getScreenResolutionList
2021-07-14 14:43:21 +02:00
AzaezelX
3c0ca5ea88 typofix in getScreenResolutionList 2021-07-09 21:17:13 -05: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
Brian Roberts
18a7e31991
Merge pull request #499 from Azaezel/alpha40/macwork
mac compilation and standarization fixes
2021-07-05 17:56:22 -05:00
AzaezelX
cddacf1c48 mac compilation and standarization fixes
compresses void tc_spinloop() for both unix derivatives and apples to utilize pthread_yield_np();
mac only tweaks to Platform::getUserHomeDirectory() to return the ~/documents directory for parity with windows results
2021-07-01 14:10:07 -05:00
Jeff Hutchinson
312d55be47
Merge pull request #498 from OTHGMars/script_ext
Script extension assignment.
2021-06-27 23:48:20 -04:00
Brian Roberts
b02bead6ea
Merge pull request #493 from Azaezel/alpha40/shadowVarValidators
shadowmap validator tweaks
2021-06-22 12:05:02 -05:00
Brian Roberts
5ed7cda822
Merge pull request #492 from Azaezel/alpha40/simSetSupport
report simset names for add/remove errors
2021-06-22 12:04:48 -05:00
Brian Roberts
3aa0b8d236
Merge pull request #491 from Azaezel/alpha40/StreamSafetyString
augment bitstream write error reporting
2021-06-22 12:04:31 -05:00
Brian Roberts
db4f4984ca
Merge pull request #490 from Azaezel/alpha40/StaticShapeUnmountFix
connects staticshape::unmount to the parent chain so it can actually do so
2021-06-22 12:01:56 -05:00
OTHGMars
86c302c42e Prevents overwriting existing .torsion files. 2021-06-22 06:11:01 -04:00
OTHGMars
11c258fcdb Script extension assignment.
Sets extension on installed script files.
Enables .torsion file to be reconfigured after extension change.
Prevents copy of main.tscript.in.
2021-06-22 00:48:53 -04:00