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_DATA_H_ |
23 | #define UCODE_DATA_H_ |
24 | |
25 | //***************************************************************************** |
26 | // UCode Definitions |
27 | //***************************************************************************** |
28 | #define F3D 0 // Super Mario 64 |
29 | #define F3DEX 1 |
30 | #define F3DEX2 2 |
31 | #define L3D 3 |
32 | #define L3DEX 4 |
33 | #define L3DEX2 5 |
34 | #define S2DEX 6 |
35 | #define S2DEX2 7 |
36 | #define F3DPD 8 |
37 | #define F3DDKR 9 |
38 | #define F3DWRUS 10 |
39 | #define NONE 11 |
40 | |
41 | //***************************************************************************** |
42 | //* UCode Data |
43 | //! Used to Identify witch ucode diffrent games use |
44 | //***************************************************************************** |
45 | struct UcodeData |
46 | { |
47 | unsigned int ucode; //!< ID of ucode |
48 | unsigned int crc_size; //!< Hash value used to identify ucode |
49 | unsigned int crc_800; //!< Hash value used to identify ucode |
50 | const char* ucode_name; //!< Name used to identify ucode |
51 | bool non_nearclip; //!< Does ucode support near clipping? |
52 | bool reject; //!< |
53 | }; |
54 | |
55 | #endif |