aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/m_list.h
blob: a231a552f25667e0adbbd5e8ca1aa732f0adc10c (plain)
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
/*
 * PARSEC HEADER: m_list.h
 */

#ifndef _M_LIST_H_
#define _M_LIST_H_


// list window modes

enum {

	LISTWIN_DEMOLIST,
	LISTWIN_PLAYERLIST,
	LISTWIN_SERVERLIST
};


// external functions

int		DemoListSelection();
void	DemoListCursorUp();
void	DemoListCursorDown();
void	DemoListMouseSet();

int		MouseOverListItem( int mousex, int mousey );

void 	MoveInListWindow();
void 	MoveOutListWindow();
void 	SlideInListWindow();
void 	SlideOutListWindow();
int 	SlideFinishedListWindow();

void 	DrawRemotePlayerListWindow();
void	DrawMenuListWindow();


// external variables

extern int listwin_mode;
extern int listwin_active;


#endif // _M_LIST_H_