aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/m_list.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/m_list.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/m_list.h')
-rw-r--r--src/parsec/include/m_list.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/parsec/include/m_list.h b/src/parsec/include/m_list.h
new file mode 100644
index 0000000..a231a55
--- /dev/null
+++ b/src/parsec/include/m_list.h
@@ -0,0 +1,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_
+
+