OSDN Git Service

#xxxxx DTXViewerのプロジェクトを追加。
[dtxmania/dtxmania.git] / DTXViewerプロジェクト / @DTXViewerプロジェクト / ソースファイル / ActPlayBGA.h
diff --git a/DTXViewerプロジェクト/@DTXViewerプロジェクト/ソースファイル/ActPlayBGA.h b/DTXViewerプロジェクト/@DTXViewerプロジェクト/ソースファイル/ActPlayBGA.h
new file mode 100644 (file)
index 0000000..8aa3ebc
--- /dev/null
@@ -0,0 +1,47 @@
+#pragma once
+
+#include "Activity.h"
+#include "DTX.h"
+
+namespace DTXViewer {
+       namespace Stage {
+               namespace Play {
+
+class ActPlayBGA : public Activity
+{
+public:
+       void    Start( int n\83`\83\83\83\93\83l\83\8b, DTX::BMP *bmp, DTX::BMPTEX* bmptex,     int n\8aJ\8en\83T\83C\83YW, int n\8aJ\8en\83T\83C\83YH, int n\8fI\97¹\83T\83C\83YW, int n\8fI\97¹\83T\83C\83YH, int n\89æ\91\9c\91¤\8aJ\8en\88Ê\92uX, int n\89æ\91\9c\91¤\8aJ\8en\88Ê\92uY, int n\89æ\91\9c\91¤\8fI\97¹\88Ê\92uX, int n\89æ\91\9c\91¤\8fI\97¹\88Ê\92uY, int n\95\\8e¦\91¤\8aJ\8en\88Ê\92uX, int n\95\\8e¦\91¤\8aJ\8en\88Ê\92uY, int n\95\\8e¦\91¤\8fI\97¹\88Ê\92uX, int n\95\\8e¦\91¤\8fI\97¹\88Ê\92uY, double db\91\8d\88Ú\93®\8e\9e\8aÔms, double db\88Ú\93®\8aJ\8en\8e\9e\8d\8fms=INIT_TIME );
+       void    SkipStart( double db\88Ú\93®\8aJ\8en\8e\9e\8d\8fms );
+       void    Stop();
+       void    Cont( double db\8dÄ\8aJ\8e\9e\8d\8fms );
+       void    ChangeScope( int n\83`\83\83\83\93\83l\83\8b, DTX::BMP* bmp, DTX::BMPTEX* bmptex );             // bmp, bmptex .. \90V\82µ\82¢\89æ\91\9c\81i\82¢\82¸\82ê\82©\82ª\94ñNULL\81
+
+       ActPlayBGA();
+       bool    MyOneTimeSceneInit();
+       bool    MyActivate();
+       bool    MyUnActivate();
+       bool    MyFinalCleanup();
+       bool    MyInitDeviceObjects();
+       bool    MyRestoreDeviceTextures();
+       bool    MyRestoreDeviceSurfaces();
+       bool    MyInvalidateDeviceObjects();
+       bool    MyDeleteDeviceObjects();
+       int             MainWork( int x, int y );
+
+protected:
+       struct _structLayer {
+               DTX::BMP                *pBMP;                  // BMP\82Ö\82Ì\83|\83C\83\93\83^                      \81i\81¦ pBMP | pBMPTEX \82Ì\82Ç\82¿\82ç\82©\82ª\94ñ NULL\81j
+               DTX::BMPTEX             *pBMPTEX;               // BMPTEX \82Ö\82Ì\83|\83C\83\93\83^
+               SIZE    sz\8aJ\8en\83T\83C\83Y;
+               SIZE    sz\8fI\97¹\83T\83C\83Y;
+               POINT   pt\89æ\91\9c\91¤\8aJ\8en\88Ê\92u;               // BMP\89æ\91\9c\93à\91\8a\91Î\8dÀ\95W
+               POINT   pt\89æ\91\9c\91¤\8fI\97¹\88Ê\92u;
+               POINT   pt\95\\8e¦\91¤\8aJ\8en\88Ê\92u;               // DTXMania\82ÌBGA\97Ì\88æ\91\8a\91Î\8dÀ\95W
+               POINT   pt\95\\8e¦\91¤\8fI\97¹\88Ê\92u;
+               double  db\91\8d\88Ú\93®\8e\9e\8aÔms;
+               double  db\88Ú\93®\8aJ\8en\8e\9e\8d\8fms;
+       } structLayer[ 8 ];                                     // \8dÅ\91å8\8fd\82Ë\82Ü\82Å\89Â\94\\81B\81i\8f¬\82³\82¢\93Y\8e\9a\82Ì\82à\82Ì\82Ù\82Ç\89º\88Ê\82É\95`\89æ\81j
+};
+               }//Play
+       }//Stage
+}//DTXViewer