Skip to content
This repository

Fix most of the screaming spelling errors in pods #225

Merged
merged 2 commits into from almost 2 years ago

3 participants

Mikhael Goikhman Blaise Roth Tobias Leich
Mikhael Goikhman
mig0 commented May 13, 2012

All 120+ small fixes were carefully reviewed. Mostly spelling errors in English.
But some of the method/class/key names were spelled incorrectly too.

Tobias Leich FROGGS merged commit 7e80853 into from May 13, 2012
Tobias Leich FROGGS closed this May 13, 2012
Blaise Roth
Collaborator

Woah. Thanks so much for this. Means I don't have to do it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 2 unique commits by 1 author.

May 13, 2012
Mikhael Goikhman fix spelling errors in pods 58c1a4d
Mikhael Goikhman remove redundant png files from pods/ 23ba5cc
This page is out of date. Refresh to see the latest.

Showing 40 changed files with 121 additions and 121 deletions. Show diff stats Hide diff stats

  1. 2  lib/pods/SDL.pod
  2. 4  lib/pods/SDL/Audio.pod
  3. 2  lib/pods/SDL/AudioSpec.pod
  4. 2  lib/pods/SDL/CD.pod
  5. 8  lib/pods/SDL/Cookbook/OpenGL.pod
  6. 6  lib/pods/SDL/Cookbook/PDL.pod
  7. 4  lib/pods/SDL/Deprecated.pod
  8. 10  lib/pods/SDL/Event.pod
  9. 20  lib/pods/SDL/Events.pod
  10. 4  lib/pods/SDL/GFX/Framerate.pod
  11. 4  lib/pods/SDL/GFX/Primitives.pod
  12. 4  lib/pods/SDL/MPEG.pod
  13. 2  lib/pods/SDL/Mixer.pod
  14. 4  lib/pods/SDL/Mixer/Channels.pod
  15. 4  lib/pods/SDL/Mixer/Groups.pod
  16. 2  lib/pods/SDL/Mixer/Music.pod
  17. BIN  lib/pods/SDL/Mouse.png
  18. 2  lib/pods/SDL/Overlay.pod
  19. 6  lib/pods/SDL/Pango.pod
  20. 26  lib/pods/SDL/RWOps.pod
  21. 2  lib/pods/SDL/SMPEG.pod
  22. 18  lib/pods/SDL/TTF.pod
  23. 2  lib/pods/SDL/Tutorial/LunarLander.pod
  24. BIN  lib/pods/SDL/Video.png
  25. 12  lib/pods/SDL/Video.pod
  26. BIN  lib/pods/SDL/Video_lock_surface.png
  27. BIN  lib/pods/SDL/Video_thumb.png
  28. BIN  lib/pods/SDL_thumb.png
  29. 6  lib/pods/SDLx/App.pod
  30. 8  lib/pods/SDLx/Controller.pod
  31. 6  lib/pods/SDLx/Controller/Interface.pod
  32. 8  lib/pods/SDLx/Layer.pod
  33. 8  lib/pods/SDLx/LayerManager.pod
  34. 4  lib/pods/SDLx/Music.pod
  35. 4  lib/pods/SDLx/Rect.pod
  36. 32  lib/pods/SDLx/Sound.pod
  37. 2  lib/pods/SDLx/Sprite.pod
  38. 2  lib/pods/SDLx/Sprite/Animated.pod
  39. 8  lib/pods/SDLx/Surface.pod
  40. 4  lib/pods/SDLx/Text.pod
2  lib/pods/SDL.pod
Source Rendered
@@ -88,7 +88,7 @@ C<SDL::quit> doesn't return any values.
88 88
 
89 89
  my $flags = SDL::was_init( $flags );
90 90
 
91  
-C<SDL::was_init> allows you to see which SDL subsytems have been initialized.
  91
+C<SDL::was_init> allows you to see which SDL subsystems have been initialized.
92 92
 The C<$flags> tell C<SDL::was_init> which subsystems to check, and are taken in the same way as C<SDL::init>.
93 93
 
94 94
 C<SDL::was_init> returns a mask of the initialized subsystems it checks.
4  lib/pods/SDL/Audio.pod
Source Rendered
@@ -189,7 +189,7 @@ Converts audio data to a desired audio format.
189 189
 
190 190
 C<convert> takes as first parameter C<cvt>, which was previously initialized. Initializing a C<SDL::AudioCVT> is a two step process. 
191 191
 First of all, the structure must be created via C<SDL::AudioCVT-E<gt>build> along with source and destination format parameters. Secondly, 
192  
-the C<data> and C<len> fields must be setup. C<data> should point to the audio data buffer beeing source and destination at 
  192
+the C<data> and C<len> fields must be setup. C<data> should point to the audio data buffer being source and destination at 
193 193
 once and C<len> should be set to the buffer length in bytes. Remember, the length of the buffer pointed to by buf should be 
194 194
 C<len*len_mult> bytes in length.
195 195
 
@@ -256,7 +256,7 @@ Example:
256 256
  # And now we're ready to convert
257 257
  SDL::Audio::convert($wav_cvt, $wav_buf, $wav_len);
258 258
  
259  
- # We can freeto original WAV data now
  259
+ # We can free original WAV data now
260 260
  SDL::Audio::free_wav($wav_buf);
261 261
  
262 262
 B<TODO>: What to do with it? How to use callback? See http://www.libsdl.org/cgi/docwiki.cgi/SDL_ConvertAudio
2  lib/pods/SDL/AudioSpec.pod
Source Rendered
@@ -29,7 +29,7 @@ Core, Audio, Structure
29 29
      # do something here
30 30
  }
31 31
 
32  
-=head1 DESCIPTION
  32
+=head1 DESCRIPTION
33 33
 
34 34
 The C<SDL::AudioSpec> structure is used to describe the format of some audio data. This structure is used by C<SDL::Audio::open_audio> 
35 35
 and C<SDL::Audio::load_wav>. 
2  lib/pods/SDL/CD.pod
Source Rendered
@@ -170,7 +170,7 @@ Current track on the CD;
170 170
 
171 171
  my $track =  $CD->track($number);
172 172
  
173  
-Retrives track description of track $number in CD. See L<SDL::CDTrack>.
  173
+Retrieves track description of track $number in CD. See L<SDL::CDTrack>.
174 174
 
175 175
 =head2 FRAMES_TO_MSF
176 176
 
8  lib/pods/SDL/Cookbook/OpenGL.pod
Source Rendered
@@ -11,9 +11,9 @@ Cookbook
11 11
 
12 12
 =head1 DESCRIPTION
13 13
 
14  
-As of release 2.5 SDL no longer maintains it's own bindings of openGL. Support for openGL has been moved over to a more mature implementation. 
  14
+As of release 2.5 SDL no longer maintains it's own bindings of OpenGL. Support for OpenGL has been moved over to a more mature implementation. 
15 15
 
16  
-This implementation is the POGL project. L<OpenGL> is faster and more complete; and works with SDL seemlessly.
  16
+This implementation is the POGL project. L<OpenGL> is faster and more complete; and works with SDL seamlessly.
17 17
 
18 18
 =head2 EXAMPLE
19 19
 
@@ -37,7 +37,7 @@ You can use OpenGL as needed here.
37 37
 	$| = 1;
38 38
 	$WIDTH = 1024;
39 39
 	$HEIGHT = 768;
40  
-	$SDLAPP = SDLx::App->new(title => "Opengl App", width => $WIDTH, height => $HEIGHT, gl => 1);
  40
+	$SDLAPP = SDLx::App->new(title => "OpenGL App", width => $WIDTH, height => $HEIGHT, gl => 1);
41 41
 	$SDLEVENT = SDL::Event->new;
42 42
 
43 43
 SDLx::App can start an OpenGL application with the parameter gl => 1.
@@ -48,7 +48,7 @@ SDLx::App can start an OpenGL application with the parameter gl => 1.
48 48
 	gluPerspective(60, $WIDTH / $HEIGHT, 1, 1000);
49 49
 	glTranslatef(0, 0, -20);
50 50
 
51  
-Above we enable GL and set the correct prespective
  51
+Above we enable GL and set the correct perspective
52 52
 
53 53
 	while (1) {
54 54
 	  &handlepolls;
6  lib/pods/SDL/Cookbook/PDL.pod
Source Rendered
@@ -38,7 +38,7 @@ Create a normal $piddle with zeros, byte format and the Bpp x width x height dim
38 38
 
39 39
    my $pointer = $piddle->get_dataref();
40 40
 
41  
-Here is where we get the acutal data the piddle is pointing to. We will have SDL create a new surface from this function.
  41
+Here is where we get the actual data the piddle is pointing to. We will have SDL create a new surface from this function.
42 42
 
43 43
    my $surface = SDL::Surface->new_from( $pointer, $width, $height, 32,
44 44
         $width * $bytes_per_pixel );
@@ -48,7 +48,7 @@ Using the same dimensions we create the surface using new_form. The width *  Bpp
48 48
    warn "Made surface of $width, $height and ". $surface->format->BytesPerPixel;
49 49
    return ( $piddle, $surface );
50 50
 
51  
-Finally make sure that the surface acutally has the correct dimensions we gave.
  51
+Finally make sure that the surface actually has the correct dimensions we gave.
52 52
 
53 53
 B<NOTE:> $surface->format->BytesPerPixel must return 1,2,3,4. !!
54 54
 
@@ -79,7 +79,7 @@ When blitting the new surface check for the return value to see if there has bee
79 79
 
80 80
     die "Could not blit: " . SDL::get_error() if ( $b == -1 );
81 81
 
82  
-If the error message is 'Blit combination not supported' that means that the BPP is incorrect or incosistent with the dimensions.
  82
+If the error message is 'Blit combination not supported' that means that the BPP is incorrect or inconsistent with the dimensions.
83 83
 After that a simple update_rect will so your new surface on the screen.
84 84
 
85 85
 =head1 AUTHORS
4  lib/pods/SDL/Deprecated.pod
Source Rendered
@@ -28,7 +28,7 @@ C<min_t> will limit apps to a framerate of 60 by default.
28 28
 
29 29
 =item SDLx::App
30 30
 
31  
-C<SDLx::App::loop()> is depreceated.
  31
+C<SDLx::App::loop()> is deprecated.
32 32
 
33 33
 =back
34 34
 
@@ -56,7 +56,7 @@ Has drastically changed, and is still volatile.
56 56
 
57 57
 =item SDL::App 
58 58
 
59  
-SDL::App has migrated to SDLx::App namespace. The reason for this is because it is an extenstion and not a 1:1 XS/Constant Module to the c library.
  59
+SDL::App has migrated to SDLx::App namespace. The reason for this is because it is an extension and not a 1:1 XS/Constant Module to the c library.
60 60
 
61 61
 =item SDL::Game::Rect 
62 62
 
10  lib/pods/SDL/Event.pod
Source Rendered
@@ -57,7 +57,7 @@ and it is then up to the application to process the information stored with them
57 57
 =head2	new
58 58
 
59 59
 C<new> creates an empty event-object, which can be used store information. 
60  
-Either by calling C<poll_event($event)> that transferes one event from the queue into our object 
  60
+Either by calling C<poll_event($event)> that transfers one event from the queue into our object 
61 61
 or by setting all the needed data manually in order to push the event to the queue.
62 62
 
63 63
  use SDL::Event;
@@ -105,7 +105,7 @@ L<SDL_JOYAXISMOTION|/Joystick_axis_events> - Joystick axis motion event structur
105 105
 
106 106
 =item *
107 107
 
108  
-L<SDL_JOYBALLMOTION|/Joystrick_trackball_events> - Joystick trackball motion event structure 
  108
+L<SDL_JOYBALLMOTION|/Joystick_trackball_events> - Joystick trackball motion event structure 
109 109
 
110 110
 =item *
111 111
 
@@ -361,7 +361,7 @@ This is currently only implemented on Windows and Linux/Unix-alikes.
361 361
 
362 362
 When a mouse button press or release is detected, the number of the button pressed (from 1 to 255, 
363 363
 with 1 usually being the left button and 2 the right) is placed into C<button_button>. The position of the mouse 
364  
-when this event occured is stored in the C<button_x> and the C<button_y> fields. Like a keyboard event,
  364
+when this event occurred is stored in the C<button_x> and the C<button_y> fields. Like a keyboard event,
365 365
 information on whether the event was a press or a release event is stored in both the C<button_type> 
366 366
 and C<button_state> fields, but this should be obvious.
367 367
 
@@ -395,7 +395,7 @@ The field C<jaxis_which> is the index of the joystick that reported the event.
395 395
 
396 396
 =head3 jaxis_axis
397 397
 
398  
-The C<jaxis_axis> is the index of the axis (for a more detailed explaination see the Joystick section).
  398
+The C<jaxis_axis> is the index of the axis (for a more detailed explanation see the Joystick section).
399 399
 
400 400
 =head3 jaxis_value
401 401
 
@@ -482,7 +482,7 @@ C<SDL_HAT_LEFTDOWN>
482 482
 
483 483
 =back
484 484
 
485  
-=head2 Joystrick trackball events
  485
+=head2 Joystick trackball events
486 486
 
487 487
 A C<SDL_JOYBALLMOTION> event occurs when a user moves a trackball on the joystick.
488 488
 
20  lib/pods/SDL/Events.pod
Source Rendered
@@ -218,12 +218,12 @@ Checks the event queue for messages and optionally returns them.
218 218
 
219 219
 	my $num_peep_events = SDL::Events::peep_events($event, 127, SDL_PEEKEVENT, SDL_ALLEVENTS);
220 220
 
221  
-If action is SDL_ADDEVENT, up to numevents events will be added to the back of the event queue.
  221
+If action is SDL_ADDEVENT, up to num_events events will be added to the back of the event queue.
222 222
 
223  
-If action is SDL_PEEKEVENT, up to numevents events at the front of the event queue, matching mask, will be returned and will not be removed from 
  223
+If action is SDL_PEEKEVENT, up to num_events events at the front of the event queue, matching mask, will be returned and will not be removed from 
224 224
 the queue.
225 225
 
226  
-If action is SDL_GETEVENT, up to numevents events at the front of the event queue, matching mask, will be returned and will be removed from the 
  226
+If action is SDL_GETEVENT, up to num_events events at the front of the event queue, matching mask, will be returned and will be removed from the 
227 227
 queue.
228 228
 
229 229
 The mask parameter is a bitwise OR of SDL::Events::SDL_EVENTMASK(event_type), for all event types you are interested in
@@ -310,7 +310,7 @@ set_event_filter takes a coderef that it checks all events again. The callback g
310 310
 
311 311
 to filter the event return a 0, to pass the filter return a 1. 
312 312
 
313  
-One B<Caveat> is if you are filtering SDL_QUIT the event will be filtered if it is non-intterupt call ( Window closes normally ). If it is a 
  313
+One B<Caveat> is if you are filtering SDL_QUIT the event will be filtered if it is non-interrupt call ( Window closes normally ). If it is a 
314 314
 interrupt SDL_QUIT it will be process on the next event poll. 
315 315
 
316 316
 Events pushed onto to the queue with L<SDL::Events::push_events|SDL::Events/"push_events"> or L<SDL::Events::peep_events|SDL::Events/"peep_events"> 
@@ -462,11 +462,11 @@ Enable/Disable UNICODE translation
462 462
      $previous_translation_mode = SDL::Events::enable_unicode( 0 ); #disables
463 463
 
464 464
 To obtain the character codes corresponding to received keyboard events, Unicode translation must first be turned on using this function. The 
465  
-translation incurs a slight overhead for each keyboard event and is therefore disabled by default. For each subsequently recieved key down event, 
  465
+translation incurs a slight overhead for each keyboard event and is therefore disabled by default. For each subsequently received key down event, 
466 466
 the unicode member of the L<SDL::Event::key_sym|SDL::Event/"key_sym"> provided structure will be then contain the corresponding character code, or 
467 467
 otherwise zero.
468 468
 
469  
-A value of 1 for enabling, 0 for disabling and -1 for unchanged. -1 is usefull for querying the current translation mode.
  469
+A value of 1 for enabling, 0 for disabling and -1 for unchanged. -1 is useful for querying the current translation mode.
470 470
 
471 471
 Only key press events will be translated not release events.
472 472
 
@@ -478,7 +478,7 @@ Sets keyboard repeat rate
478 478
 
479 479
  my $success = SDL::Events::enable_key_repeat( $delay, $interval );
480 480
 
481  
-Enables or disables the keyboard repeat rate. $delay specifies how long the key must be pressed before it begins repeating, it then repleats at the 
  481
+Enables or disables the keyboard repeat rate. $delay specifies how long the key must be pressed before it begins repeating, it then repeats at the 
482 482
 speed specified by $interval. Both $delay and $interval are expressed in milliseconds.
483 483
 
484 484
 Setting $delay to 0 disables key repeating completely. Good default values are SDL_DEFAULT_REPEAT_DELAY and SDL_DEFAULT_REPEAT_INTERVAL.
@@ -487,7 +487,7 @@ Return 0 on success and -1 on fail.
487 487
 
488 488
 =head2 get_mouse_state 
489 489
 
490  
-Retrives the current state of the mouse
  490
+Retrieves the current state of the mouse
491 491
 
492 492
   my ($mask,$x,$y) = @{ SDL::Events::get_mouse_state( ) };
493 493
 
@@ -503,7 +503,7 @@ The current button state is returned as a button $bitmask, which can be tested u
503 503
 
504 504
 =head2 get_relative_mouse_state 
505 505
 
506  
-Retrives the current relative state of the mouse
  506
+Retrieves the current relative state of the mouse
507 507
 
508 508
   my ($mask,$x,$y) = @{ SDL::Events::get_mouse_state( ) };
509 509
 
@@ -513,7 +513,7 @@ Retrives the current relative state of the mouse
513 513
 
514 514
   print 'Button Middle pressed' if ($mask & SDL_BUTTON_MMASK);  
515 515
 
516  
-  print $x.','.$y; # this is relative to the last postion of the mouse
  516
+  print $x.','.$y; # this is relative to the last position of the mouse
517 517
 
518 518
 The current button state is returned as a button $bitmask, which can be tested using the the above constants 
519 519
 
4  lib/pods/SDL/GFX/Framerate.pod
Source Rendered
@@ -41,8 +41,8 @@ Get the currently set framerate of the manager.
41 41
 
42 42
  SDL::GFX::Framerate::delay($fps);
43 43
 
44  
-Generate a delay to accomodate currently set framerate. Call once in thegraphics/rendering loop. 
45  
-If the computer cannot keep up with the rate (i.e.drawing too slow), the delay is zero and the delay interpolation is reset.
  44
+Generate a delay to accommodate the currently set framerate. Call once in the graphics/rendering loop. 
  45
+If the computer cannot keep up with the rate (i.e. drawing too slow), the delay is zero and the delay interpolation is reset.
46 46
 
47 47
 =head1 AUTHORS
48 48
 
4  lib/pods/SDL/GFX/Primitives.pod
Source Rendered
@@ -9,7 +9,7 @@ GFX
9 9
 
10 10
 =head1	DESCRIPTION
11 11
 
12  
-All functions take an SDL::Surface object as first parameter. This can be a new surface that will be blittet afterwads, can be an surface 
  12
+All functions take an SDL::Surface object as first parameter. This can be a new surface that will be blitted afterwards, can be an surface 
13 13
 obtained by L<SDL::Video::set_video_mode|SDL::Video/"set_video_mode"> or can be an L<SDLx::App>.
14 14
 
15 15
 The C<color> values for the C<_color> functions are C<0xRRGGBBAA> (32bit), even if the surface uses e. g. 8bit colors.
@@ -30,7 +30,7 @@ Draws a pixel at point C<x>/C<$y>. You can pass the color by C<0xRRGGBBAA> or by
30 30
 
31 31
  my $surface = SDL::Video::set_video_mode(640, 480, 32, SDL_SWSURFACE);
32 32
  
33  
- SDL::GFX::Primitives::pixel_color($surface, 2, 2, 0xFF0000FF);             # red pixcel
  33
+ SDL::GFX::Primitives::pixel_color($surface, 2, 2, 0xFF0000FF);             # red pixel
34 34
  SDL::GFX::Primitives::pixel_RGBA( $surface, 4, 4, 0x00, 0xFF, 0x00, 0xFF); # green pixel
35 35
 
36 36
 =head2	hline
4  lib/pods/SDL/MPEG.pod
Source Rendered
@@ -15,7 +15,7 @@ TODO
15 15
 
16 16
 =head1 DESCRIPTION
17 17
 
18  
-C<SDL::MPEG> provides an interface to quering the status
  18
+C<SDL::MPEG> provides an interface to querying the status
19 19
 of a SMPEG stream.  
20 20
 
21 21
 =head2 METHODS 
@@ -48,7 +48,7 @@ C<SDL::MPEG::offset> returns the offset into the clip in bytes
48 48
 
49 49
 =item *
50 50
 
51  
-C<SDL::MPEG::frame> returns the offset into the clip in fames 
  51
+C<SDL::MPEG::frame> returns the offset into the clip in frames 
52 52
 
53 53
 =item *
54 54
 
2  lib/pods/SDL/Mixer.pod
Source Rendered
@@ -163,7 +163,7 @@ B<Note>: Only available for SDL_mixer >= 1.2.10
163 163
 
164 164
  SDL::Mixer::quit();
165 165
 
166  
-This function unloads the liraries previously loaded with L<init()|/init>.
  166
+This function unloads the libraries previously loaded with L<init()|/init>.
167 167
 
168 168
 B<Note>: Only available for SDL_mixer >= 1.2.10
169 169
 
4  lib/pods/SDL/Mixer/Channels.pod
Source Rendered
@@ -17,7 +17,7 @@ Mixer
17 17
 
18 18
  my $ret = SDL::Mixer::Channels::allocate_channels( $number_of_channels );
19 19
 
20  
-Dynamically change the number of channels managed by the mixer. If decreasing the number of channels, the upper channels arestopped.
  20
+Dynamically change the number of channels managed by the mixer. If decreasing the number of channels, the upper channels are stopped.
21 21
 This function returns the new number of allocated channels.
22 22
 
23 23
 Example
@@ -142,7 +142,7 @@ Example 2:
142 142
 
143 143
  my $playing = SDL::Mixer::Channels::playing( $channel );
144 144
 
145  
-Returns C<1> if the given channel is playing sound, otherwise C<0>. It does'nt check if the channel is paused.
  145
+Returns C<1> if the given channel is playing sound, otherwise C<0>. It doesn't check if the channel is paused.
146 146
 
147 147
 B<Note>: If you pass C<-1> you will get the number of playing channels.
148 148
 
4  lib/pods/SDL/Mixer/Groups.pod
Source Rendered
@@ -92,7 +92,7 @@ C<group_newer> returns the channel number which started to play at last.
92 92
 
93 93
 Fades out the channels by the given group id. The fade-out-time is specified by C<$ms>.
94 94
 
95  
-Retuns the number of affected channels.
  95
+Returns the number of affected channels.
96 96
 
97 97
 =head2 halt_group
98 98
 
@@ -100,7 +100,7 @@ Retuns the number of affected channels.
100 100
 
101 101
 Halts the channels by the given group id.
102 102
 
103  
-Retuns C<0>.
  103
+Returns C<0>.
104 104
 
105 105
 =head1 AUTHORS
106 106
 
2  lib/pods/SDL/Mixer/Music.pod
Source Rendered
@@ -240,7 +240,7 @@ Returns C<1> if the music is paused, otherwise C<0>.
240 240
 
241 241
  my $playing_music = SDL::Mixer::Music::playing_music();
242 242
 
243  
-Returns C<1> if the music is playing sound, otherwise C<0>. It does'nt check if the music is paused.
  243
+Returns C<1> if the music is playing sound, otherwise C<0>. It doesn't check if the music is paused.
244 244
 
245 245
 =head1 AUTHORS
246 246
 
BIN  lib/pods/SDL/Mouse.png
2  lib/pods/SDL/Overlay.pod
Source Rendered
@@ -17,7 +17,7 @@ First import the following modules to get access to constants and functions need
17 17
    use SDL::Video;
18 18
    use SDL::Overlay;
19 19
 
20  
-Init the video susbsystem.
  20
+Init the video subsystem.
21 21
 
22 22
    SDL::Init(SDL_INIT_VIDEO);
23 23
 
6  lib/pods/SDL/Pango.pod
Source Rendered
@@ -25,7 +25,7 @@ Pango
25 25
  
26 26
  my $context = SDL::Pango::Context->new;
27 27
  SDL::Pango::set_default_color($context, 0xA7C344FF, 0);
28  
- SDL::Pango::set_markup($context, 'Hallo <b>W<span foreground="red">o</span><i>r</i><u>l</u>d</b>!', -1);
  28
+ SDL::Pango::set_markup($context, 'Hello <b>W<span foreground="red">o</span><i>r</i><u>l</u>d</b>!', -1);
29 29
 
30 30
  SDL::init(SDL_INIT_VIDEO);
31 31
  
@@ -110,7 +110,7 @@ Returns: always C<0>.
110 110
 
111 111
  my $was_init = SDL::Pango::was_init();
112 112
 
113  
-Query the initilization status of the Glib and Pango API. You may, of course, use this before L<SDL::Pango::init|SDL::Pango/"init"> to avoid initilizing twice 
  113
+Query the initialization status of the Glib and Pango API. You may, of course, use this before L<SDL::Pango::init|SDL::Pango/"init"> to avoid initializing twice 
114 114
 in a row.
115 115
 
116 116
 Returns: Non-zero when already initialized. Zero when not initialized.
@@ -212,7 +212,7 @@ Draws the text or markup to an existing surface at position C<$x>/C<$y>.
212 212
 
213 213
  SDL::Pango::set_surface_create_args($context, $flags, $bits, $r_mask, $g_mask, $b_mask, $a_mask);
214 214
 
215  
-Sets the argumet that are used when creating a surface via L<SDL::Pango::create_surface_draw|SDL::Pango/"create_surface_draw">.
  215
+Sets the argument that are used when creating a surface via L<SDL::Pango::create_surface_draw|SDL::Pango/"create_surface_draw">.
216 216
 
217 217
 Example:
218 218
 
26  lib/pods/SDL/RWOps.pod
Source Rendered
@@ -3,7 +3,7 @@
3 3
 
4 4
 =head1 NAME
5 5
 
6  
-SDL::RWOps -- SDL Bindings to SDL_RWOPs
  6
+SDL::RWOps -- SDL Bindings to SDL_RWops
7 7
 
8 8
 =head1 CATEGORY
9 9
 
@@ -13,7 +13,7 @@ TODO, Core, Structure
13 13
 =head1 SYNOPSIS
14 14
 
15 15
   # The following example will load several png's from a single file to an array of SDL::Surface's.
16  
-  # Usefull for e.g. levelfiles.
  16
+  # Useful for e.g. levelfiles.
17 17
   use SDL;
18 18
   use SDL::Image;
19 19
   use SDL::RWOps;
@@ -52,9 +52,9 @@ An example usage would be to put a bunch of resources in a zip file and use Zzip
52 52
 
53 53
 =head2 rw_from_file(file,mode) 
54 54
 
55  
-rw_from_file creates a new SDL::RWops structure for reading from and/or writing to a named file. 
  55
+rw_from_file creates a new SDL::RWOps structure for reading from and/or writing to a named file. 
56 56
 The mode string is treated the same as in a call to the C library's fopen().
57  
-SDL::rw_from_file() returns a SDL::RWops structure on succés or undef on failure. 
  57
+SDL::rw_from_file() returns a SDL::RWOps structure on success or undef on failure. 
58 58
 
59 59
 	Mode Strings:
60 60
 	
@@ -80,16 +80,16 @@ This additional "b" character can either be appended at the end of the string (t
80 80
 
81 81
 =head2 rw_from_fp(fp,autoclose)
82 82
 
83  
-SDL::rw_from_fp creates a new SDL::RWops structure from a file pointer, opened with stdio. If autoclose is nonzero, the file will be automatically closed when the SDL::RWops structure is closed.
84  
-It returns a SDL::RWops on succés or undef on error.
  83
+SDL::rw_from_fp creates a new SDL::RWOps structure from a file pointer, opened with stdio. If autoclose is nonzero, the file will be automatically closed when the SDL::RWOps structure is closed.
  84
+It returns a SDL::RWOps on success or undef on error.
85 85
 
86 86
 Note: This is not available under Win32, since files opened in an application on that platform cannot be used by a dynamically linked library. 
87 87
 
88 88
 
89 89
 =head2 rw_from_mem(mem,size)
90 90
 
91  
-SDL::rw_from_mem sets up a SDL::RWops struct based on a chunk of memory of a certain size.
92  
-It returns a SDL::Rwops on succés or undef on error. 
  91
+SDL::rw_from_mem sets up a SDL::RWOps struct based on a chunk of memory of a certain size.
  92
+It returns a SDL::RWOps on success or undef on error. 
93 93
 
94 94
 Note: If the memory is not writable, use SDL::rw_from_const_mem instead. 
95 95
 
@@ -104,14 +104,14 @@ It assumes the memory area is not writable. It returns a SDL::RWOps on success o
104 104
 
105 105
 =head2 alloc_rw()
106 106
 
107  
-alloc_rw allocates an empty, unpopulated SDL::RWops structure. You must fill out the fields yourself. 
108  
-It returns a SDL::RWops structure on succés or undef on error. 
  107
+alloc_rw allocates an empty, unpopulated SDL::RWOps structure. You must fill out the fields yourself. 
  108
+It returns a SDL::RWOps structure on success or undef on error. 
109 109
 
110 110
 Note: You must free any memory allocated with SDL::alloc_rw with SDL::free_rw.
111 111
 
112 112
 =head2 free_rw(context)
113 113
 
114  
-SDL::free_rw frees an SDL::RWops structure previously allocated by SDL::alloc_rw. Only use it on memory allocated by SDL::alloc_rw. 
  114
+SDL::free_rw frees an SDL::RWOps structure previously allocated by SDL::alloc_rw. Only use it on memory allocated by SDL::alloc_rw. 
115 115
 It doesn't returns anything.
116 116
 
117 117
 
@@ -119,7 +119,7 @@ It doesn't returns anything.
119 119
 
120 120
 SDL::rw_seek calls the seek function pointer in an SDL::RWOps structure. It takes the same 3 parameters as the function pointer:
121 121
 
122  
-	1. A pointer to an SDL::rwops structure
  122
+	1. A pointer to an SDL::RWOps structure
123 123
    	2. An offset in bytes. This can be a negative value.
124 124
    	3.SEEK_SET, SEEK_CUR, or SEEK_END. SEEK_SET seeks from the beginning of the file, SEEK_CUR from the current position, and SEEK_END from the end of the file. 
125 125
 
@@ -137,7 +137,7 @@ SDL_RWread calls the function pointed to by an SDL::RWOps structure's read membe
137 137
    1. A pointer to an SDL::RWOps structure
138 138
    2. A pointer to an area of memory to read data into
139 139
    3. The size of each block of memory to read
140  
-   4. The maxinum number of memory blocks to read(it may read less) 
  140
+   4. The maximum number of memory blocks to read(it may read less) 
141 141
 
142 142
 It returns the number of memory blocks read, or -1 if the read failed. 
143 143
 
2  lib/pods/SDL/SMPEG.pod
Source Rendered
@@ -18,7 +18,7 @@ TODO
18 18
 
19 19
 C<SDL::SMPEG> adds support for MPEG video to your
20 20
 SDL Perl application.  SMPEGs are objects bound to
21  
-surfaces, whose playback is controled through the
  21
+surfaces, whose playback is controlled through the
22 22
 object's interface.
23 23
 
24 24
 =head2 METHODS 
18  lib/pods/SDL/TTF.pod
Source Rendered
@@ -107,7 +107,7 @@ Returns: C<0> on success, C<-1> on any error.
107 107
 
108 108
  my $was_init = SDL::TTF::was_init();
109 109
 
110  
-Query the initilization status of the truetype font API.
  110
+Query the initialization status of the truetype font API.
111 111
 You may, of course, use this before L<SDL::TTF::init|SDL::TTF/"init"> to avoid initializing twice in a row. Or use this to determine if you need to 
112 112
 call L<SDL::TTF::quit|SDL::TTF/"quit">.
113 113
 
@@ -456,7 +456,7 @@ Note that the first example uses the same text as in the LATIN1 example, that is
456 456
 
457 457
 Examples:
458 458
 
459  
- ($width, $height) = @{ SDL::TTF::size_utf8($font, 'Hallo World!') }; # plain text, if your script is in utf8 or ansi-format
  459
+ ($width, $height) = @{ SDL::TTF::size_utf8($font, 'Hello World!') }; # plain text, if your script is in utf8 or ansi-format
460 460
  
461 461
  # or
462 462
  
@@ -465,7 +465,7 @@ Examples:
465 465
  # or
466 466
  
467 467
  use Unicode::String;
468  
- my $unicode       = utf8($data_from_somwhere);
  468
+ my $unicode       = utf8($data_from_somewhere);
469 469
  ($width, $height) = @{ SDL::TTF::size_utf8($font, $unicode->utf8) }; # utf8 via Unicode::String
470 470
 
471 471
 =head4 size_unicode
@@ -481,15 +481,15 @@ C<$text> has to be:
481 481
 
482 482
 =item UTF16BE without BOM
483 483
 
484  
-"hallo" will look like "\0h\0a\0l\0l\0o"
  484
+"hello" will look like "\0h\0e\0l\0l\0o"
485 485
 
486 486
 =item UTF16BE with BOM
487 487
 
488  
-"hallo" will look like "\xFE\xFF\0h\0a\0l\0l\0o"
  488
+"hello" will look like "\xFE\xFF\0h\0e\0l\0l\0o"
489 489
 
490 490
 =item UTF16LE with BOM
491 491
 
492  
-"hallo" will look like "\xFF\xFEh\0a\0l\0l\0o\0"
  492
+"hello" will look like "\xFF\xFEh\0e\0l\0l\0o\0"
493 493
 
494 494
 =back
495 495
 
@@ -532,7 +532,7 @@ Example:
532 532
  my $display = SDL::Video::set_video_mode(640, 480, 32, SDL_SWSURFACE);
533 533
  my $font    = SDL::TTF::open_font('somefont.ttf', '24');
534 534
  die 'Coudnt make font '. SDL::get_error if !$font;
535  
- my $surface = SDL::TTF::render_text_solid($font, 'Hallo!', SDL::Color->new(0xFF,0xFF,0xFF));
  535
+ my $surface = SDL::TTF::render_text_solid($font, 'Hello!', SDL::Color->new(0xFF,0xFF,0xFF));
536 536
  SDL::Video::blit_surface($surface, SDL::Rect->new(0, 0, 640, 480), $display, SDL::Rect->new(10, 10, 640, 480));
537 537
  SDL::Video::update_rect($display, 0, 0, 0, 0);
538 538
  SDL::delay(5000);
@@ -591,7 +591,7 @@ Example:
591 591
  my $font    = SDL::TTF::open_font('arial.ttf', '24');
592 592
  my $white   = SDL::Color->new(0xFF, 0xFF, 0xFF);
593 593
  my $black   = SDL::Color->new(0x00, 0x00, 0x00);
594  
- my $surface = SDL::TTF::render_text_solid($font, 'Hallo!', $white, $black);
  594
+ my $surface = SDL::TTF::render_text_solid($font, 'Hello!', $white, $black);
595 595
  
596 596
  SDL::Video::blit_surface($surface, SDL::Rect->new(0, 0, 640, 480), $display, SDL::Rect->new(10, 10, 640, 480));
597 597
  SDL::Video::update_rect($display, 0, 0, 0, 0);
@@ -644,7 +644,7 @@ Example:
644 644
  
645 645
  my $display = SDL::Video::set_video_mode(640, 480, 32, SDL_SWSURFACE);
646 646
  my $font    = SDL::TTF::open_font('arial.ttf', '24');
647  
- my $surface = SDL::TTF::render_text_blended($font, 'Hallo!', SDL::Color->new(0xFF,0xFF,0xFF));
  647
+ my $surface = SDL::TTF::render_text_blended($font, 'Hello!', SDL::Color->new(0xFF,0xFF,0xFF));
648 648
  
649 649
  SDL::Video::blit_surface($surface, SDL::Rect->new(0, 0, 640, 480), $display, SDL::Rect->new(10, 10, 640, 480));
650 650
  SDL::Video::update_rect($display, 0, 0, 0, 0);
2  lib/pods/SDL/Tutorial/LunarLander.pod
Source Rendered
@@ -146,7 +146,7 @@ So the middle section of the program will become:
146 146
 
147 147
         if ( $up{$t} ) {
148 148
             my $a = $up{$t};
149  
-            print "(accellerating $a m/s^2)\n";
  149
+            print "(accelerating $a m/s^2)\n";
150 150
             $velocity = $velocity - $a;
151 151
         }
152 152
 
BIN  lib/pods/SDL/Video.png
12  lib/pods/SDL/Video.pod
Source Rendered
@@ -65,7 +65,7 @@ Export tag: ':video'
65 65
                      NOTE: This option is kept for compatibility only, and is not recommended for new code.
66 66
  SDL_RESIZABLE       Resizable surface
67 67
  SDL_NOFRAME         No window caption or edge frame
68  
- SDL_HWACCEL Use     Hardware acceleration blit
  68
+ SDL_HWACCEL         Use hardware acceleration blit
69 69
  SDL_SRCCOLORKEY     Use colorkey blitting
70 70
  SDL_RLEACCELOK      Private flag
71 71
  SDL_RLEACCEL        Accelerated colorkey blitting with RLE
@@ -90,7 +90,7 @@ Export tag ':grab'
90 90
  SDL_GRAB_QUERY
91 91
  SDL_GRAB_OFF
92 92
  SDL_GRAB_ON
93  
- SDL_GRAB_FULLSCREEN Used interally
  93
+ SDL_GRAB_FULLSCREEN Used internally
94 94
 
95 95
 Export tag ':gl'
96 96
 
@@ -248,7 +248,7 @@ Sets up a video mode with the specified width, height, bits-per-pixel and flags.
248 248
 C<set_video_mode> returns a L<SDL::Surface> on success otherwise it returns undef on error, the error message is retrieved 
249 249
 using C<SDL::get_error>.
250 250
 
251  
-=head3 List of avalaibles flags
  251
+=head3 List of available flags
252 252
 
253 253
 =over 4
254 254
 
@@ -630,7 +630,7 @@ Surfaces that were previously locked using L<SDL::Video::lock_surface|/lock_sruf
630 630
 Surfaces should be unlocked as soon as possible.
631 631
 C<SDL::Video::unlock_surface> doesn't return anything.
632 632
 
633  
-B<Note>: Since 1.1.8, the surface locks are recursive. See L<SDL::Video::lock_surface|/lock_sruface> for more information. 
  633
+B<Note>: Since 1.1.8, the surface locks are recursive. See L<SDL::Video::lock_surface|/lock_surface> for more information. 
634 634
 
635 635
 =head2	MUSTLOCK
636 636
 
@@ -919,7 +919,7 @@ C<SDL::Video::get_gamma_ramp> returns -1 on error.
919 919
  
920 920
  if( -1 == $ret )
921 921
  {
922  
-     print( "an error occoured" );
  922
+     print( "an error occurred" );
923 923
  }
924 924
  else
925 925
  {
@@ -962,7 +962,7 @@ Example:
962 962
  
963 963
  if( -1 == $ret )
964 964
  {
965  
-     print( "an error occoured" );
  965
+     print( "an error occurred" );
966 966
  }
967 967
  else
968 968
  {
BIN  lib/pods/SDL/Video_lock_surface.png
BIN  lib/pods/SDL/Video_thumb.png
BIN  lib/pods/SDL_thumb.png
6  lib/pods/SDLx/App.pod
Source Rendered
@@ -139,9 +139,9 @@ the application. It takes one argument, which should be one of the following:
139 139
 
140 140
 =head2 sync
141 141
 
142  
-C<SDLx::App::sync> encapsulates the various methods of syncronizing the screen with the
  142
+C<SDLx::App::sync> encapsulates the various methods of synchronizing the screen with the
143 143
 current video buffer. C<SDLx::App::sync> will do a fullscreen update, using the double buffer
144  
-or OpenGL buffer if applicable. This is prefered to calling flip on the application window.
  144
+or OpenGL buffer if applicable. This is preferred to calling flip on the application window.
145 145
 
146 146
 =head2 attribute( $attr )
147 147
 
@@ -149,7 +149,7 @@ or OpenGL buffer if applicable. This is prefered to calling flip on the applicat
149 149
 
150 150
 C<SDLx::App::attribute> allows one to get and set GL attributes. By passing a value
151 151
 in addition to the attribute selector, the value will be set. C<SDL:::App::attribute>
152  
-always returns the current value of the given attribute, or Carp::confesss on failure.
  152
+always returns the current value of the given attribute, or Carp::confess on failure.
153 153
 
154 154
 =head1 CALLBACKS
155 155
 
8  lib/pods/SDLx/Controller.pod
Source Rendered
@@ -41,7 +41,7 @@ the screen update is independent of the frame rate. Otherwise, your game will
41 41
 run at different speeds on different machines and this is never good (old
42 42
 MS-DOS games, anyone?).
43 43
 
44  
-One way to circumveint this is by capping the frame rate so it's the same no
  44
+One way to circumvent this is by capping the frame rate so it's the same no
45 45
 matter what, but this is not the right way to do it as it penalizes better
46 46
 hardware.
47 47
 
@@ -97,7 +97,7 @@ All hooked functions will be called during the main loop, in this order:
97 97
 =back
98 98
 
99 99
 Please refer to each handler below for information on received arguments.
100  
-Note that the second argument every callback recieves is the C<SDLx::Controller> object.
  100
+Note that the second argument every callback receives is the C<SDLx::Controller> object.
101 101
 
102 102
 =head2 stop
103 103
 
@@ -108,7 +108,7 @@ Returns from the C<run> loop.
108 108
 Attempts to pause the application with a call to C<SDL::Events::wait_event>. See L<SDL::Events>.
109 109
 
110 110
 Takes 1 argument which is a callback. The application waits for the next event with C<wait_event>.
111  
-When one is recieved, it is passed to the callback as the first argument, along with the C<SDLx::Controller> object as the second argument.
  111
+When one is received, it is passed to the callback as the first argument, along with the C<SDLx::Controller> object as the second argument.
112 112
 If the callback then returns a true value, C<pause> will return.
113 113
 If the callback returns a false value, C<pause> will repeat the process.
114 114
 
@@ -266,7 +266,7 @@ Returns the corresponding value.
266 266
 
267 267
 See L<SDL/AUTHORS>.
268 268
 
269  
-=head2 ACKNOWLEGDEMENTS
  269
+=head2 ACKNOWLEDGEMENTS
270 270
 
271 271
 The idea and base for this module comes from Lazy Foo's L<< Frame Independent
272 272
 Movement|http://www.lazyfoo.net/SDL_tutorials/lesson32/index.php >> tutorial,
6  lib/pods/SDLx/Controller/Interface.pod
Source Rendered
@@ -49,7 +49,7 @@ Extension, Controller
49 49
 
50 50
 =head2 set_acceleration
51 51
 
52  
-Allows you to set the acceleration callback for defining the inferface's
  52
+Allows you to set the acceleration callback for defining the interface's
53 53
 behaviour in terms of x,y and rotation.
54 54
 
55 55
   $interface->set_acceleration ( 
@@ -60,7 +60,7 @@ behaviour in terms of x,y and rotation.
60 60
       }
61 61
   );
62 62
 
63  
-These accelerations are arbitary and can be set to any frame of reference.
  63
+These accelerations are arbitrary and can be set to any frame of reference.
64 64
 Your render callback will handle how to interpret it.
65 65
 
66 66
 The callback will receive the time and the current state as a
@@ -115,7 +115,7 @@ Interpolate the current state
115 115
 
116 116
 =head2 evaluate
117 117
 
118  
-Evaluate the new currrent and previous state.
  118
+Evaluate the new current and previous state.
119 119
 
120 120
 =head2 update
121 121
 
8  lib/pods/SDLx/Layer.pod
Source Rendered
@@ -52,7 +52,7 @@ The layer object just pass it through.
52 52
 
53 53
   my $index = $layer->index;
54 54
 
55  
-The method C<index> represents the z-index ot this layer within its layermanager.
  55
+The method C<index> represents the z-index of this layer within its layermanager.
56 56
 
57 57
 =head2 x
58 58
 
@@ -87,7 +87,7 @@ B<Example>:
87 87
 
88 88
   SDL::Video::blit_surface( $layer->surface, $layer->clip, $destination_surface, $layer->pos );
89 89
 
90  
-This method let you retrive the current or set a new surface.
  90
+This method let you retrieve the current or set a new surface.
91 91
 
92 92
 =head2 pos
93 93
 
@@ -150,13 +150,13 @@ B<Note>: The z-index is not changed for the given layer.
150 150
 
151 151
   $layer->detach_xy( $x, $y );
152 152
 
153  
-C<detach_xy> detaches the prevously attached layer to the given coords. The upper left corner of this layer will be at C<$x> and C<$y>.
  153
+C<detach_xy> detaches the previously attached layer to the given coords. The upper left corner of this layer will be at C<$x> and C<$y>.
154 154
 
155 155
 =head2 foreground
156 156
 
157 157
   $layer->foreground;
158 158
 
159  
-This method moves the given layer to the foreground so that it is blittet on top of the other layers.
  159
+This method moves the given layer to the foreground so that it is blitted on top of the other layers.
160 160
 
161 161
 =head1 BUGS
162 162
 
8  lib/pods/SDLx/LayerManager.pod
Source Rendered
@@ -66,7 +66,7 @@ The method C<layers> returns all layers that were added before.
66 66
 
67 67
   my $layer = $layermanager->layer( $index );
68 68
 
69  
-To obtain only one layer at index C<$index> use this function. C<$index> ranges from C<0> to C<lenght - 1>.
  69
+To obtain only one layer at index C<$index> use this function. C<$index> ranges from C<0> to C<length - 1>.
70 70
 
71 71
 =head2 length
72 72
 
@@ -121,21 +121,21 @@ B<Note>: The z-index is not changed for the given layers.
121 121
 
122 122
   $layermanager->detach_xy( $x, $y );
123 123
 
124  
-C<detach_xy> detaches the prevously attached layers to the given coords. The upper left corner of the backmost layer will be at C<$x> and C<$y>.
  124
+C<detach_xy> detaches the previously attached layers to the given coords. The upper left corner of the backmost layer will be at C<$x> and C<$y>.
125 125
 The other layers are positioned relative to the backmost layer just like before.
126 126
 
127 127
 =head2 detach_back
128 128
 
129 129
   $layermanager->detach_back( );
130 130
 
131  
-C<detach_back> detaches the prevously attached layers back to the position where they were attached.
  131
+C<detach_back> detaches the previously attached layers back to the position where they were attached.
132 132
 
133 133
 =head2 foreground
134 134
 
135 135
   $layermanager->foreground( $layer );
136 136
   $layermanager->foreground( @layers );
137 137
 
138  
-This method moves the given layer(s) to the foreground so that they are blittet on top of the other layers.
  138
+This method moves the given layer(s) to the foreground so that they are blitted on top of the other layers.
139 139
 
140 140
 =head1 BUGS
141 141
 
4  lib/pods/SDLx/Music.pod
Source Rendered
@@ -130,7 +130,7 @@ B<Please note:> do not mix use of this class with L<SDL::Mixer::Music> if you wa
130 130
 
131 131
 	
132 132
 
133  
-Creates the new music object. Inits audio with a call to L<SDLx::Mixer::init|SDLx::Mixer/init>, if it isn't already (if you want more precise control over what is initialized, make sure you call L<SDLx::Mixer::init|SDLx::Mixer/init> before you call thiihs method). Creates an empty default data object for object-wide defaults. If arguments are supplied, calls L</data> with them to set up any initial data objects. Returns the new music object.
  133
+Creates the new music object. Inits audio with a call to L<SDLx::Mixer::init|SDLx::Mixer/init>, if it isn't already (if you want more precise control over what is initialized, make sure you call L<SDLx::Mixer::init|SDLx::Mixer/init> before you call this method). Creates an empty default data object for object-wide defaults. If arguments are supplied, calls L</data> with them to set up any initial data objects. Returns the new music object.
134 134
 
135 135
 =head2 data
136 136
 
@@ -149,7 +149,7 @@ With a hash of arguments: for each pair, and returns a  L<SDLx::Music::Data>. Re
149 149
 
150 150
 	$music->data_for( @names_or_data_objects );
151 151
 
152  
-Calls L</data> repeatedly, passing it one element of the list at a time, to initialise mulitiple empty names and/or add data objects. Returns C<$music>.
  152
+Calls L</data> repeatedly, passing it one element of the list at a time, to initialise multiple empty names and/or add data objects. Returns C<$music>.
153 153
 
154 154
 =head2 has_data
155 155
 
4  lib/pods/SDLx/Rect.pod
Source Rendered
@@ -29,7 +29,7 @@ All C<< SDLx::Rect >> methods that change either position or size of a Rect retu
29 29
 
30 30
 =head2 ATTRIBUTES
31 31
 
32  
-All Rect attributes are acessors, meaning you can get them by name, and set them by passing a value:
  32
+All Rect attributes are accessors, meaning you can get them by name, and set them by passing a value:
33 33
 
34 34
    $rect->left(15);
35 35
    $rect->left;       # 15
@@ -113,7 +113,7 @@ Same as C<<move>> above, but moves the current Rect in place and returns nothing
113 113
 
114 114
 =head3 inflate(x, y)
115 115
 
116  
-Grows or shrinks the rectangle. Returns a new Rect with the size changed by the given offset. The rectangle remains centered around its current center. Negative values will return a shrinked rectangle instead.
  116
+Grows or shrinks the rectangle. Returns a new Rect with the size changed by the given offset. The rectangle remains centered around its current center. Negative values will return a shrunken rectangle instead.
117 117
 
118 118
 =head3 inflate_ip(x, y)
119 119
 
32  lib/pods/SDLx/Sound.pod
Source Rendered
@@ -24,15 +24,15 @@ Extension
24 24
 
25 25
     # more sounds
26 26
     my %files = (
27  
-        chanell_01 => "/my_sound1.wav",
28  
-        chanell_02 => "/my_sound2.ogg"
  27
+        channel_01 => "/my_sound1.wav",
  28
+        channel_02 => "/my_sound2.ogg"
29 29
     );
30 30
 
31 31
     # times sounds bangs
32 32
     my %times = (
33  
-        chanell_01 => 0,      # start
34  
-        chanell_01 => 1256,   # miliseconds
35  
-        chanell_02 => 2345
  33
+        channel_01 => 0,      # start
  34
+        channel_01 => 1256,   # milliseconds
  35
+        channel_02 => 2345
36 36
     );
37 37
     
38 38
     # Load files in channels for realtime play
@@ -43,17 +43,17 @@ Extension
43 43
     $snd->play(%times);                 # play loaded files at times
44 44
     $snd->play;                         # play again
45 45
 
46  
-    # plays sound channel_01 at 578 miliseconds from now
  46
+    # plays sound channel_01 at 578 milliseconds from now
47 47
     $snd->play('channel_01', 578);
48 48
 
49 49
     # fades sound 
50 50
     $snd->fade('channel_02', 2345, 3456, -20);
51 51
 
52  
-    # in a single act do the wole Sound
  52
+    # in a single act do the whole Sound
53 53
     my $snd = SDLx::Sound->new(
54 54
         files => (
55  
-            chanell_01 => "/my_sound1.wav",
56  
-            chanell_02 => "/my_sound2.ogg"
  55
+            channel_01 => "/my_sound1.wav",
  56
+            channel_02 => "/my_sound2.ogg"
57 57
  
58 58
         ), 
59 59
         loud  => (
@@ -61,19 +61,19 @@ Extension
61 61
             channel_02 => 75
62 62
         ),
63 63
         times => (
64  
-            chanell_01 => 0,      # start
65  
-            chanell_01 => 1256,   # miliseconds
66  
-            chanell_02 => 2345
  64
+            channel_01 => 0,      # start
  65
+            channel_01 => 1256,   # milliseconds
  66
+            channel_02 => 2345
67 67
         ),
68 68
         fade  => (
69  
-            chanell_02 => [2345, 3456, -20]
  69
+            channel_02 => [2345, 3456, -20]
70 70
         )
71 71
     )->play();
72 72
 
73 73
 =head1 DESCRIPTION
74 74
 
75 75
 
76  
-You can think about the SDLx::Sound at 2 aproaches. 
  76
+You can think about the SDLx::Sound at 2 approaches. 
77 77
 
78 78
 =over 4
79 79
 
@@ -83,9 +83,9 @@ You can think about the SDLx::Sound at 2 aproaches.
83 83
 
84 84
 =back
85 85
 
86  
-Your application will say what the best aproach.
  86
+Your application will say what the best approach.
87 87
 
88  
-In a taste that resembles to perl and to SDL, our SDLx:Sound hooks at SDL::Audio and SDL::Mixer with a gracefull and simple interface that can offer to monks a modern perlish way to manage sounds.
  88
+In a taste that resembles to perl and to SDL, our SDLx:Sound hooks at SDL::Audio and SDL::Mixer with a graceful and simple interface that can offer to monks a modern perlish way to manage sounds.
89 89
 
90 90
 An SDLx::Sound object can load sounds from filesystem, play it, adjust this loudness level or stops the sound. 
91 91
 
2  lib/pods/SDLx/Sprite.pod
Source Rendered
@@ -105,7 +105,7 @@ Available options are:
105 105
 
106 106
 =item * image => $filename
107 107
 
108  
-Uses $filename as source image for the Sprite's surface. See suported
  108
+Uses $filename as source image for the Sprite's surface. See supported
109 109
 formats in L<< SDL::Image >>. This option B<cannot> be used together
110 110
 with the 'surface' option (see below).
111 111
 
2  lib/pods/SDLx/Sprite/Animated.pod
Source Rendered
@@ -43,7 +43,7 @@ Extension
43 43
 
44 44
   # just like a regular Sprite, we fetch our source rect from ->clip,
45 45
   # updating it on each call to ->next (or ->previous, or ->reset).
46  
-  # If source rects for your animation are further appart (or less)
  46
+  # If source rects for your animation are further apart (or less)
47 47
   # than the rect's width and height, you can adjust the animation
48 48
   # x/y offsets:
49 49
   $animation->step_x(15);
8  lib/pods/SDLx/Surface.pod
Source Rendered
@@ -118,7 +118,7 @@ Returns the new Surface.
118 118
  $sdlx_surface->blit( $dest, $src_rect, $dest_rect );
119 119
 
120 120
 Blits C<SDLx::Surface> onto $dest surface. 
121  
-$src_rect or $dest_rect are optional. If $src_rect is ommited, it will be the size of the entire surface. If $dest_rect is ommited, 
  121
+$src_rect or $dest_rect are optional. If $src_rect is omitted, it will be the size of the entire surface. If $dest_rect is omitted, 
122 122
 it will be blitted at C<(0, 0)>. $src_rect or $dest_rect can be array refs or C<SDL::Rect>. $dest can be C<SDLx::Surface> or C<SDL::Surface>.
123 123
 
124 124
 Note that the final blit rectangle is stored in $dest_rect after clipping is performed.
@@ -158,7 +158,7 @@ Returns $self
158 158
  $sdlx_surface->draw_rect( [$x,$y,$w,$h], 0xFFFF00FF );
159 159
  $sdlx_surface->draw_rect( SDL::Rect->new($x,$y,$w,$h), 0xFFFF00FF );
160 160
 
161  
-Draws a rect on the surface with the given color. If the rect is ommited, the colored rect will be drawn to the entire surface.
  161
+Draws a rect on the surface with the given color. If the rect is omitted, the colored rect will be drawn to the entire surface.
162 162
 
163 163
 Returns $self
164 164
 
@@ -235,7 +235,7 @@ Returns $self
235 235
  $sdlx_surface->draw_ellipse( [ $x, $y ], $rx, $ry, $color );
236 236
 
237 237
 Draws an unfilled ellipse centered at C<($x,$y)> with horizontal radius $rx,
238  
-vetical radius $ry and $color.
  238
+vertical radius $ry and $color.
239 239
 Antialias is turned on if $antialias is true.
240 240
 
241 241
 Returns $self
@@ -245,7 +245,7 @@ Returns $self
245 245
  $sdlx_surface->draw_ellipse_filled( [ $x, $y ], $rx, $ry, $color );
246 246
 
247 247
 Draws an B<filled> ellipse centered at C<($x,$y)> with horizontal radius $rx,
248  
-vetical radius $ry and $color.
  248
+vertical radius $ry and $color.
249 249
 Antialias is turned on automatically.
250 250
 
251 251
 Returns $self
4  lib/pods/SDLx/Text.pod
Source Rendered
@@ -147,7 +147,7 @@ Sets the font style to italic.
147 147
 
148 148
 Sets the font style to underline.
149 149
 
150  
-B<Note>: Due to libsdl design and depending on the chosen font, sometimes
  150
+B<Note>: Due to libSDL design and depending on the chosen font, sometimes
151 151
 the underline may be outside of the generated text surface, and thus not
152 152
 visible when blitted to the screen. In these cases, you should probably turn
153 153
 off the option and draw your own underlines in the target surface.
@@ -156,7 +156,7 @@ off the option and draw your own underlines in the target surface.
156 156
 
157 157
 Sets the font style to strikethrough.
158 158
 
159  
-B<Note>: Due to libsdl design and depending on the chosen font, sometimes
  159
+B<Note>: Due to libSDL design and depending on the chosen font, sometimes
160 160
 the strikethrough may be outside of the generated text surface, and thus not
161 161
 visible when blitted to the screen. In these cases, you should probably turn
162 162
 off the option and draw your own strikethroughs in the target surface.
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.