gosu 0.7.26.1-universal-darwin → 0.7.27-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.
data/COPYING.txt CHANGED
@@ -26,5 +26,6 @@ http://www.libgosu.org/
26
26
 
27
27
  ***
28
28
 
29
- This does NOT apply to fmod.dll shipped with the Windows version of Gosu.
30
- FMOD is a property of Firelight Technologies Pty, Ltd., see www.fmod.org.
29
+ This does NOT apply to audiere.dll shipped with the Windows versions of
30
+ Gosu. Audiere is a separate library licensed under the Lesser General
31
+ Public License. Please consult audiere.sf.net for more details.
data/Gosu/Audio.hpp CHANGED
@@ -96,8 +96,10 @@ namespace Gosu
96
96
 
97
97
 
98
98
  // Deprecated.
99
- Sample(Audio& audio, const std::wstring& filename);
100
- Sample(Audio& audio, Reader reader);
99
+ #ifndef SWIG
100
+ GOSU_DEPRECATED Sample(Audio& audio, const std::wstring& filename);
101
+ GOSU_DEPRECATED Sample(Audio& audio, Reader reader);
102
+ #endif
101
103
  };
102
104
 
103
105
  //! Songs are less flexible than samples in that they can only be played
@@ -110,14 +112,6 @@ namespace Gosu
110
112
  boost::scoped_ptr<BaseData> data;
111
113
 
112
114
  public:
113
- //! There are two types of songs that can be loaded as a Song: Streamed
114
- //! songs (like OGG) and modules (like MOD or XM).
115
- enum Type
116
- {
117
- stStream,
118
- stModule
119
- };
120
-
121
115
  //! Constructs a song that can be played on the provided audio system
122
116
  //! and loads the song from a file. The type is determined from the
123
117
  //! filename.
@@ -125,7 +119,7 @@ namespace Gosu
125
119
 
126
120
  //! Constructs a song of the specified type that can be played on the
127
121
  //! provided audio system and loads the song data from a stream.
128
- Song(Type type, Reader reader);
122
+ explicit Song(Reader reader);
129
123
 
130
124
  ~Song();
131
125
 
@@ -157,8 +151,18 @@ namespace Gosu
157
151
  static void update();
158
152
 
159
153
  // Deprecated.
160
- Song(Audio&, const std::wstring& filename);
161
- Song(Audio&, Type type, Reader reader);
154
+ #ifndef SWIG
155
+ //! There are two types of songs that can be loaded as a Song: Streamed
156
+ //! songs (like OGG) and modules (like MOD or XM).
157
+ enum Type
158
+ {
159
+ stStream,
160
+ stModule
161
+ };
162
+
163
+ GOSU_DEPRECATED Song(Audio&, const std::wstring& filename);
164
+ GOSU_DEPRECATED Song(Audio&, Type type, Reader reader);
165
+ #endif
162
166
  };
163
167
  }
164
168
 
data/Gosu/Gosu.hpp CHANGED
@@ -19,6 +19,7 @@
19
19
  #include <Gosu/Image.hpp>
20
20
  #include <Gosu/ImageData.hpp>
21
21
  #include <Gosu/Input.hpp>
22
+ #include <Gosu/Inspection.hpp>
22
23
  #include <Gosu/IO.hpp>
23
24
  #include <Gosu/Math.hpp>
24
25
  #include <Gosu/Platform.hpp>
@@ -0,0 +1,14 @@
1
+ //! \file Inspection.hpp
2
+ //! A special set of functions designed for tuning Gosu games.
3
+
4
+ #ifndef GOSU_INSPECTION_HPP
5
+ #define GOSU_INSPECTION_HPP
6
+
7
+ namespace Gosu
8
+ {
9
+ //! Returns the current framerate, as determined by an unspecified and possibly
10
+ //! horrible algorithm.
11
+ int fps();
12
+ }
13
+
14
+ #endif
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 26
7
- #define GOSU_VERSION "0.7.26.1"
6
+ #define GOSU_POINT_VERSION 27
7
+ #define GOSU_VERSION "0.7.27"
8
8
 
9
9
  #endif
Binary file
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: 29
5
- prerelease: false
4
+ hash: 53
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 26
10
- - 1
11
- version: 0.7.26.1
9
+ - 27
10
+ version: 0.7.27
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-01-10 00:00:00 +08:00
19
+ date: 2011-01-29 00:00:00 +08:00
21
20
  default_executable:
22
21
  dependencies: []
23
22
 
@@ -49,6 +48,7 @@ files:
49
48
  - Gosu/Image.hpp
50
49
  - Gosu/ImageData.hpp
51
50
  - Gosu/Input.hpp
51
+ - Gosu/Inspection.hpp
52
52
  - Gosu/IO.hpp
53
53
  - Gosu/Math.hpp
54
54
  - Gosu/Platform.hpp
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements: []
120
120
 
121
121
  rubyforge_project:
122
- rubygems_version: 1.3.7
122
+ rubygems_version: 1.4.2
123
123
  signing_key:
124
124
  specification_version: 3
125
125
  summary: 2D game development library.