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 +3 -2
- data/Gosu/Audio.hpp +17 -13
- data/Gosu/Gosu.hpp +1 -0
- data/Gosu/Inspection.hpp +14 -0
- data/Gosu/Version.hpp +2 -2
- data/lib/gosu.for_1_8.bundle +0 -0
- data/lib/gosu.for_1_9.bundle +0 -0
- metadata +7 -7
data/COPYING.txt
CHANGED
@@ -26,5 +26,6 @@ http://www.libgosu.org/
|
|
26
26
|
|
27
27
|
***
|
28
28
|
|
29
|
-
This does NOT apply to
|
30
|
-
|
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
|
-
|
100
|
-
Sample(Audio& audio,
|
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(
|
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
|
-
|
161
|
-
|
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
data/Gosu/Inspection.hpp
ADDED
@@ -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
data/lib/gosu.for_1_8.bundle
CHANGED
Binary file
|
data/lib/gosu.for_1_9.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:
|
5
|
-
prerelease:
|
4
|
+
hash: 53
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
|
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-
|
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.
|
122
|
+
rubygems_version: 1.4.2
|
123
123
|
signing_key:
|
124
124
|
specification_version: 3
|
125
125
|
summary: 2D game development library.
|