1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00
Commit graph

64 commits

Author SHA1 Message Date
Quaternions
c1ea1363bd use Leaves constructor in Leaves BinRead
The leaves are supposed to be sorted and that was skipped.
2025-02-26 09:38:36 -08:00
Quaternions
dd3000d330 split multiple values by whitespace 2025-02-22 09:18:49 -08:00
Quaternions
bf27b6c892 tweak parse_prop for readability 2025-02-22 09:18:49 -08:00
Quaternions
9fb038e777 use array match syntax for Color::deserialize 2025-02-22 09:18:27 -08:00
009628aecc updates 2025-02-22 01:32:21 +01:00
c31dfda436 pass lump version in test_static_prop_lump_bytes 2025-02-22 01:23:49 +01:00
Quaternions
6e3c0659cb support bsp version 19 2025-02-22 01:15:27 +01:00
ebc4e8b3ed
Merge pull request #14 from krakow10/version19
Add LeafV0 + Leaves Version Decoding
2025-02-22 01:14:27 +01:00
80935592ce reduce StaticPropLump duplication 2025-02-20 22:14:06 +01:00
Quaternions
1bc218ab6a add LeafV0 2025-02-20 02:16:44 +01:00
Quaternions
08414d9b51 impl BinRead for Leaves
Read LeafV1 and convert into Leaf
2025-02-20 02:16:44 +01:00
Quaternions
8d2ea3d6fb include Lump version in LumpReader 2025-02-20 02:16:44 +01:00
Quaternions
75728cfab6 move Leaves code into module 2025-02-20 02:16:44 +01:00
Quaternions
a6d9b3472a StaticPropLumpV4 2025-02-20 01:39:56 +01:00
Quaternions
c7c2cfd814 StaticPropLumpV5 2025-02-20 01:39:56 +01:00
Quaternions
d0a1666539 fold BspVersion into Header, use binrw magic for FourCC 2025-02-17 17:20:11 -08:00
2bb996236e fix --no-default-features 2025-02-15 17:02:38 +01:00
Quaternions
fe1b32b44a move entities to game folder behind feature flag 2025-02-14 21:16:30 +01:00
Quaternions
63e36fb1f8 central bool_from_int 2025-02-14 21:16:30 +01:00
a4a00f66b1
Merge pull request #10 from krakow10/entity
Entity Changes
2025-02-14 21:08:57 +01:00
bdb6b003c6
Merge pull request #7 from krakow10/ent-iter
impl IntoIterator for &Entities
2025-02-14 20:55:20 +01:00
Quaternions
265cf21caf generic Entity parse
Allow multiple entity implementations to enabled simultaneously, select which one to use with generics.
2025-02-14 10:01:37 -08:00
Quaternions
bfc70d63cd remove EntityParseError::NoSuchProperty
Optional semantics should not be folded into the error type.
2025-02-14 09:39:23 -08:00
Quaternions
3858ba46de remove unknown entity
The caller already has the RawEntity, there does not need to be any special values.
2025-02-14 09:33:40 -08:00
Quaternions
ba08e13b46 fix ElementCount (too many) for Vector 2025-02-13 16:14:32 -08:00
Quaternions
a6bb2aba5c fix ElementCount (too many) for LightColor 2025-02-13 16:13:50 -08:00
Quaternions
105296bbae impl FromStrProp for Angles 2025-02-13 16:13:50 -08:00
Quaternions
a0e9599470 impl FromStrProp for LightColor 2025-02-13 16:13:50 -08:00
Quaternions
a32b9f060e impl FromStrProp for Color 2025-02-13 16:13:50 -08:00
Quaternions
011260e360 impl IntoIterator for &Entities 2025-02-06 08:55:20 -08:00
f414c8cc97 cleanup and updates 2024-08-29 00:03:17 +02:00
f6e2a200ca serde entity parsing 2024-08-29 00:02:06 +02:00
Quaternions
e1b4735961 typo 2024-02-13 23:49:35 -08:00
b4e08b6e65 allow getting prop data from static and dynamic props 2023-12-27 20:59:18 +01:00
d11d90c8e6 entity utf8 fixes? 2023-12-27 20:12:26 +01:00
14c93cb157 Revert "no face normals for now for semver"
This reverts commit f0d614e60c.
2023-12-21 18:10:55 +01:00
f0d614e60c no face normals for now for semver 2023-12-21 18:10:25 +01:00
7702ca17a6 face normals 2023-12-21 17:48:31 +01:00
dde4ec2a83 add more brush entity types 2023-12-20 19:40:12 +01:00
a6b367a235 field name 2023-12-19 19:12:42 +01:00
5c7b6e9fbd add Packfile::has 2023-12-19 18:59:19 +01:00
160370b5f8 fix texture transforms 2023-12-15 20:45:56 +01:00
e5a3d7ae24 work around circular derive dependency 2023-11-12 14:30:16 +01:00
b9177ea51b update dependencies 2023-11-12 00:14:44 +01:00
0850bb8dbd nix ci 2023-06-08 19:31:12 +02:00
35ef379950 rework deplacement neighbours again 2022-12-24 19:04:38 +01:00
9c85ff5885 generic params are allowed to have real names 2022-12-24 00:17:16 +01:00
5912584a74 normal generic code written by normal people
to de-deplicate some bits
2022-12-24 00:14:54 +01:00
cc14c4e5d7 some more sub-neighbour rework 2022-12-23 23:51:29 +01:00
f22ee95214 dont panic when parsing invalid displacement neighbours 2022-12-23 14:57:13 +01:00