/[pcsx2_0.9.7]/trunk/pcsx2/cheatscpp.h
ViewVC logotype

Contents of /trunk/pcsx2/cheatscpp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1253 byte(s)
committing r3113 initial commit again...
1 /* Pcsx2 - Pc Ps2 Emulator
2 * Copyright (C) 2002-2008 Pcsx2 Team
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18 #ifndef CHEATSCPP_H_INCLUDED
19 #define CHEATSCPP_H_INCLUDED
20
21 class Group
22 {
23 public:
24 string title;
25 bool enabled;
26 int parentIndex;
27
28 Group(int nParent,bool nEnabled, string &nTitle);
29
30 };
31
32 class Patch
33 {
34 public:
35 string title;
36 int group;
37 bool enabled;
38 int patchIndex;
39
40 Patch(int patch, int grp, bool en, string &ttl);
41
42 Patch operator =(const Patch&p);
43 };
44
45 extern vector<Group> groups;
46 extern vector<Patch> patches;
47
48 #endif//CHEATSCPP_H_INCLUDED

  ViewVC Help
Powered by ViewVC 1.1.22