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
Capostrophic
95cd473352
Reenable weapon animation lower body animation blending in FPV ( #5441 )
...
Disabling it is a non-vanilla behavior that breaks things that aren't broken in vanilla
2020-05-26 17:01:45 +03: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
Capostrophic
74a74209ac
Allow junk (data-less) NiParticleColorModifiers
2020-05-26 15:08:10 +03:00
Capostrophic
7a9403aeed
Remove unnecessary casts
2020-05-26 15:01:26 +03:00
Capostrophic
fc9a10ba48
Streamline node controller handling
...
Reduce code duplication
Allow non-animated nodes controlled by NiVisController to be optimized out
2020-05-26 15:00:47 +03: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
Capostrophic
89a2c69a61
Support particle node transformations
2020-05-25 23:51:15 +03: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
laikh
d6e4fbe085
Fix mingw Windows build
2020-05-24 08:53:43 +08:00
Capostrophic
e0ecbc08df
Give new opcodes to old functions made custom
2020-05-23 11:57:15 +03:00
elsid
69df6098e5
Report frame number, number of actors and objects to stats
2020-05-22 17:39:18 +02: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
elsid
8e0934cbd8
Single AI package clone definition
2020-05-20 20:15:29 +02:00
elsid
103188b61d
Derive all AI package classes from template to support CRTP features
2020-05-20 20:15:29 +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
08e5d93c9b
Print MSVC activation info in verbose mode, too.
2020-05-18 17:36:07 +01: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