diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-05-08 12:27:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-08 12:27:38 -0400 |
| commit | a357277e412b5e8f0f2f0578c7d7d213e8744c8d (patch) | |
| tree | 353e7aa38aef392c6f337d6a1a04d3438f00def5 /ZAPD/ZVtx.cpp | |
| parent | 547c9b200d1dff745dee694c20a9f9e8e409a11d (diff) | |
Add const to most functions that need it and remove all "using namespace std" (#132)
* started on basic type errors
* Done. For now
* remove libgfxd binary
* const
* no more namespace std
* revert alloca
* re add a few missing consts
Diffstat (limited to 'ZAPD/ZVtx.cpp')
| -rw-r--r-- | ZAPD/ZVtx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ZAPD/ZVtx.cpp b/ZAPD/ZVtx.cpp index eacf563..96e6552 100644 --- a/ZAPD/ZVtx.cpp +++ b/ZAPD/ZVtx.cpp @@ -39,7 +39,7 @@ std::string ZVtx::GetBodySourceCode() const a); } -std::string ZVtx::GetSourceTypeName() +std::string ZVtx::GetSourceTypeName() const { return "Vtx"; } @@ -59,27 +59,27 @@ std::string ZVtx::GetSourceOutputCode(const std::string& prefix) return ""; } -size_t ZVtx::GetRawDataSize() +size_t ZVtx::GetRawDataSize() const { return 16; } -bool ZVtx::DoesSupportArray() +bool ZVtx::DoesSupportArray() const { return true; } -ZResourceType ZVtx::GetResourceType() +ZResourceType ZVtx::GetResourceType() const { return ZResourceType::Vertex; } -bool ZVtx::IsExternalResource() +bool ZVtx::IsExternalResource() const { return true; } -std::string ZVtx::GetExternalExtension() +std::string ZVtx::GetExternalExtension() const { return "vtx"; } |
