Chris Robinson
9499ac4fd5
Increase the distance for reaching a path node
12 years ago
Chris Robinson
f9dbce685a
Avoid killing AIWander and AITravel when far away
...
This fixes the problem of certain NPCs not wandering because they
happened to spawn near a cell border away from the player, which
immediately "completed" the wander package.
AIWander can't cause NPCs to cross cell boundaries, so there's no risk
of them walking into an unloaded to. AITravel will now simply stop
moving, and resume later when the cell is loaded.
12 years ago
mckibbenta
f65172bdca
Merge branch 'master' of https://github.com/zinnschlag/openmw into tgm
12 years ago
mckibbenta
eef9df504a
fiddlings
12 years ago
scrawl
c8e31725dc
Fix weather sounds persisting on a new game
12 years ago
Marc Zinnschlag
9f0b34eae0
fixed reference loading code (editor)
12 years ago
Marc Zinnschlag
ce90c2f3be
Merge remote-tracking branch 'kcat/master'
12 years ago
Chris Robinson
e589d0ec91
Werewolves can't activate activators
12 years ago
Chris Robinson
84d259ab8e
Avoid reconstructing strings for updating the dynamic stats
...
Attributes still do this, but they change infrequently enough that it doesn't
matter.
12 years ago
scrawl
5918b84666
Don't crash on resize events during load
12 years ago
Marc Zinnschlag
94e255ea47
Merge branch 'filter'
12 years ago
Chris Robinson
92082dae66
Modify the current magicka and fatigue when the base changes
12 years ago
Chris Robinson
305b5fec0f
Avoid needlessly copying the MagicEffects
12 years ago
Chris Robinson
281fdbd81b
Cleanup some redundancy
12 years ago
Chris Robinson
33c173a23a
Update the watched Ptr when changing it
12 years ago
Chris Robinson
39af9a13fa
Remove some unused functions
12 years ago
Chris Robinson
189541aa72
Apply drowning damage based on the update duration
...
1 damage every 0.33 seconds is 3 damage a second. Applying it this way avoid
having to track another stat.
12 years ago
Chris Robinson
f216b25be8
Slightly randomize time between environment sounds
...
We should use the "Minimum Time Between Environmental Sounds" and
"Maximum Time Between Environmental Sounds" INI/fallback settings, but we don't
have them.
12 years ago
Chris Robinson
02df8ab841
Store the underwater sound to easily stop it
12 years ago
Chris Robinson
16331bf1ed
Avoid a hack to play the underwater sound properly
12 years ago
Marc Zinnschlag
26b3d93293
streamlined filter syntax
12 years ago
scrawl
839d251cc5
Renamed Terrain::Terrain to Terrain::World to make VC happy
12 years ago
scrawl
d3d6dfbde8
Refactored loading screen
...
- Add loading progress for data files, global map, terrain
- Refactored and improved cell loading progress
12 years ago
Marc Zinnschlag
2e9948e86a
improved one-shot filter handling; allow empty pre-defined filters
12 years ago
Marc Zinnschlag
aa935ff03d
update tables on filter record changes
12 years ago
Marc Zinnschlag
20bd0707dc
avoid use of column number literals
12 years ago
Marc Zinnschlag
937f5b11a2
fixed broken record deletion
12 years ago
Marc Zinnschlag
dcc55b60c3
Merge remote-tracking branch 'kcat/misc-cleanup'
12 years ago
mckibbenta
60fa69139e
minor changes
12 years ago
Chris Robinson
f2889e4bb5
Remove unused functions and parameters
12 years ago
Chris Robinson
3843357cd2
Fix actor stepping
12 years ago
Chris Robinson
0463dc0653
Use a smaller static geometry size for interior cells
12 years ago
Chris Robinson
bd6dd071aa
Use the non-accumulation root's parent as the accumulation root
...
This relies on the non-accumulation root not being the skeleton root. I haven't
found an instance where this isn't the case.
12 years ago
scrawl
3f8a69b4ad
Don't crash when trying to delete a reference that doesn't exist anymore
12 years ago
scrawl
5af89a9e8f
Fix an AABB assert for loading empty exterior cells
12 years ago
scrawl
c6d2d1999a
Fix an item duplication glitch
12 years ago
mckibbenta
06701467ab
Merge branch 'master' into tgm
12 years ago
mckibbenta
8998b90e8b
initial do-nothing implementation; registered opcode
12 years ago
Marc Zinnschlag
d007d4dc9a
allow colons in names (filter)
12 years ago
Marc Zinnschlag
7e02c9acf2
added filter text column to filter table
12 years ago
Marc Zinnschlag
25e6380884
implemented use of predefined filters
12 years ago
Marc Zinnschlag
d1516792ce
made document data available to filter parser
12 years ago
Marc Zinnschlag
7aee1da5c6
fixed some columns
12 years ago
Marc Zinnschlag
51fbb0f3f4
fixed a segfault when opening views for tables that do not allow the creation of new records
12 years ago
Marc Zinnschlag
948cb0ef34
Merge remote-tracking branch 'marcrbouvier/master'
12 years ago
Marc Zinnschlag
f605dcdd24
Merge branch 'filter'
12 years ago
Marc Zinnschlag
78c7de440d
simplified filter nodes even more
12 years ago
Marc Zinnschlag
cf58670c85
removed global filter scope (would have caused sync problems between projects)
12 years ago
Marc Zinnschlag
3cf60da5a7
added numeric value filter node
12 years ago
Chris Robinson
ca24a809fc
Use the position of the actor to determine if they're swimming
12 years ago
Chris Robinson
3fa65f21dd
Use a proper cone shape with a contact test to check for melee hits
12 years ago
Chris Robinson
f5d03a16c1
Rename getFacedObject and getFacedHandle for melee hits
12 years ago
Marc Zinnschlag
537ab38985
fixed type in error message
12 years ago
Marc Zinnschlag
c56007cceb
fixed a record counting bug (was using the wrong model)
12 years ago
Marc Zinnschlag
2823e5693d
Merge remote-tracking branch 'scrawl/hit'
12 years ago
Marc Zinnschlag
63b1df85e7
fixed string parsing
12 years ago
Marc Zinnschlag
f615a9397b
made text node filter case-insensitive
12 years ago
Marc Zinnschlag
de956737fe
added text filter node
12 years ago
Marc Zinnschlag
decd826208
fixed an include guard
12 years ago
Marc Zinnschlag
ba6edc55d4
added not filter node
12 years ago
Marc Zinnschlag
806e9a2888
added and and or filter nodes
12 years ago
scrawl
22d5598082
Fix bad_cast exception when hitting creatures
12 years ago
scrawl
1adce8afb3
Fix ambient light getting set from the cell data for non-interior cells
12 years ago
Marc Zinnschlag
50041fc211
simplified filter system by taking out filter references and user values for now (these are post-1.0 features anyway)
12 years ago
Marc Bouvier
2e8b0cf502
Remove Directory Paths in Qt Classes Includes
...
Qt recommends that the path location not be used when including a class.
Also, this is how other files include Qt classes in the OpenCS app. This
change is for consistency only.
12 years ago
Marc Zinnschlag
e03e2f0817
Merge remote-tracking branch 'scrawl/master'
12 years ago
scrawl
758d989a03
If multiple plugins have land data for the same cell, the last plugin should win
12 years ago
scrawl
ce5ea6d7d2
Use a proper node hierarchy; disconnect the root when entering interior
12 years ago
Chris Robinson
c855ab65cf
Non-colliding objects are considered flying
12 years ago
Chris Robinson
602be9bbe7
Avoid swimming into the air from underwater
12 years ago
Chris Robinson
9f09bb6f6f
Use separate inputs for swimming and flying
12 years ago
Chris Robinson
a546ace94d
Remove an unused method
12 years ago
vorenon
3bf3bd4b8c
Silenced some warnings
12 years ago
Chris Robinson
1a9672e31b
Don't update player physics more than 60 times a second
...
Bullet and/or our collision handling code doesn't like timesteps much
smaller than that. Ideally we should do physics in 60fps (or even 30fps)
steps and use prediction and interpolation to get more, but that's not
straight forward and needs a fixed timestep loop to lock physics and
logic together.
12 years ago
Marc Zinnschlag
a61215dab1
some general filter parser cleanup
12 years ago
Chris Robinson
0e56b2facb
Merge remote-tracking branch 'zini/master' into physics
12 years ago
Chris Robinson
d9040df9d6
Increase the max number of physics iterations
...
Should help with highly tessellated collision meshes with high
framerates.
12 years ago
scrawl
ecf7786d11
terrain_num_lights was removed
12 years ago
scrawl
fa76d1631b
Some terrain fixes
12 years ago
scrawl
0545622f5a
Fix werewolf state not getting completely reset when starting a new game
12 years ago
Chris Robinson
a993af53e7
Merge remote-tracking branch 'zini/master' into physics
12 years ago
Chris Robinson
a17997a973
Continually add bits of input velocity to inertia when falling
12 years ago
Marc Zinnschlag
0c8f85f17d
Merge remote-tracking branch 'wheybags/master'
12 years ago
scrawl
8c8653160d
Crash fix, material fix
12 years ago
Tom Mason
7f0f9037be
fix for older versions of unshield
12 years ago
scrawl
13afcc9324
Don't link to OgreTerrain
12 years ago
Tom Mason
06ff40eda7
only use unshield on not windows
12 years ago
Tom Mason
865a7c63df
cmake for system libunshield
12 years ago
Tom Mason
d3748cd5bb
Install uncompressed data files from cd
12 years ago
Tom Mason
9d1daf7dc2
enum was unnecessary
12 years ago
Tom Mason
641b7b0336
anonymous namespace
12 years ago
Tom Mason
454b64974d
filenames
12 years ago
Tom Mason
3264b5974e
fix invalid syntax
12 years ago
Tom Mason
90a892d304
unshield fixes
12 years ago
Tom Mason
ceb3317807
Integrate unshield with launcher
12 years ago
scrawl
ebf9debb80
Enabled terrain self shadows, implemented getHeightAt, some optimizations
12 years ago
Chris Robinson
d727b15580
Fix tracing down
12 years ago
Chris Robinson
394fc75697
Clean up the trace struct
12 years ago
Chris Robinson
b351109649
Get rid of the old newtrace method
12 years ago
Chris Robinson
14acacf401
Use a better method to do actor physics traces
12 years ago
Chris Robinson
76b812f75f
Improve actor movement collision handling
12 years ago
Chris Robinson
584eec3743
Store the object class in the LiveCellRef
12 years ago
scrawl
e27437f8ed
New terrain renderer - improvements:
...
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
- Fixes several blending issues and cell border seams
- Fix map render to use the terrain bounding box instead of an arbitrary height
- Different LODs are now properly connected instead of using skirts
- Support self shadowing
- Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
- Support a fixed function fallback (though the splatting shader usually performs better)
- Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
Chris Robinson
cf6e3ab933
Fix a potential divide-by-zero
12 years ago
Chris Robinson
dca599b8c5
Add NPC landing sounds for soundgen keys
12 years ago
Chris Robinson
2ec39f3622
Don't start the jump animation until after the actor is airborn
...
A bit counter-intuitive, but otherwise certain jump animations will improperly
add an offset to the initial inertia.
12 years ago
Chris Robinson
ac3d3df9fc
Implement jumping animations
12 years ago
Chris Robinson
48e594b7c4
Improve stepping down when starting on the ground
12 years ago
Chris Robinson
3ca4d54bf9
Better handle animations with a 0-length loop
12 years ago
Chris Robinson
1aa92067c2
Fix tracing down
12 years ago
Chris Robinson
6e9f15793d
Implement a jumping state
12 years ago
Marc Zinnschlag
c87a279444
added error reporting in the filter edit widget (change the text colour for now)
12 years ago
Marc Zinnschlag
c7e97a83e1
automatically build column map on filter change
12 years ago
Chris Robinson
7770203dff
Some physics cleanup
...
Gets rid of some unneeded/unused variables, and halves the 'on ground'
offset.
12 years ago
Marc Zinnschlag
ea8b9ce45b
apply filter to table after filter text change
12 years ago
Marc Zinnschlag
470f890a9a
fixed BooleanNode constructor
12 years ago
Chris Robinson
b0f8045c72
Improve mid-air control
12 years ago
Chris Robinson
8c3564326e
Improve movement inertia
...
Handles all 3 axis. Incoming velocity is only added to inertia when
leaving the ground, and does not continually add to it.
12 years ago
Marc Zinnschlag
c38860fa72
added parser and custom filter edit widget (parser not functional yet; always returns a false boolean node)
12 years ago
Chris Robinson
9d56e2d86d
Apply movement by queueing it to do later
12 years ago
Chris Robinson
96bab88da6
Add physics methods to queue and apply movements
12 years ago
Chris Robinson
0481e64b02
Fix tracing down
12 years ago
Chris Robinson
8bcce0fb55
Clean up the trace struct
12 years ago
Chris Robinson
62c7b3698d
Get rid of the old newtrace method
12 years ago
Chris Robinson
65ce3c6ba5
Use a better method to do actor physics traces
12 years ago
Chris Robinson
d82f54c771
Improve actor movement collision handling
12 years ago
Marc Zinnschlag
236dc9fc43
replaced binary filter node with a n-ary node
12 years ago
Marc Zinnschlag
528e047fd5
repalced std::auto_ptr with boost::shared_ptr in filter nodes
12 years ago
Chris Robinson
21121d5ba5
Store the object class in the LiveCellRef
12 years ago
Chris Robinson
08d1d486a4
Merge remote-tracking branch 'zini/master' into ptr-improvements
12 years ago
Marc Zinnschlag
d122699b2f
and another fix for the same issue :(
12 years ago
Chris Robinson
58481ec7c3
Merge remote-tracking branch 'zini/master' into ptr-improvements
12 years ago
Marc Zinnschlag
7b4d8afde7
fix to previous commit
12 years ago
Chris Robinson
fdbf09ed40
Merge remote-tracking branch 'zini/master' into ptr-improvements
...
Conflicts:
apps/openmw/mwworld/containerstore.cpp
12 years ago
Marc Zinnschlag
e94fcce622
accessing references via their ID now also works for references in containers in active cells
12 years ago
Chris Robinson
2853b56ed5
Throw an exception when trying to get an empty Ptr's type
12 years ago
Chris Robinson
0f2b2ff1ce
Small header cleanup
12 years ago
Chris Robinson
86f2cd5848
Use dynamic_cast to get the LiveCellRef
12 years ago
Chris Robinson
48c07fbd98
Remove some unnecessary fields from Ptr
12 years ago
Chris Robinson
74f855e948
Move common LiveCellRef fields to the base class
12 years ago
Chris Robinson
11166a1a17
Don't store the type name string in the Ptr
...
This should get rid of all heap allocations caused by constructing or copying
Ptr objects.
12 years ago
Chris Robinson
b6d2888c48
Avoid using boost::any in MWWorld::Ptr
...
Reduces dependency on Boost, and should improve performance a bit when
copying or constructing Ptr objects.
12 years ago
Marc Zinnschlag
aee0336780
Merge remote-tracking branch 'kcat/script-functions'
12 years ago
Chris Robinson
73437dfdca
GetEffect can accept an effect ID string as well
12 years ago
Chris Robinson
c1dfa980bf
Combine ShowVarsImplicit and ShowVarsExplicit
...
Also removes an unnecessary else statement
12 years ago
Marc Zinnschlag
e2e76147c8
Merge remote-tracking branch 'potatoesmaster/magic'
12 years ago
Chris Robinson
30973352e8
Implement ShowVars (SV) console function
12 years ago
Chris Robinson
2353ac1739
Properly implement SetWerewolfAcrobatics
12 years ago
Emanuel Guevel
ad3646cb15
Fix spell icons displayed when effect ended
12 years ago
Emanuel Guevel
a47c76001c
Apply trap magic effects
12 years ago
Emanuel Guevel
37ea0f3fb9
Display refusal message when weapon/magic icons are clicked as werewolf
12 years ago
Emanuel Guevel
997f37700d
Display HUD icons for hidden windows
12 years ago
Emanuel Guevel
c27c33f542
Fix pinned windows hiding
...
They were always displayed in console mode and in game (even if they
were force hidden).
12 years ago
Marc Zinnschlag
789a66eaa7
added filter box and basic record filter UI (not functional yet; only supporting on-the-fly filters for now)
12 years ago
Chris Robinson
6fd4cdb5fb
Play randomized werewolf sounds
12 years ago
Chris Robinson
00d6690b4d
Ignore encumbrance in werewolf form
...
According to UESP, inventory weight is ignored. Not sure if this
includes feather and burden effects.
12 years ago
Chris Robinson
180f0d0fe9
Restart from the loop point if replaying the same animation
12 years ago
Chris Robinson
5968165de0
Merge remote-tracking branch 'zini/master' into werewolf
...
Conflicts:
apps/openmw/mwgui/windowmanagerimp.cpp
12 years ago
Chris Robinson
a28c36de17
Don't count as running if not actually moving along (local) X/Y
12 years ago
Chris Robinson
c2d8eb377f
Play some appropriate sounds in werewolf form
12 years ago
Marc Zinnschlag
f5b06d5d52
basic filter tree structure
12 years ago
Chris Robinson
db1036e5e5
Handle SetWerewolfAcrobatics
12 years ago
Chris Robinson
ae183cb3e4
Handle werewolf stats
12 years ago
Marc Zinnschlag
a95715b61d
added description field to filter record
12 years ago
Chris Robinson
72a399054f
Don't assume only players activate doors
12 years ago
Chris Robinson
46bc7bd9c8
Some cleanup since NpcStats is now also CreatureStats
...
This isn't a thorough cleaning, so keep an eye out for more
12 years ago
Marc Zinnschlag
fb0b57efaa
Merge remote-tracking branch 'vorenon/bug876'
12 years ago
Chris Robinson
75b6515915
Inherit NpcStats from CreatureStats
12 years ago
Chris Robinson
89c7f5bc70
Handle object activation as a werewolf
12 years ago
Chris Robinson
6110a0ee3b
Don't allow resting as a werewolf
12 years ago
Chris Robinson
75131e6a48
Rebuild the actor after switching between werewolf forms
12 years ago
Chris Robinson
5fbfce6d1e
Don't show WerewolfRobe objects in the inventory
...
Pretty ugly hard-coding, but this is likely what vanilla does since it
has no option to mark clothes or armor as unplayable like Oblivion does.
12 years ago
Chris Robinson
d77d60cbc2
Remove an unneeded forceUpdate method
12 years ago
vorenon
a718a62ef5
Fix for bug 876
12 years ago
PLkolek
86020ad94d
Added underwater and drowning sounds.
12 years ago
Marc Zinnschlag
f6226e4859
added Creator class for filters
12 years ago
Chris Robinson
e3d5a1b38d
Dialog function 72 is not player-specific
...
It's used to force any NPC in werewolf form to play the appropriate
growls for combat.
12 years ago
Chris Robinson
960ea3d96c
Add/remove a WerewolfRobe when werewolf form is toggled
12 years ago
Chris Robinson
3cff7b1e42
Don't assume icons have a period in their filename
12 years ago
Chris Robinson
1f6055d54b
Don't try to apply body skins for werewolves
...
They instead use a hidden WerewolfRobe object for their body
12 years ago
Chris Robinson
946ca7f931
Return the appropriate name for werewolf NPCs
12 years ago
Chris Robinson
dfdd2dc308
Handle swimleft and swimright soundgen keys
12 years ago
Chris Robinson
109df46590
Fix werewolf claw damage multiplier
12 years ago
Chris Robinson
9694b18d1b
Update part skeletons immediately when added
12 years ago
Chris Robinson
f73578a832
Remove unnecessary mBodyPrefix field
12 years ago
Chris Robinson
5051544144
Remove some duplicate code
12 years ago
Chris Robinson
ceed2e30b8
Handle NPCs being a werewolf in NpcAnimation
...
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson
5ac82a50b7
Remove unused function
12 years ago
Marc Zinnschlag
e9521dc8f1
Merge remote-tracking branch 'potatoesmaster/pinning'
12 years ago
Marc Zinnschlag
bf839d19cf
Merge branch 'columns'
12 years ago
Marc Zinnschlag
0944338c27
avoid the use of hardcoded column numbers
12 years ago
Emanuel Guevel
1cbfcc3910
Fix HUD weapon icon when turning from werewolf to normal
...
The werewolf hand icon remained until the inventory menu was opened.
12 years ago
Chris Robinson
2bac4566c0
Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
...
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwscript/statsextensions.cpp
12 years ago
Chris Robinson
4985e17865
Fix werewolf claw damage multiplier
12 years ago
Chris Robinson
4641737fc4
Update part skeletons immediately when added
12 years ago
Chris Robinson
dc0360b1f6
Remove unnecessary mBodyPrefix field
12 years ago
Chris Robinson
0f52ed9a9b
Remove some duplicate code
12 years ago
Chris Robinson
deee14ccfd
Handle NPCs being a werewolf in NpcAnimation
...
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson
ab44cd63a1
Remove unused function
12 years ago
Emanuel Guevel
b2e5e8dd0d
Saner inventory window pinning/hiding
...
Hide inventory window pin button in container, companion and barter mode.
Restore the pinned inventory window position when exiting these modes.
Allow toggling windows visibility in inventory mode only.
12 years ago