Reorganized music, video and sound players:
- All XXXplayers are now in client/media directory - Reogranized code on one class per file basis - Extracted interfaces from handlers. Handlers now implement corresponding interface. - CCS now only stores pointer to an interface
This commit is contained in:
1 parent
e00046dd70
commit
d27b854cb1
51 files changed
+1284
-1122
No files matched your search
+6
-6
@@ -36,21 +36,21 @@ class CMap;
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
class CMapHandler;
|
||||
class CSoundHandler;
|
||||
class CMusicHandler;
|
||||
class ISoundPlayer;
|
||||
class IMusicPlayer;
|
||||
class CursorHandler;
|
||||
class IMainVideoPlayer;
|
||||
class IVideoPlayer;
|
||||
class CServerHandler;
|
||||
|
||||
//a class for non-mechanical client GUI classes
|
||||
class CClientState
|
||||
{
|
||||
public:
|
||||
CSoundHandler * soundh;
|
||||
CMusicHandler * musich;
|
||||
ISoundPlayer * soundh;
|
||||
IMusicPlayer * musich;
|
||||
CConsoleHandler * consoleh;
|
||||
CursorHandler * curh;
|
||||
IMainVideoPlayer * videoh;
|
||||
IVideoPlayer * videoh;
|
||||
};
|
||||
extern CClientState * CCS;
|
||||
|
||||
|
||||
Reference in new issue
Block a user