summaryrefslogtreecommitdiffstats
path: root/src/control/NameGrid.h
blob: d52cec7325ccd16354d6878d564bb9588f33bfb0 (plain) (blame)
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
#pragma once

// TODO: reverse mobile code

class CPlayerName
{
	friend class CGrid;

	float x;
	float y;
	wchar unk_8[34];
	int unk_4c;
public:
	CPlayerName();
	void DisplayName(int);
};

class CRow
{
	friend class CGrid;

	int unk_0;
	int unk_4;
	wchar unk_8[20];
	int unk_30;
public:
	CRow();
	void SetLetter(int, wchar *);
};

class CGrid
{
	CRow rows[5];
	int unk_int1;
	int unk_int2;
	int unk_int3;
	float unk_float1;
	float unk_float2;
	CPlayerName playerName;
	char unk2[4];
	char unk3[4];
public:
	CGrid();
	void ProcessAnyLeftJustDown();
	void ProcessAnyRightJustDown();
	void ProcessAnyUpJustDown();
	void ProcessAnyDownJustDown();
	void AllDoneMakePlayerName();
	void ProcessDPadCrossJustDown();
	void DisplayGrid();
	void ProcessControllerInput();
	void Process();
};