JeffR
b44158cb89
Cleans up ShapeAsset of some unnecessary/redundant elements like extra material and animations tracking
...
Removed the old SHAPE_ASSET macros
Implements AssetRef struct that acts as a universal wrapper for an templated AssetPtr and AssetId pair
Adds Type handling for AssetRef for ShapeAsset to unify handling in classes that utilize a shapeAsset, so assigning an assetPtr or an assetId will keep a record of the assignment in the event the assetPtr is invalid.
Update all classes that utilized the old SHAPE_ASSET macros to utilize the AssetRef struct and updated the class code to utilize it to provide much more clean and concise code that isn't blocked behind macro definitions
Added a new example class: shapeDatablockExample which allows render of a simple shape object utilizing a simple example datablock.
2026-05-31 01:19:26 -05:00
marauder2k7
ca1604170d
initial commit
...
change the macro to use the refactor (exact same structure as the imageasset macro)
2025-06-19 13:34:07 +01: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
f633ef3a3d
fill in the validated variables
2025-03-09 11:53:23 -05:00
marauder2k7
6807abc8b6
ID10T error
...
no default does not need case -_- id10t error, few other fixes
2024-07-22 21:12:48 +01:00
marauder2k7
a621cc5100
various warnings
...
warnings cleanup
2024-07-22 20:59:48 +01:00
AzaezelX
c4ae6258cc
sound safeties and future notes
2023-02-26 17:26:43 -06:00
AzaezelX
f5a34308f9
add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector
2023-01-27 01:13:15 -06:00
AzaezelX
ace18d0246
layout consistency pass pt 2 -place shapebase inheriting initpersistfields up top so the child layout appends to the parent
2023-01-24 19:30:09 -06:00
AzaezelX
93faa243ac
cleanups for sound assets
...
removed redundant get<foo>Profile calls, correctly used a few in proxmine
2021-11-27 00:32:25 -06:00
AzaezelX
98a079a797
code duplication prune. should aid in stability
2021-10-03 02:56:26 -05:00
marauder2k7
30b57c0f95
More turns
...
-Flying Vehicle
-Proximinity Mine
2021-09-20 14:17:10 +01:00
Azaezel
76602509e3
delta to mDelta to resolve another class var vs method var confusionpoint
2018-03-12 23:07:34 -05:00
Areloch
25686ed4be
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Thomas Fischer
cd978039ac
Merge pull request #635 from just-bank/engine-fixes
...
Various engine fixes
2014-05-23 14:09:00 +02:00
bank
a7756b5591
Renamed local variable so it doesn't interfere with the provided argument.
...
String errorStr should be filled in only when ::preload returns false.
2014-05-06 15:35:52 +04:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00