Skip to content

Commit 75da1dc

Browse files
committed
Initial code import (0.5.91-2 from Fremantle)
0 parents  commit 75da1dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+20047
-0
lines changed

BGObject.cpp

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Brain Party
2+
// Copyright (C) 2010 Paul Hudson (http://www.tuxradar.com/brainparty)
3+
4+
// Brain Party is free software; you can redistribute it and/or
5+
// modify it under the terms of the GNU General Public License
6+
// as published by the Free Software Foundation; either version 3
7+
// of the License, or (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+
#include "BGObject.h"
19+

BGObject.h

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Brain Party
2+
// Copyright (C) 2010 Paul Hudson (http://www.tuxradar.com/brainparty)
3+
4+
// Brain Party is free software; you can redistribute it and/or
5+
// modify it under the terms of the GNU General Public License
6+
// as published by the Free Software Foundation; either version 3
7+
// of the License, or (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 __BGOBJECT_H__
19+
#define __BGOBJECT_H__
20+
21+
#include "BPPoint.h"
22+
#include "Colour.h"
23+
#include "Texture.h"
24+
25+
class BGObject {
26+
public:
27+
BPPoint Pos;
28+
float Scale;
29+
Colour Col;
30+
Texture* Type;
31+
32+
BGObject() {
33+
Col = Colour(1.0f, 1.0f, 1.0f, 1.0f);
34+
}
35+
};
36+
37+
#endif

0 commit comments

Comments
 (0)