Alexei Dobrohotov
7109378658
Merge pull request #2879 from akortunov/windowmanager
...
Move font loading to the FontLoader
2020-05-29 00:16:37 +03:00
Andrei Kortunov
396afe79f1
Move font loading to the FontLoader
2020-05-28 23:18:31 +04:00
Bret Curtis
f36288569c
Merge pull request #2874 from akortunov/windowmanager
...
Cleanup WindowManager
2020-05-28 13:22:23 +02:00
Andrei Kortunov
1759276ac5
Merge pull request #2869 from Capostrophic/appliedonce
...
Use AppliedOnce flag in more effect duration calculations (#5425 )
2020-05-27 17:00:14 +04:00
Alexei Dobrohotov
afc537384d
Merge pull request #2875 from akortunov/input
...
Move cursor update to the MouseManager
2020-05-26 20:34:31 +03:00
Alexei Dobrohotov
0eb85ea1ff
Merge pull request #2877 from Assumeru/oops
...
Fix explicit startscript calls
2020-05-26 20:27:25 +03:00
Evil Eye
a8231ae297
fix explicit startscript calls
2020-05-26 19:01:33 +02:00
Andrei Kortunov
2ff04b4e73
Move TextColours initialization to the TextColours itself
2020-05-26 18:35:16 +04:00
Andrei Kortunov
dcfc4cc5dd
Rename onFrame() to update() to make WindowManager consistent with other managers
2020-05-26 18:35:16 +04:00
Andrei Kortunov
000e44a18e
Move data from WindowManager to CharacterCreation to simplify API
2020-05-26 18:35:13 +04:00
Andrei Kortunov
b00d72b9e4
Move cursor update to the MouseManager
2020-05-26 18:03:29 +04:00
Roman Siromakha
b3b8480d49
Merge pull request #2868 from Capostrophic/opcodes
...
Give new opcodes to old functions made custom
2020-05-26 14:08:27 +02:00
Alexei Dobrohotov
3a4fa06aa3
Merge pull request #2872 from akortunov/input
...
Fix mControlsDisabled flag usage
2020-05-26 12:57:55 +03:00
Andrei Kortunov
e3df170a53
Fix mControlsDisabled flag usage
2020-05-26 10:58:24 +04:00
Andrei Kortunov
a6351dd887
Merge branch 'windows-crosscompile-fix' into 'master'
...
Use all-lowercase names for windows API headers
See merge request OpenMW/openmw!214
2020-05-25 08:04:39 +00:00
Capostrophic
51c0806a31
Use AppliedOnce flag in more effect duration calculations ( #5425 )
2020-05-24 18:37:21 +03:00
Fanael Linithien
e8ec62b298
Use all-lowercase names for windows API headers
...
This allows the code to successfully cross-compile from hosts with case
sensitive file names, like linux.
2020-05-24 16:49:20 +02:00
Bret Curtis
aeb1776ee6
Merge pull request #2864 from Capostrophic/search
...
Improve GetDistance and object search warnings (bug #5427 )
2020-05-24 13:48:45 +02:00
Capostrophic
e0ecbc08df
Give new opcodes to old functions made custom
2020-05-23 11:57:15 +03:00
Capostrophic
c9c9599ec5
Improve GetDistance and object search warnings (bug #5427 )
...
Allow GetDistance to work with a non-existent object argument or with inventory items that belong to a container store that doesn't exist
2020-05-22 15:50:04 +03:00
Andrei Kortunov
2618974ad6
Merge pull request #2865 from Capostrophic/headtracking
...
Re-enable non-biped creature headtracking (bug #5424 )
2020-05-22 16:19:38 +04:00
Capostrophic
904b245d30
Re-enable non-biped creature headtracking (bug #5424 )
2020-05-22 14:45:28 +03:00
Alexei Dobrohotov
a68a4338a0
Merge pull request #2841 from Assumeru/consistent-refs
...
Script reference consistency
2020-05-22 12:48:50 +03:00
Bret Curtis
357a845d00
Merge pull request #2862 from elsid/optimize_has_animation
...
Optimize MWRender::Animation::hasAnimation
2020-05-22 10:33:37 +02:00
Bret Curtis
da2edbdc1e
Merge pull request #2863 from elsid/active_controllers_vector
...
Use vector for MWRender::Animation::mActiveControllers
2020-05-22 10:33:08 +02:00
elsid
9326111f4c
Use vector for Animation::mActiveControllers
...
Container is only used to add elements, iterate over all of them and
clear. Multimap adds overhead for all of these operations without any
benefits. Reduce Animation::resetActiveGroups CPU time usage by 50%.
2020-05-21 17:32:25 +02:00
elsid
a59e25e093
Optimize MWRender::Animation::hasAnimation
...
Use a set to check for group start existence.
Reduce time taken from 2.6% to 0.08% and
MWMechanics::MechanicsManager::update from 7% to 5%
in relative CPU time usage for a scene with ~100 actors.
2020-05-21 16:21:11 +02:00
Bret Curtis
61fbc1cd0b
Merge pull request #2861 from elsid/osg_stats
...
Env variable to write OSG stats into file
2020-05-19 09:24:38 +02:00
elsid
d7a920a04b
Env variable to write OSG stats into file
2020-05-18 23:44:21 +02:00
AnyOldName3
32ee826a89
Merge branch 'vscode-ignore' into 'master'
...
Ignore VS Code files
See merge request OpenMW/openmw!210
2020-05-18 15:38:20 +00:00
AnyOldName3
087d12589a
Ignore VS Code files
2020-05-18 16:37:18 +01:00
Bret Curtis
88a7ecc18d
Merge pull request #2528 from akortunov/effectstime
...
Use real time to update spell effects
2020-05-18 11:07:48 +02:00
Bret Curtis
730d0493db
Merge pull request #2856 from elsid/aisequence_cleanup
...
AiSequence cleanup
2020-05-18 09:47:36 +02:00
Bret Curtis
72507e57c6
Merge pull request #2857 from elsid/aipackage_cleanup
...
Remove redundant explicit dtor definition for AiPackage
2020-05-18 00:13:30 +02:00
Bret Curtis
02385269fa
Merge pull request #2858 from elsid/aipackage_overriden
...
Mark overriden AiPackage methods as final
2020-05-18 00:09:16 +02:00
elsid
a4fbcb8a10
Remember package iterator to erase it from list without find call
2020-05-17 22:37:44 +02:00
Evil Eye
3875b837bc
make MenuMode, Random, GetSecondsPassed regular functions
2020-05-17 22:34:54 +02:00
elsid
d48eead038
Check type id of current package
...
If package is changed the following usage of it is not consistent.
2020-05-17 22:34:15 +02:00
elsid
f566ab03ab
Mark overriden AiPackage methods as final
2020-05-17 22:19:50 +02:00
elsid
3b5ce71d71
Remove redundant explicit dtor definition for AiPackage
2020-05-17 22:18:26 +02:00
elsid
ca93f8ee39
Compare initialized iterator
...
Comparsion of untilialized iterator is UB. Initialize with packages end.
2020-05-17 21:42:38 +02:00
elsid
e3cce0949e
Replace condition that may lead to UB by assert
...
If mPackages is empty it means package is a pointer to a deleted object
at line . We can assume it couldn't happen because execute is always called
next for this object at line 289.
2020-05-17 21:42:38 +02:00
Bret Curtis
6b44b7f245
Merge pull request #2855 from elsid/fix_msvc
...
Fix msvc dir for Qt
2020-05-17 17:35:09 +02:00
elsid
2e09e96f5d
Fix msvc dir for Qt
...
Otherwise it fails with:
Qt 5.15.0... Exists. CI/before_script.msvc.sh: line 781: cd: MSVC2019_64_Ninja/deps/Qt/5.15.0/msvc2015_64: No such file or directory
2020-05-17 15:21:12 +02:00
Bret Curtis
8d01897942
Merge pull request #2854 from OpenMW/cherry-pick-e0b35232
...
Merge branch 'ninja' into 'master'
2020-05-17 02:24:51 +02:00
Bret Curtis
9fd8470741
Merge branch 'master' into cherry-pick-e0b35232
2020-05-17 02:23:18 +02:00
Alexander "Ananace" Olofsson
7b781d8890
Windows CI dependency upgrade ( #2847 )
...
* Windows CI: Use OSG 3.4-experimental for 0.46
* Update compiled Windows CI dependencies
Only built and pushed so far, still need to try making full OpenMW
builds with them as well.
* Update missed Bullet version number
* MyGUI uses RelWithDebInfo for Release builds now
* Update Windows CI dependencies, switch Qt install
* Fix aqt retrieval and setup
* Make aqt install output slightly nicer
* Bump to Qt 5.15 for VS2019 support
* Fix FFmpeg and Qt install parts
* Fix OSG plugin DLL copying
* Add CMake flag for double-precision bullet
* Roll back 2019 to Boost 1.71 for CI
* Move aqt into unpack step, to allow manual install
2020-05-17 01:12:04 +02:00
psi29a
38daa83ff6
Merge branch 'ninja' into 'master'
...
Enable Windows Ninja builds
See merge request OpenMW/openmw!202
(cherry picked from commit e0b352323226ff11e230f6489e826df332fa681a)
c1e673ce Unify path conversion functions
fdf0fdbb Fix NMake with MSVC 2019
bdd4a814 Activate MSVC during CMake setup for NMake
eae41050 Support sourcing
c0d28a0e Warn that MSVC environment will need to be activated
bd16ad62 Ninja
7d57e6e2 Support MSVC 2015
3679d329 Check MSVC activated correctly
ed4b73b8 Fix post-2015 Visual Studio
4ffa116a Print message when it's necessary instead of when it isn't
c6e09461 Add instructions for using VS' non-.sln support
d9bb6e63 Activate MSVC later
9ca26358 Create batch script to activate correct MSVC
61df647d Provide scripts to activate selected MSVC in existing shell without kerfuffle
2020-05-16 22:23:37 +00:00
Alexei Dobrohotov
b168544445
Merge pull request #2852 from elsid/aiwander_cleanup
...
AiWander cleanup
2020-05-17 00:37:22 +03:00
Bret Curtis
59bda361f0
Merge pull request #2848 from akortunov/bullet
...
Fix Bullet flags usage
2020-05-16 23:22:34 +02:00