mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
(Discussion/Proposals) Consistency regarding annotations of header-implemented functions (#316)
* Open discussion * Move annotations of header-implemented functions back to `.h` files * Adjust `README.md` * Relocate annotation * linter * Comment markers in headers only, rename script, update github actions * type hint compat * Rename github action, better argparse for linter * Type hints, working test for byname ignore * Move annotation * CI rename and enable warnfail, enforce mode always on * Two step linting * or one step * continue on error * two jobs instead * Fixes --------- Co-authored-by: disinvite <disinvite@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
4dd0d60dec
commit
3b155bfe38
@@ -3,10 +3,6 @@
|
||||
|
||||
#include <vec.h>
|
||||
|
||||
// TODO: Find proper compilation unit to put this
|
||||
// FUNCTION: LEGO1 0x1000c0f0
|
||||
// Vector2Impl::Vector2Impl
|
||||
|
||||
/*
|
||||
* A simple array of three floats that can be indexed into.
|
||||
*/
|
||||
@@ -64,6 +60,7 @@ public:
|
||||
// SIZE 0x8
|
||||
class Vector2Impl {
|
||||
public:
|
||||
// FUNCTION: LEGO1 0x1000c0f0
|
||||
inline Vector2Impl(float* p_data) { this->SetData(p_data); }
|
||||
|
||||
// vtable + 0x00 (no virtual destructor)
|
||||
@@ -76,6 +73,7 @@ public:
|
||||
virtual void MullVectorImpl(float* p_value) = 0;
|
||||
virtual void DivScalarImpl(float* p_value) = 0;
|
||||
virtual float DotImpl(float* p_a, float* p_b) const = 0;
|
||||
// FUNCTION: LEGO1 0x10002060
|
||||
virtual void SetData(float* p_data) { this->m_data = p_data; }
|
||||
|
||||
// vtable + 0x20
|
||||
|
Reference in New Issue
Block a user