<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/crownandcutlass/patches/" rel="alternate"/><link href="https://sourceforge.net/p/crownandcutlass/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/crownandcutlass/patches/</id><updated>2007-03-22T19:01:47Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>soundutil resource leaking patch</title><link href="https://sourceforge.net/p/crownandcutlass/patches/10/" rel="alternate"/><published>2007-03-22T19:01:47Z</published><updated>2007-03-22T19:01:47Z</updated><author><name>Patricio Zavolinsky</name><uri>https://sourceforge.net/u/pzavolinsky/</uri></author><id>https://sourceforge.netc142a1f409dbfef103fffa325df2465bb8e5ac1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Regarding this thread:&lt;br /&gt;
&lt;a href="https://sourceforge.net/forum/message.php?msg_id=4181705"&gt;https://sourceforge.net/forum/message.php?msg_id=4181705&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The patch implements the global try/catch approach as explained here:&lt;br /&gt;
&lt;a href="https://sourceforge.net/forum/message.php?msg_id=4183001"&gt;https://sourceforge.net/forum/message.php?msg_id=4183001&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The attachment goes in: /trunk/Protocce/test/src&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sound Patch (Init/Shutdown, Test, bug fixes)</title><link href="https://sourceforge.net/p/crownandcutlass/patches/9/" rel="alternate"/><published>2007-02-25T19:46:20Z</published><updated>2007-02-25T19:46:20Z</updated><author><name>Patricio Zavolinsky</name><uri>https://sourceforge.net/u/pzavolinsky/</uri></author><id>https://sourceforge.net7fd622874920fcd74b48e6b7c87867906b145e93</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The patch attached fixes the following:&lt;/p&gt;
&lt;p&gt;1) Implement OpenAL initialization/shutdown code without ALUT (requested here: &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1660927&amp;amp;group_id=110607&amp;amp;atid=656857\"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1660927&amp;amp;group_id=110607&amp;amp;atid=656857\&lt;/a&gt;)&lt;br /&gt;
Right now some features are missing:&lt;br /&gt;
a) Device selection&lt;br /&gt;
b) Context options&lt;br /&gt;
c) Listener custom configuration&lt;/p&gt;
&lt;p&gt;2) Implement a sound test (requested here: &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1667340&amp;amp;group_id=110607&amp;amp;atid=656857\"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1667340&amp;amp;group_id=110607&amp;amp;atid=656857\&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;3) Fixed bug: ITest::VerifyResult const std::string related to "C++ Review" (found here: &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1666588&amp;amp;group_id=110607&amp;amp;atid=656857\"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1666588&amp;amp;group_id=110607&amp;amp;atid=656857\&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;4) Fixed bug: soundutil.cpp readByte32 and readByte16 should use unsigned chars!!! (my bad!)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Implement wave file loading</title><link href="https://sourceforge.net/p/crownandcutlass/patches/8/" rel="alternate"/><published>2007-02-21T16:54:27Z</published><updated>2007-02-21T16:54:27Z</updated><author><name>Patricio Zavolinsky</name><uri>https://sourceforge.net/u/pzavolinsky/</uri></author><id>https://sourceforge.netb67f2bc2619e63ee756cb764c80b9584db90a5c4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Patch attached for &lt;a href="https://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1660924&amp;amp;group_id=110607&amp;amp;atid=656857"&gt;https://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1660924&amp;amp;group_id=110607&amp;amp;atid=656857&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just one comment: I don't understand why the LoadWav function prototype expects a:&lt;/p&gt;
&lt;p&gt;const std::string&lt;/p&gt;
&lt;p&gt;maybe it should be just:&lt;/p&gt;
&lt;p&gt;std::string&lt;br /&gt;
or &lt;br /&gt;
const std::string&amp;amp;&lt;/p&gt;
&lt;p&gt;because the std::string parameter invokes an implicit copy constructor (and the buffer gets copied) so there is no need to make it const.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Protocce Log test failure</title><link href="https://sourceforge.net/p/crownandcutlass/patches/7/" rel="alternate"/><published>2007-02-14T17:15:12Z</published><updated>2007-02-14T17:15:12Z</updated><author><name>Patricio Zavolinsky</name><uri>https://sourceforge.net/u/pzavolinsky/</uri></author><id>https://sourceforge.nete5b0246e3e3b51593c71e576f7c47652a6b24664</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In SetFileName, before open the stream, call clear to remove previous errors.&lt;/p&gt;
&lt;p&gt;This should fix an error in the log test unit.&lt;/p&gt;
&lt;p&gt;update:&lt;br /&gt;
void Log::SetFileName(const std::string fileName) {&lt;br /&gt;
mutex::scoped_lock lock(mMutex);&lt;br /&gt;
if (mStream.is_open())&lt;br /&gt;
mStream.close();&lt;br /&gt;
if (fileName != "") {&lt;br /&gt;
mStream.clear();&lt;br /&gt;
mStream.open(fileName.c_str(), ios::out);&lt;br /&gt;
PCCE_CHECK(mStream, string("Could not open log ") + fileName);&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;diff:&lt;br /&gt;
53,54c53&lt;br /&gt;
&amp;lt;   if (mStream.is_open())&lt;br /&gt;
&amp;lt;     mStream.close();&lt;br /&gt;
---&lt;br /&gt;
&amp;gt;   mStream.close();&lt;br /&gt;
56d54&lt;br /&gt;
&amp;lt;       mStream.clear();&lt;/p&gt;
&lt;p&gt;File attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Alpha version of wind implementation...</title><link href="https://sourceforge.net/p/crownandcutlass/patches/6/" rel="alternate"/><published>2004-08-31T17:49:26Z</published><updated>2004-08-31T17:49:26Z</updated><author><name>Spin</name><uri>https://sourceforge.net/u/sp1nner/</uri></author><id>https://sourceforge.net0e2d4e36dee9c3e3507dcc549640b55639b1a9f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Wind affect only speed not direction of saling. &lt;/p&gt;
&lt;p&gt;I tryed affecting direction and it's freaky...&lt;/p&gt;
&lt;p&gt;//Wind slowly circle the direction... to be modifyed lately&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Some sound</title><link href="https://sourceforge.net/p/crownandcutlass/patches/5/" rel="alternate"/><published>2004-08-30T14:36:28Z</published><updated>2004-08-30T14:36:28Z</updated><author><name>Gary Luck</name><uri>https://sourceforge.net/u/ultrasick/</uri></author><id>https://sourceforge.netad3ba46a4cf6aee43a147af8fb1e4da4d8da5f77</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
the game has currently no sound. I have got some sound&lt;br /&gt;
files you probablely could use. Sound of sea birds and&lt;br /&gt;
so. They are all public domain.&lt;/p&gt;
&lt;p&gt;If you are interested just let me know.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Nice cloud images to show the speed and direction of theWind</title><link href="https://sourceforge.net/p/crownandcutlass/patches/4/" rel="alternate"/><published>2004-08-30T08:05:07Z</published><updated>2004-08-30T08:05:07Z</updated><author><name>Gary Luck</name><uri>https://sourceforge.net/u/ultrasick/</uri></author><id>https://sourceforge.net7b19aa38d5f7f40fef3a02ec3004be6ffacd205e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;These files are made for "Crown and cutlass"&lt;br /&gt;
to show the speed and direction of the wind.&lt;br /&gt;
The images are not full solid, they are a&lt;br /&gt;
little transparent so that you can still see&lt;br /&gt;
your ship or whatever is below the cloud.&lt;/p&gt;
&lt;p&gt;I have also made a screenshot to look how it&lt;br /&gt;
looks in game. The screenshot is included in&lt;br /&gt;
the archiv. Looks quite fine, I think.&lt;/p&gt;
&lt;p&gt;If I would know c++ I would also write the&lt;br /&gt;
code for the cloud movements, but I'm sorry,&lt;br /&gt;
that's your part, guys.&lt;/p&gt;
&lt;p&gt;- See also the file "Info.txt" in the archiv. -&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Crashing bug then entering the city(FIXED)</title><link href="https://sourceforge.net/p/crownandcutlass/patches/3/" rel="alternate"/><published>2004-08-25T21:24:23Z</published><updated>2004-08-25T21:24:23Z</updated><author><name>Spin</name><uri>https://sourceforge.net/u/sp1nner/</uri></author><id>https://sourceforge.net0bd4949efd1493c319ea6e3a7418f749f006ce7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Looks like crash is in Menu.cpp v.1.2 function &lt;br /&gt;
Menu::display(). Lines 121-144...&lt;/p&gt;
&lt;p&gt;I'll try to figure out more tomorrow...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compiling bug at WaveEmitter.cpp</title><link href="https://sourceforge.net/p/crownandcutlass/patches/2/" rel="alternate"/><published>2004-08-24T20:25:05Z</published><updated>2004-08-24T20:25:05Z</updated><author><name>Spin</name><uri>https://sourceforge.net/u/sp1nner/</uri></author><id>https://sourceforge.netf818e025bec17d96b30208b44f0b2d347da86855</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Compiling bug at WaveEmitter.cpp at line 54&lt;/p&gt;
&lt;p&gt;terrain-&amp;gt;locateShoreLine(box, &amp;amp;shorePoints);&lt;/p&gt;
&lt;p&gt;Sould be probably&lt;/p&gt;
&lt;p&gt;terrain-&amp;gt;locateShoreLine(&amp;amp;shorePoints);&lt;/p&gt;
&lt;p&gt;Or compiler Dev-C++ 4.9.9.0 can't compile this file.&lt;/p&gt;
&lt;p&gt;P.S. Can't see any water at screen in new version...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>background.png</title><link href="https://sourceforge.net/p/crownandcutlass/patches/1/" rel="alternate"/><published>2004-08-15T12:06:53Z</published><updated>2004-08-15T12:06:53Z</updated><author><name>jkoppe</name><uri>https://sourceforge.net/u/jkoppe/</uri></author><id>https://sourceforge.net57e16c391bff174f93354afe26ad5c95d32acccf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a new background.png&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>