Arachnoid GLESv1.1 plugin. Compile and run (a bit glitchy and no frameskip) on the...
[mupen64plus-pandora.git] / source / mupen64plus-video-arachnoid / src / ucodes / UCode10.h
1 /******************************************************************************
2  * Arachnoid Graphics Plugin for Mupen64Plus
3  * http://bitbucket.org/wahrhaft/mupen64plus-video-arachnoid/
4  *
5  * Copyright (C) 2007 Kristofer Karlsson, Rickard Niklasson
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20  *****************************************************************************/
21
22 #ifndef UCODE_10_H_
23 #define UCODE_10_H_
24
25 //Includes
26 #include "UCodeDefs.h"
27
28 //Forward declaration
29 class GBI;
30 class RSP;
31 class RDP;
32 class Memory;
33 class DisplayListParser;
34
35 //*****************************************************************************
36 //! UCode10
37 //! Microcode used for Conker's Bad Fur Day
38 //*****************************************************************************
39 class UCode10
40 {
41 public:
42
43     UCode10();
44     ~UCode10();
45
46     static void initialize(GBI* gbi, RSP* rsp, RDP* rdp, Memory* mem, DisplayListParser* dlp);
47     static void initializeGBI();
48
49     static void ConkerBFD_Vertex(MicrocodeArgument* ucode);
50     static void ConkerBFD_Add4Triangles(MicrocodeArgument* ucode);
51     static void ConkerBFD_MoveWord(MicrocodeArgument* ucode);
52     static void ConkerBFD_MoveMem(MicrocodeArgument* ucode);
53
54 private:
55
56     static GBI* m_gbi;        //!< Graphics Binary Interface
57     static RSP* m_rsp;        //!< Pointer to Reality Signal Processor 
58     static RDP* m_rdp;        //!< Pointer to Reality Drawing Processor  
59     static Memory* m_memory;  //!< Pointer accessing memory like RDRAM and Texture Memory
60     static DisplayListParser* m_displayListParser;
61
62
63 };
64
65 #endif