11#include "textureanime.hpp"
35#define CHARA_MOTION_MAX 8
37#define CHARA_POINT_LIGHT_MAX 2
39#define CHARA_CLOTH_MAX 4
41#define CHARA_FOOT_SOUND_MAX 6
43#define CHARA_EVENT_MAX 32
110int scissior(
float out[][4],
float first[][4],
float second[][4],
float near_z);
205 int SetPointLight(
float *
pos,
float inner_range,
float outer_range,
float red,
float green,
float blue,
float alpha);
403 virtual void SetPosition(
float x,
float y,
float z);
448 virtual void SetRotation(
float x,
float y,
float z);
475 virtual void SetScale(
float x,
float y,
float z);
@ CHARA_EVENT_SOUND_EFFECT
#define CHARA_FOOT_SOUND_MAX
#define CHARA_POINT_LIGHT_MAX
void * GeneratedCharacterVtable[]
int scissior(float out[][4], float first[][4], float second[][4], float near_z)
virtual void StopCloth(int unused)
virtual void GetWorldPosition(float *out_position)
void SetMotion(int no, int mode, float speed=-1.0f)
virtual void GetPosition(float *out_position)
virtual void LoadPackData2(unsigned int *pack, char *name, CDataAlloc2< 1 > *alloc, int texture_block_no, CDataAlloc2< 1 > *image_alloc, int visual_type)
void ClearEvent(int motion_no)
MOTION_INFO * GetMotionInfo(int motion_no)
void DeleteExtendMotion()
virtual void LoadPackData(unsigned int *pack, char *name, CDataAlloc2< 1 > *model_alloc, CDataAlloc2< 1 > *texture_alloc)
void SetEvent(float frame, int kind, int no, int motion_no)
tagMOTION_TYPE * GetMotionParam(int motion_no, int *out_index, int *out_start, int *out_end, int *out_set)
virtual void SetScale(float x, float y, float z)
virtual void LoadPackData3(unsigned int *pack, char *name, CDataAlloc2< 1 > *alloc, int texture_block_no, CDataAlloc2< 1 > *image_alloc, int keep_textures, int visual_type)
void InitializeTexAnime(CTexAnimeData *data, int count)
CFakePointLight point_light[CHARA_POINT_LIGHT_MAX]
void SetFootSoundID(int id)
void SetMotionCamera(CCamera *camera)
sceVu0FVECTOR ambient_offset
tagMOTION_TYPE * shadow_motion[CHARA_MOTION_MAX]
sceVu0FVECTOR ground_ambient[2]
void SetMotionSpeed(float speed)
MotionParam shadow_motion_storage[CHARA_MOTION_MAX]
CHARA_FOOT_SOUND foot_sound[CHARA_FOOT_SOUND_MAX]
virtual void ShadowStep()
tagMOTION_TYPE motion_type
s32 motion_end[CHARA_MOTION_MAX]
static s32 MotionStopFlag
tagMOTION_TYPE shadow_motion_type
virtual void SetRotation(float x, float y, float z)
void FootSoundEnable(int on)
void TextureAnime(int step)
virtual void ClothFloor(int floor)
void DeleteExtendTexture(int block_no)
virtual void DrawShadow()
virtual void Initialize()
MotionParam motion_storage[CHARA_MOTION_MAX]
tagFRAME_INF * shadow_frame_info
int SetFootSound(float left_frame, float right_frame, int motion_no)
sceVu0FVECTOR ambient_tint
s32 motion_start[CHARA_MOTION_MAX]
virtual void SetPosition(float x, float y, float z)
virtual int PickUpPoly(float *position, CCPoly *polygons)
int SetPointLight(float *pos, float inner_range, float outer_range, float red, float green, float blue, float alpha)
tagMOTION_TYPE * motion[CHARA_MOTION_MAX]
virtual void ClothStep(int step)
tagFRAME_INF * frame_info
virtual void Initialize()
u8 storage[sizeof(tagMOTION_TYPE)]