njohnson
b13001ac90
Fix: Use XDataStream for parsing
2025-09-10 21:57:07 -04:00
njohnson
1e24a2cc81
Fix: Set name in constructor
2025-09-10 21:57:07 -04:00
njohnson
631dbdfa53
Fix: Use XDataStream in ParseData
2025-09-10 21:57:06 -04:00
njohnson
fbf295f2a8
Fix: Parse data stream for XCLeafBrushNodeChildren
2025-09-10 21:57:05 -04:00
njohnson
00c84fd622
Fix: Use qint32 for mContents
2025-09-10 21:57:04 -04:00
njohnson
a8cee21ae8
Fix: ParseData method implementation
2025-09-10 21:57:04 -04:00
njohnson
48d7c3e692
Refactor: Use QVector3D for leaf min/max coordinates
2025-09-10 21:57:03 -04:00
njohnson
c7291b567f
Fixes: Parse data from XDataStream
2025-09-10 21:57:02 -04:00
njohnson
ecb0e528c2
Fix: Use XDataStream for parsing
2025-09-10 21:57:01 -04:00
njohnson
2de65b22ec
Refactor: ParseData - Use XDataStream instead of QDataStream
2025-09-10 21:57:00 -04:00
njohnson
a01d07ce41
Refactor: Use XDataStream for data parsing
2025-09-10 21:56:59 -04:00
njohnson
348bf2a299
Refactor ParseData to handle data parsing.
2025-09-10 21:56:59 -04:00
njohnson
37c81d78ce
Fix: Use qint32 for platform ID
2025-09-10 21:56:58 -04:00
njohnson
33052d2e11
Fix: Correctly parse platform integer from data stream.
2025-09-10 21:56:57 -04:00
njohnson
4603ebd7cf
Refactor: Update ParseData to use XDataStream
2025-09-10 21:56:56 -04:00
njohnson
00f0a8a828
Refactor: Add TODO for ParseData implementation.
2025-09-10 21:56:55 -04:00
njohnson
367e4e012e
Refactor: Change QDataStream to XDataStream in ParseData
2025-09-10 21:56:54 -04:00
njohnson
3bf4e8b0e5
Refactor: Parse data for XBoneInfo
2025-09-10 21:56:54 -04:00
njohnson
39a5a75333
Fix: Update data stream type in ParseData()
2025-09-10 21:56:53 -04:00
njohnson
20f4dcd798
Fix: Set name and parse surfId
2025-09-10 21:56:52 -04:00
njohnson
8398156122
Refactor: Change QDataStream to XDataStream in ParseData
2025-09-10 21:56:51 -04:00
njohnson
8136ba1d34
Fix: Add missing Clear() implementation for XAudioXmaLoopRegion.
2025-09-10 21:56:51 -04:00
njohnson
2c18b939e7
Fix: Use XDataStream instead of QDataStream
2025-09-10 21:56:50 -04:00
njohnson
01d2b95417
Add XMA format parsing data fields
2025-09-10 21:56:49 -04:00
njohnson
8cfb82e03d
Fix: Use qint32 for mTotalMsec
2025-09-10 21:56:48 -04:00
njohnson
2d8d34bab8
Fix: Add XAsset constructor
...
This commit adds the `XAsset` constructor to the `XAudioXmaDataInfo` class.
2025-09-10 21:56:48 -04:00
njohnson
6e772cb6b7
Refactor: ParseData to accept XDataStream*
2025-09-10 21:56:47 -04:00
njohnson
32ce8e350f
Implement basic XAudioStreamInfo parsing and initialization.
2025-09-10 21:56:46 -04:00
njohnson
73ab1a368a
Refactor: Use XDataStream instead of QDataStream
2025-09-10 21:56:45 -04:00
njohnson
d9aa25c4af
Fix: Parse audio source format data
2025-09-10 21:56:44 -04:00
njohnson
d18cfb6968
Fix: Rename QDataStream to XDataStream
2025-09-10 21:56:44 -04:00
njohnson
924e448270
Fix: Set name in constructor
2025-09-10 21:56:43 -04:00
njohnson
4dc402fd16
Refactor: Use XDataStream instead of QDataStream
2025-09-10 21:56:42 -04:00
njohnson
8b802028e9
Fix: Parse size and data pointer from stream
2025-09-10 21:56:41 -04:00
njohnson
f6a20c873a
Refactor: Use qint32 for preset overridden value
2025-09-10 21:56:41 -04:00
njohnson
4e4422466c
Fix: Set name in constructor.
2025-09-10 21:56:40 -04:00
njohnson
3bf032d2e0
Fix: Rename QDataStream to XDataStream in ParseData
2025-09-10 21:56:39 -04:00
njohnson
3d378b28c9
Fix: Improve data parsing
...
This commit updates the data parsing logic within the XAudioPacketAligned class. Specifically, it uses `ParseInt32` and `ParseInt8` instead of direct data stream reading, improving type safety and ensuring correct data handling during parsing.
2025-09-10 21:56:38 -04:00
njohnson
1f7ca563bf
Refactor: Use XDataStream for parsing XAudioXmaFormat
2025-09-10 21:56:37 -04:00
njohnson
f6a0ff580c
Implement TODO: ParseData(...) for XAudioFormatInfo
2025-09-10 21:56:36 -04:00
njohnson
b9e858a6d5
Refactor: Use XDataStream instead of QDataStream
2025-09-10 21:56:36 -04:00
njohnson
f88eeec7ee
Fix: Parse Data Handling
...
This commit updates the `ParseData` method to correctly parse input channel, output channel and volume from the `XDataStream`.
2025-09-10 21:56:35 -04:00
njohnson
9c6c55fe75
Refactor: Change QDataStream to XDataStream in ParseData
2025-09-10 21:56:34 -04:00
njohnson
e6f2932ef1
Fix: Parse entry count and entries ptr
2025-09-10 21:56:33 -04:00
njohnson
8c1f9539c7
Refactor: Use XDataStream for parsing
2025-09-10 21:56:32 -04:00
njohnson
21379d133d
Fix: Parse data for asset list
2025-09-10 21:56:32 -04:00
njohnson
10db1eec7d
Refactor: Implement default destructor and rename ParseData method
...
This commit implements the default destructor for `XAssetHeader` and renames the `ParseData` method to `ParseData` to align with the `XDataStream` interface.
2025-09-10 21:56:11 -04:00
njohnson
d267ad19f5
Fix: Parse Raw Asset Type and Asset Pointer
...
Adds parsing logic for the raw asset type and asset pointer within the `XAssetHeader` class. This enables the retrieval of these values during data stream parsing, facilitating asset identification and management.
2025-09-10 21:56:10 -04:00
njohnson
99d2885f9c
Fix: Replace QDataStream with XDataStream
...
This commit replaces the use of `QDataStream` with `XDataStream` in the `XAsset` class. This aligns the code with the current XAssets framework and promotes consistency.
2025-09-10 21:56:08 -04:00
njohnson
0545bfe642
Fix: Improve Data Parsing and Debug Logging
...
This commit addresses an issue in the `XAsset` class's data parsing logic, specifically within the `ParsePtr` method. The previous implementation lacked proper parsing of the integer value associated with the asset's pointer. Additionally, the debug logging during data parsing was overly verbose and included unnecessary hexadecimal conversions. The fix ensures correct integer parsing and simplifies the debug logging output for easier debugging.
2025-09-10 21:56:07 -04:00