Merge pull request #2664 from xexyl/vik05
Format fixes in 2005/vik/index.html
This commit is contained in:
2 files changed
+8
-13
No files matched your search
+4
-8
@@ -4,7 +4,7 @@
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to
|
**NOTE**: this entry requires the `X11/Xlib.h` header file and the X11 library to
|
||||||
compile. For more information see the
|
compile. For more information see the
|
||||||
FAQ on "[X11](../../faq.html#X11)".
|
FAQ on "[X11](../../faq.html#X11)".
|
||||||
|
|
||||||
@@ -68,12 +68,8 @@ three options which have to be typed in a specific order as described below.
|
|||||||
./vik [-w <width>] [mapfile]
|
./vik [-w <width>] [mapfile]
|
||||||
```
|
```
|
||||||
|
|
||||||
where:
|
where `width` specifies the width of the window and `mapfile` is the filename
|
||||||
|
containing a map.
|
||||||
```
|
|
||||||
width - Specifies the width of the window
|
|
||||||
mapfile - Filename containing a map
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
@@ -134,7 +130,7 @@ current directory).
|
|||||||
The program is obfuscated in several ways:
|
The program is obfuscated in several ways:
|
||||||
|
|
||||||
* Bad use of variables.
|
* Bad use of variables.
|
||||||
* Use of the `?` operator.
|
* Use of the `?:` operator.
|
||||||
* Recursive calls to `main()`.
|
* Recursive calls to `main()`.
|
||||||
* Bad use of `for` loops and the comma operator.
|
* Bad use of `for` loops and the comma operator.
|
||||||
* To make the final obfuscated touch I ran indent which really made the program
|
* To make the final obfuscated touch I ran indent which really made the program
|
||||||
|
|||||||
+4
-5
@@ -409,7 +409,7 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
|
|||||||
<!-- BEFORE: 1st line of markdown file: 2005/vik/README.md -->
|
<!-- BEFORE: 1st line of markdown file: 2005/vik/README.md -->
|
||||||
<h2 id="to-build">To build:</h2>
|
<h2 id="to-build">To build:</h2>
|
||||||
<pre><code> make</code></pre>
|
<pre><code> make</code></pre>
|
||||||
<p>NOTE: this entry requires the <code>X11/Xlib.h</code> header file and the X11 library to
|
<p><strong>NOTE</strong>: this entry requires the <code>X11/Xlib.h</code> header file and the X11 library to
|
||||||
compile. For more information see the
|
compile. For more information see the
|
||||||
FAQ on “<a href="../../faq.html#X11">X11</a>”.</p>
|
FAQ on “<a href="../../faq.html#X11">X11</a>”.</p>
|
||||||
<h2 id="to-use">To use:</h2>
|
<h2 id="to-use">To use:</h2>
|
||||||
@@ -448,9 +448,8 @@ backward).</li>
|
|||||||
libraries</a> if necessary. The program takes
|
libraries</a> if necessary. The program takes
|
||||||
three options which have to be typed in a specific order as described below.</p>
|
three options which have to be typed in a specific order as described below.</p>
|
||||||
<pre><code> ./vik [-w <width>] [mapfile]</code></pre>
|
<pre><code> ./vik [-w <width>] [mapfile]</code></pre>
|
||||||
<p>where:</p>
|
<p>where <code>width</code> specifies the width of the window and <code>mapfile</code> is the filename
|
||||||
<pre><code> width - Specifies the width of the window
|
containing a map.</p>
|
||||||
mapfile - Filename containing a map</code></pre>
|
|
||||||
<h4 id="examples">Examples</h4>
|
<h4 id="examples">Examples</h4>
|
||||||
<p>Start the engine using a built in labyrinth and texture bitmaps:</p>
|
<p>Start the engine using a built in labyrinth and texture bitmaps:</p>
|
||||||
<pre><code> ./vik</code></pre>
|
<pre><code> ./vik</code></pre>
|
||||||
@@ -485,7 +484,7 @@ current directory).</p>
|
|||||||
<p>The program is obfuscated in several ways:</p>
|
<p>The program is obfuscated in several ways:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Bad use of variables.</li>
|
<li>Bad use of variables.</li>
|
||||||
<li>Use of the <code>?</code> operator.</li>
|
<li>Use of the <code>?:</code> operator.</li>
|
||||||
<li>Recursive calls to <code>main()</code>.</li>
|
<li>Recursive calls to <code>main()</code>.</li>
|
||||||
<li>Bad use of <code>for</code> loops and the comma operator.</li>
|
<li>Bad use of <code>for</code> loops and the comma operator.</li>
|
||||||
<li>To make the final obfuscated touch I ran indent which really made the program
|
<li>To make the final obfuscated touch I ran indent which really made the program
|
||||||
|
|||||||
Reference in new issue
Block a user