1d5df8df0a
apply new formatting rules to the whole project
2025-07-24 16:29:03 +02:00
13e1ceddfc
update nbt_proc function, still inoperable
2025-07-24 16:28:25 +02:00
333417dadd
add funciton for data loading/processing
2025-07-24 16:28:25 +02:00
fd8db02e77
modify the array bytelength function to get the bytelength of a single tag.
2025-07-24 16:28:25 +02:00
2daeb9823c
add a function to get an NBT array bytelength
2025-07-23 14:55:24 +02:00
4e1cd68c38
semantic fix, use explicit fallthrough
...
GCC was complaining, and I didn't have a valid counter argument.
2025-07-23 14:07:06 +02:00
501c623f01
rename nbt_prim_tagsize to nbt_primsize, for consistency.
2025-07-23 13:00:53 +02:00
65ee7c5b55
add a function for checking whether a tag is primitive or not
...
mainly for niche uses
2025-07-23 13:00:53 +02:00
5d7c244c8f
optimise switch of nbt_prim_tagsize
...
had duplicate switch branches, which wastes binary size.
2025-07-23 13:00:53 +02:00
9fd920908e
move nbt_prim_tagsize to header, since it's a pretty useful funciton.
2025-07-23 13:00:53 +02:00
6c2f51929b
write a function for skipping to the next NBT tag
...
including a function for acquireing the array size, and bytesize of a
tag.
2025-07-18 10:29:08 +02:00
ee1811a3a5
rewrite endian header to not interfere with the endian system header.
...
the system header is inconsistently available across platforms.
This header provides the same functionality for less of the cost,
overriding the system macros.
2025-07-18 10:29:08 +02:00
db76d6992b
add function for comparing an NBT string with a C string
2025-07-15 13:51:23 +02:00
8345ac1164
remove nbt_procdat struct
2025-07-15 13:51:23 +02:00
13451da2e8
add basic function signature for processing the NBT data
2025-07-15 13:51:23 +02:00
be87ccbe22
explicitly set hexadecimal values in NBT tags
2025-07-15 10:37:10 +02:00
2cb5d03211
write headers for data processing
2025-07-07 15:02:47 +02:00