From 848764544faad43ec27dcd60579637aca3d52004 Mon Sep 17 00:00:00 2001 From: Choupom Date: Fri, 4 Jun 2010 22:14:02 +0200 Subject: added folders in demo browser (#25) --- src/game/client/components/menus.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/menus.h') diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index c09e6e96..229fce80 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -160,11 +160,14 @@ class CMenus : public CComponent }; sorted_array m_lDemos; - + char m_aCurrentDemoFolder[256]; + void DemolistPopulate(); static void DemolistCountCallback(const char *pName, int IsDir, void *pUser); static void DemolistFetchCallback(const char *pName, int IsDir, void *pUser); - + static void IsDirCallback(const char *pName, int IsDir, void *pUser); + void DemoSetParentDirectory(); + // found in menus.cpp int Render(); //void render_background(); -- cgit 1.4.1