gosu 0.7.27.1-universal-darwin → 0.7.28-universal-darwin
Sign up to get free protection for your applications and to get access to all the features.
- data/{COPYING.txt → COPYING} +10 -7
- data/Gosu/Bitmap.hpp +7 -5
- data/Gosu/ButtonsWin.hpp +0 -0
- data/Gosu/Image.hpp +2 -2
- data/Gosu/ImageData.hpp +3 -0
- data/Gosu/Version.hpp +2 -2
- data/README.txt +20 -11
- data/lib/gosu.for_1_8.bundle +0 -0
- metadata +6 -8
- data/lib/gosu.for_1_9.bundle +0 -0
data/{COPYING.txt → COPYING}
RENAMED
@@ -18,14 +18,17 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18
18
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
19
19
|
DEALINGS IN THE SOFTWARE.
|
20
20
|
|
21
|
-
Julian Raschke
|
21
|
+
Julian Raschke julian@raschke.de
|
22
|
+
Jan Lücker jan.luecker@gmx.de
|
23
|
+
http://www.libgosu.org/
|
22
24
|
|
23
|
-
|
24
|
-
|
25
|
-
http://www.libgosu.org/
|
26
|
-
|
27
|
-
***
|
25
|
+
***
|
28
26
|
|
29
27
|
This does NOT apply to audiere.dll shipped with the Windows versions of
|
30
28
|
Gosu. Audiere is a separate library licensed under the Lesser General
|
31
|
-
Public License. Please consult audiere.sf.net for more details.
|
29
|
+
Public License. Please consult http://audiere.sf.net/ for more details.
|
30
|
+
|
31
|
+
This does also NOT apply to libogg and libvorbis, which are included in
|
32
|
+
all source and binary distributions of Gosu, sometimes via audiere. These
|
33
|
+
projects are licensed under a BSD-like license, and their copyright terms
|
34
|
+
need to be supplied even with binary redistributions (e.g. Gosu games).
|
data/Gosu/Bitmap.hpp
CHANGED
@@ -68,18 +68,20 @@ namespace Gosu
|
|
68
68
|
Reader loadFromPNG(Bitmap& bmp, Reader reader);
|
69
69
|
//! Saves the contents of the given bitmap into PNG file data, 24 bits.
|
70
70
|
Writer saveToPNG(const Bitmap& bmp, Writer writer);
|
71
|
-
|
71
|
+
|
72
72
|
//! Set the alpha value of all pixels which are equal to the color key
|
73
73
|
//! to zero. Color values are adjusted so that no borders show up when
|
74
74
|
//! the image is stretched or rotated.
|
75
75
|
void applyColorKey(Bitmap& bitmap, Color key);
|
76
|
-
|
76
|
+
|
77
77
|
void applyBorderFlags(Bitmap& dest, const Bitmap& source,
|
78
78
|
unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight,
|
79
79
|
unsigned borderFlags);
|
80
|
-
|
81
|
-
|
82
|
-
Bitmap
|
80
|
+
|
81
|
+
//! Loads any supported image into a Bitmap object.
|
82
|
+
Bitmap loadImageFile(const std::wstring& filename);
|
83
|
+
//! Loads any supported image into a Bitmap object.
|
84
|
+
Bitmap loadImageFile(Gosu::Reader input);
|
83
85
|
}
|
84
86
|
|
85
87
|
#endif
|
data/Gosu/ButtonsWin.hpp
CHANGED
File without changes
|
data/Gosu/Image.hpp
CHANGED
@@ -77,7 +77,7 @@ namespace Gosu
|
|
77
77
|
AlphaMode mode = amDefault) const;
|
78
78
|
|
79
79
|
//! Provides access to the underlying image data object.
|
80
|
-
|
80
|
+
ImageData& getData() const;
|
81
81
|
};
|
82
82
|
|
83
83
|
//! Convenience function that splits a BMP or PNG file into an array
|
@@ -92,7 +92,7 @@ namespace Gosu
|
|
92
92
|
void imagesFromTiledBitmap(Graphics& graphics, const std::wstring& filename,
|
93
93
|
int tileWidth, int tileHeight, bool tileable, Container& appendTo)
|
94
94
|
{
|
95
|
-
imagesFromTiledBitmap(graphics,
|
95
|
+
imagesFromTiledBitmap(graphics, loadImageFile(filename), tileWidth, tileHeight, tileable, appendTo);
|
96
96
|
}
|
97
97
|
|
98
98
|
//! Convenience function that splits a bitmap into an area of array
|
data/Gosu/ImageData.hpp
CHANGED
data/Gosu/Version.hpp
CHANGED
data/README.txt
CHANGED
@@ -1,17 +1,26 @@
|
|
1
|
-
Moin
|
1
|
+
Moin and welcome to Gosu!
|
2
2
|
|
3
|
-
|
3
|
+
Gosu's main website is http://www.libgosu.org/ which always has the latest
|
4
|
+
links to all relevant information.
|
4
5
|
|
5
|
-
|
6
|
+
The actual source code, wiki, issue tracker etc. are currently moving away
|
7
|
+
from Gosu's old Google Code project to GitHub:
|
6
8
|
|
7
|
-
http://code.google.com/p/gosu/
|
9
|
+
http://code.google.com/p/gosu/ -> http://github.com/jlnr/gosu/
|
10
|
+
|
11
|
+
The best entry point into Gosu's documentation is still this wiki page:
|
8
12
|
|
9
|
-
|
10
|
-
at one of the games in the Gosu Users board.
|
13
|
+
http://code.google.com/p/gosu/wiki/DocsOverview
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
- try your luck in irc://irc.freenode.org/gosu,
|
15
|
-
- or mail me at julian@raschke.de!
|
15
|
+
Try doing the tutorial there if you don't know how to start out. Or look at
|
16
|
+
one of the games in the Gosu Users board.
|
16
17
|
|
17
|
-
|
18
|
+
Remember that Gosu is licensed under the MIT license and feel invited to fork,
|
19
|
+
port and transmogrify all parts of it. The only license that may affect you by
|
20
|
+
indirection is libogg's (BSD-style). If you release a Gosu game in any common
|
21
|
+
binary form, you will need to mention use of libogg and libvorbis somewhere.
|
22
|
+
|
23
|
+
Complaints, questions, feedback?
|
24
|
+
* Visit the boards, http://www.libgosu.org/
|
25
|
+
* try your luck in the chat, irc://irc.freenode.org/gosu
|
26
|
+
* or e-mail me. Have fun, write games! julian@raschke.de
|
data/lib/gosu.for_1_8.bundle
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gosu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 0.7.27.1
|
9
|
+
- 28
|
10
|
+
version: 0.7.28
|
12
11
|
platform: universal-darwin
|
13
12
|
authors:
|
14
13
|
- Julian Raschke
|
@@ -17,7 +16,7 @@ autorequire:
|
|
17
16
|
bindir: bin
|
18
17
|
cert_chain: []
|
19
18
|
|
20
|
-
date: 2011-
|
19
|
+
date: 2011-03-24 00:00:00 +08:00
|
21
20
|
default_executable:
|
22
21
|
dependencies: []
|
23
22
|
|
@@ -30,7 +29,7 @@ extensions: []
|
|
30
29
|
extra_rdoc_files: []
|
31
30
|
|
32
31
|
files:
|
33
|
-
- COPYING
|
32
|
+
- COPYING
|
34
33
|
- README.txt
|
35
34
|
- Gosu/Async.hpp
|
36
35
|
- Gosu/Audio.hpp
|
@@ -87,7 +86,6 @@ files:
|
|
87
86
|
- examples/media/Star.png
|
88
87
|
- examples/media/Starfighter.bmp
|
89
88
|
- lib/gosu.for_1_8.bundle
|
90
|
-
- lib/gosu.for_1_9.bundle
|
91
89
|
has_rdoc: true
|
92
90
|
homepage: http://libgosu.org/
|
93
91
|
licenses: []
|
@@ -120,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
118
|
requirements: []
|
121
119
|
|
122
120
|
rubyforge_project:
|
123
|
-
rubygems_version: 1.
|
121
|
+
rubygems_version: 1.6.0
|
124
122
|
signing_key:
|
125
123
|
specification_version: 3
|
126
124
|
summary: 2D game development library.
|
data/lib/gosu.for_1_9.bundle
DELETED
Binary file
|