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

145 commits

Author SHA1 Message Date
laVashik
e6df84889b refactor: Simplify early exit in is_l4d2_lump_order 2025-04-19 10:52:08 +03:00
laVashik
70529b9d15 remove unused import Rem in data/mod.rs 2025-04-18 21:06:57 +03:00
laVashik
873e3cbdbe Add doc comments for L4D2 lump order detection 2025-04-18 20:55:06 +03:00
laVashik
a42e95fcee Improve L4D2 lump order detection with enhanced heuristics 2025-04-18 20:52:57 +03:00
7fee74bab4 0.9 and formatting 2025-04-18 15:10:37 +02:00
d4f80899a2 attempt to handle l4d2's different lump headers 2025-04-18 15:01:34 +02:00
0c9446e708 formatting 2025-04-18 14:32:30 +02:00
laVashik
ba4e0e8093 Add support for BspVersion 21 2025-04-16 20:56:49 +03:00
f21afd7db7 re-export AsPropPlacement, again 2025-03-03 20:51:22 +01:00
cecc7b2432 re-export AsPropPlacement 2025-03-03 20:30:13 +01:00
a8a090ee1a rust 2024 2025-03-02 20:17:24 +01:00
94614153b8
Merge pull request #22 from krakow10/prop-angles
Change StaticPropLump & Angles Fields Visibility to Public
2025-03-02 19:01:24 +01:00
Quaternions
bc6cf3157e change StaticPropLump angles field visibility to pub 2025-03-02 18:33:39 +01:00
d8f3018106
Merge pull request #21 from krakow10/split_at
Use split_at in EntitiesIter
2025-03-02 18:28:45 +01:00
76918206da split off common types into a separate crate for easier semver management 2025-03-02 18:25:36 +01:00
472d2106aa prepare for release 2025-03-02 15:15:47 +01:00
Quaternions
5f9e258877 end relative to slice 2025-02-28 15:34:46 -08:00
Quaternions
1a9c6167ac use split_at in EntitiesIter 2025-02-28 14:17:19 -08:00
adf79d70a1
Merge pull request #18 from krakow10/entity-prop-parse
Entity Property Parsing Changes
2025-02-26 23:08:05 +01:00
c781e3e8e6
Merge pull request #20 from krakow10/texture_info-helper
Add helper for texture_info
2025-02-26 23:05:52 +01:00
4417645fd4 formatting 2025-02-26 23:00:50 +01:00
Quaternions
2c973769bd add helper for texture_info 2025-02-26 10:10:35 -08:00
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
2e67f2f60e introduce Negated entity prop 2025-02-24 21:16:39 -08:00
Quaternions
b7da004e7c deserialize bool with BoolVisitor 2025-02-24 21:16:39 -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
7f2c927e7b restore UnexpectedHeader 2025-02-19 23:15:02 +01:00
Quaternions
8f6496e456 remove BspError::UnexpectedHeader 2025-02-17 17:20:11 -08: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
5e1ae07d36 clippy fixes 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