22726e4d |
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_9_H_ |
23 | #define UCODE_9_H_ |
24 | |
25 | //Includes |
26 | #include "UCodeDefs.h" |
27 | |
28 | class GBI; |
29 | class RSP; |
30 | |
31 | //***************************************************************************** |
32 | //! UCode9 |
33 | //! Microcode used to play Perfect Dark |
34 | //***************************************************************************** |
35 | class UCode9 |
36 | { |
37 | public: |
38 | |
39 | //Constructor / Destructor |
40 | UCode9(); |
41 | ~UCode9(); |
42 | |
43 | static void initialize(RSP* rsp); |
44 | static void initializeGBI(GBI* gbi); |
45 | |
46 | static void PerfectDark_Vertex(MicrocodeArgument* ucode); |
47 | static void PerfectDark_VertexColorBase(MicrocodeArgument* ucode); |
48 | |
49 | private: |
50 | |
51 | static RSP* m_rsp; //!< Pointer to Reality Signal Processor |
52 | }; |
53 | |
54 | #endif |