1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 16:53:54 +00:00
Commit graph

28386 commits

Author SHA1 Message Date
Cody Glassman
bc0eed9843 [Postprocessing] Typos in docs and state attributes 2022-06-04 13:33:35 +00:00
jvoisin
1e20c8ba22 Merge branch 'luadoc_fix' into 'master'
Fix incorrect package name in lua docs

See merge request OpenMW/openmw!1971
2022-06-04 13:28:05 +00:00
Petr Mikheev
0745ed590b Fix incorrect package name in lua docs 2022-06-04 13:28:04 +00:00
jvoisin
0cc304e659 Clean up MyGUI includes
This should improve incremental compilation.
2022-06-04 15:26:36 +02:00
jvoisin
075ecc8558 Merge branch 'minor_simp_multidircoll' into 'master'
Minor simplification in multidircollection.cpp

See merge request OpenMW/openmw!1963
2022-06-03 17:22:19 +00:00
elsid
3affe9913f
Limit the number of simultaneously open not actively used content files
Use LRU cache for ESMReaders. When cache capacity is reached close least
recently used ESMReader. Remember the file name if a reader was open. Once the
reader requested again open the file if there is stored name for it. Put
released ESMReader to the back of the free items list. Close ESMReader's from
the front of the free items list.

Cached item can be used only by one client at the same time. If the same item is
requested twice exception is thrown. This should never happen in practice. If
this happens need to fix the client logic.

It's allowed to go over the capacity limit when requesting different readers.
Ideally this should never happen but there will be system error anyway
signalizing about too many open files. Need to fix client logic in this case.

All places that were using a vector of ESMReaders now using the cache. Cache is
local for each use case and there is no need for a thread safety.
2022-06-03 01:29:03 +02:00
Petr Mikheev
72f0174ed0 Do not filter files/data in .gitignore 2022-06-02 22:56:24 +02:00
jvoisin
a204f392c9 Minor simplification in multidircollection.cpp 2022-06-02 20:23:19 +02:00
psi29a
e78d36ff50 Merge branch 'no_input' into 'master'
[Postprocessing] Take away mouse input from headers, remove unnecessary dirty

See merge request OpenMW/openmw!1965
2022-06-02 08:57:48 +00:00
psi29a
160cbb51d2 Merge branch 'nobody-cared-who-he-was-until-he-didnt-put-on-the-mask' into 'master'
Apply Mask_RenderToTexture to local map RTT node

Closes #6784

See merge request OpenMW/openmw!1962
2022-06-02 07:14:30 +00:00
glassmancody.info
a3d95785d7 remove unecassary dirty, don't allow dividers to have mouse input 2022-06-01 22:03:58 -07:00
Cody Glassman
87de776cbc Merge branch 'weather_transition' into 'master'
Make the behaviour of `omw.weatherTransition` in omwfx more reasonable

See merge request OpenMW/openmw!1964
2022-06-02 00:49:10 +00:00
Petr Mikheev
23f1d21e48 Make the behaviour of omw.weatherTransition in omwfx more reasonable 2022-06-02 01:35:39 +02:00
Mads Buvik Sandvei
6bb296723e Apply Mask_RenderToTexture to local map RTT node 2022-06-01 21:28:15 +02:00
psi29a
1a9fe98764 Merge branch 'lua-api-potions' into 'master'
Lua api for potion records

See merge request OpenMW/openmw!1961
2022-06-01 13:19:03 +00:00
beelzebielsk
fb5eb542ff Lua api for potion records 2022-06-01 13:19:03 +00:00
psi29a
7021b1607e Merge branch 'fillbars' into 'master'
[Postprocessing] Fillbar and color coding to HUD

See merge request OpenMW/openmw!1959
2022-06-01 07:48:05 +00:00
glassmancody.info
4dee9acd1e fill bars to postprocess hud 2022-05-31 16:26:51 -07:00
psi29a
a875ac86c0 Merge branch 'change-inventory-usage-docs' into 'master'
Make inventory example runnable in a script

See merge request OpenMW/openmw!1957
2022-05-31 14:41:54 +00:00
psi29a
c64a7f1b62 Merge branch 'ptmikheev-master-patch-74247' into 'master'
Fix broken Lua docs generation

See merge request OpenMW/openmw!1956
2022-05-31 14:21:15 +00:00
psi29a
6d050a4a91 Merge branch 'fix-docs-typos' into 'master'
Fix docs typos

See merge request OpenMW/openmw!1955
2022-05-31 13:16:20 +00:00
beelzebielsk
ad3b83432c Fix docs typos 2022-05-31 13:16:19 +00:00
adam
e4b2f730c7 Make inventory example runnable in a script 2022-05-31 13:12:40 +00:00
Petr Mikheev
9441d6266d Update docs/source/generate_luadoc.sh 2022-05-31 12:34:40 +00:00
uramer
bca05d018e Merge branch 'fix_tests' into 'master'
Fix  #6771

Closes #6771

See merge request OpenMW/openmw!1925
2022-05-31 08:54:33 +00:00
Petr Mikheev
11f21c39ec Merge branch 'addmiscluabinds' into 'master'
Lua API for Miscellaneous records

See merge request OpenMW/openmw!1954
2022-05-31 08:54:08 +00:00
Kindi
638ad15af8 Lua API for Miscellaneous records 2022-05-31 08:54:07 +00:00
Petr Mikheev
7bc0d46896 Merge branch 'save_me_not' into 'master'
[Postprocessing] Fix a couple awkward issues with Lua API

See merge request OpenMW/openmw!1946
2022-05-31 08:45:28 +00:00
Cody Glassman
447b586d7d [Postprocessing] Fix a couple awkward issues with Lua API 2022-05-31 08:45:27 +00:00
AnyOldName3
feb5d5bbc2 Merge branch 'main_noboost' into 'master'
Remove boost:: from openmw/main.cpp

See merge request OpenMW/openmw!1943
2022-05-30 20:22:38 +00:00
AnyOldName3
e24a85419a Merge branch 'master' into 'master'
When building Win32 (VS 2019), there are problems in line 45.

See merge request OpenMW/openmw!1953
2022-05-30 20:20:53 +00:00
psi29a
f7b9ab583e Merge branch 'nostring_sprintf' into 'master'
Don't pass a std::string to C's sprintf

Closes #6762

See merge request OpenMW/openmw!1950
2022-05-30 09:57:50 +00:00
Petr Mikheev
709d186b8d Put tests output files to a separate dir 2022-05-30 01:34:23 +02:00
Petr Mikheev
ab1be50b86 Merge branch 'addapparatusluabinds' into 'master'
Lua API for Apparatus records

See merge request OpenMW/openmw!1942
2022-05-29 23:03:37 +00:00
Kindi
3d0adf259b Lua API for Apparatus records 2022-05-29 23:03:36 +00:00
jvoisin
a6d46ecc75 Don't pass a std::string to C's sprintf
This should fix #6762
2022-05-29 23:27:50 +02:00
jvoisin
4366ec11fc Merge branch 'blank_is_bad' into 'master'
0 initialize mRecordFlags

Closes #6719

See merge request OpenMW/openmw!1949
2022-05-29 21:23:45 +00:00
psi29a
1712a8779c Merge branch 'remove_moar_booooost' into 'master'
Remove boost:: constructs

See merge request OpenMW/openmw!1948
2022-05-29 20:33:17 +00:00
Evil Eye
bb495bffeb 0 initialize mRecordFlags 2022-05-29 22:12:30 +02:00
psi29a
80ad667daa Merge branch 'macos-icu-fix' into 'master'
macOS CI changes

Closes #6776

See merge request OpenMW/openmw!1940
2022-05-29 19:32:53 +00:00
Benjamin Winger
248e3d3c2e macOS CI changes 2022-05-29 19:32:53 +00:00
psi29a
e46fb48a2f Merge branch 'marshland59-master-patch-64917' into 'master'
Update install-openmw.rst with instructions for installing via flatpak.

See merge request OpenMW/openmw!1872
2022-05-29 19:26:40 +00:00
jvoisin
aeb3733e57 Remove boost:: constructs
Namely boost::scoped_array and boost::to_lower_copy.
2022-05-29 21:21:51 +02:00
psi29a
af82140dda Merge branch 'filter_physics_actors' into 'master'
Do not perform physics simulation for actors outside processing range

See merge request OpenMW/openmw!1934
2022-05-29 19:19:35 +00:00
psi29a
fc24ffcaab Merge branch 'folllllllowup' into 'master'
Replace a `c_str()` with an `native()`

See merge request OpenMW/openmw!1938
2022-05-29 19:18:57 +00:00
jvoisin
6c400bcbc3 Merge branch 'uniquely_made' into 'master'
Replace operator new with make_unique

See merge request OpenMW/openmw!1945
2022-05-29 13:10:22 +00:00
Evil Eye
c231c3e360 Replace new with make_unique in essimporter 2022-05-29 13:25:59 +02:00
Evil Eye
db1a372e5b Replace new with make_unique in opencs 2022-05-29 13:25:17 +02:00
Evil Eye
3c83117e99 Replace new with make_unique in openmw 2022-05-29 13:24:48 +02:00
Evil Eye
a95b6e050a Replace new with make_unique in components 2022-05-29 13:24:32 +02:00