mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-05 19:43:41 -04:00
Resource (#2939)
* matching Do_destroy from resource.cpp * add missing constants from `float.c` * add numeric_limits for double * set TObject::reset for each version in stb.cpp * improve debug matching
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
virtual TFunctionValueAttributeSet getAttributeSet() = 0;
|
||||
virtual void initialize() = 0;
|
||||
virtual void prepare() = 0;
|
||||
virtual f64 getValue(f64 arg1) = 0;
|
||||
virtual TValue getValue(f64 arg1) = 0;
|
||||
|
||||
static ExtrapolateParameter toFunction_outside(int);
|
||||
|
||||
@@ -180,6 +180,7 @@ public:
|
||||
|
||||
inline void operator=(const TData& rhs) { f32data = rhs.f32data; }
|
||||
u32 get_unsignedInteger() const { return u32data; }
|
||||
u32 get_outside() const { return u32data; }
|
||||
f64 get_value() const { return f32data; }
|
||||
|
||||
union {
|
||||
|
||||
@@ -43,7 +43,21 @@ public:
|
||||
virtual ~TObject();
|
||||
|
||||
void setFlag_operation(u8, int);
|
||||
#if PLATFORM_SHIELD && !DEBUG
|
||||
void reset(void const* arg1) {
|
||||
bSequence_ = 0;
|
||||
mStatus = STATUS_STILL;
|
||||
pSequence_next = arg1;
|
||||
u32Wait_ = 0;
|
||||
}
|
||||
#else
|
||||
void reset(void const*);
|
||||
#endif
|
||||
#if !DEBUG
|
||||
void reset() { reset(NULL); }
|
||||
#else
|
||||
void reset();
|
||||
#endif
|
||||
bool forward(u32);
|
||||
virtual void do_begin();
|
||||
virtual void do_end();
|
||||
|
||||
Reference in New Issue
Block a user