226f001c78handling of array of pointers, refactoring, fixes n shit
mm00
2025-03-12 19:02:25 +01:00
934c878878Added IsPointer field for array attribute, fixed pointer arrays sizes
mm00
2025-03-12 19:01:52 +01:00
6533511a4arefactored GetArrayDimensions method, ParseFSize now returns null if not found
mm00
2025-03-12 18:59:47 +01:00
c48d84bb7cFormatting and documentation pass
Samuele Lorefice
2025-03-12 01:58:56 +01:00
633b2b4376Implemented convert array field
Samuele Lorefice
2025-03-12 01:55:26 +01:00
8202c2185bHalf-Handled generation of the same object, added docs, removed array specific handling from ConvertNormalField. Disabled exception thrown due to caveats.
Samuele Lorefice
2025-03-12 01:54:56 +01:00
0fee1f10d2Integrated DnaArrayAtribute generation in the generator
Samuele Lorefice
2025-03-11 19:08:47 +01:00
0bf0aeab09Added Array specific logic to Reader. **NOTE: This doesn't use the new attribute yet**
Samuele Lorefice
2025-03-11 18:44:48 +01:00
8678ee6c85Added DNAArrayAttribute to the generation and AddArrayField method. Disabled Array checking in AddNormalField and done Array checking at the main logic
Samuele Lorefice
2025-03-11 18:44:09 +01:00
fbc0f9be49Changed String extensions to retunr char size as a 1 byte (cpp size) instead of 2 bytes (C# size)
Samuele Lorefice
2025-03-11 18:42:12 +01:00
26add1559fFixed wrong name determination in field-count value coupling
Samuele Lorefice
2025-03-07 19:11:17 +01:00
d3e54246c4fixed double loop problem and refactored field additions
mm00
2025-03-07 18:55:17 +01:00
bfa185c8e4Added count field type argument to the list attribute
Samuele Lorefice
2025-03-06 19:41:37 +01:00
e11cd54096Fioxed dictionary being recreated every step of the for loop.
Samuele Lorefice
2025-03-06 19:14:59 +01:00
9e1d65d08dAdded start offset param to the field conversion methods, started implementing list conversions
Samuele Lorefice
2025-03-06 19:11:50 +01:00
fb50e3fa44Fixed list length value returning always zero. Added separated pointer and count memory offsets to list attributes. Tried handling them
Samuele Lorefice
2025-03-06 19:11:03 +01:00
0bc7f73aeeMoved pointer and struct conversion to a separate method
Samuele Lorefice
2025-03-06 18:32:21 +01:00
02aa7db319Changed attribute builder to derive from correct class, also added method to pass base class parameters using string refs. Regenerated the files
Samuele Lorefice
2025-03-06 17:37:55 +01:00
a784eed61dGeneral code cleanup in reader class. Added stub methods for extracting data retrieval to a separate method.
Samuele Lorefice
2025-03-05 18:43:39 +01:00
8bbfb49720Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes
Samuele Lorefice
2025-03-04 18:47:55 +01:00
b70bcd4d02Reordered parameters in Attributes
Samuele Lorefice
2025-03-04 18:33:17 +01:00
b100dc8020Fixed list length search
mm00
2025-03-04 18:03:40 +01:00
0dccefb7e4added method to create ListFields and generation of Lists
Samuele Lorefice
2025-03-04 17:40:57 +01:00
d986670268Added queue for log messages and logger on a separate thread, added telemetry.
Samuele Lorefice
2025-02-27 23:44:51 +01:00
30cdc7a23dChanged code gen to use latest lang version
Samuele Lorefice
2025-02-27 23:44:10 +01:00
7a0ad7e968Added IsClass and FilterFields methods to streamline types creation, added more documentation
Samuele Lorefice
2025-02-27 20:57:12 +01:00
bdc9624d13Added derive from class parts to the attribute building process. Added static Lists of substrings for attribute filtering.
Samuele Lorefice
2025-02-26 19:24:14 +01:00
80234eb599Fixed a bug in AttributeBuilder where setting the derived type would not be applied if there wasn't one already set up.
Samuele Lorefice
2025-02-26 19:23:33 +01:00
55f3d411b3Added documentation to Attribute builder. Added Inheritance methods. Added a base DNA attribute to GenerateTypeDeclarations method.
Samuele Lorefice
2025-02-26 18:58:29 +01:00
869fd3b794Made AttributeBuilder not a singleton, replaced multiple methods per attribute with a single method that returns all the attributes in a single sweep.
Samuele Lorefice
2025-02-26 17:03:15 +01:00
4166482022Fixed naming of variables in the code generator class
Samuele Lorefice
2025-02-26 16:01:16 +01:00
5aeaf064ceAdded todo
Samuele Lorefice
2025-02-25 18:44:48 +01:00
9081c9b32eUnrolled loops so the debugger works
Samuele Lorefice
2025-02-25 18:27:37 +01:00
91b74a24ddCreated a builder for attributes in code generator
Samuele Lorefice
2025-02-25 16:32:38 +01:00
23cec0bd0fReplaced longs with built in IntPtr type.
Samuele Lorefice
2025-02-25 16:32:08 +01:00
c0533a0d69More documentation added in the FillObject method.
Samuele Lorefice
2025-02-20 15:09:00 +01:00
e618527135Added documentation to Reader class in BlendFile. Extracted method for Filling an object with data from a block, given an offset
Samuele Lorefice
2025-02-20 15:04:12 +01:00
146a3992ceGenerated new code and added initial data handling
mm00
2025-01-27 19:24:50 +01:00
ebcc629febAdded Reader class to BlendFile library
Samuele Lorefice
2025-01-23 16:47:32 +01:00
2bd93ab3bbRenamed BlenderBlend class into BlendFile
Samuele Lorefice
2025-01-23 16:28:34 +01:00
b7cd60e4cfGeneral cleanup of the generator code
Samuele Lorefice
2025-01-23 16:23:09 +01:00
31690354f8Cleaned up usings
Samuele Lorefice
2025-01-23 16:20:01 +01:00
0674e6b136- Modified DNAClassAttribute to also support usage on structs - Added auto generation of DNAClass attributes on file generation - Regenerated all files
Samuele Lorefice
2025-01-23 16:15:50 +01:00
7c0708b377Added BaseType "Attribute" to DNAClassAttribute generator function and regenerated the source.
Samuele Lorefice
2025-01-23 16:09:33 +01:00
bf1eb8201cRegenerated all the files
Samuele Lorefice
2025-01-22 20:24:55 +01:00
162f888600Added runtime generation of the attribute classes and marking of field metadata
Samuele Lorefice
2025-01-22 20:24:25 +01:00
3bcbde6bb2Added skip for pointer to functions, added int64_t compat type
Samuele Lorefice
2025-01-22 17:09:33 +01:00
d5533ac251Corrected operators for uchar to use the internal type for operations, defined int8_t compat type
Samuele Lorefice
2025-01-22 16:29:54 +01:00