//CFTTDisplayAchievements - [2020-04-13 11:57:46]
#ifndef _CFTTDISPLAYACHIEVEMENTS_H_
#define _CFTTDISPLAYACHIEVEMENTS_H_

#include "common.h"

/*
0026341C CFTTDisplayAchievements::Init(uint)
0026344C CFTTDisplayAchievements::Shutdown()
00263474 CFTTDisplayAchievements::Render(void (*)(TAchievement *))
002634F8 CFTTDisplayAchievements::AddAchievement(wchar_t *,int,char *)
*/

struct TAchievement {
  //size 0x188
  wchar_t field_0[0x40];
  int field_80;
  int field_84;
  int field_88;
  int field_8c;
  int field_90;
  int field_94;
  int field_98;
  int field_9c;
  int field_a0;
  int field_a4;
  int field_a8;
  int field_ac;
  int field_b0;
  int field_b4;
  int field_b8;
  int field_bc;
  int field_c0;
  int field_c4;
  int field_c8;
  int field_cc;
  int field_d0;
  int field_d4;
  int field_d8;
  int field_dc;
  int field_e0;
  int field_e4;
  int field_e8;
  int field_ec;
  int field_f0;
  int field_f4;
  int field_f8;
  int field_fc;
  int field_100;
  int field_104;
  char field_108[0x80];
};

//void (*)(TAchievement *)
typedef void (*func_displayach)(TAchievement *);

class CFTTDisplayAchievements {
public:
  //empty
  static void Init(uint);                              //0026341C
  static void Shutdown();                              //0026344C
  static void Render(func_displayach p_funcptr_r0);    //00263474
  static void AddAchievement(wchar_t *, int, char *);  //002634F8

  static TAchievement *m_pAchievements;  //005CB384
  static int m_iListSize;                //005CB380
};

#endif  //_CFTTDISPLAYACHIEVEMENTS_H_