rodecomp/Source/Contents/Actors/GameObject.h
ragnarok-clanker dc9cd0590c Decompile 2 functions in Source/Contents/Actors/GameObject.cpp, Source/Contents/Actors/GameObject.h, ...
Batch #3802 by youko: 0 byte-identical, 2 confirmed by peer review.

- fn_21030 CGameActor::Get8Dir: logic confirmed by peer review
- fn_21031 CGameObject::Get8Dir: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 23:58:15 +00:00

24 lines
649 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_ACTORS_GAMEOBJECT_H
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_GAMEOBJECT_H
#include <cstdint>
class CGameObject {
public:
CGameObject();
virtual ~CGameObject();
virtual bool OnProcess();
virtual void SendMsg(CGameObject* sender, int message, int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l, int m);
virtual void Render(int argument);
virtual int Get8Dir(float angle);
int Get8Dir2(float rot, int flag);
int GetDir(float rot);
/* 0008 */ std::uint64_t identity;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CGameObject) == 16);
#endif
#endif