Added NatVis file
This commit is contained in:
1 parent
cd205d241b
commit
15c732be38
4 files changed
+23
-2
No files matched your search
@@ -114,8 +114,8 @@ namespace nf {
|
||||
|
||||
const Config& Application::getConfig() const {
|
||||
return m_currentConfig;
|
||||
}//Test this
|
||||
|
||||
}
|
||||
//TODO: Test this
|
||||
int Application::getFPS() const {
|
||||
return m_FPS;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
<Type Name="nf::Application">
|
||||
<DisplayString>Nothin' Fancy Application ({m_currentConfig.title,sb})</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="Config">m_currentConfig</Item>
|
||||
<Item Name="Is Running">m_running</Item>
|
||||
<Item Name="FPS">m_FPS</Item>
|
||||
<Item Name="Game State">m_currentState</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
<Type Name="nf::Config">
|
||||
<DisplayString>Width = {width}, Height = {height}, Fullscreen = {fullscreen}</DisplayString>
|
||||
</Type>
|
||||
</AutoVisualizer>
|
||||
Reference in new issue
Block a user