<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puzzles, branch rockbox-devel</title>
<subtitle>My sgt-puzzles tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/'/>
<entry>
<title>Signpost: fix star drawing on rockbox</title>
<updated>2024-08-09T03:16:29+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>me@fwei.tk</email>
</author>
<published>2017-07-13T20:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=ee5e3270efa37aeb78ecd9f81af800cfb4894d90'/>
<id>ee5e3270efa37aeb78ecd9f81af800cfb4894d90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Inertia: hack for rockbox polygon drawing</title>
<updated>2024-08-09T03:16:29+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>me@fwei.tk</email>
</author>
<published>2017-08-17T17:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=beb0345017f2b083947d18f164c4dd8c4a521dbf'/>
<id>beb0345017f2b083947d18f164c4dd8c4a521dbf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mines: hack for rockbox polygon drawing</title>
<updated>2024-08-09T03:16:29+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>me@fwei.tk</email>
</author>
<published>2017-08-17T17:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=1d03eb83b7459604fee9463ef0f9eb390befaa27'/>
<id>1d03eb83b7459604fee9463ef0f9eb390befaa27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unequal: reorder vertices in greater-than sign</title>
<updated>2024-08-09T03:16:29+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>me@fwei.tk</email>
</author>
<published>2018-04-18T22:12:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=749e39caa2a67aac3828630a959044d4dd44f876'/>
<id>749e39caa2a67aac3828630a959044d4dd44f876</id>
<content type='text'>
This is needed for Rockbox's polygon drawing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed for Rockbox's polygon drawing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename "Tracks"-&gt;"Train Tracks" in the documentation.</title>
<updated>2024-08-09T03:13:28+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2024-07-22T04:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=a70588279511ec0dd7499384860900e3fb182759'/>
<id>a70588279511ec0dd7499384860900e3fb182759</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix invalid integer literals in VERSIONINFO_BINARY_VERSION.</title>
<updated>2024-08-01T07:49:40+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2024-08-01T07:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=1c1899ee1c4e0a83808998359addb1efb66322f8'/>
<id>1c1899ee1c4e0a83808998359addb1efb66322f8</id>
<content type='text'>
Last November in commit 08365fb260ae6e3 I added a VERSIONINFO resource
to the Windows puzzle binaries, with three of the four integer
components of the binary version number taken from the year, month and
day of the build date. The header file #define of those integers was
made by a Perl one-liner which just split up $(!builddate) into the
right groups of digits.

But it didn't trim leading zeroes. So the build failed today because
the month component of the version number was '08', which isn't a
valid C integer literal (the leading 0 means octal, but 8 isn't an
octal digit), and presumably therefore not valid according to llvm-rc
either. I have to assume that the previous months have all worked
because 01, ..., 07 _are_ valid octal integer literals and still mean
the right things.

I'm not 100% satisfied with this explanation, because surely the same
argument applied to the day field should have meant my builds failed
on the 8th and 9th of every month since I added this code last
November! But I don't have any evidence left over to show why it
_didn't_ fail. Perhaps I've upgraded llvm-rc past a relevant bug fix
in the last month, or something.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Last November in commit 08365fb260ae6e3 I added a VERSIONINFO resource
to the Windows puzzle binaries, with three of the four integer
components of the binary version number taken from the year, month and
day of the build date. The header file #define of those integers was
made by a Perl one-liner which just split up $(!builddate) into the
right groups of digits.

But it didn't trim leading zeroes. So the build failed today because
the month component of the version number was '08', which isn't a
valid C integer literal (the leading 0 means octal, but 8 isn't an
octal digit), and presumably therefore not valid according to llvm-rc
either. I have to assume that the previous months have all worked
because 01, ..., 07 _are_ valid octal integer literals and still mean
the right things.

I'm not 100% satisfied with this explanation, because surely the same
argument applied to the day field should have meant my builds failed
on the 8th and 9th of every month since I added this code last
November! But I don't have any evidence left over to show why it
_didn't_ fail. Perhaps I've upgraded llvm-rc past a relevant bug fix
in the last month, or something.
</pre>
</div>
</content>
</entry>
<entry>
<title>Palisade: add double-resolution cursor mode.</title>
<updated>2024-07-31T22:29:00+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2024-07-23T09:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=62c0e0dcc9e7e250f1936b107e5b76e881b69496'/>
<id>62c0e0dcc9e7e250f1936b107e5b76e881b69496</id>
<content type='text'>
This adds a "half-grid" cursor mode, settable via a preference, which
doubles the resolution of the keyboard cursor, so that it can be over a
square center, vertex, or edge. The cursor select buttons then toggle the
edge directly under the cursor.

There are two advantages to this new behavior. First, the game can now be
played with only the cursor keys, doing away with the need to hold Control
or Shift, which are not currently emulated on Rockbox. And second, the new
interface is arguably more discoverable than the legacy mode,
which is still retained as a user preference.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a "half-grid" cursor mode, settable via a preference, which
doubles the resolution of the keyboard cursor, so that it can be over a
square center, vertex, or edge. The cursor select buttons then toggle the
edge directly under the cursor.

There are two advantages to this new behavior. First, the game can now be
played with only the cursor keys, doing away with the need to hold Control
or Shift, which are not currently emulated on Rockbox. And second, the new
interface is arguably more discoverable than the legacy mode,
which is still retained as a user preference.
</pre>
</div>
</content>
</entry>
<entry>
<title>Map: add user preference to draw larger stipple marks.</title>
<updated>2024-07-31T22:29:00+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2024-07-21T23:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=72ff1274046a3b79a9724075633fac261cc1f924'/>
<id>72ff1274046a3b79a9724075633fac261cc1f924</id>
<content type='text'>
This is useful on smaller screens, where the default-size pencil marks may
be too small to be visible by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful on smaller screens, where the default-size pencil marks may
be too small to be visible by default.
</pre>
</div>
</content>
</entry>
<entry>
<title>Filling: turn printv() into a macro, and only for STANDALONE_SOLVER builds.</title>
<updated>2024-07-31T22:29:00+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2024-07-21T23:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=6b453e4e984c1d881c431265eb3cd9b43688721f'/>
<id>6b453e4e984c1d881c431265eb3cd9b43688721f</id>
<content type='text'>
This was breaking Rockbox builds due to the lack of vprintf().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was breaking Rockbox builds due to the lack of vprintf().
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in developer docs for request_keys().</title>
<updated>2024-07-31T22:29:00+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2020-06-29T02:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=c70878c4adde680fc569ff9ab75e49581c907fa5'/>
<id>c70878c4adde680fc569ff9ab75e49581c907fa5</id>
<content type='text'>
"point"-&gt;"pointer".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"point"-&gt;"pointer".
</pre>
</div>
</content>
</entry>
</feed>
