-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiwscli.h
91 lines (85 loc) · 3.78 KB
/
giwscli.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*Version 3.2*/
#ifndef GIWSCLI_H
#define GIWSCLI_H 1
#include <chrono>
#include <cstddef>
#include <random>
#define MAX_ITEMS 139
namespace giwscli {
extern std::random_device seed_gen;
extern unsigned int seed_r;
extern unsigned long long int seed_t;
extern size_t seed;
extern std::mt19937_64 generatorz;
// random engine
extern bool quit, is_noelle, five_star_guarantee_number,
four_star_guarantee_number;
extern size_t kind, temp1, fate_points, up_five, size_nup_five_c,
size_nup_four_c, countx, five_count, five_count_c, five_count_w, four_count,
four_count_c, four_count_w, size_nup_four_w, up_five_g[2], up_four_g[5],
nup_five_c[8], nup_four_c[32], five_check[2], four_check[5], pcount[256],
four_pity[11], five_pity[90], five_pity_w[80];
extern const size_t nup_five_c1[5], nup_five_c2[6], nup_five_w[10],
nup_four_w[32], three_g[13], nup_four_cg1[11], nup_four_cg2[13],
nup_four_cg3[14], nup_four_cg4[15], nup_four_cg5[16], nup_four_cg6[17],
nup_four_cg7[18], nup_four_cg8[19], nup_four_cg9[20], nup_four_cg10[21],
nup_four_cg11[22], nup_four_cg12[24], nup_four_cg13[25], nup_four_cg14[26],
tempga1[39][3], tempga2[39][3], tempga3[39], tempgb1[13][3], tempgb2[13][3],
tempgb3[13], tempgc1[38][2], tempgc2[38][5], tempgc3[38][5], tempgc4[38][2],
nup_four_cg31[14], nup_four_cg32[16], nup_four_cg33[17], nup_four_cg34[18],
nup_four_cg35[19], nup_four_cg36[20], nup_four_cg37[21], nup_four_cg38[22],
nup_four_cg39[23], nup_four_cg310[24], nup_four_cg311[25],
nup_four_cg312[27], nup_four_cg313[28], nup_four_cg314[29],
four_stars_c[31], four_stars_w[30], five_stars_c[31], five_stars_w[33];
extern const ptrdiff_t tempga4[18], tempgb4[13];
extern unsigned int resultt, resultu, star, type;
extern ptrdiff_t chosen_event, chosen_banner, unmet4_c, unmet4_w, unmet5_c,
unmet5_w, switch_e_should_be, switch_e_sav, four_star_assurance_number,
five_star_assurance_number, five_weight, four_weight, three_weight,
fate_weapon, hash_out[9];
extern signed int error_code;
extern int ini_ams(size_t *in, size_t ins, const size_t *out);
extern int set_pool_1(const ptrdiff_t sw, const size_t size_nup_four_c_p,
const size_t size_nup_five_c_p,
const size_t *nup_four_cgm, const size_t *nup_five_cgm);
extern int set_pool_2(const ptrdiff_t sw, const size_t size_nup_four_c_p,
const size_t size_nup_five_c_p,
const size_t *nup_four_cgm, const size_t *nup_five_cgm);
extern int set_pool_3(const ptrdiff_t sw, const size_t size_nup_four_c_p,
const size_t size_nup_five_c_p,
const size_t *nup_four_cgm, const size_t *nup_five_cgm);
extern int pool_stair_1(ptrdiff_t chosen_banner_p);
extern int pool_stair_2(ptrdiff_t chosen_banner_p);
extern int pool_stair_3(ptrdiff_t chosen_banner_p);
extern int pool_stair_4(ptrdiff_t chosen_banner_p);
extern size_t rspick(const size_t *kindx, size_t sizekind);
extern unsigned int WRSpick(const ptrdiff_t *weightx, size_t nom);
extern int tri();
extern int core_f_1();
extern int core_f_3();
extern int core_f_4();
extern int core_f_5();
extern int post_add();
extern int set_banner_f(ptrdiff_t chosen_banner_p, ptrdiff_t chosen_event_p);
extern int gipull(ptrdiff_t chosen_banner_p, ptrdiff_t chosen_event_p);
extern int clear_all();
extern int hash_gen();
extern int hash_apply(const ptrdiff_t *sav_p);
extern int set_fw(const unsigned int fw);
extern int case_2c();
extern int case_2c_alt();
extern int case_3w();
extern int case_3w_alt();
extern int case_2w();
extern int case_1c();
extern int switch_0();
extern int switch_1();
extern int switch_2();
extern int switch_3();
extern int switch_4();
extern int switch_5();
extern int switch_6();
extern int switch_7();
extern int fate_weapon_if();
} // namespace giwscli
#endif