97 lines
1.8 KiB
C++
97 lines
1.8 KiB
C++
/*=========================================================================
|
|
|
|
fma.h
|
|
|
|
Author: PKG
|
|
Created:
|
|
Project: Spongebob
|
|
Purpose:
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
===========================================================================*/
|
|
|
|
#ifndef __FMA_FMA_H__
|
|
#define __FMA_FMA_H__
|
|
|
|
/*----------------------------------------------------------------------
|
|
Includes
|
|
-------- */
|
|
|
|
#ifndef __SYSTEM_GSTATE_H__
|
|
#include "system\gstate.h"
|
|
#endif
|
|
|
|
#ifndef _GLOBAL_HEADER_
|
|
#include "system\global.h"
|
|
#endif
|
|
|
|
|
|
/* Std Lib
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Tyepdefs && Defines
|
|
------------------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Structure defintions
|
|
-------------------- */
|
|
|
|
class CFmaScene: public CScene
|
|
{
|
|
public:
|
|
void init();
|
|
void shutdown();
|
|
void render();
|
|
void think(int _frames);
|
|
int readyToShutdown();
|
|
char *getSceneName() {return"FMA";}
|
|
|
|
private:
|
|
void startShutdown();
|
|
|
|
void startNextScriptCommand();
|
|
void processCurrentScriptCommand();
|
|
|
|
|
|
|
|
class CLevel *m_level;
|
|
|
|
DVECTOR m_cameraPos;
|
|
|
|
int m_cameraMoving;
|
|
int m_startCameraFrame;
|
|
DVECTOR m_startCameraPos;
|
|
int m_endCameraFrame;
|
|
DVECTOR m_endCameraPos;
|
|
|
|
int *m_pc;
|
|
int m_scriptRunning;
|
|
int m_stillProcessingCommand;
|
|
int m_doOtherProcessing;
|
|
int m_timer;
|
|
int m_frameCount;
|
|
|
|
int m_readyToShutdown;
|
|
};
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
Globals
|
|
------- */
|
|
|
|
extern CFmaScene FmaScene;
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
Functions
|
|
--------- */
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
#endif /* __FMA_FMA_H__ */
|
|
|
|
/*===========================================================================
|
|
end */
|