<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dfight.git</title>
<subtitle>A multiplayer 3D game</subtitle>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/'/>
<entry>
<title>dfight-menu: Include cogl-pango/cogl-pango.h</title>
<updated>2011-10-19T08:44:56Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-19T08:44:56Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=ae64379c7f2ca9d8e3886e2491cc8642188792d3'/>
<id>ae64379c7f2ca9d8e3886e2491cc8642188792d3</id>
<content type='text'>
cogl/cogl-pango.h is deprecated. This also bumps up the Clutter
requirement to 1.8 which is where the header was introduced.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cogl/cogl-pango.h is deprecated. This also bumps up the Clutter
requirement to 1.8 which is where the header was introduced.
</pre>
</div>
</content>
</entry>
<entry>
<title>adj-timeout: Use g_source_get_time</title>
<updated>2011-10-19T08:41:14Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-19T08:41:14Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=199a1f3cd18c6b430a1f34c7ec96a40a80d161dd'/>
<id>199a1f3cd18c6b430a1f34c7ec96a40a80d161dd</id>
<content type='text'>
g_source_get_current_time is deprecated so it gives an annoying
warning. This changes it to use g_source_get_time with the monotonic
clock and gint64s instead of GTimeVal which also makes the code a lot
simpler.

The glib requirement has been bumped up to 2.28 to get the function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
g_source_get_current_time is deprecated so it gives an annoying
warning. This changes it to use g_source_get_time with the monotonic
clock and gint64s instead of GTimeVal which also makes the code a lot
simpler.

The glib requirement has been bumped up to 2.28 to get the function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the foreign X window stuff</title>
<updated>2011-10-19T08:25:00Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-19T08:25:00Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=6e5733b923e6ab7712f4bc163ebb70be5ebdf812'/>
<id>6e5733b923e6ab7712f4bc163ebb70be5ebdf812</id>
<content type='text'>
Previously DFight was creating its own X window and passing it to
Clutter as a foreign stage because at the time Clutter's handling of
resizable stages that go fullscreen didn't work very well. It seems to
work fine now though so this patch just removes the whole thing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously DFight was creating its own X window and passing it to
Clutter as a foreign stage because at the time Clutter's handling of
resizable stages that go fullscreen didn't work very well. It seems to
work fine now though so this patch just removes the whole thing.
</pre>
</div>
</content>
</entry>
<entry>
<title>generate-piece-previews: Use MashLightSet</title>
<updated>2011-10-18T17:54:13Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-18T17:54:13Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=74628b73408e765dc96941544a233f111a0f536d'/>
<id>74628b73408e765dc96941544a233f111a0f536d</id>
<content type='text'>
Similar to 0b14e101cc, this makes the generate-piece-previews program
use Mash for the lighting instead of directly using GL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to 0b14e101cc, this makes the generate-piece-previews program
use Mash for the lighting instead of directly using GL.
</pre>
</div>
</content>
</entry>
<entry>
<title>generate-piece-previews: Add a timeout before rendering</title>
<updated>2011-10-18T17:09:48Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-18T17:09:48Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=8e1c561f815216e0a415aff64039e8ceee2bd4a7'/>
<id>8e1c561f815216e0a415aff64039e8ceee2bd4a7</id>
<content type='text'>
This adds a one second timeout before rendering the piece previews to
give GL a chance to settle down.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a one second timeout before rendering the piece previews to
give GL a chance to settle down.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use GLfloat</title>
<updated>2011-10-18T16:57:02Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-18T16:57:02Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=b64c1b87d50f15d7aca13986f6310794c1c2cc24'/>
<id>b64c1b87d50f15d7aca13986f6310794c1c2cc24</id>
<content type='text'>
This changes it to use float instead of GLfloat. Using GLfloat is
pointless and it relies on Cogl including the GL header for us which
it might not always do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes it to use float instead of GLfloat. Using GLfloat is
pointless and it relies on Cogl including the GL header for us which
it might not always do.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the Mash lighting model instead of directly using GL</title>
<updated>2011-10-16T17:56:11Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-16T17:56:11Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=0b14e101ccdd21d829cda60beb41b30db5934c70'/>
<id>0b14e101ccdd21d829cda60beb41b30db5934c70</id>
<content type='text'>
This changes DfightGame to use a MashLightSet instead of directly
using GL. This should make it more robust against changes in Cogl.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes DfightGame to use a MashLightSet instead of directly
using GL. This should make it more robust against changes in Cogl.
</pre>
</div>
</content>
</entry>
<entry>
<title>dfight-piece-mask: Fix clearing bits and querying bits</title>
<updated>2011-10-18T11:41:03Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-10-18T11:41:03Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=22cb4dd046e9cc18e1498b4843c7ef530b76eaac'/>
<id>22cb4dd046e9cc18e1498b4843c7ef530b76eaac</id>
<content type='text'>
Querying a bit was broken for 64-bit architectures because the cast to
gulong was done on the result of the shift not before so it would end
up clamped to a 32-bit value. This was making the wrong piece
be highlighted when the lasers are fired.

The mask for clearing a bit was wrong because it was negated before
the shift not after so it would end up also resetting all bits lower
than num. This didn't cause any bugs because the only place it was
used checks for all of the bits in increasing order so the lower bits
would already all be cleared.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Querying a bit was broken for 64-bit architectures because the cast to
gulong was done on the result of the shift not before so it would end
up clamped to a 32-bit value. This was making the wrong piece
be highlighted when the lasers are fired.

The mask for clearing a bit was wrong because it was negated before
the shift not after so it would end up also resetting all bits lower
than num. This didn't cause any bugs because the only place it was
used checks for all of the bits in increasing order so the lower bits
would already all be cleared.
</pre>
</div>
</content>
</entry>
<entry>
<title>dfight-game: Don't delay loading the data</title>
<updated>2011-03-03T23:59:05Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-03-03T23:59:05Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=9f8c4dfe593c7fa188afa4e13faa7930156b42dc'/>
<id>9f8c4dfe593c7fa188afa4e13faa7930156b42dc</id>
<content type='text'>
DfightGame used to have a mechanism to delay loading the game data
until it was needed. I think there used to be some reason why the data
would be unloaded but it doesn't look like this is neccessary
anymore. Instead the _init method loads the data and the _finalize
method destroys it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DfightGame used to have a mechanism to delay loading the game data
until it was needed. I think there used to be some reason why the data
would be unloaded but it doesn't look like this is neccessary
anymore. Instead the _init method loads the data and the _finalize
method destroys it.
</pre>
</div>
</content>
</entry>
<entry>
<title>dfight-main: Replace use of clutter_x11_get_stage_visual</title>
<updated>2011-03-03T23:34:46Z</updated>
<author>
<name>Neil Roberts</name>
<email>bpeeluk@yahoo.co.uk</email>
</author>
<published>2011-03-03T23:34:46Z</published>
<link rel='alternate' type='text/html' href='http://git.busydoingnothing.co.uk/cgit.cgi/dfight.git/commit/?id=f471268fc1c1d0a6886c8e9a4fdba7257eac0ba1'/>
<id>f471268fc1c1d0a6886c8e9a4fdba7257eac0ba1</id>
<content type='text'>
clutter_x11_get_stage_visual is deprecated so it should use
clutter_x11_get_visual_info instead to get rid of the warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clutter_x11_get_stage_visual is deprecated so it should use
clutter_x11_get_visual_info instead to get rid of the warning.
</pre>
</div>
</content>
</entry>
</feed>

