Commit Graph

53 Commits (e1665f39450dd9b70fa67a47bd3b26f4d9bdb9e9)

Author SHA1 Message Date
elsid 22817dd6a1
Use normalized path for correctMeshPath 2 months ago
elsid 36198e9413
Use normalized path for getLODMeshName 2 months ago
elsid afa769408a
Use normalized path for correctActorModelPath 2 months ago
elsid 376911f645
Reduce duplication for getting file name 2 months ago
elsid d2ab366233
Use normalized path in PhysicsSystem 3 months ago
elsid 85edc49f2f
Remove unused argument 3 months ago
psi29a 023c0f7a46 Merge branch 'vfs_normalized_path_6' into 'master'
Use normalized path for music related functions

See merge request OpenMW/openmw!4038
8 months ago
elsid a863899eb1
Use normalized path for SoundManager::streamMusic 9 months ago
Alexei Kotov 1a961f3021 Extremely early handling for BGSM/BGEM files 9 months ago
elsid e11a5a4352
Use normalized path for SoundManager::playPlaylist 9 months ago
elsid ec9c829021
Use normalized path for correctSoundPath 10 months ago
Evil Eye 82c92a9a6c Merge branch 'bookart-is-textures-too' into 'master'
Consider bookart a valid prefix for regular textures and vice versa

Closes #7535

See merge request OpenMW/openmw!3342
10 months ago
AnyOldName3 6406095bfb s p a n 10 months ago
AnyOldName3 1717e696b1 Format before clang notices and sends me an angry email 10 months ago
AnyOldName3 db5a43db30 Allow top-level prefix to be found in the middle of a path 10 months ago
elsid 81a483fc7f
Remove unused vfs argument from correctMeshPath 1 year ago
AnyOldName3 4d0aece001 Clarify variable name 1 year ago
AnyOldName3 3a71a78d9e Combine topLevelDirectory and alternativeDirectories 1 year ago
AnyOldName3 f30676cbc7 Invert condition
Rebased to account for upstream normalising slashes to replace forward
slashes with backslashes, simplifying the part that needed to check for
both variants. Perhaps if it'd been like that in the first place, I
wouldn't have made the mistake that made the original version of this
commit necessary.
1 year ago
AnyOldName3 69bb65e47b Allow bookart to be in texutres and texutres to be in bookart.
Rebased to account for upstream normalising slashes to turn forward
slashes into backslashes. This simplifies some conditions that
previously needed to check for both kinds.
1 year ago
Petr Mikheev 4beed29404 Changes required during review 1 year ago
Alexei Kotov 1da9038b35 Updates to resource path handling
- Remove consecutive slashes
- Only use backslashes
- Try to find the top level directory in the path before prepending it
1 year ago
Andrei Kortunov e1cae5a029 Rework music system 1 year ago
Andrei Kortunov 7ce9fc25c5 Implement Lua bindings for sound system 1 year ago
psi29a 6601b0cb15 Merge branch 'fastandloose' into 'master'
Drop support for --fs-strict

Closes #7394

See merge request OpenMW/openmw!3093
2 years ago
Petr Mikheev 2f16a8d27c Fix incorrect model part for records created by Lua scripts 2 years ago
Evil Eye eeda48ec50 Drop support for --fs-strict 2 years ago
Evil Eye 3138eb406b Fix case sensitive comparison 2 years ago
Alexei Kotov 6ff9b5d326 Make use of ends_with for KF 2 years ago
Alexei Kotov 4d0788e016 Use xnif if its xkf is present even if xnif isn't 2 years ago
florent.teppe 65cdd489fb create a specific esm reader function for RefID to avoid allocation for string and then again for RefId
Fixed some types

removed useless header

applied clang format

fixed compile tests

fixed clang tidy, and closer to logic before this MR

Removed hardcoded refids

unless there is a returned value we don't use static RefIds
can use == between RefId and hardcoded string

Fix clang format

Fixed a few instances where std::string was used, when only const std::string& was needed

removed unused variable
2 years ago
fteppe 7da38113be Changed more hardcoded RefId to be static to avoid multiple runtime creations
adresses multiple review comments
2 years ago
fteppe 2f2e401559 is Hidden marker now takes a const RefId& instead of a string_view 2 years ago
Cédric Mocquillon 7e77e69a3c Use a wider type when converting to a signed type 2 years ago
elsid 843753da14
Remove unused includes 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Cédric Mocquillon 83ee25711e Use the pattern according to the esm version 2 years ago
Cédric Mocquillon 6a3d27ce82 Add a dictionary to retrieve the LOD mesh name of a mesh cache 2 years ago
Evil Eye 150d1840d6 Use more string_view and const string& 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
uramer 1fb136a417 Correct icon and mesh paths in Lua records 3 years ago
Cédric Mocquillon 512d64e514 Extract correctSoundPath method to avoid code duplication. Add unit test for the new method 3 years ago
Bo Svensson 0371072631
removes lowerCaseInPlace (#3217)
This PR removes unneeded `lowerCaseInPlace` calls in in a hot path of `objectpaging.cpp` that are no longer necessary after PR #3197. In addition, I have been informed that these changes should by coincidence address a compiler specific compilation error we currently experience.
3 years ago
elsid 3caf45807f
Use common implementation to filter hidden markers 3 years ago
Marc Zinnschlag 13f7b53b1c Revert "Don't force DDS file usage (fixes #1392)"
This reverts commit 90f3ff2da4.
7 years ago
Capostrophic 90f3ff2da4 Don't force DDS file usage (fixes #1392)
Fallback to a DDS file if the requested texture path doesn't point to an existing file, not vice versa
7 years ago
MiroslavR c962b6dd6d Fix correctActorModelPath to work properly when both backward and forward slashes are used in the path (Fixes #3822) 8 years ago
scrawl 07b064f616 Rename to lowerCaseInPlace 9 years ago
scrawl 79c2138e53 Port ResourceHelpers to new VFS 10 years ago
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago