This commit is contained in:
Paul 2001-02-08 20:01:41 +00:00
parent d59390dbc0
commit b74b514b01
2 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,58 @@
/*=========================================================================
demoplay.cpp
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
/*----------------------------------------------------------------------
Includes
-------- */
#include "player\demoplay.h"
/* Std Lib
------- */
/* Data
---- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
/*----------------------------------------------------------------------
Function Prototypes
------------------- */
/*----------------------------------------------------------------------
Vars
---- */
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
#include "utils\utils.h"
PLAYERINPUT CDemoPlayer::readPadInput()
{
return PI_NONE;
}
/*===========================================================================
end */

66
source/player/demoplay.h Normal file
View File

@ -0,0 +1,66 @@
/*=========================================================================
demoplay.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_DEMOPLAY_H__
#define __PLAYER_DEMOPLAY_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PLAYER_PLAYER_H__
#include "player/player.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CDemoPlayer : public CPlayer
{
public:
typedef struct
{
u8 m_inputValue;
u8 m_length;
}demoPlayerControl;
protected:
virtual PLAYERINPUT readPadInput();
private:
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_DEMOPLAY_H__ */
/*===========================================================================
end */