This commit is contained in:
parent
9e6fae82c4
commit
5298e61a8a
2 changed files with 313 additions and 0 deletions
35
source/hazard/hrrock.h
Normal file
35
source/hazard/hrrock.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*=========================================================================
|
||||
|
||||
hrrock.h
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2001 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __HAZARD_HRROCK_H__
|
||||
#define __HAZARD_HRROCK_H__
|
||||
|
||||
#ifndef __HAZARD_HAZARD_H__
|
||||
#include "hazard\hazard.h"
|
||||
#endif
|
||||
|
||||
class CNpcRollingRockHazard : public CNpcHazard
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
void render();
|
||||
virtual CRECT const *getThinkBBox();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
s16 m_rotation;
|
||||
u8 m_jump;
|
||||
s32 m_jumpVel;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue