mirror of
https://github.com/zeldaret/st
synced 2026-08-15 20:59:59 -04:00
Vector improvements (#67)
* clean up math.h and attempt to improve existing vector maths * fix broken matches and match new stuff
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "math.hpp"
|
||||
#include "types.h"
|
||||
#include <nitro/math.h>
|
||||
|
||||
// incomplete
|
||||
class PlayerActor {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_0208f820.hpp"
|
||||
#include <nitro/math.h>
|
||||
#include "math.hpp"
|
||||
|
||||
enum GIModel_ {
|
||||
GIModel_None = 0,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_0208f820.hpp"
|
||||
#include <nitro/math.h>
|
||||
#include "math.hpp"
|
||||
|
||||
class PlayerSceneChange : public UnkStruct_ov000_0208f820 {
|
||||
public:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "math.hpp"
|
||||
#include "types.h"
|
||||
#include <nitro/math.h>
|
||||
#include <nitro/touch.h>
|
||||
|
||||
typedef u16 TouchFlags;
|
||||
@@ -35,10 +35,10 @@ public:
|
||||
void IncreaseSpeed(u16 increase);
|
||||
void UpdateFlags(u16 speed);
|
||||
void UpdateWithStateFlags(TouchStateFlags *state, u16 speed);
|
||||
void Update(TouchState *state, u16 speed);
|
||||
void Update(const TouchState *state, u16 speed);
|
||||
void func_02014414(u16 speedIncrease, bool shouldIncrease);
|
||||
void func_02014478(TouchState *state, u16 speed);
|
||||
|
||||
static bool func_020143f0();
|
||||
static void UpdateState(TouchState *state, TouchStateFlags *stateFlags);
|
||||
static void UpdateState(TouchState *state, const TouchStateFlags *stateFlags);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user