Commit Graph

23509 Commits (079be5d485083d3646ec8e53ad7cbeb09cbc7b2a)
 

Author SHA1 Message Date
Andrei Kortunov 000e44a18e Move data from WindowManager to CharacterCreation to simplify API 5 years ago
Andrei Kortunov b00d72b9e4 Move cursor update to the MouseManager 5 years ago
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
5 years ago
Roman Siromakha b3b8480d49
Merge pull request #2868 from Capostrophic/opcodes
Give new opcodes to old functions made custom
5 years ago
Capostrophic 74a74209ac Allow junk (data-less) NiParticleColorModifiers 5 years ago
Capostrophic 7a9403aeed Remove unnecessary casts 5 years ago
Capostrophic fc9a10ba48 Streamline node controller handling
Reduce code duplication
Allow non-animated nodes controlled by NiVisController to be optimized out
5 years ago
Alexei Dobrohotov 3a4fa06aa3
Merge pull request #2872 from akortunov/input
Fix mControlsDisabled flag usage
5 years ago
Andrei Kortunov e3df170a53 Fix mControlsDisabled flag usage 5 years ago
Capostrophic 89a2c69a61 Support particle node transformations 5 years ago
Andrei Kortunov a6351dd887 Merge branch 'windows-crosscompile-fix' into 'master'
Use all-lowercase names for windows API headers

See merge request OpenMW/openmw!214
5 years ago
Capostrophic 51c0806a31 Use AppliedOnce flag in more effect duration calculations (#5425) 5 years ago
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.
5 years ago
Bret Curtis aeb1776ee6
Merge pull request #2864 from Capostrophic/search
Improve GetDistance and object search warnings (bug #5427)
5 years ago
Capostrophic e0ecbc08df Give new opcodes to old functions made custom 5 years ago
elsid 69df6098e5
Report frame number, number of actors and objects to stats 5 years ago
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
5 years ago
Andrei Kortunov 2618974ad6
Merge pull request #2865 from Capostrophic/headtracking
Re-enable non-biped creature headtracking (bug #5424)
5 years ago
Capostrophic 904b245d30 Re-enable non-biped creature headtracking (bug #5424) 5 years ago
Alexei Dobrohotov a68a4338a0
Merge pull request #2841 from Assumeru/consistent-refs
Script reference consistency
5 years ago
Bret Curtis 357a845d00
Merge pull request #2862 from elsid/optimize_has_animation
Optimize MWRender::Animation::hasAnimation
5 years ago
Bret Curtis da2edbdc1e
Merge pull request #2863 from elsid/active_controllers_vector
Use vector for MWRender::Animation::mActiveControllers
5 years ago
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%.
5 years ago
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.
5 years ago
elsid 8e0934cbd8
Single AI package clone definition 5 years ago
elsid 103188b61d
Derive all AI package classes from template to support CRTP features 5 years ago
Bret Curtis 61fbc1cd0b
Merge pull request #2861 from elsid/osg_stats
Env variable to write OSG stats into file
5 years ago
elsid d7a920a04b
Env variable to write OSG stats into file 5 years ago
AnyOldName3 08e5d93c9b Print MSVC activation info in verbose mode, too. 5 years ago
AnyOldName3 32ee826a89 Merge branch 'vscode-ignore' into 'master'
Ignore VS Code files

See merge request OpenMW/openmw!210
5 years ago
AnyOldName3 087d12589a Ignore VS Code files 5 years ago
Bret Curtis 88a7ecc18d
Merge pull request #2528 from akortunov/effectstime
Use real time to update spell effects
5 years ago
Bret Curtis 730d0493db
Merge pull request #2856 from elsid/aisequence_cleanup
AiSequence cleanup
5 years ago
Bret Curtis 72507e57c6
Merge pull request #2857 from elsid/aipackage_cleanup
Remove redundant explicit dtor definition for AiPackage
5 years ago
Bret Curtis 02385269fa
Merge pull request #2858 from elsid/aipackage_overriden
Mark overriden AiPackage methods as final
5 years ago
elsid a4fbcb8a10
Remember package iterator to erase it from list without find call 5 years ago
Evil Eye 3875b837bc make MenuMode, Random, GetSecondsPassed regular functions 5 years ago
elsid d48eead038
Check type id of current package
If package is changed the following usage of it is not consistent.
5 years ago
elsid f566ab03ab
Mark overriden AiPackage methods as final 5 years ago
elsid 3b5ce71d71
Remove redundant explicit dtor definition for AiPackage 5 years ago
elsid ca93f8ee39
Compare initialized iterator
Comparsion of untilialized iterator is UB. Initialize with packages end.
5 years ago
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.
5 years ago
Bret Curtis 6b44b7f245
Merge pull request #2855 from elsid/fix_msvc
Fix msvc dir for Qt
5 years ago
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
5 years ago
Bret Curtis 8d01897942
Merge pull request #2854 from OpenMW/cherry-pick-e0b35232
Merge branch 'ninja' into 'master'
5 years ago
Bret Curtis 9fd8470741
Merge branch 'master' into cherry-pick-e0b35232 5 years ago
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
5 years ago
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
5 years ago
Alexei Dobrohotov b168544445
Merge pull request #2852 from elsid/aiwander_cleanup
AiWander cleanup
5 years ago
Bret Curtis 59bda361f0
Merge pull request #2848 from akortunov/bullet
Fix Bullet flags usage
5 years ago