Commit Graph

1981 Commits (master)

Author SHA1 Message Date
Andrei Kortunov d278e5d4af Fix warnings about variable re-declaration 5 years ago
Nelsson Huotari fdc73b87ba Remove includes that aren't needed any more 5 years ago
Nelsson Huotari 9e5db10288 const ref float -> float 5 years ago
Nelsson Huotari ac5b356e8d Always initialize landShapeNew 5 years ago
Nelsson Huotari 6f9f59dd58 declare cellId and cellCoords in smallest possible scope 5 years ago
Nelsson Huotari fdcc7fa1d7 0 to nullptr 5 years ago
Nelsson Huotari a13edbdb42 Bump shape calculation to function 5 years ago
Nelsson Huotari 8d3e7f2815 fix normals at cell edges, better coding standards 5 years ago
Nelsson Huotari 0f6ddfe8e6 change include, cleanup 5 years ago
Nelsson Huotari 12349f4e48 cleanup 5 years ago
Nelsson Huotari c556885d71 remove unused Qt signal 5 years ago
Nelsson Huotari deb122ffdb Add optional post-processing (smooth/rough), add/fix tooltips. 5 years ago
Nelsson Huotari 2d34b63b0b Fix logic of land loading when no cell, land or landdata. Fix also draw. 5 years ago
Nelsson Huotari 71eff60d22 Do in-class init. if possible, mLayoutSliderSize -> layoutSliderSize 5 years ago
Nelsson Huotari a1348d94f9 add missing final specifiers 5 years ago
Nelsson Huotari 16ba32ffd5 assignments to member initialization list 5 years ago
Nelsson Huotari c2de645c8c override, virtual -> final, remove unused variables, public to private. 5 years ago
Nelsson Huotari 8a9ca0b3ec Generate new WNAM record based on new land heights, add comments 5 years ago
Nelsson Huotari 96be82a047 Remove terrain vertex selection and brush button when exiting editMode 5 years ago
Nelsson Huotari 8acfa2600f Terrain shape editing related fixes 5 years ago
Nelsson Huotari 5b9debc554 use enum for mbrushshape initialization 5 years ago
Nelsson Huotari 4f9ec24e41 use enum for brushshape at scenetoolshapebrush 5 years ago
Nelsson Huotari bae8636ec0 Fix brusshape enum values 5 years ago
Nelsson Huotari c031543420 use enum for brush shapes 5 years ago
Nelsson Huotari 388edfd8cc change manual memory management to std::unique_ptr 5 years ago
Nelsson Huotari da4abcd7c1 std::set to std::unique and erase. 5 years ago
Nelsson Huotari 6a44cae572 white iterator loop to C++11 range-based for loop. 5 years ago
Nelsson Huotari bccf36fdbc Convert normals calculations mostly to osg::Vec3f 5 years ago
Nelsson Huotari 45b0f034c3 Split complex if-logic into multiple reasonably named functions 5 years ago
Nelsson Huotari 0ce971c1bb Revert back to less aggressive component-level changes. 5 years ago
Nelsson Huotari 69083369f8 use std::fill instead of for 5 years ago
Nelsson Huotari 3599e804e1 Fix the default value of mBrushSize 5 years ago
Nelsson Huotari dc7dc93320 Remove unused functions, improve formatting, handle terrain edit click 5 years ago
Nelsson Huotari 1046d57190 Remove unneeded forward declarations. 5 years ago
Nelsson Huotari 55b3fd4418 Use float calculations for circle brush, keep tool options in memory. 5 years ago
Nelsson Huotari 23e7c71a5a Tighter corner checking, clean-up, landSize to ESM::Land::LAND_SIZE. 5 years ago
Nelsson Huotari 8f3c22ccc3 Remove TerrainShapeMode::fixEdges 5 years ago
Nelsson Huotari 1a3fc435b9 Fix alterHeight bugs, don't let broken land edit pass. 5 years ago
Nelsson Huotari ff18595a86 Reduce code duplification, add bool value to limiting 5 years ago
Nelsson Huotari 60c0a25004 Fix smooth tool and flatten tool. Default tool strength to 8. 5 years ago
Nelsson Huotari 54e13954e8 Improve land steepness limiting code 5 years ago
Nelsson Huotari 4a2d8aaf97 Handle mBrushSize 1. 5 years ago
Nelsson Huotari 16138fc896 Transient land shape editing 5 years ago
elsid 045ceeac11
Replace foreach macro by for-loop 5 years ago
Nelsson Huotari 78f2a5181d Default brush size to 1 5 years ago
Nelsson Huotari fbb9800e89 Better terrain texture ID handling 5 years ago
Nelsson Huotari 301c05662b assignment to memb. init. list, publics to private, virtual -> final 5 years ago
Nelsson Huotari 4ccb951126 move check to outermost scope 5 years ago
Nelsson Huotari 0880923189 Consistency for variable and header argument names. 5 years ago
Nelsson Huotari 6dc3d8b44b More readable code 5 years ago
Nelsson Huotari 780055899d Don't add empty primitive sets to geometry. 5 years ago
Nelsson Huotari 3becacf6d1 Remove globals, const int& -> int, values to const ref. 5 years ago
Nelsson Huotari 1dcee833a1 Less verbose syntax 5 years ago
Nelsson Huotari 5a143fe99d Remove extra include 5 years ago
Nelsson Huotari 39ab449431 Only allow selection of cells in view 5 years ago
Nelsson Huotari dc8de6c6e6 Make less copies 5 years ago
Nelsson Huotari 001ca68cc7 Remove empty lines 5 years ago
Nelsson Huotari 46ee639892 pass by const ref and other fixes 5 years ago
Nelsson Huotari 20ab7df19f Fixes, cleanup. 5 years ago
Nelsson Huotari 1a08944a8b Remove unused code, clarifications, optimizations 5 years ago
Nelsson Huotari d6722c7492 Terrain texture selection, support for vertex selection 5 years ago
Nat Meo af1e5e01b4 Issue #5005: Instance window via Scene window 6 years ago
Capostrophic 548d336933 Editor: Don't accept overflowing input in NPC fields 6 years ago
Capostrophic 85e99182ce Revise light source configuration (bug #4965)
Set up attenuation less awkwardly
Use global attenuation settings for magic light source
Use constant attenuation settings
6 years ago
Andrei Kortunov a302ec9c65 Make fallback map static to simplify constructors 6 years ago
elsid ccb325c663
Add override to fix warnings 6 years ago
Nelsson Huotari 2b674cedaa Implement view cell from r-type hint 6 years ago
Bret Curtis dc1c2358b9
Merge pull request #2089 from akortunov/qthelp
Editor: Add basic info window
6 years ago
Bret Curtis 3316938dfc
Merge pull request #2182 from Capostrophic/format
Replace Boost format and replace_all where possible
6 years ago
Capostrophic e70cc10305 Some more de-boosting 6 years ago
Capostrophic 594ea39f5d Revise AI data handling
Make Hello 16-bit unsigned as it's intended to be
Get rid of redundant mHasAI boolean
Always save AI data subrecord
Adjust creature and NPC default rating values to Morrowind defaults
6 years ago
Bret Curtis f8b34bf7f1 Merge branch 'preview_levelled_item' into 'master'
Fixes #4703 Disable preview for item leveled list

Closes #4703

See merge request OpenMW/openmw!57
6 years ago
Capostrophic e47f1ef3e3 Fix some color picker regressions
Don't assign invalid color returned when the color picker is closed by Cancel as the new color
Restore "picking finished" signal to make value saving work again
6 years ago
Andrei Kortunov 9e4a339ad3 Daytime node switch support (feature #4836) 6 years ago
Stomy 71be4cdd20 Ensure Unique Instance Refnum after clone, add, or move 6 years ago
Justin Ivany 33c7e4e948 Don't remove whitespace... 6 years ago
Justin Ivany 8d036a79eb Fixes #4703 Disable preview for item levelled list 6 years ago
Bret Curtis 8834ee95be
Merge pull request #2120 from Capostrophic/macros
Get rid of some remaining instances of C numeric limits
6 years ago
Bret Curtis 4617dea154
Merge pull request #2119 from akortunov/stringstream
Get rid of unnecessary string streams
6 years ago
Capostrophic a71cfca580 Get rid of some remaining instances of C limit macros 6 years ago
Andrei Kortunov 3e20f36953 Handle invalid string length for hinting 6 years ago
Andrei Kortunov 0937f02598 Get rid of unnecessary string streams 6 years ago
Andrei Kortunov 8687a49c19 Editor: Added basic info window 6 years ago
mp3butcher 9de6c630f2 fix moc achieving to reach unparsable boost code 6 years ago
Andrei Kortunov 059a8fd32a Refactor dynamic casts in the editor 6 years ago
Andrei Kortunov 5ac81cfbff Throw exceptions with some info int the editor if dynamic_cast failed 6 years ago
Andrei Kortunov 4ee15ddcb9 Fix many Coverity Scan warnings 6 years ago
Capostrophic 8757b3edd1 Add icons for Edit and Touch actions (kudos to akortunov) 6 years ago
Capostrophic 89b8eb029f Add icons for record context menu actions 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Capostrophic 03788edd63 Fix redundant drag call in instance dragging (bug #4593) 6 years ago
Kyle Cooley 0096951f25 cleanup 6 years ago
Kyle Cooley 676fc48855 Re-add logic for empty model 6 years ago
Kyle Cooley f43b70d77b Centralize actor data, simplify logic 6 years ago
Kyle Cooley 031502b2ab Reorganize ActorAdapter data, use weak cache for sharing 6 years ago
Kyle Cooley 2a9ebac572 Simplify update logic, update when race parts are changed. 6 years ago
Kyle Cooley 1276e0fa9b Handle changes to race record when rendering actors 6 years ago
Kyle Cooley 6bece13a32 Use new Log class for error message 6 years ago
Kyle Cooley 97ac0a92dd Move data handling out of rendering code, equip armor/clothes 6 years ago
Kyle Cooley 6b42f37918 Handle creatures too 6 years ago
Kyle Cooley e2ac392a40 Move common stuff to scene util, fix errors with 1st person meshes 6 years ago
Kyle Cooley 8444ee9981 Start rendering npc's 6 years ago
Marc Zinnschlag c566514c9d Merged pull request #1940 6 years ago
Andrei Kortunov ee4ca87352 Traverse child nodes of cell node in the editor (bug #4654) 6 years ago
Andrei Kortunov bce8de5fe9 Respect selected encoding in the content selector (bug #4467) 6 years ago
Marc Zinnschlag 7be9f2ca45 Merged pull request #1891 6 years ago
Andrei Kortunov bdd9eba2b8 Use C++ limits instead of C ones 6 years ago
Andrei Kortunov 70ed8fd1a9 Use constants instead of widely used magic numbers (task #4645) 6 years ago
Andrei Kortunov 6066f02010 Do not use universal IDs for menu items 6 years ago
Andrei Kortunov 275d10e1f7 Add missing icons for UniversalId tables and use them in the editor menu (feature #912) 6 years ago
Thunderforge 5a2e9868c1 Fixes #3681
This changes the way that the popup works to use [`QtColorDialog::getColor()`](http://doc.qt.io/archives/qt-4.8/qcolordialog.html#getColor) instead of the problematic open() function. Also makes the button change to create the modal dialog when pushed, rather than being a checkbox of sorts
6 years ago
Andrei Kortunov c7a5548475 Use new logging system for editor 6 years ago
Marc Zinnschlag ddd5cbd17c Initialise lock state of newly opened subviews (fixes issue #4520) 7 years ago
Andrei Kortunov 5c16ce1d36 Sort icons in the DataDisplayDelegate 7 years ago
Andrei Kortunov 6ddf6eb885 Use editor markers for lights and creatures levelled lists 7 years ago
Andrei Kortunov 27a5da59ba Fix MSVC warnings C4456 7 years ago
Marc Zinnschlag dd08194c75 Merged merge request !18 7 years ago
Marc Zinnschlag 7ba512b389 Merged merge request !17 7 years ago
Doc West f9b565a46e Removed QDebug include, moved updateUndoRedoAction to an anonymous namespace 7 years ago
Doc West 61109d70b1 Removed invalid / unused signal / slot connection 7 years ago
Doc West baf21362e1 Fixed undo / redo actions losing their shortcuts 7 years ago
Doc West 414f626309 Implemented search case sensitivity 7 years ago
Marc Zinnschlag 908af3720f Merged pull request #1791 7 years ago
Doc West e9cc697b60 Sort EnumDelegate values by name 7 years ago
Andrei Kortunov f4330cf057 Editor: limit FPS in 3D preview windows (feature #3641) 7 years ago
Andrei Kortunov d9a1de0ec7 Do not use deprecated function 7 years ago
Marc Zinnschlag 7ca56ccd29 set search status bar to 'no results' message when search yields no results 7 years ago
Marc Zinnschlag 7d2394273e added statusbar to search window (Fixes #3276) 7 years ago
Marc Zinnschlag 97773697a9 Merge remote-tracking branch 'florianjw/precise-rotations' 7 years ago
Marc Zinnschlag bbc337a0af code cleanup 7 years ago
Marc Zinnschlag e76df5f4d3 minor tooltip fixes 7 years ago
Nelsson Huotari 825c331764 Remove texture filtering, better ltex importing, reindexing duplicates 7 years ago
Nelsson Huotari 8ae46519cf Fix missed worldspacehits, add linebreak to tooltip 7 years ago
Nelsson Huotari 21e8d08e69 Handle invalid texture id's 7 years ago
Nelsson Huotari c2cddc91e4 Brush maximum size to a custom setting 7 years ago
Nelsson Huotari 17e01ca336 Setting "Scene Drops" rename "3D Scene Editing" 7 years ago
Nelsson Huotari 758ccac75a Show texture id + filename 7 years ago
Nelsson Huotari 49ae5bc75c List initialization -> initialization in constructor 7 years ago
Nelsson Huotari 1c79d5311c Brush history menu 7 years ago
Nelsson Huotari d2cf764a46 Tooltips, fixes 7 years ago
Nelsson Huotari 62066f01bd clean-up 7 years ago
Nelsson Huotari d33c98c68d Revert unintended changes 7 years ago
Nelsson Huotari 5656745445 Select dragged texture-assets, add brush settings widget-type, fixes. 7 years ago
Nelsson Huotari baa707b5e3 User setting for selective cell editing or new land creation 7 years ago
Nelsson Huotari 24977fcc0f improve hit calculation accuracy for texture editing 7 years ago
Nelsson Huotari e8a9bff85c Drop textures to landtextures from assets (try-method) 7 years ago
Nelsson Huotari 7139889566 Brush button window opens at modebutton, slider 1-50, doxygen comments 7 years ago
Nelsson Huotari 20d1d8ac89 Fixed brush calculations, implement undostack macro when clicked. 7 years ago
Nelsson Huotari 5f3c8b2b99 c_str -> fromStdString, remove TextureBrushButton class 7 years ago
Nelsson Huotari cf7a0f715e Command macro for complete drag-editing operations. 7 years ago