Commit Graph

13827 Commits (coverity_scan)

Author SHA1 Message Date
Koncord f2ce46ffed [Server] Rename doForNearest to forEachLoaded 8 years ago
Koncord 3aae782a51 [Server] Send info about loader to others 8 years ago
Koncord 465d0fe4b4 [Server] Fix log messages in CellController 8 years ago
Koncord ca68831395 [Server] Rename sendToNearest to sendToLoaded 8 years ago
scrawl 481c440698 Print OSG version on startup 8 years ago
Koncord 931ecd5acb [Server] Imrpove debug info in CellController 8 years ago
Koncord cce49e355a [Server] Some fixes to sendToNearest & doForNearest 8 years ago
scrawl e4741db069 Merge pull request #1213 from Allofich/equip
Change AI equip logic
8 years ago
Koncord 033472d939 [Server] Add doForNearest function 8 years ago
Koncord b760015071 [Server] Send some packets only to nearest players 8 years ago
Koncord 846ceacc90 [Server] Add begin & end iterators to Cell class 8 years ago
Koncord bbc062de62 [Server] Use lowCamelCase in Cell 8 years ago
Koncord 08f78e21c1 [Server] Use CellController in Networking 8 years ago
Koncord 8887a267c7 [Server] Add Cell and CellController 8 years ago
David Cernat b1009ad33d [Server] Add GetContainerItemActionCount() for getting drag count 8 years ago
David Cernat 4f2b88df8a [General] Remove owner var from ContainerItem because it is always empty 8 years ago
MAtahualpa fb8a2093cd Replace "Female" check box with a combo box, part 2/2 (fixes #3757)
Replaces the "Female" check box in BodyPart records with a "Gender" combo box. This is the second of two related fixes, the first one covering NPC records.

Related issue:
- Fixes #3757: Editor: Replace "Female" check box in BodyPart records with "Gender" combo box (https://bugs.openmw.org/issues/3757)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several BodyPart records.
8 years ago
Allofich bc60421615 Change NPC equip logic to be more like original
(Bug #3754)
8 years ago
David Cernat fd4827b3a7 Merge pull request #157 from OpenMW/master
Add OpenMW commits up to 18 Feb 2017, part 2
8 years ago
Marc Zinnschlag bef0b1f1d6 Merge remote-tracking branch 'matahualpa/openmw-cs_gender' 8 years ago
Koncord 74cfc4a821 [Client] Use enum instead magic values 8 years ago
Koncord a95cf0e07a [Server] Fix crash when call StopServer() function in OnServerInit() 8 years ago
Koncord 1fb2176cfa [Server] Add forgotten type for callbacks 8 years ago
David Cernat 0d75264221 Merge pull request #155 from OpenMW/master
Add OpenMW commits up to 17 Feb 2017, part 2
8 years ago
David Cernat c01ab63239 [Server] Add script functions for setting container item info 8 years ago
scrawl f2174ee9f4 Merge pull request #1217 from Allofich/follow
Fix loading 0-duration Follow and Escort packages
8 years ago
scrawl cb142f01e4 Merge pull request #1215 from MiroslavR/armor_rating
Fix incorrect calculation of armor rating
8 years ago
Allofich 3897c49e30 Fix loading 0-duration Follow and Escort packages
(Fixes #3755)
8 years ago
MAtahualpa 520e82ed4f Fix for commit "affc0eb..." in PR 1216 (fixes #3756)
Fixed use of tab character.
8 years ago
David Cernat aa1549606f [Server] Add script functions for getting container item info 8 years ago
MAtahualpa affc0eb37f Replace "Female" check box with a combo box, part 1/2 (fixes #3756)
Replaces the "Female" check box in NPC records with a "Gender" combo box. This is the first of two related fixes, the second one covering BodyPart records.

Related issue:
- Fixes #3756: Editor: Replace "Female" check box in NPC records with "Gender" combo box (https://bugs.openmw.org/issues/3756)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC records.
8 years ago
David Cernat 70470e12b4 [Server] Reorder World script functions 8 years ago
David Cernat 8a5bc77699 [Server] Add GetBaseEventAction script function 8 years ago
David Cernat e0bc557aa4 Merge pull request #154 from OpenMW/master
Add OpenMW commits up to 17 Feb 2017
8 years ago
Marc Zinnschlag 79956e4b49 Merge remote-tracking branch 'origin/master' 8 years ago
MiroslavR f883951d75 Fix incorrect calculation of armor rating (Bug #3754) 8 years ago
Allofich 621d3e56cf Fix Clang and OS X Travis CI warnings 8 years ago
David Cernat 27c4015f50 [General] Remove unused packet placeholder ID_OBJECT_HEALTH 8 years ago
David Cernat 1198caddf6 [Server] Add OnContainer script callback 8 years ago
David Cernat eba7d8408f [Server] Use script function to get spellbook action 8 years ago
MAtahualpa dab8b328c4 Replace light emitter check boxes with a combo box (fixes #3752)
Replaces the four emitter check boxes in Light records with an "Emitter Type" combo box.

Related issue:
- Fixes #3752: Editor: Replace emitter check boxes in Light records with "Emitter Type" combo box (https://bugs.openmw.org/issues/3752)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Light records. Please note that this fix also prevents users from erroneously assigning two or more emitter types at the same time. (I don't know which one would prevail in that case.)
8 years ago
David Cernat 5b3fabdb9d [Client] Send ID_CONTAINER with all containers in cell when requested 8 years ago
David Cernat c32c004516 Merge pull request #151 from OpenMW/master
Add OpenMW commits up to 16 Feb 2017
8 years ago
MAtahualpa 7be46eb1f0 Fix for commit "d4972ab..." in PR 1208 (fixes #3751)
Replaces the two "Xyz blood" check boxes in NPC and Creature records with a "Blood Type" combo box.

Fix:
- corrected false logic operation in refidadapterimp.cpp
- corrected names of the used flags
8 years ago
MAtahualpa d4972ab166 Replace "Xyz blood" check boxes with a combo box (fixes #3751)
Replaces the two "Xyz blood" check boxes in NPC and Creature records with a "Blood Type" combo box.

Related issue:
- Fixes #3751: OpenMW-CS: Replace "Xyz Blood" check boxes in NPC and Creature records with "Blood Type" combo box (https://bugs.openmw.org/issues/3751)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC and Creature records. Please note that this fix also prevents users from erroneously assigning two blood types at the same time. (I don't know which one would prevail in that case.)
8 years ago
scrawl f10edb71cc Add environment variable for disabling IncrementalCompileOperation 8 years ago
scrawl c4a89065a2 Preload VFX of spells selected by AI actors 8 years ago
scrawl 57b585570a Preload magic effect visuals of the player's selected weapon/spell 8 years ago
Marc Zinnschlag e46fb1770c Merge remote-tracking branch 'matahualpa/openmw-cs_booktype' 8 years ago
David Cernat 3b604a432e [General] Restructure ID_CONTAINER to allow multiple containers at once 8 years ago
MAtahualpa 2c34a8706b Replace "Scroll" check box with a combo box (fixes #3748)
Replaces the "Scroll" check box in Book records with a "Book Type" combo box.

Related issue:
- Fixes #3748: OpenMW-CS: Replace "Scroll" check box in Book records with "Book Type" combo box. (https://bugs.openmw.org/issues/3748)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Book records. Please note that the actual logic behind this entry is not implemented yet: Books which are of type "Scroll" can have an enchantment attached, normal books ("Book") cannot.
8 years ago
David Cernat 88f891b5bd [Client] Make it possible to easily iterate through container items 8 years ago
David Cernat c8cbfbef62 [General] Sketch out server requests to players for container data 8 years ago
MAtahualpa 607bd8b853 Replace "Scroll" check box with a combo box (fixes #3748)
Replaces the "Scroll" check box in Book records with a "Book Type" combo box.

Related issue:
- Fixes #3748: OpenMW-CS: Replace "Scroll" check box in Book records with "Book Type" combo box. (https://bugs.openmw.org/issues/3748)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Book records. Please note that the actual logic behind this entry is not implemented yet: Books which are of type "Scroll" can have an enchantment attached, normal books ("Book") cannot.
8 years ago
David Cernat 2ed9ae5739 Merge pull request #149 from OpenMW/master
Add OpenMW commits up to 14 Feb 2017
8 years ago
scrawl 183c46b0ef Fix summoning effects 8 years ago
scrawl a495b9b884 Fix wasteful allocations in Store<Land>::search 8 years ago
scrawl 72c6b11cf8 Move global map render to the worker thread 8 years ago
scrawl 026a05718f Construct the WorkQueue in Engine 8 years ago
scrawl ddd6605608 Move WNAM out of LandData to avoid redundant (de)allocations on startup 8 years ago
scrawl 325bf66653 Return const Land in ESMStore 8 years ago
David Cernat a5d7c5fd39 Merge pull request #148 from OpenMW/master
Add OpenMW commits up to 13 Feb 2017
8 years ago
Marc Zinnschlag 93c5630e02 Merge remote-tracking branch 'matahualpa/openmw-cs_tablecontents' 8 years ago
MAtahualpa 2d1af3ee4a Update record.cpp
This should be the last instance of "mSkillID". Let's see what Travis says about it...
8 years ago
scrawl 051b4038d9 Merge pull request #1203 from Allofich/magic
Make AI not go hostile when absorbing/reflecting
8 years ago
MAtahualpa c46eadae90 Update actionread.cpp
*grrr* Forgot to change the latter "mSkillID" in line 47...
8 years ago
scrawl cdf65ef681 Merge pull request #1201 from Allofich/hit
Prevent AI actors from hitting unintended targets
8 years ago
scrawl 342c25dffa Fix weather sounds playing at full volume before fading in 8 years ago
Allofich 72c3ee0a3d Make AI not go hostile when absorbing/reflecting 8 years ago
MAtahualpa 7bc65ce05b Update actionread.cpp
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa 347fb1ff4b Update converter.hpp
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa c5dcfe0794 Update refidadapterimp.cpp
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa 6587880171 Update refidcollection.cpp
Makes Book records display skill IDs instead of attribute IDs for teached skills.
Related issue:
- Bug #3746: OpenMW-CS: Book records show attribute IDs instead of skill IDs for teached skills entry.
8 years ago
Allofich 6b53541571 Prevent AI actors from hitting unintended targets
(Fixes #3254)
8 years ago
scrawl 9fa8e88366 Revert "Don't create a CharacterController for objects with no animations"
This reverts commit cce42b6e9d.
8 years ago
David Cernat d528a0edb5 Merge pull request #147 from OpenMW/master
Add OpenMW commits up to 11 Feb 2017
8 years ago
scrawl 03a10f217a Catch exceptions in AiSequence::execute 8 years ago
scrawl 5a12407436 Revert "Rearranged check for better performance"
This reverts commit 332ceb51a2.
8 years ago
scrawl f2d4f290cc traceDown fix 8 years ago
Allofich e047679595 Fix trying to access stats on non-actors 8 years ago
David Cernat 6763718412 Merge pull request #146 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwclass/npc.cpp
#	apps/openmw/mwmechanics/actors.cpp
8 years ago
scrawl 332ceb51a2 Rearranged check for better performance 8 years ago
scrawl 8752ae9c6a Fix include 8 years ago
scrawl bbcba57495 Disable hitAttemptActorId saving code for now 8 years ago
scrawl 2ea0db1d1a Merge pull request #1198 from Allofich/combat
Make combat engagement logic more like vanilla
8 years ago
scrawl dd54887783 Fix node mask of CharacterPreview being reset 8 years ago
scrawl 6ecc008813 Fix an issue uncovered by the last commit related to changing actor position without properly moving the actor 8 years ago
scrawl cf7b0098ed Slightly increase backoff value 8 years ago
scrawl b3d5c2bd7f Use the actor's collision shape in findGround()
The cylinder base is no longer appropriate as of the change to capsules.

This also works around a bug when tracing a small cylinder/box shape apparently introduced with bullet 2.86.
8 years ago
David Cernat f02840d638 [Client] Fix log messages when sending ID_CONTAINER 8 years ago
David Cernat ae23c6d6a5 Merge pull request #145 from OpenMW/master while resolving conflicts
# Conflicts:
#	CMakeLists.txt
8 years ago
scrawl 67e4a7e37b Change some osg::clone's to direct copy constructor to avoid dynamic_cast overhead 8 years ago
scrawl 3f3d00ffc9 Add CellPreloader::clear to avoid potential dangling CellStore pointer and to more aggressively clear preload state from a previous game 8 years ago
scrawl 0be86f69bc Write the player object first to increase the chance of preloading the player cells in time 8 years ago
scrawl 1d8a9ff622 Preload player cell as soon as the player is read from the savegame
Giving the worker thread something to do while the rest of the savegame is parsed.
8 years ago
scrawl d141b98f0c Add base animations to preloadCommonAssets 8 years ago
scrawl 066aa2e60e Always run preloadCommonAssets even when the menu is skipped
Move to before the content files are loaded so we can do preloading in parallel with content file loading
8 years ago
scrawl c68f662c9a Predict player movement when preloading cells to better handle moving at high speed 8 years ago
scrawl a46593fa74 Add PreloadItem::abort() to avoid no longer required cells from blocking the work thread 8 years ago
scrawl d62c4259bd CellPreloader: load the terrain first to match the order in the main thread 8 years ago
scrawl d1e86d22ca Check which local map textures actually need to be updated
On a typical exterior cell transition, we'll save 3 of 9 map renders. When moving back and forth between 2 cells, we can even reuse 6 of 9.
8 years ago
scrawl 43d9f3d5c7 Update bullet debug drawer even when the game is paused so the collision mesh will show instantly even when the console is up 8 years ago
scrawl 249fe9077b Handle 'tcb' command as an alias for 'tcg' 8 years ago
scrawl 206e2bf975 Fix camera rotation not being set after save game load (regressed with 1eb3384043) 8 years ago
David Cernat b651c4deb4 [Server] In Item script functions, rename itemId into refId for clarity 8 years ago
scrawl 35bb467c7a Fix inverted setting of variable 8 years ago
David Cernat 5038353792 [General] Rename BaseEvent's state into doorState & adjust related funcs 8 years ago
David Cernat e52823394c [Client] Use correct count for ID_CONTAINER when dropping items 8 years ago
David Cernat d8a9a5f6c9 [General] Send item owner in ID_CONTAINER 8 years ago
David Cernat ad3eac624f [Client] Disable quicksaving and quickloading 8 years ago
David Cernat 3614b21e10 [General] Send charge and goldValue in ID_CONTAINER 8 years ago
Allofich 5d2090684a Store mHitAttemptActorId in save files 8 years ago
Allofich 25c64dbb0f Make combat engagement logic more like vanilla
(Fixes #2678, Fixes #3705)
8 years ago
David Cernat e703dd42aa [Client] Rename LocalEvent into WorldEvent 8 years ago
scrawl 5a939418fc Add missing avcodec_close (Fixes #3741) 8 years ago
David Cernat 182b238b5f [General] Rename WorldEvent into BaseEvent 8 years ago
David Cernat 27242cdab9 Merge pull request #142 from OpenMW/master
Add OpenMW commits up to 6 Feb 2017
8 years ago
scrawl 91939c4687 Switch actors to capsule shapes now that the jumping bug is gone (Fixes #2116, Fixes #2909)
The culprit was - surprise, surprise - d39d4f2619
8 years ago
scrawl 03aa270551 Construct PhysicActor as on ground by default to avoid a jumping animation from playing in the first frame after a savegame load 8 years ago
scrawl bc29a99a53 Fix broken timer 8 years ago
scrawl d39d4f2619 Revert a problematic and performance costly workaround that should never have been applied and is no longer required as of the last commit. 8 years ago
scrawl 541fbb4792 Movement solver: add usage of 'on slope' flag to improve handling of steep slopes
Previously we were handling 'on slope' synonymously with 'in air' which caused some odd effects.

Practical changes:
 - Sliding down a slope no longer applies fall damage.
 - Fixed a climbing exploit that would allow climbing steep slopes with repeated use of the Jump function.
8 years ago
scrawl cce42b6e9d Don't create a CharacterController for objects with no animations 8 years ago
scrawl fe0cf5be05 StatsWindow: don't rebuild all skill widgets when one skill changes 8 years ago
scrawl e7b6ea4e3f Add cycle weapon/spell actions to the list of controller actions (Fixes #3613) 8 years ago
David Cernat 1f03c12d96 [Client] See when other players use the Take All button with a container 8 years ago
David Cernat d2c5a3387a [Client] See when other players add items to containers 8 years ago
David Cernat 75392297b5 [General] Use vector::at in most places 8 years ago
David Cernat 60d6a6d463 [Client] See when other players remove items from containers 8 years ago
David Cernat 25d79dbcfe [Client] Revert c0d67f67fb after discovering its negative consequences 8 years ago
David Cernat cdd796aba1 [Client] Send ID_PLAYER_INVENTORY from two more locations 8 years ago
David Cernat c0d67f67fb [Client] Move code for sending a packet for picking up world items
Previously, an ID_OBJECT_DELETE was sent from inventorywindow.cpp, but this is now sent from hud.cpp because 2 other packets are also sent from there.
8 years ago
David Cernat b2cdec8efa [Client] Send ID_PLAYER_INVENTORY upon dropping an item, 2nd attempt 8 years ago
David Cernat f314b13edf [General] Rename item health into charge, for consistency with OpenMW 8 years ago
David Cernat f03724be7b [Client] Send ID_PLAYER_INVENTORY upon dropping an item 8 years ago
David Cernat ecc456fea9 [General] Include charge int in WorldObject & send it w/ ID_OBJECT_PLACE 8 years ago
David Cernat 04d45b9dbb [General] Rename packets to show they are for players only, not NPCs 8 years ago
David Cernat 3a29b2d41d Merge pull request #141 from OpenMW/master
Add OpenMW commits up to 5 Feb 2017
8 years ago
scrawl 3065600a86 Skip expensive visitEffectSources call if no summoned creatures or summon effects are active 8 years ago
scrawl ee4073541c Animation: cache getVelocity() 8 years ago
scrawl a2cede8f34 Add timer for updateEquippedLight 8 years ago
scrawl 1eb3384043 Avoid rotating by zero in CharacterController 8 years ago
scrawl 7201cf5fe2 ItemWidget: skip setImageTexture if the icon has not changed 8 years ago
David Cernat 9c76b805b2 [Client] Send ID_CONTAINER when starting to drag a container item 8 years ago
David Cernat a07e616878 [General] Add ContainerItem and ContainerChanges structs to WorldEvent 8 years ago
scrawl 1447bfa215 Improve scene loading performance by creating collision objects with the correct rotation right away instead of adjusting it later 8 years ago
David Cernat 6328ffb9aa [General] In ID_GAME_ATTRIBUTE & ID_GAME_SKILL, rename GAME into PLAYER 8 years ago
David Cernat 9130c1f302 [General] Rename ID_CONTAINER_ADD into ID_CONTAINER 8 years ago
David Cernat d2cf96af99 [General] Repurpose the unused ID_CONTAINER_REMOVE into ID_OBJECT_HEALTH 8 years ago
David Cernat 57f54aa370 [Client] Don't store multiple cellStates for the same cell 8 years ago