22#ifndef AGS_ENGINE_AC_GLOBAL_CHARACTER_H
23#define AGS_ENGINE_AC_GLOBAL_CHARACTER_H
25#include "ags/shared/ac/character_info.h"
29void StopMoving(
int chaa);
30void ReleaseCharacterView(
int chat);
31void MoveToWalkableArea(
int charid);
32void FaceLocation(
int cha,
int xx,
int yy);
33void FaceCharacter(
int cha,
int toface);
34void SetCharacterIdle(
int who,
int iview,
int itime);
35int GetCharacterWidth(
int ww);
36int GetCharacterHeight(
int charid);
37void SetCharacterBaseline(
int obn,
int basel);
39void SetCharacterTransparency(
int obn,
int trans);
40void AnimateCharacter4(
int chh,
int loopn,
int sppd,
int rept);
41void AnimateCharacter6(
int chh,
int loopn,
int sppd,
int rept,
int direction,
int blocking);
42void SetPlayerCharacter(
int newchar);
43void FollowCharacterEx(
int who,
int tofollow,
int distaway,
int eagerness);
44void FollowCharacter(
int who,
int tofollow);
45void SetCharacterIgnoreLight(
int who,
int yesorno);
46void MoveCharacter(
int cc,
int xx,
int yy);
47void MoveCharacterDirect(
int cc,
int xx,
int yy);
48void MoveCharacterStraight(
int cc,
int xx,
int yy);
50void MoveCharacterPath(
int chac,
int tox,
int toy);
52void SetCharacterSpeedEx(
int chaa,
int xspeed,
int yspeed);
53void SetCharacterSpeed(
int chaa,
int nspeed);
54void SetTalkingColor(
int chaa,
int ncol);
55void SetCharacterSpeechView(
int chaa,
int vii);
56void SetCharacterBlinkView(
int chaa,
int vii,
int intrv);
57void SetCharacterView(
int chaa,
int vii);
58void SetCharacterFrame(
int chaa,
int view,
int loop,
int frame);
60void SetCharacterViewEx(
int chaa,
int vii,
int loop,
int align);
61void SetCharacterViewOffset(
int chaa,
int vii,
int xoffs,
int yoffs);
62void ChangeCharacterView(
int chaa,
int vii);
63void SetCharacterClickable(
int cha,
int clik);
64void SetCharacterIgnoreWalkbehinds(
int cha,
int clik);
65void MoveCharacterToObject(
int chaa,
int obbj);
66void MoveCharacterToHotspot(
int chaa,
int hotsp);
67int MoveCharacterBlocking(
int chaa,
int xx,
int yy,
int direct);
69void RunCharacterInteraction(
int cc,
int mood);
70int AreCharObjColliding(
int charid,
int objid);
71int AreCharactersColliding(
int cchar1,
int cchar2);
73int GetCharacterProperty(
int cha,
const char *property);
74void SetCharacterProperty(
int who,
int flag,
int yesorno);
75int GetPlayerCharacter();
76void GetCharacterPropertyText(
int item,
const char *property,
char *bufer);
78int GetCharacterSpeechAnimationDelay(CharacterInfo *cha);
79int GetCharIDAtScreen(
int xx,
int yy);
81void SetActiveInventory(
int iit);
82void AddInventoryToCharacter(
int charid,
int inum);
83void LoseInventoryFromCharacter(
int charid,
int inum);
84void update_invorder();
85void add_inventory(
int inum);
86void lose_inventory(
int inum);
88void DisplayThought(
int chid,
const char *text);
89void __sc_displayspeech(
int chid,
const char *text);
90void DisplaySpeechAt(
int xx,
int yy,
int wii,
int aschar,
const char *spch);
91int DisplaySpeechBackground(
int charid,
const char *speel);