Commit Graph

13635 Commits (ae23c6d6a5d0e786ae09268baaff9be689908583)

Author SHA1 Message Date
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
David Cernat a2e3fe18fe [Client] Send ID_PLAYER_CELL_STATE to server at end of CharGen
Also, allow requests for ID_PLAYER_CELL_STATE from the server.
8 years ago
David Cernat 44e27148d5 Merge pull request #140 from OpenMW/master
Add OpenMW commits up to 4 Feb 2017
8 years ago
scrawl 884d306bf3 Throw exception when told to use 0 threads 8 years ago
scrawl 2db7292bcb Add new setting for the number of preloading worker threads
If you have CPU cores to spare, consider setting 2 or 3. Up to about 3 threads, preloading performance seems to increase in a linear fashion, but with 4 or more threads I/O bottlenecks and synchronization overhead starts to show.
8 years ago
scrawl eaeba4138b Move the deletion of PreloadItem to the worker thread 8 years ago
scrawl 33e654f94d Add explicit handling of most commonly used nodes to NodeVisitors to avoid excessive virtual function calls 8 years ago
scrawl 83a9435167 Fix unnecessary use of CopyFramebufferToTextureCallback when loading is too fast for a loading screen to be displayed 8 years ago
scrawl 767eba941f Speed up finding of attachment node by using the cached nodeMap 8 years ago
scrawl a76d693627 Speed up ControllerVisitor by skipping sub graphs that have no ChildrenRequiringUpdateTraversal() 8 years ago
scrawl c58fc6d276 Improve performance of loading screen by not recomputing the bounding sphere of the entire scene after each loading step 8 years ago
David Cernat f4a9f27977 [Server] Stop crashing browser when receiving a query from it 8 years ago
David Cernat c1427b2558 [General] Simultaneously send loads & unloads in ID_PLAYER_CELL_STATE 8 years ago
David Cernat 63974af131 Merge pull request #139 from OpenMW/master
Add OpenMW commits up to 3 Feb 2017
8 years ago
scrawl 0be811c519 Update the resource cache every second instead of every frame
A dry run takes about ~1.5ms. Even though it's all done in the worker thread, the locks used can stall loading operations that are about to happen in other threads, and just in general this CPU load is unnecessary.
8 years ago
scrawl 6d8c414071 Set osgViewer ReleaseContextAtEndOfFrameHint to false for better performance when in SingleThreaded mode
The flag is normally set to off by default when using Viewer::run() - however since we're using our own frame loop, we have to unset the flag ourselves
8 years ago
scrawl c5f8ff6e0e Add names to several nodes for debugging purposes 8 years ago
Koncord aed0651dc2 [Server] Some fixes for MasterClient 8 years ago
David Cernat d9f5dfe65c Merge pull request #138 from OpenMW/master
Add OpenMW commits up to 2 Feb 2017
8 years ago
scrawl 625c5040ce Fix build 8 years ago
David Cernat 7ebad596d6 [Server] Use double instead of int for scale in WorldFunctions 8 years ago
David Cernat 018b0e6699 [Server] Add script functions & callbacks for locking, unlocking & doors 8 years ago
Koncord 1808cf815f [Browser] Some minor fixes 8 years ago
David Cernat 958ff06ca8 [General] Rename ID_DOOR_ACTIVATE into ID_DOOR_STATE 8 years ago
David Cernat 8e438a1b82 [Server] Add OnObjectScale callback, part 2 8 years ago
Koncord f78c749981 [Client] Use "NULL" instead "nullptr"
nullptr keyword introduced in C++11
8 years ago
David Cernat 9f8f62b765 Merge pull request #137 from OpenMW/master
Add OpenMW commits up to 1 Feb
8 years ago
David Cernat 5bd2fdcf66 [Server] Add OnObjectScale callback, and set scale for WorldObject 8 years ago
Koncord 0b8d0224d1 [Server] Change type in second argument in SetConsoleAllow to "bool" 8 years ago
Koncord 75afa58981 [Server] Add bool type for scripts 8 years ago
scrawl 1808b8567e Add 'small feature culling pixel size' setting specifically for water RTTs, by default set higher than the one in [Camera] 8 years ago
scrawl fcb4129aee Add 'small feature culling pixel size' setting 8 years ago
scrawl 960d4a96c3 Reduce the number of osg::Material state by setting the default state on the graph root 8 years ago
scrawl 34deb6e7b1 Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
David Cernat 8c019f2c61 [Server] Update OnObjectPlace and OnObjectDelete callbacks 8 years ago
David Cernat 87dce73b90 [Server] Add script function for sending world object scale 8 years ago
David Cernat 705589e3e3 [Server] Add script functions for getting/setting world object scale 8 years ago
David Cernat 703f253712 [Client] Delete new LocalEvents after sending them 8 years ago
Koncord 239c1aaebf [Browser] Kill RakNet thread before return 8 years ago
David Cernat 1fc9dd4f93 [Server] Remove WorldFunctions index parameters that are no longer used 8 years ago
David Cernat 9f998c9901 [Server] Improve getter methods in WorldFunctions 8 years ago
Koncord 42b6a456f0 [Client] Fix code style 8 years ago
Koncord c5035cd174 [Client] Fix crash and memory leak when erasing spellbook 8 years ago
David Cernat 88e648aaa9 [Server] Fix crash caused by setting too many WorldObject refIds, try 2 8 years ago
David Cernat fe9e30a4d8 [Server] Fix crash caused by setting too many WorldObject refIds 8 years ago
David Cernat da2f66d6ba Merge pull request #135 from OpenMW/master
Add OpenMW commits up to 29 Jan
8 years ago
David Cernat 8e1dff8e02 [Browser] Change "Not fully" into "Not full" 8 years ago
David Cernat bcee35ca1d Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat d503a65849 [Client] Replace tab characters with spaces 8 years ago
Koncord c147d13a73 [Browser] Move hardcoded title to UI 8 years ago
Koncord cb0f5524be [Browser] Implement filters 8 years ago
Koncord f86d17d8a6 [Browser] Add custom proxy model 8 years ago
Koncord dba98f9261 [Browser] Not trying to download extended data if server is unreachable 8 years ago
Koncord 6b42f870a7 [Browser] Use constant instead magic value 8 years ago
Koncord 3070ecdea7 [Browser] Allow connecting by double click 8 years ago
David Cernat 5eff2ece21 [Server] Fix memory leaks related to WorldEvents as suggested by Koncord 8 years ago
David Cernat 6b9fba7885 [Server] Add script functions for getting/setting world object rotation 8 years ago
David Cernat 920c1113a3 [Server] Add script functions for setting world object placement info 8 years ago
David Cernat 2c5cc82f49 [Server] Add script functions for getting world object placement info 8 years ago
MiroslavR d97e9cfe7e Fix InterpreterContext::updatePtr updating mLocals to the implicit ref's locals when interpreting a targeted global script (Fixes #3738)
The interpreter context of a targeted global script would point to the target's locals instead of the global script instance's locals when the target changed cell during script execution. Credit to scrawl for the solution.
8 years ago
David Cernat 27ac314cb1 [Server] Add script functions for getting world object refIds & refNums 8 years ago
David Cernat b549da996e [Server] On second thought, keep cell description as argument to them 8 years ago
David Cernat 5989bbd97e [Server] Remove arguments from OnObjectPlace & OnObjectDelete callbacks 8 years ago
David Cernat 2cecce6c72 [Server] Use static WorldEvent variable in Networking 8 years ago
David Cernat dddc253d70 [Client] Fix console message for LocalPlayer's cell change 8 years ago
David Cernat f11df211fa [Server] Add script functions for dealing w/ WorldEvents & WorldObjects 8 years ago
David Cernat 9f1e491a75 [General] Make WorldEvents store information about multiple objects 8 years ago
David Cernat 624b85347a [Client] Create LocalEvent class and use it instead of WorldEvent 8 years ago
David Cernat ee86c9161d [Client] Set InterpreterContext's sendPackets to false in constructor 8 years ago
Koncord b658adf7b0 [Server] Killed another tab character 8 years ago
David Cernat 9c3a37a790 [Server] Make GetCellStateDescription's cstrDescription null-terminated 8 years ago
Koncord 1c810ecad5 [Server] Fix memory leak in GetCellStateDescription() 8 years ago
David Cernat 7efb374f75 [Client] Avoid fetching guiMessageBox.type again for every condition 8 years ago
David Cernat 0ccfe66212 [Server] Send stable C string in GetCellStateDescription() 8 years ago
David Cernat 4f288ab558 [Server] Read contents of ID_PLAYER_CELL_STATE 8 years ago
David Cernat 6331c55bc7 [Server] Add colons missing from CELLAPI 8 years ago
David Cernat 2f644e9b14 [Server] Add script functions for getting info about cell state changes 8 years ago
David Cernat 70823d011d [Server] Define CELLAPI 8 years ago
David Cernat 0cc20d26ce [Server] Move script functions for cells to a new CellFunctions class 8 years ago
David Cernat 5a22032a41 Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp 8 years ago
David Cernat 62f359e250 [Server] Rename Translocations into Positions 8 years ago
Koncord ab3c2544b5 [Client] Use constant instead magic value 8 years ago
Koncord 34a46e6811 [Client] Simplify hasFinishedCharGen method 8 years ago
David Cernat 96bd21a7ca [Server] Rename OnPlayerCellLoad to OnPlayerCellState, add action param 8 years ago
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 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