diff --git a/include/CSFML/Graphics/RenderWindow.h b/include/CSFML/Graphics/RenderWindow.h index 542a4e5..cf8116a 100644 --- a/include/CSFML/Graphics/RenderWindow.h +++ b/include/CSFML/Graphics/RenderWindow.h @@ -124,7 +124,7 @@ CSFML_GRAPHICS_API bool sfRenderWindow_pollEvent(sfRenderWindow* renderWindow, s /// \param renderWindow Render window object /// \param event Event to fill /// -/// \return false if an error occured +/// \return false if an error occurred /// //////////////////////////////////////////////////////////// CSFML_GRAPHICS_API bool sfRenderWindow_waitEvent(sfRenderWindow* renderWindow, sfEvent* event); diff --git a/include/CSFML/Graphics/Shape.h b/include/CSFML/Graphics/Shape.h index 153bbc1..a0cb697 100644 --- a/include/CSFML/Graphics/Shape.h +++ b/include/CSFML/Graphics/Shape.h @@ -402,7 +402,7 @@ CSFML_GRAPHICS_API sfFloatRect sfShape_getGlobalBounds(const sfShape* shape); /// \brief Recompute the internal geometry of a shape /// /// This function must be called by specialized shape objects -/// everytime their points change (ie. the result of either +/// every time their points change (ie. the result of either /// the getPointCount or getPoint callbacks is different). /// //////////////////////////////////////////////////////////// diff --git a/include/CSFML/Graphics/VertexArray.h b/include/CSFML/Graphics/VertexArray.h index a1e89fe..3010017 100644 --- a/include/CSFML/Graphics/VertexArray.h +++ b/include/CSFML/Graphics/VertexArray.h @@ -108,7 +108,7 @@ CSFML_GRAPHICS_API void sfVertexArray_clear(sfVertexArray* vertexArray); /// If \a vertexCount is less than the current size, existing vertices /// are removed from the array. /// -/// \param vertexArray Vertex array objet +/// \param vertexArray Vertex array object /// \param vertexCount New size of the array (number of vertices) /// //////////////////////////////////////////////////////////// @@ -117,7 +117,7 @@ CSFML_GRAPHICS_API void sfVertexArray_resize(sfVertexArray* vertexArray, size_t //////////////////////////////////////////////////////////// /// \brief Add a vertex to a vertex array array /// -/// \param vertexArray Vertex array objet +/// \param vertexArray Vertex array object /// \param vertex Vertex to add /// //////////////////////////////////////////////////////////// @@ -134,7 +134,7 @@ CSFML_GRAPHICS_API void sfVertexArray_append(sfVertexArray* vertexArray, sfVerte /// \li As quads /// The default primitive type is sfPoints. /// -/// \param vertexArray Vertex array objet +/// \param vertexArray Vertex array object /// \param type Type of primitive /// //////////////////////////////////////////////////////////// @@ -143,7 +143,7 @@ CSFML_GRAPHICS_API void sfVertexArray_setPrimitiveType(sfVertexArray* vertexArra //////////////////////////////////////////////////////////// /// \brief Get the type of primitives drawn by a vertex array /// -/// \param vertexArray Vertex array objet +/// \param vertexArray Vertex array object /// /// \return Primitive type /// @@ -156,7 +156,7 @@ CSFML_GRAPHICS_API sfPrimitiveType sfVertexArray_getPrimitiveType(sfVertexArray* /// This function returns the axis-aligned rectangle that /// contains all the vertices of the array. /// -/// \param vertexArray Vertex array objet +/// \param vertexArray Vertex array object /// /// \return Bounding rectangle of the vertex array /// diff --git a/include/CSFML/Graphics/VertexBuffer.h b/include/CSFML/Graphics/VertexBuffer.h index e8606d1..d6faab0 100644 --- a/include/CSFML/Graphics/VertexBuffer.h +++ b/include/CSFML/Graphics/VertexBuffer.h @@ -56,7 +56,7 @@ typedef enum /// \brief Create a new vertex buffer with a specific /// sfPrimitiveType and usage specifier. /// -/// Creates the vertex buffer, allocating enough graphcis +/// Creates the vertex buffer, allocating enough graphics /// memory to hold \p vertexCount vertices, and sets its /// primitive type to \p type and usage to \p usage. /// diff --git a/include/CSFML/Network/Ftp.h b/include/CSFML/Network/Ftp.h index 9697dfd..4ed7bdc 100644 --- a/include/CSFML/Network/Ftp.h +++ b/include/CSFML/Network/Ftp.h @@ -39,7 +39,7 @@ //////////////////////////////////////////////////////////// typedef enum { - sfFtpBinary, ///< Binary mode (file is transfered as a sequence of bytes) + sfFtpBinary, ///< Binary mode (file is transferred as a sequence of bytes) sfFtpAscii, ///< Text mode using ASCII encoding sfFtpEbcdic ///< Text mode using EBCDIC encoding } sfFtpTransferMode; diff --git a/include/CSFML/Network/Http.h b/include/CSFML/Network/Http.h index 48aa3d3..87e150f 100644 --- a/include/CSFML/Network/Http.h +++ b/include/CSFML/Network/Http.h @@ -123,7 +123,7 @@ CSFML_NETWORK_API void sfHttpRequest_setField(sfHttpRequest* httpRequest, const /// \brief Set a HTTP request method /// /// See the sfHttpMethod enumeration for a complete list of all -/// the availale methods. +/// the available methods. /// The method is sfHttpGet by default. /// /// \param httpRequest HTTP request @@ -194,7 +194,7 @@ CSFML_NETWORK_API void sfHttpResponse_destroy(sfHttpResponse* httpResponse); CSFML_NETWORK_API const char* sfHttpResponse_getField(const sfHttpResponse* httpResponse, const char* field); //////////////////////////////////////////////////////////// -/// \brief Get the status code of a HTTP reponse +/// \brief Get the status code of a HTTP response /// /// The status code should be the first thing to be checked /// after receiving a response, it defines whether it is a @@ -287,7 +287,7 @@ CSFML_NETWORK_API void sfHttp_setHost(sfHttp* http, const char* host, unsigned s /// Warning: this function waits for the server's response and may /// not return instantly; use a thread if you don't want to block your /// application, or use a timeout to limit the time to wait. A value -/// of 0 means that the client will use the system defaut timeout +/// of 0 means that the client will use the system default timeout /// (which is usually pretty long). /// /// \param http Http object diff --git a/include/CSFML/Network/SocketSelector.h b/include/CSFML/Network/SocketSelector.h index 9f023fb..6a5ac24 100644 --- a/include/CSFML/Network/SocketSelector.h +++ b/include/CSFML/Network/SocketSelector.h @@ -80,7 +80,7 @@ CSFML_NETWORK_API void sfSocketSelector_addUdpSocket(sfSocketSelector* selector, /// removes the pointer that the selector has to it. /// /// \param selector Socket selector object -/// \param socket POointer to the socket to remove +/// \param socket Pointer to the socket to remove /// //////////////////////////////////////////////////////////// CSFML_NETWORK_API void sfSocketSelector_removeTcpListener(sfSocketSelector* selector, sfTcpListener* socket); diff --git a/include/CSFML/Window/Context.h b/include/CSFML/Window/Context.h index 31bac5d..f234758 100644 --- a/include/CSFML/Window/Context.h +++ b/include/CSFML/Window/Context.h @@ -62,7 +62,7 @@ CSFML_WINDOW_API void sfContext_destroy(sfContext* context); CSFML_WINDOW_API bool sfContext_isExtensionAvailable(const char* name); //////////////////////////////////////////////////////////// -/// \brief Activate or deactivate explicitely a context +/// \brief Activate or deactivate explicitly a context /// /// \param context Context object /// \param active true to activate, false to deactivate diff --git a/include/CSFML/Window/Joystick.h b/include/CSFML/Window/Joystick.h index 675af87..1649f60 100644 --- a/include/CSFML/Window/Joystick.h +++ b/include/CSFML/Window/Joystick.h @@ -138,7 +138,7 @@ CSFML_WINDOW_API sfJoystickIdentification sfJoystick_getIdentification(unsigned /// \brief Update the states of all joysticks /// /// This function is used internally by SFML, so you normally -/// don't have to call it explicitely. However, you may need to +/// don't have to call it explicitly. However, you may need to /// call it if you have no window yet (or no window at all): /// in this case the joysticks states are not updated automatically. /// diff --git a/include/CSFML/Window/Window.h b/include/CSFML/Window/Window.h index bade4ee..81a1904 100644 --- a/include/CSFML/Window/Window.h +++ b/include/CSFML/Window/Window.h @@ -203,7 +203,7 @@ CSFML_WINDOW_API bool sfWindow_pollEvent(sfWindow* window, sfEvent* event); /// /// This function is blocking: if there's no pending event then /// it will wait until an event is received. -/// After this function returns (and no error occured), +/// After this function returns (and no error occurred), /// the \a event object is always valid and filled properly. /// This function is typically used when you have a thread that /// is dedicated to events handling: you want to make this thread @@ -212,7 +212,7 @@ CSFML_WINDOW_API bool sfWindow_pollEvent(sfWindow* window, sfEvent* event); /// \param window Window object /// \param event Event to be returned /// -/// \return false if any error occured +/// \return false if any error occurred /// //////////////////////////////////////////////////////////// CSFML_WINDOW_API bool sfWindow_waitEvent(sfWindow* window, sfEvent* event); diff --git a/include/CSFML/Window/WindowBase.h b/include/CSFML/Window/WindowBase.h index bcd0c88..ad4deb8 100644 --- a/include/CSFML/Window/WindowBase.h +++ b/include/CSFML/Window/WindowBase.h @@ -166,7 +166,7 @@ CSFML_WINDOW_API bool sfWindowBase_pollEvent(sfWindowBase* windowBase, sfEvent* /// /// This function is blocking: if there's no pending event then /// it will wait until an event is received. -/// After this function returns (and no error occured), +/// After this function returns (and no error occurred), /// the \a event object is always valid and filled properly. /// This function is typically used when you have a thread that /// is dedicated to events handling: you want to make this thread @@ -175,7 +175,7 @@ CSFML_WINDOW_API bool sfWindowBase_pollEvent(sfWindowBase* windowBase, sfEvent* /// \param windowBase Window object /// \param event Event to be returned /// -/// \return false if any error occured +/// \return false if any error occurred /// //////////////////////////////////////////////////////////// CSFML_WINDOW_API bool sfWindowBase_waitEvent(sfWindowBase* windowBase, sfEvent* event);