You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The API of *CrSFML* (a library for Crystal) attempts to be similar to SFML (a C+
45
45
- SFML sometimes requires that an instance must remain alive as long as it is attached to the object. For example, a textured shape will cause errors if the texture object is destroyed. *CrSFML* prevents this problem by keeping a reference to the object.
46
46
- The `Event`*union* and `EventType`*enum* are represented as a class hierarchy. Instead of `ev.type == SF::Event::Resized` use `ev.is_a?(SF::Event::Resized)`; instead of `ev.size.width` use `ev.width`.
47
47
- Instead of subclassing `Drawable`, include the `Drawable` module with an abstract `draw` method.
48
-
- Most of the [documentation](http://blaxpirit.github.io/crsfml/api/) is taken directly from SFML, so don't be surprised if it talks in C++ terms.
48
+
- Most of the [documentation](http://oprypin.github.io/crsfml/api/) is taken directly from SFML, so don't be surprised if it talks in C++ terms.
49
49
50
50
51
51
Installation
@@ -109,7 +109,7 @@ Prerequisites: [Git][], [CMake][], [Crystal][], a C++ compiler
109
109
#### Download latest generator source code
110
110
111
111
```bash
112
-
git clone https://github.com/blaxpirit/crsfml
112
+
git clone https://github.com/oprypin/crsfml
113
113
cd crsfml
114
114
```
115
115
@@ -220,11 +220,11 @@ This library uses and is based on [SFML][sfml-authors].
220
220
Thanks to [Alan Willms][alanwillms] for translating [tutorials][] to Crystal.
Copy file name to clipboardExpand all lines: voidcsfml/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Information
8
8
9
9
*VoidCSFML* is a library that allows [SFML][] (a library written in C++) to be used with pure C. It is not meant to be human-friendly or be used directly in C code (though it's possible). *VoidCSFML* is just an intermediate step between SFML and a higher-level binding (in this case, to [Crystal][] programming language) which is used because it's much easier to interface with a C library than a C++ one.
10
10
11
-
You can browse the [latest generated source code](https://github.com/BlaXpirit/crsfml/tree/sources/voidcsfml) of *VoidCSFML*, but it comes almost entirely from a [generator program](https://github.com/BlaXpirit/crsfml/blob/master/generate.cr), so contributions are accepted only in the *master* branch.
11
+
You can browse the [latest generated source code](https://github.com/oprypin/crsfml/tree/sources/voidcsfml) of *VoidCSFML*, but it comes almost entirely from a [generator program](https://github.com/oprypin/crsfml/blob/master/generate.cr), so contributions are accepted only in the *master* branch.
12
12
13
13
Installation
14
14
------------
@@ -26,9 +26,9 @@ For building, [CMake][] and a C++ compiler are required (to the best of the auth
26
26
27
27
### Obtaining the sources
28
28
29
-
Generating the sources is an **optional** step. If you are sure you have a matching version of SFML to the [pre-generated sources](https://github.com/BlaXpirit/crsfml/tree/sources/voidcsfml) (usually latest), you can use these. In fact, you may already be looking at the generated sources, just check whether the *voidcsfml/src* folder is populated. For development it's usually best to [build whole CrSFML](#building-crsfml). But, for completeness' sake, here's how to generate the sources manually:
29
+
Generating the sources is an **optional** step. If you are sure you have a matching version of SFML to the [pre-generated sources](https://github.com/oprypin/crsfml/tree/sources/voidcsfml) (usually latest), you can use these. In fact, you may already be looking at the generated sources, just check whether the *voidcsfml/src* folder is populated. For development it's usually best to [build whole CrSFML](#building-crsfml). But, for completeness' sake, here's how to generate the sources manually:
30
30
31
-
Go to *CrSFML*'s root folder and run [generate.cr](https://github.com/BlaXpirit/crsfml/blob/master/generate.cr):
31
+
Go to *CrSFML*'s root folder and run [generate.cr](https://github.com/oprypin/crsfml/blob/master/generate.cr):
32
32
33
33
```bash
34
34
crystal run generate.cr -- /usr/include
@@ -167,7 +167,7 @@ Not to forget that *VoidCSFML* is made automatically, so it can be quickly updat
167
167
Credits
168
168
-------
169
169
170
-
*VoidCSFML* was made by [Oleh Prypin][blaxpirit].
170
+
*VoidCSFML* was made by [Oleh Prypin][oprypin].
171
171
172
172
*VoidCSFML* is [licensed](LICENSE) under the terms and conditions of the *zlib/libpng* license.
173
173
@@ -188,4 +188,4 @@ The CMake files are based on those of [CSFML][].
0 commit comments