Commit Graph
18 Commits
Author SHA1 Message Date
Oliver Hamlet c21391568c Add context to Error::ParsingIncomplete 2024-05-02 20:54:56 +01:00
Oliver Hamlet 30c140eb4d Add support for Starfield
As far as loot-condition-interpreter is concerned, it's not really any
different from Fallout 4.
2023-09-05 18:48:44 +01:00
Oliver Hamlet 86fee1892e Remove support for the "LOOT" alias 2023-08-17 23:39:26 +01:00
Oliver Hamlet aff9d546f1 Add support for additional data paths
The Microsoft Store installs Fallout 4 DLCs into separate game
directories, so allow them to be provided for evaluating conditions.
2023-04-23 11:31:25 +01:00
Oliver Hamlet 50662558ae Resolve clippy warnings 2023-04-23 08:38:24 +01:00
Oliver Hamlet 6164c6b8e6 Remove use of 'as' keyword
It was used for an unnecessary pointer cast, and a enum value
cast (which needed tests to make sure those values didn't change over
time).
2022-09-15 22:06:35 +01:00
Oliver Hamlet aa3dabab8d Apply changes suggested by clippy lints 2022-01-23 22:17:35 +00:00
Oliver Hamlet 5d541f3807 Remove unnecessary no_mangle attributes 2021-03-11 19:54:29 +00:00
Oliver Hamlet e31456f5b9 Resolve rustc deprecation warnings 2020-04-02 08:55:29 +01:00
Oliver Hamlet 860995638c Rename LCI_GAME_* constants to use fewer acronyms
A minor quality of life improvement, to break the FFI compatibility in
step with the Rust library.
2019-06-30 11:25:23 +01:00
Oliver Hamlet 52792626af Update to Rust 2018 syntax 2019-06-30 11:25:23 +01:00
Oliver Hamlet 6cfefc6c31 Rename GameType variants to use fewer acronyms
A minor quality of life improvement since the nom 5 update is a
breaking change.
2019-06-30 11:25:23 +01:00
Oliver Hamlet 4db34be2c9 Upgrade to nom v5
Error handling has changed, affecting the error variants LCI exports,
and macros are replaced by functions, so all the parsing code has been rewritten.
2019-06-30 11:25:23 +01:00
Oliver Hamlet 611e4490d2 Replace deprecated libc::uint32_t with u32 2019-06-16 20:33:04 +01:00
Oliver Hamlet f039ba397f Add GameType::Tes3 for Morrowind support 2019-04-07 12:20:10 +01:00
Oliver Hamlet 529e4fc6d1 Error if not all the input is consumed when parsing expressions 2019-01-26 09:44:33 +00:00
Oliver Hamlet 9ef82fe886 Run rustfmt (Rust 1.31.1) 2018-12-22 22:50:16 +00:00
Oliver Hamlet c0bea60673 Add FFI wrapper crate 2018-10-20 21:13:33 +01:00