artemutin@yandex.ru
e7a3f059aa
Implemented line and col calculations in scriptsubview
9 years ago
Marc Zinnschlag
2f808f957d
fixed for compiler not recognising script names in some situations
9 years ago
cc9cii
3bbcf6a916
Fix AiWander sub-table editing. Should resolve bugs #2888 and #2930 .
9 years ago
cc9cii
998348e606
Further rationalise the use of ColumnIds
...
- Address Zini's review comments as per https://github.com/OpenMW/openmw/pull/755
9 years ago
Emmanuel Anne
944dfa5372
a light without the carry flag can't be equipped !
...
it fixes Antares big mod teaching disciplines, it adds a light which should
not be equipped to npcs which have learnt something.
9 years ago
Marc Zinnschlag
379d13c7b9
Merge remote-tracking branch 'scrawl/unstack_script'
9 years ago
Marc Zinnschlag
7e7215b3b3
Merge remote-tracking branch 'scrawl/master'
9 years ago
scrawl
91bf5ae237
Add new script instance when a container item is unstacked (Bug #2962 )
9 years ago
Marc Zinnschlag
231935356a
Merge remote-tracking branch 'origin/master'
9 years ago
Marc Zinnschlag
e8f6897376
fixed a possible script bug regarding ID-access for instances that did not yet existed when the script was compiled
9 years ago
scrawl
7b6fe149f2
getSpellSuccessChance return 0 for used powers ( Fixes #2944 )
9 years ago
scrawl
77cb438714
Fix potential case smashing issue
9 years ago
scrawl
029a86267b
Merge pull request #781 from artemutin/magickaRecalculation
...
Fix to https://bugs.openmw.org/issues/2914
9 years ago
artemutin@yandex.ru
ec4fff588d
uncomment updateActor call in buildPlayer for magicka recalc
9 years ago
Alexander "Ace" Olofsson
b4132faaea
Update editmode.cpp
...
Fixes builds on Windows
9 years ago
Rohit Nirmal
0a8e2c0b21
Fix building OpenCS with Qt 5.
9 years ago
Marc Zinnschlag
6ef2319eb8
Merge branch 'sceneinput'
9 years ago
Marc Zinnschlag
4b0fa370e3
made WorldspaceWidget::getDocument public (EditModes will need the document later)
9 years ago
Marc Zinnschlag
323f8bb29f
sensitivity settings
9 years ago
Marc Zinnschlag
1d4f8b2595
send mouse wheel input to active EditMode during drag operations
9 years ago
Marc Zinnschlag
0a5bfb2107
added framework for drag operations
9 years ago
artemutin@yandex.ru
ecce3a1975
Add StartScriptCreator to a factory manager.
9 years ago
artemutin@yandex.ru
903cd3322b
add getIdValidatorResult method to GenericCreator, for use in subclass
...
StartScriptCreator
9 years ago
artemutin@yandex.ru
e672880f64
Fix namespace, add file to CMakeLists.txt
9 years ago
artemutin@yandex.ru
3f27c85630
Added StartScriptCreator class with redefined getErrors method.
9 years ago
Marc Zinnschlag
8e87b48866
handle context-sensitive select mode in instance editing
9 years ago
Marc Zinnschlag
2cb106f6ad
added missing flagAsModified calls
9 years ago
Marc Zinnschlag
f28fa9fc16
clear instance selection on select click on nothing/something that isn't an instance
9 years ago
Marc Zinnschlag
319e3f24a3
on edit mode change clear selection of elements that are not affected by current edit mode (only support for instance for now since we do not have selection for other elements yet)
9 years ago
Marc Zinnschlag
981a8a2cc2
delegated editing and selection functions to mode objects
9 years ago
Marc Zinnschlag
9bf27c7e37
moved edit mode handling from SceneSubView to WorldspaceWidget
9 years ago
Marc Zinnschlag
5d9863aec1
removed a redundant check
9 years ago
Marc Zinnschlag
7bbc475bda
apply button mapping
9 years ago
Marc Zinnschlag
501ae6372d
factored out mouse picking into a separate function
9 years ago
Marc Zinnschlag
3844c94975
bit masking fix
9 years ago
Marc Zinnschlag
72bb33c2c4
filter mouse interaction by interaction mask
9 years ago
Marc Zinnschlag
71247a0186
inserted TagBase between ObjectTag and osg::Referenced
9 years ago
Marc Zinnschlag
748b13b45b
renamed ObjectHolder into ObjectTag
9 years ago
Marc Zinnschlag
9279ae4ba0
Merge remote-tracking branch 'zelurker/removed_items'
9 years ago
Marc Zinnschlag
bebd442b49
Merge remote-tracking branch 'scrawl/godmode'
9 years ago
Emmanuel Anne
6ec8f9123e
Merge branch 'master' of https://github.com/OpenMW/openmw into removed_items
9 years ago
scrawl
899e35591c
Escape MyGUI markup codes in console output
9 years ago
scrawl
387624e158
Add a threshold to AiFollow distance
...
Idle animations can move the actor around slightly, which sometimes causes AiFollow to constantly toggle between "arrived" and "following" state even when the player isn't moving. Could be observed by summoning a bonelord.
9 years ago
scrawl
b9c6a6862a
Don't reset god mode, scripts enabled and sky enabled flags when loading a save game
...
These flags aren't stored in the save file, so it makes no sense to reset them to their default each time a save game is loaded. Instead, reset on "new game".
9 years ago
Emmanuel Anne
2fff6b06cc
removed items by mods do not break cell loading
...
like fortify intelligence potions removed by sris_alchemy which break the
loading of the firewatch mages guild
9 years ago
Marc Zinnschlag
d46eeb04cd
removed a left-over debugging statement
9 years ago
Marc Zinnschlag
5c34a02058
store mouse bindings in WorldspaceWidget
9 years ago
Marc Zinnschlag
d597bef2cd
refined selection related user settings
9 years ago
Marc Zinnschlag
62047b1868
Merge remote-tracking branch 'origin/master' into sceneinput
9 years ago
Marc Zinnschlag
3ada08af90
store lock state and pass it on to edit mode
9 years ago
Alexander "Ace" Olofsson
caa119f13c
Fix instantiation on non-Visual Studio
9 years ago
Marc Zinnschlag
b2cb5f0374
pass on user settings updates to potentially interested parties within a scene subview
9 years ago
Alexander "Ace" Olofsson
7d4125d97f
Fixes for building with unity build
9 years ago
scrawl
12b8fcf0bf
OpenCS: Fix camera position retrieval in WorldspaceWidget
9 years ago
Marc Zinnschlag
7bef97bf33
fixed local variable caching issue in automatic error checking ( Fixes #2927 )
9 years ago
Marc Zinnschlag
8a37d3ad8c
Merge remote-tracking branch 'scrawl/sky'
9 years ago
scrawl
385f4f729c
Implement SunDiscSunsetColor, fade the sun during sunrise & sunset
9 years ago
scrawl
1a1f1fae87
Minor cleanup
9 years ago
scrawl
d812434fee
Add a subtle fading effect to the sun flash texture
9 years ago
scrawl
854fd9fe05
Remove dead code
9 years ago
scrawl
9bb6c3f288
Improve accuracy of sun occlusion query (use circular shape)
9 years ago
scrawl
96b31d3bba
Scale the sun flash texture depending on occlusion query
9 years ago
scrawl
a2a4532e71
Add the full-screen sun glare effect
9 years ago
scrawl
ac5d0bf405
Render the sun flash (not adjusted based on occlusion yet)
9 years ago
scrawl
89d9323c2b
Document RenderBin numbers in a common header to keep them organised
9 years ago
scrawl
d191a52847
Create occlusion query nodes for the sun flash
9 years ago
scrawl
6bafa564d4
Move sun texture setting out of the Updater class so we can reuse the Updater for fading the flash texture
9 years ago
Marc Zinnschlag
39b7340580
added mouse button settings for 3D scene (not in use yet)
9 years ago
Marc Zinnschlag
41191ea367
Merge remote-tracking branch 'dteviot/FixStuckDraft'
9 years ago
scrawl
8de3ce90a7
Add comments for weather IDs
9 years ago
Marc Zinnschlag
1566f3568d
Merge remote-tracking branch 'origin/master'
9 years ago
dteviot
60d0ad9283
When stuck, try moving backwards as well as to side.
9 years ago
dteviot
5369d20682
Moved pathfinding logic from AiCombat to Pathfinding.
9 years ago
scrawl
a37dee09e2
Fix invisibility effect disappearing after a view mode switch
9 years ago
scrawl
18d0cae801
OpenCS: Select objects with the right mouse button
9 years ago
scrawl
41ea76fd83
OpenCS: Add selection outline effect to CSVRender::Object
9 years ago
scrawl
dac3b33efb
OpenCS: Pass events from the QGLWidget to the RenderWidget
9 years ago
scrawl
169fc6a61b
OpenCS: Remove margin around the render window
9 years ago
Marc Zinnschlag
b58a63e14e
Merge remote-tracking branch 'scrawl/deathanim'
9 years ago
Marc Zinnschlag
1aa926c7e0
restored T-shortcut (focus toolbar) in scene widget
9 years ago
Marc Zinnschlag
659b87b25f
more cleanup
9 years ago
Marc Zinnschlag
b3b4fb3efb
removed some left-over signal slot stuff that shouldn't have been there in the first place
9 years ago
Marc Zinnschlag
96880b4dfe
Merge remote-tracking branch 'scrawl/tabs'
9 years ago
Marc Zinnschlag
c35ce88ee7
Merge remote-tracking branch 'scrawl/aiming'
9 years ago
Marc Zinnschlag
ed373aa320
Merge remote-tracking branch 'scrawl/animation'
9 years ago
scrawl
a7f898057b
Don't activate the initial death animation when skipAnim is set ( Fixes #2513 )
9 years ago
scrawl
c4b5a41ac3
Improve combat AI vertical aiming ( Fixes #1366 , Fixes #1330 )
9 years ago
Emmanuel Anne
29a84452ab
durations in tooltips : use "show effect duration" setting
9 years ago
scrawl
a47617c21f
Fix tab indentations in apps/ and components/
9 years ago
Emmanuel Anne
b0d373f7e6
durations in tooltips : water walking effects is seen differently
...
so move the duration info out of this block...
9 years ago
Emmanuel Anne
1472711583
add duration to spell icons too
...
and use gmststrings instead of direct strings in tooltips
durations can display minutes and hours
I don't know any effect lasting an hour or more but you never know...
9 years ago
Emmanuel Anne
47e29480ce
show duration of light sources in tooltip
...
I had forgotten light sources disappear after a while, this way at least
you know it's normal !
9 years ago
scrawl
f8d4bc378f
Move setAlpha from NpcAnimation to Animation ( Fixes #2917 )
9 years ago
scrawl
126960261f
Keep playing IdleSneak on the lower body when casting spells / using weapons
9 years ago
scrawl
5692ef1eae
Add convenience operator [] to AnimPriority
9 years ago
scrawl
84747fbdd7
Use the actual sneak state to determine visibility of indicator ( Fixes #2915 )
9 years ago
Marc Zinnschlag
c693656307
Merge branch 'localvarfix'
9 years ago
Marc Zinnschlag
2a981a5272
make sure local variables are loaded when trying to access them from outside of a script ( Fixes #2659 )
9 years ago
Marc Zinnschlag
82cb16b83c
Merge remote-tracking branch 'cc9cii/opencs-edit-creature'
9 years ago
dteviot
0feae19140
AiCombat use evadeObstacles() from AiPackage.
9 years ago
Marc Zinnschlag
2c37731494
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
9 years ago
dteviot
8e2fe1985d
Fixed errors pointed out by Zini.
...
1. Removed "Actor" from name of function isActorNearInactiveCell().
2. Corrected case of CoordinateConverter member function names.
9 years ago
cc9cii
1365b8edd1
Fix typo.
9 years ago
cc9cii
45aee1b508
Remove AI flag from the UI and instead auto-detect whether to save AIDT records. Should resolve bug #2879 .
9 years ago
cc9cii
5a5e1a3b22
Add missing fields for editing creatures.
...
- Should resolve resolve bugs #2878 (level), #2901 (gold) and #2889 (health).
- Moved Soul, Combat, Magic and Stealth editing to dialogue only (to be consistent with editing NPCs)
9 years ago
cc9cii
c4a900ca2c
Rationalise the use of ColumnIds
9 years ago
cc9cii
258b2ba29a
Ensure ColumnId names are unique. Filter parser calls Columns::getId() which implies that these should be unique.
9 years ago
Marc Zinnschlag
0ff786bebd
Merge remote-tracking branch 'origin/master'
9 years ago
Marc Zinnschlag
a445683312
Merge branch 'mergetool'
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/tools/tools.cpp
9 years ago
Marc Zinnschlag
5be176ee85
disable on-demand loading of land data (for now, maybe)
9 years ago
Marc Zinnschlag
23fde87816
fixed an indexing error
9 years ago
dteviot
10eabc9d51
actorutil.hpp includes mwworld/ptr.hpp
...
As pointed out by Scrawl, fixes compiler error if getPlayer() is called before MWWorld::Ptr is defined, because getPlayer() returns a Ptr by value.
9 years ago
Marc Zinnschlag
584a7a66b9
various minor fixes
9 years ago
dteviot
6f97187bb6
Fix travis warning about no newline at end of file.
9 years ago
dteviot
573a14993a
Moved isActorNearInactiveCell() logic to own function.
...
Also, triggers when actor is near edge of cell, not when less than 1/2 way to edge.
9 years ago
dteviot
e9c796166a
Added MWMechanics::isPlayerInCombat()
9 years ago
scrawl
cd0f8e556b
Merge pull request #753 from slothlife/thunderstorm-support
...
Improve thunderstorm support.
9 years ago
slothlife
29d74f0249
Improve thunderstorm support.
...
Reversed settings for thunderstorms. Added thunder support to all
weather types. Implemented a simple lightning flash effect similar to
MW.
9 years ago
Marc Zinnschlag
09ec60fe2a
handle missing land texture records properly during merge
9 years ago
Marc Zinnschlag
73f6efddcc
fixed a texture indexing bug (only affects the editor)
9 years ago
Marc Zinnschlag
353d6973e2
Merge remote-tracking branch 'origin/master'
9 years ago
scrawl
b98a076055
Add documentation for ACTN ess-record (activation flags)
9 years ago
scrawl
0442bc98f3
Update sleep interruption formula according to wiki, thanks Hrnchamd
9 years ago
scrawl
5aa33fde43
Include cleanup
9 years ago
scrawl
e5d54fb539
Check for actor being the player in various actions
9 years ago
scrawl
fd48c1d6f4
Make the Equip script function "use" items (drink potion, use alchemy, etc)
9 years ago
scrawl
481f23d955
Implement framerate limit setting
...
The framerate limit can be used to reduce strain on the CPU and GPU, in a way similar to VSync, but without the increased input lag that is typical with VSync.
9 years ago
dteviot
96e3933ee9
Fixed bug in smoothTurn()
...
Now correctly handles changing direction from 178 to -178 degrees.
9 years ago
scrawl
acbea2461b
Fix a typo
9 years ago
scrawl
d11952c48a
Stop rendering when the window is minimized
9 years ago
Marc Zinnschlag
a8dc1c1198
merge land tables
9 years ago
Marc Zinnschlag
85f6bb892b
removed indirection in OpenMW-CS land record
9 years ago
Marc Zinnschlag
69b9eadb52
refactored loading of land data
9 years ago
Marc Zinnschlag
b3fdf92d2b
more const-ness fixes
9 years ago
Marc Zinnschlag
febf611c82
made return type of ESMTerrain::Storage::getLand const
9 years ago
Marc Zinnschlag
69045d7ec9
additional safety check for land texture listing merge stage
9 years ago
Marc Zinnschlag
7a96a04b75
Merge remote-tracking branch 'origin/master'
9 years ago
Marc Zinnschlag
a8bee25757
Merge remote-tracking branch 'dteviot/FixStuckDraft'
9 years ago
Marc Zinnschlag
4b7a034cf9
Merge remote-tracking branch 'slothlife/weather-transition-fix'
9 years ago
scrawl
8aaba0af6f
Fix journal page navigation bug introduced by 7dd09dd637
( Fixes #2899 )
9 years ago
Marc Zinnschlag
890bbb6b11
merge land texture tables
9 years ago
Marc Zinnschlag
b7983d08ba
fixed merge stage order; added proper initialisation
9 years ago
dteviot
1dfe438a5d
reduce "reset if stuck" AiWander timeout.
...
Now is about 14 seconds, instead of 300.
9 years ago
dteviot
39c2ba8efe
Pathfinding bugfix.
...
Observed at Ebonheart (coe 1, -13). Especially at the western tower. Guards try to walk though tower door.
Cause: buildPath() adds destination (even when unreachable) when only using single node from pathgrid.
9 years ago
dteviot
f2c9b9351f
Try going right and left to "unstick" actor.
9 years ago
dteviot
31d82b6b0c
Unifiy evadeObstacles() logic between AiWander and AiPackage
...
Can't use same code, but logic is now same.
9 years ago
dteviot
f59e918a3b
removed useless code.
...
zTurn ignores turns < 0.0087 radians.
9 years ago
dteviot
0677799839
movement logic in AiPackage uses ObstacleCheck.
9 years ago
slothlife
2b48a20b76
Fix weather transition bugs
9 years ago
slothlife
d9a7986b3a
Remove redundant fast forward check
9 years ago
Marc Zinnschlag
45e7522aa6
Merge remote-tracking branch 'dteviot/ExtractCommonCreatureDraft'
9 years ago
dteviot
300c48329d
Creature::isFlagBitSet() changed to free function.
9 years ago
slothlife
4fd00a75d5
Merge advanceTime and advanceTimeByFrame
9 years ago
slothlife
cd8ec5c11e
Improve checking for older weather records
9 years ago
slothlife
7817c52cbb
Discard old save game weather records
9 years ago
dteviot
95d2d82abf
extracted isFlagBitSet()
9 years ago
slothlife
c907ed517d
Remove C++11 explicit on conversion operator
9 years ago
slothlife
54fa5273dc
Refactor weather transitions to act more like MW
...
Fixed several issues:
* Waiting/jail time/training all now properly skip remaining transitions
* ChangeWeather no longer permanently sets the region's weather
* ChangeWeather being called during a transition now correctly queues up
another transition
* Corrected transition delta and factor calculations
* ModRegion settings are now saved
9 years ago
Marc Zinnschlag
a97a632aa7
merge references tables
9 years ago
Marc Zinnschlag
a9f9a8d58e
Merge remote-tracking branch 'dteviot/ExtractCommonCreatureDraft'
9 years ago
Marc Zinnschlag
845cafd61c
fixed record state issues after merge
9 years ago
Marc Zinnschlag
f95950e8d8
merge referenceables table
9 years ago
Marc Zinnschlag
9cf793c0b5
silenced a warning
9 years ago
Marc Zinnschlag
40753aa9a3
simplifying merge stage
9 years ago
dteviot
541d7fb4fb
Fixed assorted issues
...
* destructor is virtual
* renamed class to Actor
* corrected indentation of case statement
9 years ago
Marc Zinnschlag
8f7f29943a
Merge remote-tracking branch 'jordan-ayers/topic/dead-code'
9 years ago
Jordan Ayers
cd5bef958f
Remove dead code from alchemywindow.
...
Also align some braces.
9 years ago
dteviot
bb54bbd273
Pulled duplicated functions into common base class
9 years ago
scrawl
b509a18065
Remove code setting PcRace ( Fixes #2886 )
...
This is already handled by the RaceCheck script.
9 years ago
Marc Zinnschlag
16dda281ce
made merge operation more fluent
9 years ago
Marc Zinnschlag
103073150e
added info tables and pathgrid table to merge operation
9 years ago
Marc Zinnschlag
c92898a5bc
flag newly merged documents as dirty (triggering an 'are you sure' dialogue when closing without saving first)
9 years ago
Marc Zinnschlag
e76401d5ea
Merge remote-tracking branch 'smbas/fix-opencs-bugs'
9 years ago
Marc Zinnschlag
a52b947efe
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
9 years ago
Marc Zinnschlag
562f5cdec1
Merge remote-tracking branch 'scrawl/editor_saving'
9 years ago
scrawl
542c648e69
Fix incorrect assignment of PcRace, need to sort race IDs ( Fixes #2884 )
9 years ago
Stanislav Bas
ba4b7df99d
Add missing includes to columnimp.hpp
10 years ago
Stanislav Bas
720aca8f3d
Inform about State change (not a whole row) when modifying a table value
10 years ago
Stanislav Bas
4d24eff859
Show race only when mesh type is Skin (in BodyParts table)
10 years ago
Stanislav Bas
6d81ca07b5
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
10 years ago
scrawl
32ad8c86bf
Fix the ESM::LandTexture NAME being discarded on loading
10 years ago
scrawl
031d64d0d3
Adjust OpenCS saving stages order to stop vanilla MW complaining about missing records
10 years ago
Marc Zinnschlag
50ec8b10f5
Merge remote-tracking branch 'dteviot/Bug2871'
10 years ago
Stanislav Bas
b7295e2632
Columns with Display_Boolean use Combobox editor even for non-boolean values
10 years ago
Stanislav Bas
aeb1acca51
Remove enum names for AiWanderRepeat column
10 years ago
Stanislav Bas
e14aedc7cd
ModifyCommand uses a proper name of a modified nested value
10 years ago
Stanislav Bas
d038ac2da0
Sort tables by ID in the ascending order initially
10 years ago
scrawl
ba8e4c22aa
Avoid using loops to wrap angle values ( Fixes #2882 )
10 years ago
scrawl
52d8bc555c
Add missing checks to see if spell still exists when loading a savegame (Bug #2883 )
10 years ago
Marc Zinnschlag
3902513e65
merge id collections
10 years ago
dteviot
5dd0ad6841
Fixed rest of travis errors.
10 years ago
dteviot
3fa5c6a0e7
fixed travis build failure
10 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
85bc41dedb
replaced FLT_MAX with numeric_limits.
10 years ago
scrawl
af3b0cd883
Improve some error messages
10 years ago
dteviot
3b231b85bb
removed incorrect optimization.
...
Now it fixes #2871
10 years ago
Marc Zinnschlag
08325d14ca
Merge remote-tracking branch 'dteviot/Bug2871'
10 years ago
Marc Zinnschlag
d436dc332b
Merge remote-tracking branch 'jeffreyhaines/gametimetracker'
10 years ago
Marc Zinnschlag
5cb0353b5c
Merge remote-tracking branch 'jeffreyhaines/npcsdontscream'
10 years ago
dteviot
c0d3804b4f
Correctly handle disjoint pathgrid ( Fixes #2871 )
...
Bugfix:
When
1. Cell has multiple subgrids (i.e. path grid is disjoint)
2. Distance between destination and pathgrid point 0 is less than distance to points of subgrid closest to start point
Then getClosestReachablePoint() returns pathgrid point 0 as the end point.
This is invalid, this end point cannot be reached from the start point.
10 years ago