add ArrowBackdrop
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "global.h"
|
||||
#include "ArrowBackdrop.h"
|
||||
#include "GameState.h"
|
||||
#include "NoteFieldPositioning.h"
|
||||
|
||||
void ArrowBackdrop::BeginDraw()
|
||||
{
|
||||
BGAnimation::BeginDraw();
|
||||
GAMESTATE->m_Position->BeginDrawBackdrop(m_PlayerNumber);
|
||||
}
|
||||
|
||||
void ArrowBackdrop::EndDraw()
|
||||
{
|
||||
GAMESTATE->m_Position->EndDrawBackdrop(m_PlayerNumber);
|
||||
BGAnimation::EndDraw();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef ARROW_BACKDROP_H
|
||||
#define ARROW_BACKDROP_H
|
||||
|
||||
#include "BGAnimation.h"
|
||||
#include "PlayerNumber.h"
|
||||
|
||||
class ArrowBackdrop: public BGAnimation
|
||||
{
|
||||
PlayerNumber m_PlayerNumber;
|
||||
|
||||
public:
|
||||
virtual void BeginDraw(); // pushes transform onto world matrix stack
|
||||
virtual void EndDraw(); // pops transform from world matrix stack
|
||||
void SetPlayer( PlayerNumber pn ) { m_PlayerNumber = pn; }
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -49,7 +49,7 @@ PlayerOptions.cpp PlayerOptions.h RandomSample.cpp RandomSample.h Song.cpp song.
|
||||
SongOptions.cpp SongOptions.h StageStats.cpp StageStats.h StyleDef.cpp StyleDef.h StyleInput.h \
|
||||
TitleSubstitution.cpp TitleSubstitution.h Inventory.cpp Inventory.h PlayerNumber.cpp PlayerNumber.h \
|
||||
LyricsLoader.cpp LyricsLoader.h NoteFieldPositioning.cpp NoteFieldPositioning.h RaveHelper.cpp RaveHelper.h \
|
||||
PlayerAI.cpp PlayerAI.h Character.cpp Character.h
|
||||
PlayerAI.cpp PlayerAI.h Character.cpp Character.h ArrowBackdrop.cpp ArrowBackdrop.h
|
||||
|
||||
|
||||
FileTypes = IniFile.cpp IniFile.h MsdFile.cpp MsdFile.h
|
||||
|
||||
@@ -295,6 +295,14 @@ SOURCE=.\RageUtil.h
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ArrowBackdrop.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ArrowBackdrop.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Character.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -121,6 +121,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/MACHINE:I386 $(intdir)\verstub.obj
|
||||
/FIXED:no
|
||||
"
|
||||
OutputFile=".\../StepMania.exe"
|
||||
LinkIncremental="1"
|
||||
@@ -1241,6 +1242,12 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\
|
||||
<File
|
||||
RelativePath="ActiveItemList.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="ArrowBackdrop.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="ArrowBackdrop.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\ArrowEffects.cpp">
|
||||
</File>
|
||||
|
||||
Reference in New Issue
Block a user