Batch #5431 by Yommy: 1 byte-identical, 10 confirmed by peer review. - fn_24290 CEffectMaker::Render: byte-identical - fn_24291 CGraffiSkill::Render: logic confirmed by peer review - fn_24292 CGroundScope::Render: logic confirmed by peer review - fn_24293 CMsgEffect::Render: logic confirmed by peer review - fn_24295 CArrowEffect::SendMsg: logic confirmed by peer review - fn_24296 CDummyEffectLauncher::SendMsg: logic confirmed by peer review - fn_24297 CEffectMaker::SendMsg: logic confirmed by peer review - fn_24298 CGraffiSkill::SendMsg: logic confirmed by peer review - fn_24299 CGroundScope::SendMsg: logic confirmed by peer review - fn_24300 CMandraAttackEffect::SendMsg: logic confirmed by peer review - fn_24301 CMsgEffect::SendMsg: logic confirmed by peer review Peer-reviewed-by: ntrl, bigodeira, willerthal, Snow, Lumen Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_ACTORS_GRAFFISKILL_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_ACTORS_GRAFFISKILL_H
|
|
|
|
#include "Contents/Actors/Skill.h"
|
|
|
|
#include <cstddef>
|
|
|
|
class CTexture;
|
|
|
|
class CGraffiSkill : public CSkill {
|
|
public:
|
|
~CGraffiSkill() override;
|
|
bool OnProcess() override;
|
|
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) override;
|
|
void Render(int argument) override;
|
|
|
|
virtual void BuildTexture();
|
|
virtual void ReleaseTexture();
|
|
|
|
/* 0440 */ unsigned char unknown_0440[0x04];
|
|
/* 0444 */ int m_cellX;
|
|
/* 0448 */ int m_cellY;
|
|
/* 044C */ CTexture* m_canvas;
|
|
/* 0450 */ CTexture* m_font;
|
|
/* 0454 */ char m_text[0x100];
|
|
/* 0554 */ int m_penX;
|
|
/* 0558 */ int m_penY;
|
|
/* 055C */ float m_angle;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CGraffiSkill) == 0x560);
|
|
static_assert(offsetof(CGraffiSkill, m_cellX) == 0x444);
|
|
static_assert(offsetof(CGraffiSkill, m_canvas) == 0x44C);
|
|
static_assert(offsetof(CGraffiSkill, m_text) == 0x454);
|
|
static_assert(offsetof(CGraffiSkill, m_angle) == 0x55C);
|
|
#endif
|
|
|
|
#endif
|