2003-04-02 21:55:54 +00:00
|
|
|
#ifndef NOTEFIELD_POSITIONING_H
|
|
|
|
|
#define NOTEFIELD_POSITIONING_H
|
|
|
|
|
|
|
|
|
|
#include "NoteTypes.h"
|
|
|
|
|
#include "PlayerNumber.h"
|
|
|
|
|
#include "StyleDef.h"
|
|
|
|
|
#include "PlayerNumber.h"
|
|
|
|
|
|
2003-04-03 00:01:04 +00:00
|
|
|
#include "RageMath.h"
|
2003-04-02 21:55:54 +00:00
|
|
|
|
|
|
|
|
class NoteFieldPositioning
|
|
|
|
|
{
|
2003-04-03 00:01:04 +00:00
|
|
|
RageMatrix m_Position[MAX_NOTE_TRACKS];
|
|
|
|
|
/* 0 = no perspective */
|
|
|
|
|
float m_fFov[MAX_NOTE_TRACKS];
|
|
|
|
|
RageMatrix m_PerspPosition[MAX_NOTE_TRACKS];
|
2003-04-02 21:55:54 +00:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
NoteFieldPositioning();
|
|
|
|
|
~NoteFieldPositioning();
|
|
|
|
|
void Init();
|
|
|
|
|
void Update(float fDeltaTime);
|
|
|
|
|
|
|
|
|
|
void LoadFromFile(CString fn);
|
|
|
|
|
void LoadFromStyleDef(const StyleDef *s, PlayerNumber pn);
|
|
|
|
|
|
|
|
|
|
void BeginDrawTrack(int tn);
|
|
|
|
|
void EndDrawTrack(int tn);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|