gosu 0.7.27.1-i386-mingw32 → 0.7.28-i386-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 julian@raschke.de
21
+ Julian Raschke julian@raschke.de
22
+ Jan Lücker jan.luecker@gmx.de
23
+ http://www.libgosu.org/
22
24
 
23
- Jan Lücker jan.luecker@gmx.de
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
- // Still to be moved around & undocumented, beware! (TODO)
82
- Bitmap quickLoadBitmap(const std::wstring& filename);
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
- const ImageData& getData() const;
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, quickLoadBitmap(filename), tileWidth, tileHeight, tileable, appendTo);
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
@@ -43,6 +43,9 @@ namespace Gosu
43
43
 
44
44
  virtual boost::optional<GLTexInfo> glTexInfo() const = 0;
45
45
  virtual Bitmap toBitmap() const = 0;
46
+
47
+ //! Experimental and undocumented for now.
48
+ virtual void insert(const Bitmap& bitmap, int x, int y) = 0;
46
49
  };
47
50
  }
48
51
 
data/Gosu/Version.hpp CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #define GOSU_MAJOR_VERSION 0
5
5
  #define GOSU_MINOR_VERSION 7
6
- #define GOSU_POINT_VERSION 27
7
- #define GOSU_VERSION "0.7.27.1"
6
+ #define GOSU_POINT_VERSION 28
7
+ #define GOSU_VERSION "0.7.28"
8
8
 
9
9
  #endif
data/README.txt CHANGED
@@ -1,17 +1,26 @@
1
- Moin moin, dear Gosu user!
1
+  Moin and welcome to Gosu!
2
2
 
3
- * All resources concerning Gosu are linked from http://libgosu.org/.
3
+  Gosu's main website is http://www.libgosu.org/ which always has the latest
4
+ links to all relevant information.
4
5
 
5
- * The latest documentation on how to install/set up Gosu can be found at:
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/wiki/DocsOverview
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
- * Try doing the tutorial there if you don't know how to start out! Or look
10
- at one of the games in the Gosu Users board.
13
+ http://code.google.com/p/gosu/wiki/DocsOverview
11
14
 
12
- * If you have any questions or feedback,
13
- - visit the boards at http://libgosu.org/,
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
- Hope you'll enjoy using Gosu!
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/audiere.dll CHANGED
File without changes
data/lib/gosu.for_1_8.so CHANGED
Binary file
data/lib/gosu.for_1_9.so 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: 25
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 27
10
- - 1
11
- version: 0.7.27.1
9
+ - 28
10
+ version: 0.7.28
12
11
  platform: i386-mingw32
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-02-07 00:00:00 +08:00
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.txt
32
+ - COPYING
34
33
  - README.txt
35
34
  - Gosu/Async.hpp
36
35
  - Gosu/Audio.hpp
@@ -121,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
120
  requirements: []
122
121
 
123
122
  rubyforge_project:
124
- rubygems_version: 1.4.2
123
+ rubygems_version: 1.6.0
125
124
  signing_key:
126
125
  specification_version: 3
127
126
  summary: 2D game development library.