gosu 0.7.14 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +1 -2
- data/Gosu/Graphics.hpp +6 -0
- data/Gosu/Image.hpp +4 -0
- data/Gosu/Version.hpp +2 -2
- data/GosuImpl/Audio/ALChannelManagement.hpp +3 -3
- data/GosuImpl/Audio/AudioOpenAL.mm +11 -19
- data/GosuImpl/Audio/AudioToolboxFile.hpp +2 -1
- data/GosuImpl/Graphics/Common.hpp +3 -0
- data/GosuImpl/Graphics/DrawOp.hpp +105 -29
- data/GosuImpl/Graphics/GosuView.hpp +6 -0
- data/GosuImpl/Graphics/GosuView.mm +34 -1
- data/GosuImpl/Graphics/Graphics.cpp +57 -17
- data/GosuImpl/Graphics/Image.cpp +5 -0
- data/GosuImpl/Graphics/LargeImageData.cpp +1 -1
- data/GosuImpl/Graphics/Macro.hpp +79 -0
- data/GosuImpl/Graphics/TexChunk.cpp +3 -3
- data/GosuImpl/Graphics/TexChunk.hpp +2 -2
- data/GosuImpl/Graphics/TextMac.cpp +6 -0
- data/GosuImpl/Graphics/TextTouch.mm +49 -14
- data/GosuImpl/Graphics/Texture.cpp +2 -2
- data/GosuImpl/Graphics/Texture.hpp +3 -2
- data/GosuImpl/InputMac.mm +2 -0
- data/GosuImpl/RubyGosu.swg +15 -4
- data/GosuImpl/RubyGosu_wrap.cxx +85 -6
- data/GosuImpl/Sockets/CommSocket.cpp +304 -304
- data/GosuImpl/Sockets/Socket.cpp +1 -1
- data/GosuImpl/WindowMac.mm +3 -0
- data/GosuImpl/WindowTouch.mm +1 -0
- data/Rakefile +13 -5
- data/mac/Gosu.xcodeproj/jlnr.pbxuser +292 -280
- data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +46 -48
- data/mac/Gosu.xcodeproj/project.pbxproj +58 -18
- data/reference/cpp/_audio_8hpp-source.html +2 -1
- data/reference/cpp/_audio_8hpp.html +11 -4
- data/reference/cpp/_audio_8hpp_source.html +178 -0
- data/reference/cpp/_auto_link_8hpp-source.html +1 -0
- data/reference/cpp/_auto_link_8hpp.html +5 -4
- data/reference/cpp/_auto_link_8hpp_source.html +85 -0
- data/reference/cpp/_bitmap_8hpp-source.html +9 -8
- data/reference/cpp/_bitmap_8hpp.html +11 -4
- data/reference/cpp/_bitmap_8hpp_source.html +131 -0
- data/reference/cpp/_buttons_mac_8hpp-source.html +124 -123
- data/reference/cpp/_buttons_mac_8hpp.html +10 -3
- data/reference/cpp/_buttons_mac_8hpp_source.html +206 -0
- data/reference/cpp/_color_8hpp-source.html +18 -17
- data/reference/cpp/_color_8hpp.html +16 -4
- data/reference/cpp/_color_8hpp_source.html +216 -0
- data/reference/cpp/_directories_8hpp-source.html +5 -4
- data/reference/cpp/_directories_8hpp.html +11 -4
- data/reference/cpp/_directories_8hpp_source.html +89 -0
- data/reference/cpp/_font_8hpp-source.html +8 -7
- data/reference/cpp/_font_8hpp.html +11 -4
- data/reference/cpp/_font_8hpp_source.html +116 -0
- data/reference/cpp/_fwd_8hpp-source.html +1 -0
- data/reference/cpp/_fwd_8hpp.html +11 -4
- data/reference/cpp/_fwd_8hpp_source.html +99 -0
- data/reference/cpp/_gosu_8hpp-source.html +1 -0
- data/reference/cpp/_gosu_8hpp.html +5 -4
- data/reference/cpp/_gosu_8hpp_source.html +97 -0
- data/reference/cpp/_graphics_8hpp-source.html +7 -6
- data/reference/cpp/_graphics_8hpp.html +11 -4
- data/reference/cpp/_graphics_8hpp_source.html +138 -0
- data/reference/cpp/_graphics_base_8hpp-source.html +22 -21
- data/reference/cpp/_graphics_base_8hpp.html +15 -8
- data/reference/cpp/_graphics_base_8hpp_source.html +116 -0
- data/reference/cpp/_i_o_8hpp-source.html +16 -15
- data/reference/cpp/_i_o_8hpp.html +13 -6
- data/reference/cpp/_i_o_8hpp_source.html +302 -0
- data/reference/cpp/_image_8hpp-source.html +23 -22
- data/reference/cpp/_image_8hpp.html +11 -4
- data/reference/cpp/_image_8hpp_source.html +176 -0
- data/reference/cpp/_image_data_8hpp-source.html +2 -1
- data/reference/cpp/_image_data_8hpp.html +11 -4
- data/reference/cpp/_image_data_8hpp_source.html +109 -0
- data/reference/cpp/_input_8hpp-source.html +6 -5
- data/reference/cpp/_input_8hpp.html +11 -4
- data/reference/cpp/_input_8hpp_source.html +183 -0
- data/reference/cpp/_math_8hpp-source.html +26 -25
- data/reference/cpp/_math_8hpp.html +11 -4
- data/reference/cpp/_math_8hpp_source.html +157 -0
- data/reference/cpp/_platform_8hpp-source.html +5 -4
- data/reference/cpp/_platform_8hpp.html +14 -7
- data/reference/cpp/_platform_8hpp_source.html +134 -0
- data/reference/cpp/_rot_flip_8hpp-source.html +30 -29
- data/reference/cpp/_rot_flip_8hpp.html +12 -5
- data/reference/cpp/_rot_flip_8hpp_source.html +185 -0
- data/reference/cpp/_sockets_8hpp-source.html +25 -24
- data/reference/cpp/_sockets_8hpp.html +14 -7
- data/reference/cpp/_sockets_8hpp_source.html +175 -0
- data/reference/cpp/_text_8hpp-source.html +7 -6
- data/reference/cpp/_text_8hpp.html +11 -4
- data/reference/cpp/_text_8hpp_source.html +103 -0
- data/reference/cpp/_text_input_8hpp-source.html +1 -0
- data/reference/cpp/_text_input_8hpp.html +11 -4
- data/reference/cpp/_text_input_8hpp_source.html +111 -0
- data/reference/cpp/_timing_8hpp-source.html +3 -2
- data/reference/cpp/_timing_8hpp.html +11 -4
- data/reference/cpp/_timing_8hpp_source.html +83 -0
- data/reference/cpp/_utility_8hpp-source.html +5 -4
- data/reference/cpp/_utility_8hpp.html +11 -4
- data/reference/cpp/_utility_8hpp_source.html +90 -0
- data/reference/cpp/_version_8hpp-source.html +1 -0
- data/reference/cpp/_version_8hpp.html +7 -6
- data/reference/cpp/_version_8hpp_source.html +78 -0
- data/reference/cpp/_win_utility_8hpp-source.html +13 -12
- data/reference/cpp/_win_utility_8hpp.html +18 -6
- data/reference/cpp/_win_utility_8hpp_source.html +126 -0
- data/reference/cpp/_window_8hpp-source.html +6 -5
- data/reference/cpp/_window_8hpp.html +12 -5
- data/reference/cpp/_window_8hpp_source.html +158 -0
- data/reference/cpp/annotated.html +3 -2
- data/reference/cpp/class_gosu_1_1_audio-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_audio.html +5 -4
- data/reference/cpp/class_gosu_1_1_bitmap-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_bitmap.html +17 -12
- data/reference/cpp/class_gosu_1_1_buffer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_buffer.html +12 -13
- data/reference/cpp/class_gosu_1_1_button-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_button.html +13 -10
- data/reference/cpp/class_gosu_1_1_color-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_color.html +29 -26
- data/reference/cpp/class_gosu_1_1_comm_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_comm_socket.html +23 -22
- data/reference/cpp/class_gosu_1_1_file-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_file.html +7 -6
- data/reference/cpp/class_gosu_1_1_font-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_font.html +17 -16
- data/reference/cpp/class_gosu_1_1_graphics-members.html +4 -1
- data/reference/cpp/class_gosu_1_1_graphics.html +68 -19
- data/reference/cpp/class_gosu_1_1_image-members.html +3 -1
- data/reference/cpp/class_gosu_1_1_image.html +49 -23
- data/reference/cpp/class_gosu_1_1_image_data-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_image_data.html +9 -8
- data/reference/cpp/class_gosu_1_1_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_input.html +7 -6
- data/reference/cpp/class_gosu_1_1_listener_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_listener_socket.html +12 -11
- data/reference/cpp/class_gosu_1_1_message_socket-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_message_socket.html +19 -18
- data/reference/cpp/class_gosu_1_1_reader-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_reader.html +18 -17
- data/reference/cpp/class_gosu_1_1_resource-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_resource.html +10 -9
- data/reference/cpp/class_gosu_1_1_rot_flip-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_rot_flip.html +24 -19
- data/reference/cpp/class_gosu_1_1_sample-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample.html +5 -4
- data/reference/cpp/class_gosu_1_1_sample_instance-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_sample_instance.html +5 -4
- data/reference/cpp/class_gosu_1_1_song-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_song.html +6 -5
- data/reference/cpp/class_gosu_1_1_text_input-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_text_input.html +6 -5
- data/reference/cpp/class_gosu_1_1_window-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_window.html +12 -11
- data/reference/cpp/class_gosu_1_1_writer-members.html +2 -1
- data/reference/cpp/class_gosu_1_1_writer.html +15 -14
- data/reference/cpp/classes.html +11 -10
- data/reference/cpp/files.html +28 -27
- data/reference/cpp/functions.html +2 -1
- data/reference/cpp/functions_0x62.html +5 -2
- data/reference/cpp/functions_0x63.html +2 -1
- data/reference/cpp/functions_0x64.html +2 -1
- data/reference/cpp/functions_0x65.html +4 -1
- data/reference/cpp/functions_0x66.html +2 -1
- data/reference/cpp/functions_0x67.html +5 -2
- data/reference/cpp/functions_0x68.html +2 -1
- data/reference/cpp/functions_0x69.html +2 -1
- data/reference/cpp/functions_0x6b.html +2 -1
- data/reference/cpp/functions_0x6c.html +2 -1
- data/reference/cpp/functions_0x6d.html +2 -1
- data/reference/cpp/functions_0x6e.html +2 -1
- data/reference/cpp/functions_0x6f.html +2 -1
- data/reference/cpp/functions_0x70.html +2 -1
- data/reference/cpp/functions_0x72.html +2 -1
- data/reference/cpp/functions_0x73.html +2 -1
- data/reference/cpp/functions_0x74.html +4 -3
- data/reference/cpp/functions_0x75.html +2 -1
- data/reference/cpp/functions_0x76.html +2 -1
- data/reference/cpp/functions_0x77.html +2 -1
- data/reference/cpp/functions_0x78.html +2 -1
- data/reference/cpp/functions_0x79.html +2 -1
- data/reference/cpp/functions_0x7e.html +2 -1
- data/reference/cpp/functions_enum.html +2 -1
- data/reference/cpp/functions_eval.html +2 -1
- data/reference/cpp/functions_func.html +2 -1
- data/reference/cpp/functions_func_0x62.html +5 -2
- data/reference/cpp/functions_func_0x63.html +2 -1
- data/reference/cpp/functions_func_0x64.html +2 -1
- data/reference/cpp/functions_func_0x65.html +4 -1
- data/reference/cpp/functions_func_0x66.html +2 -1
- data/reference/cpp/functions_func_0x67.html +5 -2
- data/reference/cpp/functions_func_0x68.html +2 -1
- data/reference/cpp/functions_func_0x69.html +2 -1
- data/reference/cpp/functions_func_0x6b.html +2 -1
- data/reference/cpp/functions_func_0x6c.html +2 -1
- data/reference/cpp/functions_func_0x6d.html +2 -1
- data/reference/cpp/functions_func_0x6e.html +2 -1
- data/reference/cpp/functions_func_0x6f.html +2 -1
- data/reference/cpp/functions_func_0x70.html +2 -1
- data/reference/cpp/functions_func_0x72.html +2 -1
- data/reference/cpp/functions_func_0x73.html +2 -1
- data/reference/cpp/functions_func_0x74.html +4 -3
- data/reference/cpp/functions_func_0x75.html +2 -1
- data/reference/cpp/functions_func_0x76.html +2 -1
- data/reference/cpp/functions_func_0x77.html +2 -1
- data/reference/cpp/functions_func_0x7e.html +2 -1
- data/reference/cpp/functions_type.html +2 -1
- data/reference/cpp/functions_vars.html +2 -1
- data/reference/cpp/globals.html +2 -1
- data/reference/cpp/globals_defs.html +2 -1
- data/reference/cpp/hierarchy.html +2 -1
- data/reference/cpp/index.html +3 -2
- data/reference/cpp/namespace_gosu.html +3314 -0
- data/reference/cpp/namespace_gosu_1_1_colors.html +274 -0
- data/reference/cpp/namespace_gosu_1_1_win.html +354 -0
- data/reference/cpp/namespacemembers.html +135 -0
- data/reference/cpp/namespacemembers_0x62.html +143 -0
- data/reference/cpp/namespacemembers_0x63.html +125 -0
- data/reference/cpp/namespacemembers_0x64.html +119 -0
- data/reference/cpp/namespacemembers_0x66.html +129 -0
- data/reference/cpp/namespacemembers_0x67.html +165 -0
- data/reference/cpp/namespacemembers_0x68.html +113 -0
- data/reference/cpp/namespacemembers_0x69.html +117 -0
- data/reference/cpp/namespacemembers_0x6b.html +289 -0
- data/reference/cpp/namespacemembers_0x6c.html +119 -0
- data/reference/cpp/namespacemembers_0x6d.html +131 -0
- data/reference/cpp/namespacemembers_0x6e.html +127 -0
- data/reference/cpp/namespacemembers_0x6f.html +121 -0
- data/reference/cpp/namespacemembers_0x70.html +115 -0
- data/reference/cpp/namespacemembers_0x71.html +113 -0
- data/reference/cpp/namespacemembers_0x72.html +165 -0
- data/reference/cpp/namespacemembers_0x73.html +135 -0
- data/reference/cpp/namespacemembers_0x74.html +129 -0
- data/reference/cpp/namespacemembers_0x75.html +117 -0
- data/reference/cpp/namespacemembers_0x77.html +117 -0
- data/reference/cpp/namespacemembers_0x79.html +113 -0
- data/reference/cpp/namespacemembers_0x7a.html +115 -0
- data/reference/cpp/namespacemembers_enum.html +103 -0
- data/reference/cpp/namespacemembers_eval.html +443 -0
- data/reference/cpp/namespacemembers_func.html +269 -0
- data/reference/cpp/namespacemembers_type.html +93 -0
- data/reference/cpp/namespacemembers_vars.html +115 -0
- data/reference/cpp/namespaces.html +76 -0
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +10 -9
- data/reference/cpp/struct_gosu_1_1_touch-members.html +2 -1
- data/reference/cpp/struct_gosu_1_1_touch.html +8 -7
- data/reference/rdoc/classes/Gosu.html +16 -29
- data/reference/rdoc/classes/Gosu.src/M000003.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000004.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000005.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000006.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000007.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000008.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000009.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000010.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000011.html +0 -0
- data/reference/rdoc/classes/Gosu.src/M000012.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.html +16 -17
- data/reference/rdoc/classes/Gosu/Color.src/M000016.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000017.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000018.html +0 -0
- data/reference/rdoc/classes/Gosu/Color.src/M000019.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.html +16 -19
- data/reference/rdoc/classes/Gosu/Font.src/M000029.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000030.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000031.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000032.html +0 -0
- data/reference/rdoc/classes/Gosu/Font.src/M000033.html +0 -0
- data/reference/rdoc/classes/Gosu/GLTexInfo.html +24 -16
- data/reference/rdoc/classes/Gosu/Image.html +16 -27
- data/reference/rdoc/classes/Gosu/Image.src/M000020.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000021.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000022.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000023.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000024.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000025.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000026.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000027.html +0 -0
- data/reference/rdoc/classes/Gosu/Image.src/M000028.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.html +16 -15
- data/reference/rdoc/classes/Gosu/Sample.src/M000013.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000014.html +0 -0
- data/reference/rdoc/classes/Gosu/Sample.src/M000015.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.html +16 -19
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000051.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000052.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000053.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000054.html +0 -0
- data/reference/rdoc/classes/Gosu/SampleInstance.src/M000055.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.html +16 -23
- data/reference/rdoc/classes/Gosu/Song.src/M000056.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000057.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000058.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000059.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000060.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000061.html +0 -0
- data/reference/rdoc/classes/Gosu/Song.src/M000062.html +0 -0
- data/reference/rdoc/classes/Gosu/TextInput.html +16 -9
- data/reference/rdoc/classes/Gosu/Window.html +16 -51
- data/reference/rdoc/classes/Gosu/Window.src/M000034.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000035.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000036.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000037.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000038.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000039.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000040.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000041.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000042.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000043.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000044.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000045.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000046.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000047.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000048.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000049.html +0 -0
- data/reference/rdoc/classes/Gosu/Window.src/M000050.html +0 -0
- data/reference/rdoc/classes/Numeric.html +16 -13
- data/reference/rdoc/classes/Numeric.src/M000001.html +0 -0
- data/reference/rdoc/classes/Numeric.src/M000002.html +0 -0
- data/reference/rdoc/created.rid +1 -1
- data/reference/rdoc/files/COPYING_txt.html +17 -12
- data/reference/rdoc/files/README_txt.html +16 -10
- data/reference/rdoc/files/reference/{DeploymentOnOSX_rdoc.html → Deployment on OS X_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DeploymentOnWindows_rdoc.html → Deployment on Windows_rdoc.html } +17 -11
- data/reference/rdoc/files/reference/{DrawingWithColors_rdoc.html → Drawing with Colors_rdoc.html } +23 -17
- data/reference/rdoc/files/reference/{OrderOfCorners_rdoc.html → Order of Corners_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/Tileability_rdoc.html +16 -10
- data/reference/rdoc/files/reference/{ZOrdering_rdoc.html → Z Ordering_rdoc.html } +18 -12
- data/reference/rdoc/files/reference/gosu_rb.html +16 -10
- data/reference/rdoc/fr_file_index.html +5 -5
- data/reference/rdoc/index.html +1 -1
- data/reference/rdoc/rdoc-style.css +4 -0
- metadata +129 -9
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_message_socket.html">MessageSocket</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -74,15 +75,15 @@ window.onload = initDynSections;
|
|
74
75
|
<a href="class_gosu_1_1_message_socket-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
75
76
|
<tr><td></td></tr>
|
76
77
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
77
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#7894acdea2e7dc85c671ca0f6732ccaf">MessageSocket</a> (SocketPort port)</td></tr>
|
78
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#7894acdea2e7dc85c671ca0f6732ccaf">MessageSocket</a> (<a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> port)</td></tr>
|
78
79
|
|
79
80
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens a message socket for listening at the specified port. <a href="#7894acdea2e7dc85c671ca0f6732ccaf"></a><br></td></tr>
|
80
81
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#19af8fa567af04eb7fe41b704521a595">~MessageSocket</a> ()</td></tr>
|
81
82
|
|
82
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">SocketAddress
|
83
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#eadfbf7bbdcc2544a5aaa0d16efa2851">address</a> () const </td></tr>
|
83
84
|
|
84
85
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the local address of the socket. <a href="#eadfbf7bbdcc2544a5aaa0d16efa2851"></a><br></td></tr>
|
85
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">SocketPort
|
86
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#38999d7a0fee723adcb21bf3a036be91">port</a> () const </td></tr>
|
86
87
|
|
87
88
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the local port of the socket. <a href="#38999d7a0fee723adcb21bf3a036be91"></a><br></td></tr>
|
88
89
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#017cc2347921520ba834ef0ae1c31c11">maxMessageSize</a> () const </td></tr>
|
@@ -91,12 +92,12 @@ window.onload = initDynSections;
|
|
91
92
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#3e642630d8b17d9336e3eb7112fa14dd">update</a> ()</td></tr>
|
92
93
|
|
93
94
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Collects all the packets that were sent to this socket and calls onReceive for each of them. <a href="#3e642630d8b17d9336e3eb7112fa14dd"></a><br></td></tr>
|
94
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#994ac62dc770243d65f88db89c1dc8e6">send</a> (SocketAddress address, SocketPort port, const void *buffer, std::size_t size)</td></tr>
|
95
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#994ac62dc770243d65f88db89c1dc8e6">send</a> (<a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a> address, <a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> port, const void *buffer, std::size_t size)</td></tr>
|
95
96
|
|
96
97
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sends something to the given port of the computer identified by the address. <a href="#994ac62dc770243d65f88db89c1dc8e6"></a><br></td></tr>
|
97
98
|
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
|
98
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">boost::function< void(SocketAddress
|
99
|
-
SocketPort
|
99
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">boost::function< void(<a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a>, <br class="typebreak">
|
100
|
+
<a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a>, const void <br class="typebreak">
|
100
101
|
*, std::size_t) </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_message_socket.html#946bf3cb838b105842ca86938c3a86ae">onReceive</a> )</td></tr>
|
101
102
|
|
102
103
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">If assigned, will be called by update for every packet received. <a href="#946bf3cb838b105842ca86938c3a86ae"></a><br></td></tr>
|
@@ -105,7 +106,7 @@ SocketPort, const void <br class="typebreak">
|
|
105
106
|
Wraps an UDP socket.
|
106
107
|
<p>
|
107
108
|
Message sockets can send data to and receive data from arbitrary addresses. Also, message sockets send messages (packets) which are limited in size and can arrive in any order, or not at all.
|
108
|
-
<p>Definition at line <a class="el" href="
|
109
|
+
<p>Definition at line <a class="el" href="_sockets_8hpp_source.html#l00037">37</a> of file <a class="el" href="_sockets_8hpp_source.html">Sockets.hpp</a>.</p>
|
109
110
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
110
111
|
<a class="anchor" name="7894acdea2e7dc85c671ca0f6732ccaf"></a><!-- doxytag: member="Gosu::MessageSocket::MessageSocket" ref="7894acdea2e7dc85c671ca0f6732ccaf" args="(SocketPort port)" -->
|
111
112
|
<div class="memitem">
|
@@ -114,7 +115,7 @@ Message sockets can send data to and receive data from arbitrary addresses. Also
|
|
114
115
|
<tr>
|
115
116
|
<td class="memname">Gosu::MessageSocket::MessageSocket </td>
|
116
117
|
<td>(</td>
|
117
|
-
<td class="paramtype">SocketPort
|
118
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> </td>
|
118
119
|
<td class="paramname"> <em>port</em> </td>
|
119
120
|
<td> ) </td>
|
120
121
|
<td><code> [explicit]</code></td>
|
@@ -126,7 +127,7 @@ Message sockets can send data to and receive data from arbitrary addresses. Also
|
|
126
127
|
<p>
|
127
128
|
Opens a message socket for listening at the specified port.
|
128
129
|
<p>
|
129
|
-
Gosu::anyPort may be passed to have the message socket use a random free port.
|
130
|
+
<a class="el" href="namespace_gosu.html#ef707f47e12343f1cc2fbfe70a1143cf" title="Constant that can be used as a placeholder for an arbitrary port, e.g.">Gosu::anyPort</a> may be passed to have the message socket use a random free port.
|
130
131
|
</div>
|
131
132
|
</div><p>
|
132
133
|
<a class="anchor" name="19af8fa567af04eb7fe41b704521a595"></a><!-- doxytag: member="Gosu::MessageSocket::~MessageSocket" ref="19af8fa567af04eb7fe41b704521a595" args="()" -->
|
@@ -154,7 +155,7 @@ Gosu::anyPort may be passed to have the message socket use a random free port.
|
|
154
155
|
<div class="memproto">
|
155
156
|
<table class="memname">
|
156
157
|
<tr>
|
157
|
-
<td class="memname">SocketAddress Gosu::MessageSocket::address </td>
|
158
|
+
<td class="memname"><a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a> Gosu::MessageSocket::address </td>
|
158
159
|
<td>(</td>
|
159
160
|
<td class="paramname"> </td>
|
160
161
|
<td> ) </td>
|
@@ -196,7 +197,7 @@ Returns the maximum size, in bytes, of a packet that can be sent from this socke
|
|
196
197
|
<div class="memproto">
|
197
198
|
<table class="memname">
|
198
199
|
<tr>
|
199
|
-
<td class="memname">SocketPort Gosu::MessageSocket::port </td>
|
200
|
+
<td class="memname"><a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> Gosu::MessageSocket::port </td>
|
200
201
|
<td>(</td>
|
201
202
|
<td class="paramname"> </td>
|
202
203
|
<td> ) </td>
|
@@ -219,13 +220,13 @@ Returns the local port of the socket.
|
|
219
220
|
<tr>
|
220
221
|
<td class="memname">void Gosu::MessageSocket::send </td>
|
221
222
|
<td>(</td>
|
222
|
-
<td class="paramtype">SocketAddress
|
223
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a> </td>
|
223
224
|
<td class="paramname"> <em>address</em>, </td>
|
224
225
|
</tr>
|
225
226
|
<tr>
|
226
227
|
<td class="paramkey"></td>
|
227
228
|
<td></td>
|
228
|
-
<td class="paramtype">SocketPort
|
229
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a> </td>
|
229
230
|
<td class="paramname"> <em>port</em>, </td>
|
230
231
|
</tr>
|
231
232
|
<tr>
|
@@ -282,7 +283,7 @@ Collects all the packets that were sent to this socket and calls onReceive for e
|
|
282
283
|
<div class="memproto">
|
283
284
|
<table class="memname">
|
284
285
|
<tr>
|
285
|
-
<td class="memname">boost::function<void (SocketAddress
|
286
|
+
<td class="memname">boost::function<void (<a class="el" href="namespace_gosu.html#e32efd2c73c3884c91c05d5c136d5485">SocketAddress</a>, <a class="el" href="namespace_gosu.html#ee6ccc5c098c8e63f50d9b4d2cea4e30">SocketPort</a>, const void*, std::size_t) <a class="el" href="class_gosu_1_1_message_socket.html#946bf3cb838b105842ca86938c3a86ae">Gosu::MessageSocket::onReceive</a>) </td>
|
286
287
|
</tr>
|
287
288
|
</table>
|
288
289
|
</div>
|
@@ -292,12 +293,12 @@ Collects all the packets that were sent to this socket and calls onReceive for e
|
|
292
293
|
If assigned, will be called by update for every packet received.
|
293
294
|
<p>
|
294
295
|
|
295
|
-
<p>Definition at line <a class="el" href="
|
296
|
+
<p>Definition at line <a class="el" href="_sockets_8hpp_source.html#l00070">70</a> of file <a class="el" href="_sockets_8hpp_source.html">Sockets.hpp</a>.</p>
|
296
297
|
|
297
298
|
</div>
|
298
299
|
</div><p>
|
299
300
|
<hr>The documentation for this class was generated from the following file:<ul>
|
300
|
-
<li><a class="el" href="
|
301
|
+
<li><a class="el" href="_sockets_8hpp_source.html">Sockets.hpp</a></ul>
|
301
302
|
</div>
|
302
303
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
303
304
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_reader.html">Reader</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -87,11 +88,11 @@ window.onload = initDynSections;
|
|
87
88
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_reader.html#697471a1da53c944f2fc1c930ee14bd2">read</a> (void *destBuffer, std::size_t length)</td></tr>
|
88
89
|
|
89
90
|
<tr><td class="memTemplParams" nowrap colspan="2">template<typename T > </td></tr>
|
90
|
-
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_reader.html#1f7467d679eb354f4a075139b66bfe9d">readPod</a> (T &t, ByteOrder bo=boDontCare)</td></tr>
|
91
|
+
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_reader.html#1f7467d679eb354f4a075139b66bfe9d">readPod</a> (T &t, <a class="el" href="namespace_gosu.html#d32d35b8da950cd315c2c655157be3a2">ByteOrder</a> bo=boDontCare)</td></tr>
|
91
92
|
|
92
93
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience function; equivalent to read(&t, sizeof t). <a href="#1f7467d679eb354f4a075139b66bfe9d"></a><br></td></tr>
|
93
94
|
<tr><td class="memTemplParams" nowrap colspan="2">template<typename T > </td></tr>
|
94
|
-
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_reader.html#c6ce6d38790ccd1123568eb17869d85b">getPod</a> (ByteOrder bo=boDontCare)</td></tr>
|
95
|
+
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_reader.html#c6ce6d38790ccd1123568eb17869d85b">getPod</a> (<a class="el" href="namespace_gosu.html#d32d35b8da950cd315c2c655157be3a2">ByteOrder</a> bo=boDontCare)</td></tr>
|
95
96
|
|
96
97
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Similar to readPod(T&), but returns the read value instead. <a href="#c6ce6d38790ccd1123568eb17869d85b"></a><br></td></tr>
|
97
98
|
</table>
|
@@ -99,7 +100,7 @@ window.onload = initDynSections;
|
|
99
100
|
Utility class that points to a specific position in a resource and offers an interface for sequential reading.
|
100
101
|
<p>
|
101
102
|
|
102
|
-
<p>Definition at line <a class="el" href="
|
103
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00027">27</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
103
104
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
104
105
|
<a class="anchor" name="96b3be456f50c735a10cc78968b9a851"></a><!-- doxytag: member="Gosu::Reader::Reader" ref="96b3be456f50c735a10cc78968b9a851" args="(const Resource &resource, std::size_t position)" -->
|
105
106
|
<div class="memitem">
|
@@ -128,7 +129,7 @@ Utility class that points to a specific position in a resource and offers an int
|
|
128
129
|
|
129
130
|
<p>
|
130
131
|
|
131
|
-
<p>Definition at line <a class="el" href="
|
132
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00033">33</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
132
133
|
|
133
134
|
</div>
|
134
135
|
</div><p>
|
@@ -142,7 +143,7 @@ template<typename T > </div>
|
|
142
143
|
<tr>
|
143
144
|
<td class="memname">T Gosu::Reader::getPod </td>
|
144
145
|
<td>(</td>
|
145
|
-
<td class="paramtype">ByteOrder
|
146
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#d32d35b8da950cd315c2c655157be3a2">ByteOrder</a> </td>
|
146
147
|
<td class="paramname"> <em>bo</em> = <code>boDontCare</code> </td>
|
147
148
|
<td> ) </td>
|
148
149
|
<td></td>
|
@@ -155,7 +156,7 @@ template<typename T > </div>
|
|
155
156
|
Similar to readPod(T&), but returns the read value instead.
|
156
157
|
<p>
|
157
158
|
|
158
|
-
<p>Definition at line <a class="el" href="
|
159
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00076">76</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
159
160
|
|
160
161
|
</div>
|
161
162
|
</div><p>
|
@@ -176,7 +177,7 @@ Similar to readPod(T&), but returns the read value instead.
|
|
176
177
|
|
177
178
|
<p>
|
178
179
|
|
179
|
-
<p>Definition at line <a class="el" href="
|
180
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00043">43</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
180
181
|
|
181
182
|
</div>
|
182
183
|
</div><p>
|
@@ -207,7 +208,7 @@ Similar to readPod(T&), but returns the read value instead.
|
|
207
208
|
|
208
209
|
<p>
|
209
210
|
|
210
|
-
<p>Referenced by <a class="el" href="
|
211
|
+
<p>Referenced by <a class="el" href="_i_o_8hpp_source.html#l00064">readPod()</a>.</p>
|
211
212
|
|
212
213
|
</div>
|
213
214
|
</div><p>
|
@@ -226,7 +227,7 @@ template<typename T > </div>
|
|
226
227
|
<tr>
|
227
228
|
<td class="paramkey"></td>
|
228
229
|
<td></td>
|
229
|
-
<td class="paramtype">ByteOrder
|
230
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#d32d35b8da950cd315c2c655157be3a2">ByteOrder</a> </td>
|
230
231
|
<td class="paramname"> <em>bo</em> = <code>boDontCare</code></td><td> </td>
|
231
232
|
</tr>
|
232
233
|
<tr>
|
@@ -242,9 +243,9 @@ template<typename T > </div>
|
|
242
243
|
Convenience function; equivalent to read(&t, sizeof t).
|
243
244
|
<p>
|
244
245
|
|
245
|
-
<p>Definition at line <a class="el" href="
|
246
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00064">64</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
246
247
|
|
247
|
-
<p>References <a class="el" href="class_gosu_1_1_reader.html#697471a1da53c944f2fc1c930ee14bd2">read()</a>.</p>
|
248
|
+
<p>References <a class="el" href="_i_o_8hpp_source.html#l00022">Gosu::otherByteOrder</a>, and <a class="el" href="class_gosu_1_1_reader.html#697471a1da53c944f2fc1c930ee14bd2">read()</a>.</p>
|
248
249
|
|
249
250
|
</div>
|
250
251
|
</div><p>
|
@@ -265,7 +266,7 @@ Convenience function; equivalent to read(&t, sizeof t).
|
|
265
266
|
|
266
267
|
<p>
|
267
268
|
|
268
|
-
<p>Definition at line <a class="el" href="
|
269
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00038">38</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
269
270
|
|
270
271
|
</div>
|
271
272
|
</div><p>
|
@@ -287,7 +288,7 @@ Convenience function; equivalent to read(&t, sizeof t).
|
|
287
288
|
|
288
289
|
<p>
|
289
290
|
|
290
|
-
<p>Definition at line <a class="el" href="
|
291
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00054">54</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
291
292
|
|
292
293
|
</div>
|
293
294
|
</div><p>
|
@@ -309,12 +310,12 @@ Convenience function; equivalent to read(&t, sizeof t).
|
|
309
310
|
|
310
311
|
<p>
|
311
312
|
|
312
|
-
<p>Definition at line <a class="el" href="
|
313
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00048">48</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
313
314
|
|
314
315
|
</div>
|
315
316
|
</div><p>
|
316
317
|
<hr>The documentation for this class was generated from the following file:<ul>
|
317
|
-
<li><a class="el" href="
|
318
|
+
<li><a class="el" href="_i_o_8hpp_source.html">IO.hpp</a></ul>
|
318
319
|
</div>
|
319
320
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
320
321
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_resource.html">Resource</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -104,8 +105,8 @@ Inheritance diagram for Gosu::Resource:</div>
|
|
104
105
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
105
106
|
Base class for resources.
|
106
107
|
<p>
|
107
|
-
A resource in Gosu is nothing more but a piece of binary data that can be read or written, for example files or simply areas of allocated memory. A resource always knows its size and can resize itself, thereby either truncating its content or allocating room for more data.
|
108
|
-
<p>Definition at line <a class="el" href="
|
108
|
+
A resource in <a class="el" href="namespace_gosu.html" title="The library's main namespace.">Gosu</a> is nothing more but a piece of binary data that can be read or written, for example files or simply areas of allocated memory. A resource always knows its size and can resize itself, thereby either truncating its content or allocating room for more data.
|
109
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00142">142</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
109
110
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
110
111
|
<a class="anchor" name="ca3a40cc85122a50869ea8930264c365"></a><!-- doxytag: member="Gosu::Resource::~Resource" ref="ca3a40cc85122a50869ea8930264c365" args="()" -->
|
111
112
|
<div class="memitem">
|
@@ -124,7 +125,7 @@ A resource in Gosu is nothing more but a piece of binary data that can be read o
|
|
124
125
|
|
125
126
|
<p>
|
126
127
|
|
127
|
-
<p>Definition at line <a class="el" href="
|
128
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00145">145</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
128
129
|
|
129
130
|
</div>
|
130
131
|
</div><p>
|
@@ -148,7 +149,7 @@ A resource in Gosu is nothing more but a piece of binary data that can be read o
|
|
148
149
|
Convenience: Creates a new <a class="el" href="class_gosu_1_1_writer.html" title="Utility class that points to a specific position in a resource and offers an interface...">Writer</a> that appends data at the end of the resource.
|
149
150
|
<p>
|
150
151
|
|
151
|
-
<p>Definition at line <a class="el" href="
|
152
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00158">158</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
152
153
|
|
153
154
|
<p>References <a class="el" href="class_gosu_1_1_resource.html#1211e148be764e0b78e3d7133da4a9f0">size()</a>.</p>
|
154
155
|
|
@@ -173,7 +174,7 @@ Convenience: Creates a new <a class="el" href="class_gosu_1_1_writer.html" title
|
|
173
174
|
Convenience: Creates a new <a class="el" href="class_gosu_1_1_reader.html" title="Utility class that points to a specific position in a resource and offers an interface...">Reader</a> that reads from the start of the resource.
|
174
175
|
<p>
|
175
176
|
|
176
|
-
<p>Definition at line <a class="el" href="
|
177
|
+
<p>Definition at line <a class="el" href="_i_o_8hpp_source.html#l00151">151</a> of file <a class="el" href="_i_o_8hpp_source.html">IO.hpp</a>.</p>
|
177
178
|
|
178
179
|
</div>
|
179
180
|
</div><p>
|
@@ -255,7 +256,7 @@ Convenience: Creates a new <a class="el" href="class_gosu_1_1_reader.html" title
|
|
255
256
|
|
256
257
|
<p>Implemented in <a class="el" href="class_gosu_1_1_buffer.html#87dc8af05b5c5073ef12bdf3368dcfe3">Gosu::Buffer</a>, and <a class="el" href="class_gosu_1_1_file.html#d3cb0b3153253936f11ae51da9032532">Gosu::File</a>.</p>
|
257
258
|
|
258
|
-
<p>Referenced by <a class="el" href="
|
259
|
+
<p>Referenced by <a class="el" href="_i_o_8hpp_source.html#l00158">backWriter()</a>.</p>
|
259
260
|
|
260
261
|
</div>
|
261
262
|
</div><p>
|
@@ -297,7 +298,7 @@ Convenience: Creates a new <a class="el" href="class_gosu_1_1_reader.html" title
|
|
297
298
|
</div>
|
298
299
|
</div><p>
|
299
300
|
<hr>The documentation for this class was generated from the following file:<ul>
|
300
|
-
<li><a class="el" href="
|
301
|
+
<li><a class="el" href="_i_o_8hpp_source.html">IO.hpp</a></ul>
|
301
302
|
</div>
|
302
303
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
303
304
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
</head>
|
6
6
|
<body>
|
7
7
|
<div class="everything">
|
8
|
-
<!-- Generated by Doxygen 1.5.
|
8
|
+
<!-- Generated by Doxygen 1.5.9 -->
|
9
9
|
<script type="text/javascript">
|
10
10
|
<!--
|
11
11
|
function changeDisplayState (e){
|
@@ -51,6 +51,7 @@ window.onload = initDynSections;
|
|
51
51
|
<div class="tabs">
|
52
52
|
<ul>
|
53
53
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
54
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
54
55
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
55
56
|
<li><a href="files.html"><span>Files</span></a></li>
|
56
57
|
</ul>
|
@@ -62,7 +63,7 @@ window.onload = initDynSections;
|
|
62
63
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
63
64
|
</ul>
|
64
65
|
</div>
|
65
|
-
<div class="navpath"><
|
66
|
+
<div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="class_gosu_1_1_rot_flip.html">RotFlip</a>
|
66
67
|
</div>
|
67
68
|
</div>
|
68
69
|
<div class="contents">
|
@@ -74,9 +75,9 @@ window.onload = initDynSections;
|
|
74
75
|
<a href="class_gosu_1_1_rot_flip-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
75
76
|
<tr><td></td></tr>
|
76
77
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
77
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#5ae8685fbe53fded5c71c2d3dbecc36e">RotFlip</a> (RotFlipName name=rfDefault)</td></tr>
|
78
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#5ae8685fbe53fded5c71c2d3dbecc36e">RotFlip</a> (<a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> name=rfDefault)</td></tr>
|
78
79
|
|
79
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">RotFlipName
|
80
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#3129da4cddf7ae6d87b5234747f048b7">name</a> () const </td></tr>
|
80
81
|
|
81
82
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_rot_flip.html#a5fd7bae1d53c7463583cb09cc57ad67">flipX</a> ()</td></tr>
|
82
83
|
|
@@ -101,7 +102,7 @@ window.onload = initDynSections;
|
|
101
102
|
Light-weight class that encodes a rotation by 0, 90, 180, or 270 degrees as well as optional horizontal and/or vertical flips.
|
102
103
|
<p>
|
103
104
|
In short, this convieniently encodes the eight ways in which a aligned rectangle can be linearly transformed to result in an aligned rectangle again. Especially useful for games with tile-based maps.
|
104
|
-
<p>Definition at line <a class="el" href="
|
105
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00043">43</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
105
106
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
106
107
|
<a class="anchor" name="5ae8685fbe53fded5c71c2d3dbecc36e"></a><!-- doxytag: member="Gosu::RotFlip::RotFlip" ref="5ae8685fbe53fded5c71c2d3dbecc36e" args="(RotFlipName name=rfDefault)" -->
|
107
108
|
<div class="memitem">
|
@@ -110,7 +111,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
110
111
|
<tr>
|
111
112
|
<td class="memname">Gosu::RotFlip::RotFlip </td>
|
112
113
|
<td>(</td>
|
113
|
-
<td class="paramtype">RotFlipName
|
114
|
+
<td class="paramtype"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> </td>
|
114
115
|
<td class="paramname"> <em>name</em> = <code>rfDefault</code> </td>
|
115
116
|
<td> ) </td>
|
116
117
|
<td></td>
|
@@ -121,7 +122,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
121
122
|
|
122
123
|
<p>
|
123
124
|
|
124
|
-
<p>Definition at line <a class="el" href="
|
125
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00055">55</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
125
126
|
|
126
127
|
</div>
|
127
128
|
</div><p>
|
@@ -143,7 +144,9 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
143
144
|
|
144
145
|
<p>
|
145
146
|
|
146
|
-
<p>Definition at line <a class="el" href="
|
147
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00090">90</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
148
|
+
|
149
|
+
<p>References <a class="el" href="_rot_flip_8hpp_source.html#l00018">Gosu::rfFlipX</a>.</p>
|
147
150
|
|
148
151
|
</div>
|
149
152
|
</div><p>
|
@@ -164,7 +167,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
164
167
|
|
165
168
|
<p>
|
166
169
|
|
167
|
-
<p>Definition at line <a class="el" href="
|
170
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00065">65</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
168
171
|
|
169
172
|
</div>
|
170
173
|
</div><p>
|
@@ -185,7 +188,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
185
188
|
|
186
189
|
<p>
|
187
190
|
|
188
|
-
<p>Definition at line <a class="el" href="
|
191
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00070">70</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
189
192
|
|
190
193
|
</div>
|
191
194
|
</div><p>
|
@@ -207,7 +210,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
207
210
|
|
208
211
|
<p>
|
209
212
|
|
210
|
-
<p>Definition at line <a class="el" href="
|
213
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00100">100</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
211
214
|
|
212
215
|
</div>
|
213
216
|
</div><p>
|
@@ -216,7 +219,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
216
219
|
<div class="memproto">
|
217
220
|
<table class="memname">
|
218
221
|
<tr>
|
219
|
-
<td class="memname">RotFlipName Gosu::RotFlip::name </td>
|
222
|
+
<td class="memname"><a class="el" href="namespace_gosu.html#3e38c3caeab9b4ac1556d62237b32668">RotFlipName</a> Gosu::RotFlip::name </td>
|
220
223
|
<td>(</td>
|
221
224
|
<td class="paramname"> </td>
|
222
225
|
<td> ) </td>
|
@@ -228,7 +231,9 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
228
231
|
|
229
232
|
<p>
|
230
233
|
|
231
|
-
<p>Definition at line <a class="el" href="
|
234
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00060">60</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
235
|
+
|
236
|
+
<p>Referenced by <a class="el" href="_rot_flip_8hpp_source.html#l00116">Gosu::operator!=()</a>, and <a class="el" href="_rot_flip_8hpp_source.html#l00111">Gosu::operator==()</a>.</p>
|
232
237
|
|
233
238
|
</div>
|
234
239
|
</div><p>
|
@@ -250,7 +255,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
250
255
|
|
251
256
|
<p>
|
252
257
|
|
253
|
-
<p>Definition at line <a class="el" href="
|
258
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00105">105</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
254
259
|
|
255
260
|
</div>
|
256
261
|
</div><p>
|
@@ -271,7 +276,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
271
276
|
|
272
277
|
<p>
|
273
278
|
|
274
|
-
<p>Definition at line <a class="el" href="
|
279
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00080">80</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
275
280
|
|
276
281
|
</div>
|
277
282
|
</div><p>
|
@@ -292,7 +297,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
292
297
|
|
293
298
|
<p>
|
294
299
|
|
295
|
-
<p>Definition at line <a class="el" href="
|
300
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00085">85</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
296
301
|
|
297
302
|
</div>
|
298
303
|
</div><p>
|
@@ -313,7 +318,7 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
313
318
|
|
314
319
|
<p>
|
315
320
|
|
316
|
-
<p>Definition at line <a class="el" href="
|
321
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00075">75</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
317
322
|
|
318
323
|
</div>
|
319
324
|
</div><p>
|
@@ -334,12 +339,12 @@ In short, this convieniently encodes the eight ways in which a aligned rectangle
|
|
334
339
|
|
335
340
|
<p>
|
336
341
|
|
337
|
-
<p>Definition at line <a class="el" href="
|
342
|
+
<p>Definition at line <a class="el" href="_rot_flip_8hpp_source.html#l00095">95</a> of file <a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a>.</p>
|
338
343
|
|
339
344
|
</div>
|
340
345
|
</div><p>
|
341
346
|
<hr>The documentation for this class was generated from the following file:<ul>
|
342
|
-
<li><a class="el" href="
|
347
|
+
<li><a class="el" href="_rot_flip_8hpp_source.html">RotFlip.hpp</a></ul>
|
343
348
|
</div>
|
344
349
|
<p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
|
345
350
|
</div>
|