Commit Graph

17931 Commits (244da19a51b4ad9a954a846713a6760735957334)
 

Author SHA1 Message Date
David Cernat 244da19a51 [General] Turn ID_PLAYER_CELL_LOAD into ID_PLAYER_CELL_STATE for clarity 8 years ago
David Cernat 055376c8ee [Client] Only send ID_PLAYER_CELL_LOAD when CharGen is over 8 years ago
David Cernat b5b5551fcd [Client] Add LocalPlayer::hasFinishedCharGen() method 8 years ago
David Cernat 4dc0ba21ec [General] Fix packet ID for ID_PLAYER_CELL_LOAD 8 years ago
David Cernat 97aabf4a7d [General] Sketch out sending of cell loading/unloading info in packets 8 years ago
David Cernat 158d606477 [General] Leave one blank line at the end of every tes3mp code file 8 years ago
David Cernat 2158e94a96 [Client] Fix setting of attack parameters after recent changes 8 years ago
David Cernat 73d39c1a0a [General] Stop using virtual functions in BasePlayer, part 2 8 years ago
David Cernat 63c8a98083 [General] Stop using virtual functions in BasePlayer 8 years ago
David Cernat c62a575a9e [Server] Change order of words in the names of script callbacks 8 years ago
David Cernat 1d9c6ddd81 [General] Add placeholders for the new packet ID_PLAYER_CELL_LOAD 8 years ago
David Cernat 25e535e8ad [Server] Fix integer types for new script callbacks 8 years ago
David Cernat f9feaf05f0 [Server] Add script callbacks for object placement and deletion 8 years ago
David Cernat 35e453dec3 [General] Sketch out most of functionality for journal saving/loading 8 years ago
Koncord c3c3c57a98 [Browser] Fix errors for Windows build 8 years ago
Koncord 843a18f347 [Browser] Fix errors and warnings in MSVC 8 years ago
Koncord db75c4874c [Browser] Fix declaration of 'data' hides class member 8 years ago
David Cernat 0cd7c3ea3d Merge pull request #131 from OpenMW/master
Add OpenMW commits up to 21 Jan
8 years ago
Koncord dc3f87a81a [Browser] Change iterator types in "for" loops to C++11 style 8 years ago
Koncord 33339fa786 [Browser] Rename addServer to addServerAndUpdate 8 years ago
Koncord 1bd4db5e8b [Browser] Implement update info by index 8 years ago
Koncord a86739f080 Add addServer by address method 8 years ago
Koncord ecf82a5df7 Save/Load favorites in browser 8 years ago
Koncord 777a570d93 Init modName 8 years ago
Koncord 4c2294d105 Override closeEvent in MainWindow 8 years ago
Koncord 86d8b0630f Do not allow override ServerModel 8 years ago
Koncord 5b88f3fc44 Use C++11 in browser 8 years ago
Koncord 0af5e1269a Move browser xml files to files/tes3mp/ui 8 years ago
scrawl 7b0a498e83 Merge pull request #1193 from MiroslavR/disabled_player
ESS-import: player is no longer disabled
8 years ago
MiroslavR c64351b3e8 ESS-import: player is no longer disabled (Bug #3246) 8 years ago
David Cernat 68727751ed Fix arguments for OnPlayerChangeSpellbook in server Networking 8 years ago
David Cernat 869b32383e Fix arguments for OnPlayerChangeJournal in server Networking 8 years ago
David Cernat d308897f95 Rename PacketItems, PacketSpells into InventoryChanges, SpellbookChanges 8 years ago
David Cernat e2c595fc5d Add preliminary structure for journal changes 8 years ago
David Cernat e9b22814b9 Create placeholder for ID_GAME_JOURNAL 8 years ago
David Cernat a69f294ef0 Rename ID_GAME_CELL into ID_PLAYER_CELL_CHANGE 8 years ago
David Cernat 745ddd9a69 Merge pull request #130 from OpenMW/master
Add OpenMW commits up to 19 Jan
8 years ago
David Cernat 83277a1512 Send spellbook in LocalPlayer CharGen & change UPDATE action name to SET 8 years ago
David Cernat 0f7748d9d2 When clearing LocalPlayer's spells, keep race and birthsign abilities 8 years ago
David Cernat e7675d94d4 Make server script functions for spells consistent with those from items 8 years ago
scrawl 115e563a7a Fix race conditions caused by Array <-> GLBufferObject interactions (Bug #3580)
The first part of the fix is to assign VBO/EBO's upon loading the array in the Nif reader. This avoids triggering the 'addVertexBufferObjectIfRequired' code path in osg::Geometry which has the race condition when two threads add the same Array at the same time. Essentially, we want the Arrays to be 'const' when they come out of the Nif reader.

The second part of the fix is to make sure not to create empty arrays in the Nif reader (importantly, not assigning a VBO to the empty array). This empty array would be deleted when the NIFFile is cleaned up, and the detachment of the VBO assigned to it (which is still in use by other arrays) would cause threading issues.

This rare crash bug was first introduced with commit a7c5beb7c5. When using OSG dev version 3.5 the crashes were a little more prevalent, because 'addVertexBufferObjectIfRequired' in osg::Geometry is now used even when VBO's are disabled (as part of the VAO support changes).
8 years ago
David Cernat 6b14ca0775 Finish renaming of script functions for sending items and spells 8 years ago
David Cernat 33e85c54de Rename BasePlayer Inventory & Spellbook into PacketItems & PacketSpells
This avoids confusion when either of those is used to store and send a single item, and no longer requires coming up with confusing variable names like realSpellbook or realInventory for actual full spellbooks and inventories.
8 years ago
David Cernat be851f5e1a Send packet with spells gained at character generation 8 years ago
David Cernat 78c6ab2a99 Clean up client Networking by putting item & spell logic in LocalPlayer 8 years ago
David Cernat b8a6020af1 Check for update to inventory when closing a container 8 years ago
David Cernat 6eb7706390 Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat 0fe2d743a7 Rename tes3mp-netlauncher into tes3mp-browser 8 years ago
David Cernat c77120df6d Merge pull request #129 from OpenMW/master while resolving conflicts
# Conflicts:
#	apps/openmw/mwworld/actiontake.cpp
8 years ago
scrawl ac61535d2c optimize OSGVertexBuffer by double buffering the vertex array instead of recreating it on every modification 8 years ago