2001-07-11 18:56:56 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
nicklogo.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __FRONTEND_NICKLOGO_H__
|
|
|
|
#define __FRONTEND_NICKLOGO_H__
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
#ifndef __FRONTEND_FRONTEND_H__
|
|
|
|
#include "frontend\frontend.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
|
|
|
class CFrontEndNickLogo : public CFrontEndMode
|
|
|
|
{
|
|
|
|
public:
|
2001-07-11 20:32:45 +02:00
|
|
|
virtual void select();
|
|
|
|
virtual void unselect();
|
|
|
|
virtual void think(int _frames);
|
|
|
|
|
|
|
|
virtual int isReadyToExit();
|
|
|
|
virtual CFrontEndScene::FrontEndMode getNextMode();
|
|
|
|
|
|
|
|
private:
|
|
|
|
enum
|
|
|
|
{
|
2001-07-11 20:54:01 +02:00
|
|
|
#ifdef __USER_CDBUILD__
|
2001-07-11 20:32:45 +02:00
|
|
|
DISPLAY_FRAMES=60*6,
|
2001-07-11 20:54:01 +02:00
|
|
|
#else
|
|
|
|
DISPLAY_FRAMES=6,
|
|
|
|
#endif
|
2001-07-11 20:32:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
int m_readyToExit;
|
|
|
|
unsigned char *m_image;
|
|
|
|
int m_frameCount;
|
2001-07-11 18:56:56 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __FRONTEND_NICKLOGO_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|