Commit graph

6028 commits

Author SHA1 Message Date
AzaezelX ee2fc4804a pt2: name conflict resolution for files gened from an ealier rev of the autoconvert wizard 2023-03-07 16:09:11 -06:00
AzaezelX 9a5e0829ff misc asset bit cleanups
pt1) camera_shape misconversion leftovers
2023-03-07 15:15:12 -06:00
Brian Roberts b257ac3d1e
Merge pull request #979 from mjunix/small-fixes
Small fixes
2023-03-06 19:31:07 -06:00
Johan Mattsson 0cbb4fc8a1
Use bitwise instead of logical OR 2023-03-05 12:14:17 +01:00
Johan Mattsson 5b8bfffdec
Fix operator 2023-03-05 12:12:57 +01:00
Johan Mattsson 70a464b3f4 Fix corruption of file encoding. 2023-03-05 11:56:47 +01:00
Johan Mattsson 77e808cc3a
Use correct calculation for dStrncat 2023-03-05 11:28:23 +01:00
Brian Roberts f1d42d3867
Merge pull request #983 from Areloch/GuiPanelDeGradient
Removes the unnecessary gradient effect from GuiPanel when rendered.
2023-03-04 21:32:49 -06:00
Areloch 197aa9f887 Removes the unnecessary gradient effect from GuiPanel when rendered. Now uses just the fill color like most all other gui controls 2023-03-04 21:26:55 -06:00
Brian Roberts 59ed9ee7b6
Merge pull request #982 from Areloch/OnInspectEditorLogic
Adds logic and handling for Inspected SimObjects to be able to injectnew InspectorGroups and InspectorFields when being inspected for editing.
2023-03-04 20:07:25 -06:00
Areloch 3991019912 Adds logic and handling for Inspected SimObjects to be able to inject new InspectorGroups and InspectorFields when being inspected for editing.
Allows for expanded editing capabilities of existing classes without needing to add static fields to classes
2023-03-04 19:04:44 -06:00
Johan Mattsson 2e1cfe9332
Fix potential index out of bounds 2023-03-04 22:05:43 +01:00
Johan Mattsson 2efd5f0acd
Fix potential index out of bounds 2023-03-04 22:03:17 +01:00
Johan Mattsson 11a9edd263
Release memory 2023-03-04 22:01:36 +01:00
Johan Mattsson e46e744dc7
Release memory 2023-03-04 21:59:17 +01:00
Johan Mattsson 3c0a251f71
Release memory 2023-03-04 21:58:16 +01:00
Johan Mattsson 390be98140
Release memory 2023-03-04 21:55:39 +01:00
Johan Mattsson 18ca6c406a
Prevent memory leak 2023-03-04 21:54:21 +01:00
Johan Mattsson acc2e73f48
Release memory 2023-03-04 21:53:02 +01:00
Johan Mattsson 518f2c6a27
Release memory 2023-03-04 21:51:56 +01:00
Johan Mattsson 7519f18035
Check correct variable 2023-03-04 21:48:42 +01:00
Johan Mattsson fa5b377ec3
Fix argument to dStrncat 2023-03-04 21:47:04 +01:00
Johan Mattsson 4f4184ab68
Assign result from mClampF 2023-03-04 21:44:52 +01:00
Johan Mattsson 3c19b8c679
Fix operators 2023-03-04 21:42:41 +01:00
Brian Roberts eeab0c1e06
Merge pull request #977 from Azaezel/alpha41/spawnSphereThisTracking
spawnsphere %this tracking
2023-03-03 20:53:08 -06:00
AzaezelX e944d117e1 spawnsphere %this tracking
fill out a %this var for sawnobjects prior to running the spawnscript command to give it acess to the spawner instance in addition to the spawned instance
2023-03-01 17:49:10 -06:00
Areloch ced69c8dec
Merge pull request #976 from Azaezel/alpha41/soundSafeties
sound safeties and future notes
2023-02-26 23:24:52 -06:00
AzaezelX c4ae6258cc sound safeties and future notes 2023-02-26 17:26:43 -06:00
Brian Roberts 39b9b47caf
Merge pull request #975 from AtomicWalrus/ProjectImporterFilenameDotSlashFix
Project importer: Fix handling of filenames starting with ./
2023-02-26 17:01:40 -06:00
AtomicWalrus 50acaec19c Fix handling of filenames starting with ./
Restores a line for removing double slashes that got caught in a comment block
2023-02-26 16:00:09 -07:00
Brian Roberts a51bccf222
Merge pull request #973 from AtomicWalrus/KeyBindingScriptFixes
Key rebinding script fixes
2023-02-26 14:27:43 -06:00
Brian Roberts b3fc431395
Merge pull request #972 from Areloch/DirtLensAssetIdFix
Fix DirtLens file reference
2023-02-26 13:00:42 -06:00
Areloch 33ac4a0864 Corrects the dirt lens image reference from filepath to assetId to not have overhead having to look up the asset each frame when setting the postFX 2023-02-26 12:58:50 -06:00
AtomicWalrus 732d76d17c Key rebinding script fixes
Fixes two issues:
-Bindings after the first page were not pointing to the correct remapping entries when actually remapping. Were populating the name and button image correctly, but first item on every page pointed to first item on first page.
-Keybinds were never being saved to file if your action maps all had long-form ("human readable") names defined.
2023-02-25 03:14:30 -07:00
Brian Roberts bae7166cc0
Merge pull request #971 from Azaezel/alpha41/isFileFix
fix isFile detection, and aug for script extension searching
2023-02-23 21:53:19 -06:00
AzaezelX f77fa1f286 fix isFile detection, and aug for script extension searching 2023-02-23 16:59:10 -06:00
Brian Roberts dfd25dbd52
Merge pull request #970 from Areloch/ScriptableAssets
Expands ScriptAsset behavior to operate as a generic type-settable asset
2023-02-23 15:54:08 -06:00
JeffR 167f98b767 Expands ScriptAsset behavior to operate as a generic type-settable asset 2023-02-23 15:29:59 -06:00
Brian Roberts b6f3c25fea
Merge pull request #968 from AtomicWalrus/TerrainMacroAndBlendHardness_PR
Enables terrain macro maps, adds height blend "hardness" setting
2023-02-21 00:14:10 -06:00
Brian Roberts ae72247be2
Merge pull request #967 from Azaezel/alpha41/audiopreloadFixes
standardize soundasset preloading for datablocks
2023-02-20 22:15:50 -06:00
Brian Roberts e24bd96484
Merge pull request #969 from AtomicWalrus/TerrainDetailBlendingNoNormalFix
Fix height blending detail color doubling w/ no normalmap
2023-02-20 22:05:59 -06:00
AtomicWalrus 13fec9bb80 Squashed commit of the following:
commit 678d0ea2357915c6502af90083f1d34b6b21b7b4
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 20:46:15 2023 -0700

    Removed some commented-out code

commit 4a149157f7a7b781e2246b1417b144625ff559cd
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 20:42:03 2023 -0700

    Remove un-used instance of the blendHardness var

commit e5dc42adef00ed371cbc89b731ae16889ba68d9a
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 18:57:51 2023 -0700

    Cleanup un-needed conditionals and other leftover code

commit dccd10010e058f00cd41f5c5c111443f9cb71721
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 18:05:31 2023 -0700

    Use validator instead of protected field (2)

commit 4cc7f1d32fcc6ab788de54bb38763283fbd5533e
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 18:03:40 2023 -0700

    Use validator instead of protected field

commit e8d7e1731e383a99e8a0539d23a3b04f9c252491
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date:   Mon Feb 20 15:34:48 2023 -0700

    Terrain macro textures and blending hardness
2023-02-20 20:47:46 -07:00
AtomicWalrus 8c04446893 Fix height blending detail color doubling when no normal 2023-02-20 18:48:02 -07:00
AzaezelX 15f7f04bee standardize soundasset preloading for datablocks 2023-02-19 05:19:51 -06:00
Brian Roberts 2d946f693a
Merge pull request #965 from Azaezel/alpha41/moduleExec
callonmodules perf tweaks
2023-02-18 00:51:41 -06:00
Brian Roberts a17470e2fd
Merge pull request #966 from Areloch/DefaultEditorCamFallbackFix
Make sure there's a default cam for editors
2023-02-18 00:45:39 -06:00
Areloch 0e0cc0b83a Ensures that if no client camera is defined when attempting to swap into an editor camera mode, it makes one so that the normal editor camera modes can work as expected
Adds sanity check to default onNewDatablock function on the GameDatablock namespace in case the onAdd or onRemove functions aren't defined, we don't spam the console
2023-02-18 00:40:55 -06:00
AzaezelX 992a610d9f callonmodules perf tweaks
callonmodules skips out on file execution tracking
new moduleExec method retains the old functionality for module file execution filtering
2023-02-17 05:49:16 -06:00
Brian Roberts 6c8dfdbe4c
Merge pull request #964 from Azaezel/alpha41/protoMethods
new method, getMethodSigs. spits out callback proto-functions
2023-02-16 08:27:22 -06:00
AzaezelX a8e74787b7 new method, getMethodSigs. spits out callback proto-functions 2023-02-15 17:38:45 -06:00