View Issue Details

IDProjectCategoryView StatusLast Update
0005342DarkRadiantGUIpublic05.09.2021 18:22
ReporterDragofer Assigned Togreebo  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version2.8.0 
Target Version2.9.0Fixed in Version2.9.0 
Summary0005342: Feature: display which file an entity or soundshader is defined in
DescriptionCurrently finding the definition for a particular entity or soundshader requires manually going through the list of .def or .sndshd files and searching in the ones that seem most likely to contain the definition. This can become time consuming in particular when the entities are obscure (i.e. "impact results") or don't follow conventions (i.e. where an entity is located in a .def file named after its author).

This is in contrast to the Media browser, which lists all materials as well as which .mtr file they've been defined in. It also has the option to right-click to "Show Shader Definition", making it even easier (a matter of seconds) to view how those materials were done or to make variants.

I think having an extra line in the Entity Chooser and Sound Chooser pointing to the file where the entity/sound shader has been defined would be a great time saver. Having an option to right-click entries in the list and "Show Definition", or a button that shows the definition for the currently selected entry, would be really convenient too.
TagsNo tags attached.

Relationships

related to 0005500 closedgreebo Show definitions in DR for entities, skins and modelDefs 
related to 0005512 closedgreebo Feature: display which file a skin is defined in 

Activities

greebo

greebo

02.10.2020 05:15

administrator   ~0012787

entitychooser.png (14,892 bytes)   
entitychooser.png (14,892 bytes)   
soundchooser.png (20,486 bytes)   
soundchooser.png (20,486 bytes)   
Dragofer

Dragofer

02.10.2020 10:42

developer   ~0012788

Thanks! This marks the end of those tedious searches through TDM's long lists of definition files. That alone will save a lot of time for anyone deriving & tweaking defs (even without some way of bringing up entity definitions in a child window with copy-pasteable text).

Related Changesets

DarkRadiant: master 0782620e

01.10.2020 17:57

greebo


Details Diff
0005342: Make sound shader objects remember the VFS location of the file they're defined in Affected Issues
0005342
mod - include/isound.h Diff File
mod - plugins/sound/SoundFileLoader.h Diff File
mod - plugins/sound/SoundManager.cpp Diff File
mod - plugins/sound/SoundManager.h Diff File
mod - plugins/sound/SoundShader.cpp Diff File
mod - plugins/sound/SoundShader.h Diff File

DarkRadiant: master 8449db46

01.10.2020 17:58

greebo


Details Diff
0005342: Add .sndshd file path info to the SoundShaderPreview panel Affected Issues
0005342
mod - radiant/uimanager/SoundShaderPreview.cpp Diff File
mod - radiant/uimanager/SoundShaderPreview.h Diff File

DarkRadiant: master 2285f2cc

01.10.2020 18:02

greebo


Details Diff
0005342: Add new ISoundShader methods to python script interface Affected Issues
0005342
mod - plugins/script/interfaces/SoundInterface.cpp Diff File
mod - plugins/script/interfaces/SoundInterface.h Diff File

DarkRadiant: master 3bc0db0a

02.10.2020 03:11

greebo


Details Diff
0005342: Refactor the ShaderDefinitionView to make it more generic. Add MaterialDefinitionView specialised for viewing materials. Affected Issues
0005342
mod - radiant/Makefile.am Diff File
add - radiant/ui/common/DefinitionView.cpp Diff File
add - radiant/ui/common/DefinitionView.h Diff File
add - radiant/ui/common/MaterialDefinitionView.cpp Diff File
add - radiant/ui/common/MaterialDefinitionView.h Diff File
rm - radiant/ui/common/ShaderDefinitionView.cpp Diff
rm - radiant/ui/common/ShaderDefinitionView.h Diff
mod - radiant/ui/mediabrowser/MediaBrowser.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

DarkRadiant: master 46d8b644

02.10.2020 03:21

greebo


Details Diff
0005342: Add context menu option to SoundChooser treeview to show a sound shader's definition. Affected Issues
0005342
mod - radiant/Makefile.am Diff File
mod - radiant/ui/common/DefinitionView.cpp Diff File
mod - radiant/ui/common/DefinitionView.h Diff File
mod - radiant/ui/common/MaterialDefinitionView.cpp Diff File
mod - radiant/ui/common/MaterialDefinitionView.h Diff File
add - radiant/ui/common/SoundShaderDefinitionView.cpp Diff File
add - radiant/ui/common/SoundShaderDefinitionView.h Diff File
mod - radiant/uimanager/SoundChooser.cpp Diff File
mod - radiant/uimanager/SoundChooser.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

DarkRadiant: master c2881a48

02.10.2020 03:34

greebo


Details Diff
0005342: Add sound shader source view control, with support for highlighting D3/TDM sound shader keywords. Affected Issues
0005342
mod - libs/wxutil/SourceView.cpp Diff File
mod - libs/wxutil/SourceView.h Diff File
mod - radiant/ui/common/SoundShaderDefinitionView.cpp Diff File

DarkRadiant: master f247e5c6

02.10.2020 04:10

greebo


Details Diff
0005342: Save the vfs::FileInfo structure in the Doom3EntityClass instance, to be able to return the def file name later Affected Issues
0005342
mod - include/ieclass.h Diff File
mod - plugins/script/interfaces/EClassInterface.cpp Diff File
mod - plugins/script/interfaces/EClassInterface.h Diff File
mod - radiantcore/eclass/Doom3EntityClass.cpp Diff File
mod - radiantcore/eclass/Doom3EntityClass.h Diff File
mod - radiantcore/eclass/EClassManager.cpp Diff File
mod - radiantcore/eclass/EClassManager.h Diff File

DarkRadiant: master b1365b07

02.10.2020 05:10

greebo


Details Diff
0005342: Add def file information to EntityClassChooser Affected Issues
0005342
mod - install/ui/entityclasschooser.fbp Diff File
mod - install/ui/entityclasschooser.xrc Diff File
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/EntityClassChooser.h Diff File

Issue History

Date Modified Username Field Change
26.09.2020 16:37 Dragofer New Issue
01.10.2020 04:44 greebo Status new => confirmed
01.10.2020 18:13 greebo Assigned To => greebo
01.10.2020 18:13 greebo Status confirmed => assigned
01.10.2020 18:13 greebo Target Version => 2.9.0
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master 0782620e
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master 8449db46
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master 2285f2cc
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master 3bc0db0a
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master 46d8b644
02.10.2020 03:35 greebo Changeset attached => DarkRadiant master c2881a48
02.10.2020 05:12 greebo Changeset attached => DarkRadiant master f247e5c6
02.10.2020 05:12 greebo Changeset attached => DarkRadiant master b1365b07
02.10.2020 05:12 greebo Status assigned => resolved
02.10.2020 05:12 greebo Resolution open => fixed
02.10.2020 05:12 greebo Fixed in Version => 2.9.0
02.10.2020 05:15 greebo Note Added: 0012787
02.10.2020 05:15 greebo File Added: entitychooser.png
02.10.2020 05:15 greebo File Added: soundchooser.png
02.10.2020 10:42 Dragofer Note Added: 0012788
23.01.2021 19:17 Dragofer Relationship added related to 0005500
28.01.2021 22:49 Dragofer Relationship added related to 0005512
05.09.2021 18:22 greebo Status resolved => closed